Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PeteAsking

Members
  • Joined

  • Last visited

Everything posted by PeteAsking

  1. This happened to me once when I edited the xml incorrectly. I rebuilt the vm very carefully and no longer had to change the res 2 times each boot.
  2. Dont know but if you backup the entire unifi folder in your appdata you can always revert even if you break it.
  3. Not really a resolution, but opnsense is pretty similar and seems to have better driver support so if you cant fix it you could switch to that. Thats what I ended up having to do when I eventually gave up on pfsense on unraid.
  4. Have you tried changing the network card to a e1000-82545em in the xml and retesting on the vm?
  5. You browse to http://172.17.0.6:8222/ in a new browser window. There is no option in the unraid interface.
  6. Ok well regarding the 'memory leak' I have provided 2 potential ways to mitigate this (1 - set limit on docker, and 2 - modify the system.properties in order to prevent the database growing without running any cleanup operations). Between these 2 fixes there shouldnt be any further issues. Im on the latest version and works fine. A 2GB limit seems sufficient for the docker image, although 4GB is what Unifi themselves allocate their controllers so if you have the RAM to spare, I would use 4GB if possible. If you feel 2, or 4 GB is too much memory for a docker, well thats just how unifi coded it.
  7. If you dont alter the nic to the e1000 then your upload is limited to like 0.5mbit or something stupid.
  8. This makes sense. Please can you try the changes I suggested, they should cause it to clean up the DB before having to wait until the ram limit is reached which is less desirable as if it happens during a busy period then performance will be degraded during that time for several cpu cycles (ie 10-60 seconds) as opposed to constant smaller cleaning throughout the day that will have a minimal impact on the vm.
  9. Ok thanks I will check it out.
  10. Continuous is safer but you can have the camera send an event like an http trigger and shinobi will record only motion. Sometimes you miss stuff though that’s important.
  11. Can you tell me what I have to do?
  12. No, I do not know how to do this.
  13. Can I check how to edit the schedule? i added via the gui variables and guessed how to do it. In the xml it appears as such: <Variable> <Value>12</Value> <Name>CREATE_BACKUP_HOURS</Name> <Mode/> </Variable> <Variable> <Value>7</Value> <Name>PURGE_BACKUP_DAYS</Name> <Mode/> </Variable> Th GUI I set key as the description and value as the integer. Is that right?
  14. I am surprised nobody else seems to have had this vnc duplicated/garbled display problem I am experiencing. Am I really the only one with this issue? I didnt do anything strange like pass graphics cards or anything. Its basically an unmodified xml other than changing ram size and processors dedicated to it etc.
  15. Ok then try the above after you find out.
  16. To further assist in reducing the memory footprint I have been working on the following: Assumptions for proposed changes: 1) You have less than 50 unifi devices being controlled by the controller. (Do not make these changes if your installation manages over 50 devices.) 2) Docker is limited to 2GB as per previous discussion. 3) The controller should sit around 1GB but may during busy periods use more. proposed edits: nano nano /mnt/disk1/appdata/unifi-controller/data/system.properties Interesting values: db.mongo.connections_per_host=64 db.mongo.threads_multiplier=3 Max number of threads allowed to write to the DB can be 64*3=192. (Default vaulue for controller is 100 and 5 = 500 threads). inform.max_keep_alive_requests=32 inform.num_thread=64 This sets the largest number of devices the controller can respond to to be 64, and that missed heartbeats from devices can be up to 32. (Default values are are 200 normally.) unifi.xms=256 unifi.xmx=768 Sets initial DB heap size to 256MB and Maximum heap size to 768MB (Default unifi expects is 2GB). Expected outcome: unifi controller will reduce memory usage, and compensate by increasing CPU usage on the docker controller as more time will be spent clearing out and writing to the database more often. Example system.properties file (bottom section shown): #Sat Jul 04 21:07:44 UTC 2020 db.mongo.connections_per_host=64 db.mongo.threads_multiplier=3 debug.device=warn debug.mgmt=warn debug.sdn=warn debug.system=warn inform.max_keep_alive_requests=32 inform.num_thread=64 is_configured_and_restarted=true is_default=false reporter-uuid=fb1782e2-e754-4e7b-a8c6-2015572f423c unifi.xms=256 unifi.xmx=768 uuid=088aa964-4245-4d3d-8a70-3f519c3e45b6 Please let me know how this goes for you with these changes. To revert, remove the 6 lines added into the settings file as above. Obviously once changes are made, the docker must be stopped and started again. Pete
  17. You dont provide much info but did you do the basics like set the controller IP and the setting underneath it that says override inform host with controller ip?
  18. Thanks I will think further on it.
  19. Fair enough. Was it still working when it was at 1.8GB?
  20. Thank you to everyone who helped me increase the size of my disk. In the end only 1 method worked for me. I added a second disk then booted up of the installer disk in the VM (by choosing startup disk in system preferences) and once I created a partition on the new disk with disk utility I clicked the restore option in disk utility and restored from the smaller disk which seemed to clone the original disk to the destination disk. I could then boot from the new disk and remove the old one and delete the image. I also have another issue that is not a major problem but just annoying. Every time I shut down the VM and turn it back on the VNC graphics become garbled, like it is trying to display the screen many times in VNC. The way I have to fix it every time I ever turn off the VM, is to boot VM, go into the bios, choose OVMF settings and change resolution to 1920x1080 then save this and reboot. Graphics still garbled at this point. Shut down a second time and repeat the above changing the resolution to 800x600. This time when you boot the VNC graphics are normal and it is 1080p despite being set to 800x600 and I can use VNC as normal. If I ever turn off OSX I must repeat this 2 reboot process to restore the graphics. Its not a major issue as I dont reboot often and of course I avoid doing so unless I have to since its a headache to get the screen working again via vnc. I just wondered if anyone else had this issue and knew why it did it or how to fix it. Kind regards P
  21. This sounds really good. How do I get a gparted VM? I would like to try this option. P
  22. Does anyone know if it is possible to extend the disk? I made a 100GB disk and now want it to be 200GB. Changing it in Unraid was fine and in osx it sees the disk is larger but disk utility is unable to extend the volume no matter what I try. Has anyone ever actually done this?
  23. I would like the ability for the usb flash to mirror its config on a daily basis as an automatic backup to one of the shares and then if you plug in a fresh unraid usb stick because it died to have the option if it detects disks with a config on it to restore that backup and reboot setting itself back up and restored semi automatically so that flash failures no longer are the big deal that I see on the forums from time to time.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.