-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fresh install - video-controller creation script hangs. #187
Comments
I have three questions and one request:
And: Tidy up the markup of your comment, please. Your text and questions and the code and output fragments are formatted in a very messy way where it is not clear which is what. (You can check the formatting before you send it by using the Preview tab.) Thanks. |
Hi, Hereby my answers:
Let me check and make things more clear |
Why are you If you're doing it via SSH, I think you'd need to add |
Hi, Thanks for your comments.
|
I was confused about the wording "downloaded". "Download" means that it was pulled wirh
I am a bit confused, because the should be a backslash ("\") at the end of each line except the last. Without these your
There should be no difference. But I wouldn't use scripts. I use And no, I don't have any clue why it is failing on your system. But one last question: "111" is the correct uid and gid of the user unifi-video on your system? |
Hi thoschworks, thanks for your reply !
So, running the script with the newly downloaded package ::
makes it hang again :( :( :( Any other ideas, getting desperate here .... ? Thanks a lot in advance Kris |
You used
✔️
docker-compose is a layer on top of Docker to manage containers, esp. configs with multiple contains, which interact with another. I use ti to manage my containers instead of using scripts like your But I am sure that it will not fix your problem. And now the beef.
We know that 111 is the uid and gid of your user and group 'unifi-video'. But I don't know how it looks like in Please let me look with a |
Thanks Thoschworks ! docker-compose is installed it seems ::
Regarding the subdir's, as you need to create them yourselves they are 111:111 as well
|
Is the problem solved or not? |
Hi Thomas, No, it's not. When replying I accidentally choose something like
send and close so I had to re-open.
Still hoping to get video up and running on my NAS like I did with the
controller and UNMS.
Regards,
Kris
…On Sun, 21 Jun 2020 at 11:03, Thomas Schewe ***@***.***> wrote:
Is the problem solved or not?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#187 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APXTO2P4ZC4I4HPCCGHZ4TLRXXEEJANCNFSM4NL726FQ>
.
|
Any update on this ? Can I take traces or so to help troubleshooting. As I have all my other unifi software running in docker on my Synology, I would love to get this video software working too. Thanks in advance ! Kris |
Sorry, too much to do, but not enough time… No, I have no more ideas how to solve the problem. |
FWIW, I'm also seeing this error in my logs and thought it was causing my Unifi Video Controller setup to fail as I could not access the UI at all. Turns out my VLAN configuration was incorrect between the docker host and docker network. Fixed that, and still got the error but the container now had connectivity. Going to My logs:
|
I do have the same error:
I run the skript as follow: |
Same here :cry I also used the script on my Synology NAS as the GUI unfortunately doesn't run as smooth compared to the Unifi Controller from jacobalberty/unfi Unifi Controller, as GUI logs
Command as per https://hub.docker.com/r/pducharme/unifi-video-controller/
Really hope we can get this resolved, I haven't even bought the cameras yet but this concerns me. |
Worse, previously I managed to get the docker running and go through the setup and see the interface, but today January 15th :) I tried this fresh setup again and now this won't work anymore, as after the entering name and create a username and password it goes right to a login screen which will not accept these login details and neither the ones from by Ubiquiti account. I do see a mongodb connection error but I think this has more to do with the EOL of UFV I just read about https://forums.unraid.net/topic/35393-support-pducharmes-dockers-support-thread/page/28/
Does that mean new/fresh UFV setups won't be possible anymore on our own hardware? |
I don't think so, because you don't log into your local installaion via video.ui.com (I will know it tomorrow…). But there will be no cloud-access to your installation. I have a Cloud Key Gen2 Plus laying in my shelve as backup, because there will be no updates for the Unify-Video software.
Good luck finding cctv cameras which will be as easy usable as the Unifi stuff without beeing force to use a cloud (and paying a monthly fee). |
Hi,
Just bought some unifi stuff to install at home including the G3 video camera.
As I have a Synology DS418 play, I installed it on there, taking the code from the 415.
Docker install ran smoothly.
Created following directory structure :
root@nas:/volume1/docker/unifi_video# ll
total 4
drwxr-xr-x+ 1 unifi-video unifi-video 42 May 27 11:02 .
drwxr-xr-x+ 1 root root 86 May 24 20:01 ..
drwxrwxr-x 1 unifi-video unifi-video 154 May 27 11:05 data
-rwxr-xr-x 1 unifi-video unifi-video 419 May 27 10:52 install.cmd
drwxrwxr-x 1 unifi-video unifi-video 0 May 27 11:02 videos
I adapted the startup script as follows :
root@nas:/volume1/docker/unifi_video# more ./install.cmd
docker run
--name unifi-video
--cap-add DAC_READ_SEARCH
--restart=unless-stopped
--network="host"
-v /volume1/docker/unifi_video/data:/var/lib/unifi-video
-v /volume1/docker/unifi_video/videos:/var/lib/unifi-video/videos
--tmpfs /var/cache/unifi-video
-e TZ=Europe/Brussels
-e PUID=111
-e PGID=111
-e CREATE_TMPFS=no
-e DEBUG=1
pducharme/unifi-video-controller
root@nas:/volume1/docker/unifi_video# docker --version
Docker version 18.09.8, build bfed4f5
Image pducharme/unifi-video-controller is the one that I downloaded over the weekend from the docker registry.
Installation output
At this point, the installation hangs and no way to recover except from closing my putty window.
I am able to open the app on port 7443 (iso 7080) but things don't seem to work well (ok, one reason was the 40 GB :-) )
Error log shows:
root@nas:/volume1/docker/unifi_video/data/db# more version
3.10.11-db1
root@nas:/volume1/docker/unifi_video/data/db-wt# ll | grep lock
-rw------- 1 unifi-video unifi-video 4 May 27 11:05 mongod.lock
-rw------- 1 unifi-video unifi-video 21 May 27 11:05 WiredTiger.lock
Running DB analysis in GUI gives positive result - no changes made.
I removed the lock files and ran docker restart
Error log in system config now shows:
All ideas how to solve this are warmly welcomed. Let me know if you need more logs & info as docker is completely new to me.
Thanks you so much in advance !
The text was updated successfully, but these errors were encountered: