CIA Posted October 27, 2019 Share Posted October 27, 2019 Confrim: Make backup Remove old configs add 3.10.6 tag, and restrart docker gets you the wizard, restore from backup on first screen remove the 3.10.6 tag to get latest. you'll see the mongo 4 update line in the log you can now login. Quote Link to comment
fryfrog Posted October 27, 2019 Share Posted October 27, 2019 I think you should be able to skip the whole `:3.10.6` part for a clean install now, did you try that? Quote Link to comment
tkkj99 Posted October 28, 2019 Share Posted October 28, 2019 Are there any plans to update to the latest Unifi Controller version. My APs got updated to the latest firmware and there are issues between that the version of Controller this Docker provides. Quote Link to comment
correctomundo Posted October 29, 2019 Share Posted October 29, 2019 Hi, I'm not sure why, but Unraid automatically upgraded the Unifi Video docker container and now my user name and password are no longer accepted. The Unifi Video application throws the 'invalid username and/or password' error. I'm 100% sure I'm using the correct credentials and I didn't change them recently either. Any of you recognize the issue/have any suggestions? Quote Link to comment
fryfrog Posted October 29, 2019 Share Posted October 29, 2019 Try using the label for the version you were running, to get you fixed up to start. Do you know what that was? My *guess* would be `:3.10.6` because 3.10.7, 3.10.8 and 3.10.10 have been where all the trouble is. From there, I'd probably make a backup and then fire up a clean `:latest` and load the backup. Quote Link to comment
Eyeheartpie Posted October 29, 2019 Share Posted October 29, 2019 (edited) 32 minutes ago, fryfrog said: Try using the label for the version you were running, to get you fixed up to start. Do you know what that was? My *guess* would be `:3.10.6` because 3.10.7, 3.10.8 and 3.10.10 have been where all the trouble is. From there, I'd probably make a backup and then fire up a clean `:latest` and load the backup. I'm having that same problem, and I was on latest. Last update was last night, and looking at my recordings, I had stuff stop recording around the time I updated the docker. Not sure which version I should try to roll back to, but I've tried 3.10.6 and 3.10.8.4.0 (since that's the last unique number on the github repo). Any thoughts or ideas? EDIT: Tried beta and testing as well, no job in getting logged back in. Edited October 29, 2019 by Eyeheartpie Quote Link to comment
fryfrog Posted October 29, 2019 Share Posted October 29, 2019 When you were on `:latest` and it was working, what version where you using? Quote Link to comment
Eyeheartpie Posted October 29, 2019 Share Posted October 29, 2019 Just now, fryfrog said: When you were on `:latest` and it was working, what version where you using? I'm not sure, but I do keep my containers up to date. There weren't any pending updates a few days ago, and then I updated last night, and now I can't log in. Quote Link to comment
fryfrog Posted October 29, 2019 Share Posted October 29, 2019 The last update to `:latest` (the release branch) was Oct 26. Only `:testing` and `:beta` have been getting updates recently. You could try walking backward a version at a time, :3.10.10, :3.10.8, :3.10.6 maybe? Or just start a clean `:latest` and restore? Quote Link to comment
fryfrog Posted October 29, 2019 Share Posted October 29, 2019 I'm not sure how good you are at this stuff, but my guess is that your old working version used the old type of db and the new version is trying to use wired tiger. If you have the skills, you could fire up mongodb w/ the old db, dump it and then stop it. Then fire up w/ the *new* mongodb and import the dumped db. That is how I converted my old mongodb -> wiredTiger. It wasn't *that* hard, but it also wasn't super easy. Quote Link to comment
Eyeheartpie Posted October 29, 2019 Share Posted October 29, 2019 1 minute ago, fryfrog said: I'm not sure how good you are at this stuff, but my guess is that your old working version used the old type of db and the new version is trying to use wired tiger. If you have the skills, you could fire up mongodb w/ the old db, dump it and then stop it. Then fire up w/ the *new* mongodb and import the dumped db. That is how I converted my old mongodb -> wiredTiger. It wasn't *that* hard, but it also wasn't super easy. I think I could manage that with some fiddling, but I was checking out inside the container and I do have daily backups of my config going back a week, so it's possible I can just restore one of those backups to a clean install of latest. Just out of curiosity, what version changed from mongodb to wiredTiger? Quote Link to comment
fryfrog Posted October 29, 2019 Share Posted October 29, 2019 Ugh, that is the question, eh? I think they may have been fiddling w/ how they decided between old (i forget the name) and wired tiger. For a long time, it looked like it was based on the mongodb version... but then somewhere in 3.10.7 it changed and I never could figure out what they were basing it on. So it was "better" and "safer" to just bump it up to MongoDB 4.0 and let it use wired tiger. I hate trying to figure out wtf they're doing. Quote Link to comment
Eyeheartpie Posted October 29, 2019 Share Posted October 29, 2019 1 minute ago, fryfrog said: Ugh, that is the question, eh? I think they may have been fiddling w/ how they decided between old (i forget the name) and wired tiger. For a long time, it looked like it was based on the mongodb version... but then somewhere in 3.10.7 it changed and I never could figure out what they were basing it on. So it was "better" and "safer" to just bump it up to MongoDB 4.0 and let it use wired tiger. I hate trying to figure out wtf they're doing. Oof. That sounds insane. I went back version by version and I was able to get 3.10.2 and 3.10.4 logged in, but I can't get logged in to 3.10.6. The issue is that in 3.10.4, it says it can't connect to my camera because "firmware not supported". Quote Link to comment
fryfrog Posted October 29, 2019 Share Posted October 29, 2019 So for a moment while 3.10.4 is up, `docker exec` into the container and `ps aux` and look at the mongodb running command. It'll point at a `.conf` file and the name of that file should make it obvious if it is wt or not. I think *in* that conf file will tell you where the db files are. Then you can fire up a latest instance and compare. Probably you'll find the old is using old db and pointing at old db path, new using wt and pointed at new db path. From there, you'd just dump to file, restore from file to wt into the right place and if you're lucky it'll work. Or just clean install and restore. Quote Link to comment
Eyeheartpie Posted October 29, 2019 Share Posted October 29, 2019 12 minutes ago, fryfrog said: So for a moment while 3.10.4 is up, `docker exec` into the container and `ps aux` and look at the mongodb running command. It'll point at a `.conf` file and the name of that file should make it obvious if it is wt or not. I think *in* that conf file will tell you where the db files are. Then you can fire up a latest instance and compare. Probably you'll find the old is using old db and pointing at old db path, new using wt and pointed at new db path. From there, you'd just dump to file, restore from file to wt into the right place and if you're lucky it'll work. Or just clean install and restore. In 3.10.5 (also works), it points to a mongodv3.0+.conf file, which points to my UniFi-Video/appdate/db folder. How would I restore a config after doing a clean install? I can't seem to find the option in the UI. Quote Link to comment
CorneliousJD Posted October 29, 2019 Share Posted October 29, 2019 I was able to roll back to :3.10.5 and get logged in, even tho cameras showed offline. Do a backup, and then run a clean install of the container. It took about 4-5 minutes to "Boot" the container, at which point on the first wizard screen I could restore from the backup I just took. Was able to login again, re-adopt my NVR to my UniFi account, and also analyze the recording database and restore past recordings. Back up and running on 3.10.10 now and all is well, thanks everyone! Quote Link to comment
Eyeheartpie Posted October 29, 2019 Share Posted October 29, 2019 1 hour ago, CorneliousJD said: I was able to roll back to :3.10.5 and get logged in, even tho cameras showed offline. Do a backup, and then run a clean install of the container. It took about 4-5 minutes to "Boot" the container, at which point on the first wizard screen I could restore from the backup I just took. Was able to login again, re-adopt my NVR to my UniFi account, and also analyze the recording database and restore past recordings. Back up and running on 3.10.10 now and all is well, thanks everyone! I did this same thing and I'm up and running as well on 3.10.10. Thanks for the help, everyone. Quote Link to comment
correctomundo Posted October 30, 2019 Share Posted October 30, 2019 14 hours ago, Eyeheartpie said: I did this same thing and I'm up and running as well on 3.10.10. Thanks for the help, everyone. Yes, me too! Thanks for the instructions @CorneliousJD. Quote Link to comment
migueldias Posted October 30, 2019 Share Posted October 30, 2019 No tag works for me. No matter how much I roll back. Went all the way to :3.10.5, while always altering the system.properties file and it is still asking for my login. I give up. I'd rather buy a Cloud Key Gen2+ at this point and be free of this hassle every time an update arises. Quote Link to comment
fryfrog Posted October 30, 2019 Share Posted October 30, 2019 Srsly, I wish they'd stop making these weird breaking changes. If you fire up a *clean*, new one on `:latest` or `:testing` or `:beta` does *that* work? Quote Link to comment
Mike1082 Posted October 31, 2019 Share Posted October 31, 2019 The only thing that worked for me was to downgrade to :3.10.5 (after which I could login, but camera firmware not supported so they were disconnected). Then if I jumped up to 3.10.8 I could still log in, and the cameras would connect. Restoring/Analyzing the DB brought back all previous recordings. I tried going from there up to 3.10.10 but had the login issues again, so back to 3.10.8 and it seems to be OK. Quote Link to comment
suprjet44 Posted November 1, 2019 Share Posted November 1, 2019 I cant get mine to work either. I have tryed everything you guys are saying but i still cant login. Quote Link to comment
sjaak Posted November 3, 2019 Share Posted November 3, 2019 (edited) WELL, latest update broke it, cant login anymore... can't wait until UBNT release the udm pro so i can get rid of docker and use ubnt stuff only, so i can blame them ... almost everytime it breaks something... edit; switched back to 3.10.5 unmanaged the camera (and reset it to default) remove docker files, and started with a fresh one. now 3.10.10 works... (no backup used, started from scratch) Edited November 3, 2019 by sjaak did some changes Quote Link to comment
andy_mk3 Posted November 16, 2019 Share Posted November 16, 2019 I had the same login problem. Been avoiding updating the container but my docker.img got corrupted so it pulled the latest version. Switched back to 3.10.5, login works perfectly. Rebooted the container again and it picked up all my cameras thankfully. Quote Link to comment
thetinker86 Posted December 12, 2019 Share Posted December 12, 2019 Unifi Video Controller Storage: Is there a way to configure the storage to take up a specified limited space. For example, can i tell it to only use 1TB total space instead of using the settings and trying to tell it how much space i want the array to have left? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.