September 23, 20169 yr Guys, this latest version, plus the AP firmware they just release, are broken for me. Intermittent wifi access, iPad Air not connecting at all, crippling DNS resolution, slow speed... Is there a feasible roll-back option and would that flash older firmware on my AP?
September 23, 20169 yr You can manually download older firmware, probably would want 4.15 and install it. Thats if youre talking about the gateway. You can do the same for the AP's but don't know the right version number
September 24, 20169 yr I had the same problem with this Docker as a few other people have had, but that I've not seen a definitive solution for, and I thought I'd document the best solution I've come up with. I was having an issue where the Docker would start, but the web UI would fail to become accessible. Looking at the log files, the issue was with MongoDB, which was giving the error: Fri Aug 12 18:22:34.017 [initandlisten] LogFile::synchronousAppend failed with 8192 bytes unwritten out of 8192 bytes; b=0x35d4000 errno:22 Invalid argument Fri Aug 12 18:22:34.017 [initandlisten] Fatal Assertion 13515 This also resulted in the following errors appearing in the unRAID system log: Aug 12 18:22:34 fileserver shfs/user: shfs_write: write: (22) Invalid argument As best as I can tell, the issue is that the MongoDB service is trying to write data to the mapped folder, but the operation it's trying to perform is unsupported by the unRAID file system. (This may be a completely incorrect analysis!) I believe some people have mitigated this by having the docker data stored on an SSD instead of on the main array, but I haven't yet added an SSD to my setup, so I can only store the data on the main array. However, by changing the config path mapping from /mnt/user/appdata/unifi to /mnt/disk1/appdata/unifi, I was able to successfully start the docker. I guess that because MongoDB is now directly accessing the ext4 filesystem on the drive, it can perform whatever operation it's trying to do successfully. This might be worth documenting for others who don't have an SSD and map the config path directly to the main array. I've seen a few reports of this error in this thread and in some of the other Unifi docker support threads (it doesn't appear to be specific to the LinuxServer image, but to any Docker image that runs MongoDB and maps its folders). I was having this exact issue still however your solution of mapping app data direct to a disk e.g. /mnt/disk1/appdata/unifi instead of /user/ did work for me... I would add however that simply remapping the user share and restarting the docker didnt fix it, I had to fully delete the docker image AND delete all traces of the old /appdata/unifi folders from my /user/ share, then reinstall it mapped to /disk1/ before it would work
September 24, 20169 yr I had the same problem with this Docker as a few other people have had, but that I've not seen a definitive solution for, and I thought I'd document the best solution I've come up with. I was having an issue where the Docker would start, but the web UI would fail to become accessible. Looking at the log files, the issue was with MongoDB, which was giving the error: Fri Aug 12 18:22:34.017 [initandlisten] LogFile::synchronousAppend failed with 8192 bytes unwritten out of 8192 bytes; b=0x35d4000 errno:22 Invalid argument Fri Aug 12 18:22:34.017 [initandlisten] Fatal Assertion 13515 This also resulted in the following errors appearing in the unRAID system log: Aug 12 18:22:34 fileserver shfs/user: shfs_write: write: (22) Invalid argument As best as I can tell, the issue is that the MongoDB service is trying to write data to the mapped folder, but the operation it's trying to perform is unsupported by the unRAID file system. (This may be a completely incorrect analysis!) I believe some people have mitigated this by having the docker data stored on an SSD instead of on the main array, but I haven't yet added an SSD to my setup, so I can only store the data on the main array. However, by changing the config path mapping from /mnt/user/appdata/unifi to /mnt/disk1/appdata/unifi, I was able to successfully start the docker. I guess that because MongoDB is now directly accessing the ext4 filesystem on the drive, it can perform whatever operation it's trying to do successfully. This might be worth documenting for others who don't have an SSD and map the config path directly to the main array. I've seen a few reports of this error in this thread and in some of the other Unifi docker support threads (it doesn't appear to be specific to the LinuxServer image, but to any Docker image that runs MongoDB and maps its folders). I was having this exact issue still however your solution of mapping app data direct to a disk e.g. /mnt/disk1/appdata/unifi instead of /user/ did work for me... I would add however that simply remapping the user share and restarting the docker didnt fix it, I had to fully delete the docker image AND delete all traces of the old /appdata/unifi folders from my /user/ share, then reinstall it mapped to /disk1/ before it would work Just FYI that 6.2 would odds on fix this issue Sent from my SM-T560NU using Tapatalk
September 24, 20169 yr Thats what I thought too updating to 6.2 is what prompted me to give this docker another go however it still didnt work until I tried the above
September 24, 20169 yr Thats what I thought too updating to 6.2 is what prompted me to give this docker another go however it still didnt work until I tried the above If deleting the appdata at the same time as switching to /mnt/user/... didn't work then there's still a function that user shares do not support but disk shares do. If you ever get bored, you can always try again and post the diagnostics, and any logs from unifi / mongoDB so that Tom can get this fixed up.
September 25, 20169 yr Downgrading the firmware on my AP To the previous stable release has resolved my issues with connectivity. Here's to ubiquiti resolving this buggy FW in the next release.
October 4, 20169 yr I know you need to wait till their apt repository is updated but version 5.2.9 is out now. I am not sure if it updates your side updates automatically or not when their repository does or if you get notified on updates. If it's an automatic thing, I won't bother letting you know there is an update in the future. Thanks!
October 4, 20169 yr I know you need to wait till their apt repository is updated but version 5.2.9 is out now. I am not sure if it updates your side updates automatically or not when their repository does or if you get notified on updates. If it's an automatic thing, I won't bother letting you know there is an update in the future. Thanks! 5.29 is in the unifi apt repository, our images are now set by a cron job in jenkins to refresh on fridays on or abouts 11pm uk time. the update will be picked up then.
October 16, 20169 yr Any chance of adding a script for let's encrypt to get an SSL cert for the controller? I saw this on reddit, might be helpful: I don't want to edit the docker container myself as it'll probably be overwritten whenever it upgrades. Just thought this would be pretty neat for those allowing access to the inet for multiple-site setups
October 16, 20169 yr Any chance of adding a script for let's encrypt to get an SSL cert for the controller? I saw this on reddit, might be helpful: https://www.reddit.com/r/Ubiquiti/comments/43v23u/using_letsencrypt_with_the_unifi_controller/ I don't want to edit the docker container myself as it'll probably be overwritten whenever it upgrades. Just thought this would be pretty neat for those allowing access to the inet for multiple-site setups You can use reverse proxy with Nginx Let's Encrypt
October 16, 20169 yr I don't think you can use a path like "domain.com/unifi" as the address advertised to the devices from the controller, which means reverse proxy wont work.
October 16, 20169 yr I don't think you can use a path like "domain.com/unifi" as the address advertised to the devices from the controller, which means reverse proxy wont work. You can use unifi.domain.com with reverse proxy also
October 16, 20169 yr You can use unifi.domain.com with reverse proxy also using a url redirect? not exactly sure how to accomplish it. **edit** Figured it out, took a couple tries to get the websocket errors to go away: server { listen 443 ssl; server_name unifi.domain.com; access_log /var/log/nginx/unifi.log; ssl_certificate /etc/letsencrypt/live/domain.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/domain.com/privkey.pem; location / { proxy_pass https://10.81.0.13:8443/; proxy_http_version 1.1; proxy_buffering off; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forward-For $proxy_add_x_forwarded_for; } }
November 21, 20169 yr can some one help me the web ui won't open Would be nice to have the error message in understandable language.... But did you use https:// in front?
November 21, 20169 yr i use dashboard - unifi - webUI (https://192.168.1.202:8443/) the error is can't connect to
November 21, 20169 yr I don't use this but just pulled it, couldn't access the webui for a minute or so then it worked.
November 22, 20169 yr The container uses a few commonly used ports, you should check if there is a conflict. It's also quite slow to start, could take a few minutes.
November 22, 20169 yr removed all files for unifi and try to re add the docker same problem logs from unraid says Nov 22 10:22:31 Tower shfs/user: err: shfs_write: write: (22) Invalid argument are there more settings i have to fill in or settings i have not fill in correct?
November 22, 20169 yr removed all files for unifi and try to re add the docker same problem logs from unraid says Nov 22 10:22:31 Tower shfs/user: err: shfs_write: write: (22) Invalid argument are there more settings i have to fill in or settings i have not fill in correct? What's in the advanced section? And what version of unraid are you on?
November 22, 20169 yr it's working now unraid version 6.2.4 AppData Config Path:/mnt/disk1/appdata/unifi/ <------ that was my problem
November 22, 20169 yr it's working now unraid version 6.2.4 AppData Config Path:/mnt/disk1/appdata/unifi/ <------ that was my problem What was the problem? What was it set to / what have you changed it to?
Archived
This topic is now archived and is closed to further replies.