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.

[support] pducharme's Dockers support thread

Featured Replies

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.
  • Replies 685
  • Views 162k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Glad to help, I was happy to find one that already exists and worked out of the box!

  • Hi,   To get inside the running docker, you can do the following :   Open an SSH connection to your Unraid Server (or on the server running the docker). Type:  docker exec

  • Hi Graham,   Just updated the UniFi to 5.5.24.  I also created a Beta branch, currently having 5.6.19.  (To get Beta branch, edit in advance mode the Docker page and change the repo by putti

Posted Images

I think you should be able to skip the whole `:3.10.6` part for a clean install now, did you try that?

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. 

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?

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.

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 by Eyeheartpie

When you were on `:latest` and it was working, what version where you using?

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.

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?

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.

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?

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.

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".

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. :)

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.

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!

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.

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.

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.

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?

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.

I cant get mine to work either.  I have tryed everything you guys are saying but i still cant login.

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 by sjaak
did some changes

  • 2 weeks later...

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.

  • 4 weeks later...

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?

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.

Guest
Reply to this topic...

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.