Skip to content
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

Issue writing to folder #11

Open
buzurk26 opened this issue Dec 7, 2022 · 1 comment
Open

Issue writing to folder #11

buzurk26 opened this issue Dec 7, 2022 · 1 comment

Comments

@buzurk26
Copy link

buzurk26 commented Dec 7, 2022

Hi, Awesome project, cant wait to get it running with my new dr900x

I have added it on my synology NAS, executed the docker-compose as root but I get the following error in the container logs
synology-docker

My Compose file

docker run -d --restart unless-stopped \ -v /volume1/docker/blackvue-sync:/recordings \ -e ADDRESS=172.xx.xx.xx \ -e PUID=$(id -u) \ -e PGID=$(id -g) \ -e TZ="Australia/Sydney" \ -e KEEP=52w \ --name Blackvue-Sync \ acolomba/blackvuesync

In my NAS, the folder is there
owner

@drakkhen
Copy link

Not sure if you figured this out yet, but I ran into the same error message when first getting things setup on my Synology.

I did not use a docker compose file at all -- just found this project in the registry using the Synology UI. So then I ssh-ed into the NAS as my normal user (which has RW access to the /BlackVue share), ran id to get that account's uid and gid, and then set those in environment variables in the container's settings:

[drakkhen@mbp ~] % ssh [email protected] id
[email protected]'s password:
Could not chdir to home directory /var/services/homes/drakkhen: No such file or directory
uid=1026(drakkhen) gid=100(users) groups=100(users),101(administrators)

Screenshot 2023-01-27 at 3 25 05 PM

After that it just started working perfectly! My videos sync to the NAS's /BlackVue/XC40 share when the car's parked in the driveway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants