GithubHelp home page GithubHelp logo

unifi-protect-x86's People

Contributors

markdegrootnl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

unifi-protect-x86's Issues

Container keeps exiting

I'm unable to keep the container running on a fresh Ubuntu 18.04 VM. This is what's happening:

test@test:~$ sudo docker run --privileged   --tmpfs /srv/unifi-protect/temp     -p 7080:7080     -p 7443:7443     -p 7444:7444     -p 7447:7447     -p 7550:7550     -p 7442:7442     -m 2048m     -v unifi-protect-db:/var/lib/postgresql/10/main     -v unifi-protect:/srv/unifi-protect     markdegroot/unifi-protect-x86:latest
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
database exists
Removed stale pid file.
createuser: creation of new role failed: ERROR:  role "unifi-protect" already exists
Database exists, checking ownership
Database is already owned by unifi-protect
CONFIG LOADED : /usr/share/unifi-protect/app/config/config.json
workers pool `Read` is set to 4 concurrent workers
workers pool `Write` is set to 8 concurrent workers
workers pool `Transcode` is set to 8 concurrent workers
workers pool `DnsResolve` is set to 16 concurrent workers
workers pool `Misc` is set to 1 concurrent workers
workers pool `Global` is set to 1 concurrent workers
workers pool `Serve` is set to 106 concurrent workers
Cannot find module 'pg-native'
CONFIG LOADED : /usr/share/unifi-protect/app/config/config.json
Wed, 06 Oct 2021 21:08:17 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at usr/share/unifi-protect/app/node_modules/sequelize/lib/sequelize.js:245:13
test@test:~$ 

Does anyone have any idea why? Thanks!

G3 instant

Since few time, I can not add my G3 instant on unifi protect in docker on synology.

It worked before.

Cameras stuck loading

Everything works fine only issues is the ui shows the camera still loading. However I know its recording because it shows a time line.
Can't download videos or play them back but that might be my config causing issues.
I also can't login for remote. But I haven't tried it on the host computer yet

I'm still new to using docker.
my config is below.

docker run -d --name unifi-protect-x86  \
--tmpfs /srv/unifi-protect/temp \
--network="host" \
-p 7080:7080 \
-p 7443:7443 \
-p 7444:7444 \
-p 7447:7447 \
-p 7550:7550 \
-p 7442:7442 \
-m 6144m \
-v unifi-protect-db:/var/lib/postgresql/10/main \
-v unifi-protect:/srv/unifi-protect \
markdegroot/unifi-protect-x86:latest

Anyone have a solution for these issues or can provide me with some direction.
Thanks

Is this falling behind arm in software version?

The thing works out of the box quite nicely. I didn't have any issues, just ran the container and it finds the camera device.

But the camera has none of the features from the demo video. Its basically a ball video and nothing more.

The arm64 image was published 3 months ago, so does that have a more recent debian package?

Would it be possible to set up a mirror repo that just gets the latest package?

How out of date is a year's old deb file?

Docker container keeps crashing

Hi,

I run docker on Ubuntu 20.04 and would like to run this container.

However I keep getting this error:

`
This user must also own the server process.

The database cluster will be initialized with locale "C".
The default database encoding has accordingly been set to "SQL_ASCII".
The default text search configuration will be set to "english".
Data page checksums are disabled.

initdb: could not change permissions of directory "/var/lib/postgresql/10/main": Operation not permitted
fixing permissions on existing directory /var/lib/postgresql/10/main ...
`

I tried everything but it still doesn't work even 777 doesn't work.

Any help would be appreciated.

G3 Instant?

How am i able to add a G3 Instant to the protect?
Im not able to select it..

image

Connecting to your NVR... (x86 docker)

Hey Mark,

First of all thank you for constructing this docker so we can try this out. I'm looking for a way to use Unifi Protect because i wanted to buy a Unifi doorbell and maybe some camera's. There is little hope (so says the internet) in an easy to use docker that's "plug-and-play" so i've started using my basic command knowledge to give it a go and use your docker.

I'm using Unraid as server so i'm trying to get this to work on my device.

Here's where i'm at:

I've installed the docker succesfully, remapping the ports, using bridge because the docker needs internet and giving my files the correct accessability

docker run -d --name unifi-protect-x86     
--privileged  
--tmpfs "/mnt/user/Unifi Protect/unifi-protect/temp"     
-p 7080:7080     
-p 7443:7443     
-p 7444:7444     
-p 7447:7447     
-p 7550:7550     
-p 7442:7442 
--network="bridge"    
-v "/mnt/user/Unifi Protect/unifi-protect-db":/var/lib/postgresql/10/main     
-v "/mnt/user/Unifi Protect/unifi-protect":/srv/unifi-protect 
markdegroot/unifi-protect-x86:latest

image

I think i edited the commands correctly. /mnt/user/Unifi Protect is the map i use for all of this. Let me know if i did something wrong here. I also did a 'chown' for 101 and 999.

chown 101:101 "/mnt/user/Unifi Protect/unifi-protect"
chown 999:999 "/mnt/user/Unifi Protect/unifi-protect-db"

My docker runs. But i can't connect at port 7447. There is nothing there. When i use 7080 i do get the webgui. I start the small setup. And then it gives me a blue screen that says 'Connectinto your NVR...' and it stays like that forever.

image

This is the log from my unraid server:

Database exists, checking ownership
Database is already owned by unifi-protect
CONFIG LOADED : /usr/share/unifi-protect/app/config/config.json
workers pool `Read` is set to 4 concurrent workers
workers pool `Write` is set to 8 concurrent workers
workers pool `Transcode` is set to 4 concurrent workers
workers pool `DnsResolve` is set to 16 concurrent workers
workers pool `Misc` is set to 1 concurrent workers
workers pool `Global` is set to 1 concurrent workers
workers pool `Serve` is set to 110 concurrent workers
Cannot find module 'pg-native'
CONFIG LOADED : /usr/share/unifi-protect/app/config/config.json
Mon, 30 Nov 2020 12:12:27 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at usr/share/unifi-protect/app/node_modules/sequelize/lib/sequelize.js:245:13
(node:69) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 delete listeners added. Use emitter.setMaxListeners() to increase limit

Maybe it has something to do with the "Possible EventEmitter memory leak"? No clue. i'm not super qualified for this :). Any help would be great.

Thank you and let me know if you need more info.

UniFi Protect V1.17.1 Connecting to your NVR

Hi,

I have installed UniFi Protect x86 version in docker using the latest release.

I have gone through the setup wizard and have logged in.

However, it always hangs at "Connecting to your NVR". I have tried re installing the OS (Ubuntu 20.04) & re installing docker.

image

Do you have any suggestions on how this could be fixed?

Thanks,

Ryan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.