Jump to content
Pducharme

[support] pducharme's Dockers support thread

554 posts in this topic Last Reply

Recommended Posts

Just show us your settings, how ever you know to do that.

Share this post


Link to post
Posted (edited)
15 hours ago, fryfrog said:

-v /data/unifi-video/data:/var/lib/unifi-video \
-v /data/unifi-video/videos:/var/lib/unifi-video/videos \

.......

Can you show your run command? When you `docker exec` into it, you should be looking at `/var/lib/unifi-video` and `/var/lib/unifi-video/videos`.

Run command below:

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='UniFi-Video' --net='bridge' --privileged=true -e TZ="America/Chicago" -e HOST_OS="Unraid" -e 'JVM_MX'='2000M' -p '1935:1935/tcp' -p '6666:6666/tcp' -p '7004:7004/udp' -p '7080:7080/tcp' -p '7442:7442/tcp' -p '7443:7443/tcp' -p '7444:7444/tcp' -p '7445:7445/tcp' -p '7446:7446/tcp' -p '7447:7447/tcp' -v '/mnt/cache/appdata/unifi-video/':'/var/lib/unifi-video':'rw' -v '/mnt/user/UnfiVideoShareForStorage':'/var/lib/unifi-video/videos':'rw' 'pducharme/unifi-video-controller' 

127645ed1ce6085f53198044ec0c5f634b9289fd9f8991c029e5642806cf3384

Log:

2019-03-14 03:13:16.272339 [warn] PUID not defined (via -e PUID), defaulting to '99'
2019-03-14 03:13:16.527023 [warn] PGID not defined (via -e PGID), defaulting to '100'
2019-03-14 03:13:16.628321 [info] Permissions already set for volume mappings
Starting unifi-video... (unifi-video) checking for system.properties and truststore files...
done.
Waiting for mongodb to come online..... done.

I was able to restart without issues. It seems it happens when unraid is restarted.

 

ZziSUNP.png

Edited by bluesky509
add

Share this post


Link to post

having issues getting the unifi video container working behind nginx reverse proxy. anyone having any luck?

 

getting a 502 bad gateway

 

here's my config

 

map $http_upgrade $connection_upgrade {
  default upgrade;
  ''      close;
}

server {
  listen 80;
  server_name nvr.domain.xyz;

  client_max_body_size 4G;

  location / {
    proxy_redirect off;
    proxy_set_header Host $host;
    proxy_pass http://192.168.1.10:7080/;
  }
}

server {
  listen 443 ssl http2;
  server_name nvr.domain.xyz;

  ssl_certificate     /config/keys/letsencrypt/fullchain.pem;
  ssl_certificate_key /config/keys/letsencrypt/privkey.pem;

  ssl on;

  set $upstream 192.168.1.10:7443;

  location / {
    proxy_pass     https://$upstream;
    proxy_redirect https://$upstream https://$server_name;

    proxy_cache off;
    proxy_store off;
    proxy_buffering off;
    proxy_http_version 1.1;
    proxy_read_timeout 36000s;

    proxy_set_header Host $http_host;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection $connection_upgrade;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header Referer "";

    client_max_body_size 0;
  }
}

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now