ayufan/pve-backup-server-dockerfiles

Error when docker-compose up

Closed this issue · 7 comments

Hello,

When I try to run this image by using the docker-compose example or a handmade one, I get this error in a loop :
pbs_1 | PROXY: Starting...
pbs_1 | Error: unable to create rrdb stat dir - EACCES: Permission denied

This issue is not present on v2.0.7.

The repo checkout is not required to run an image standalone.

As described here, you can temporarily fix it by making this as volume in the docker-compose to make it permanent :
rrdb:/var/lib/proxmox-backup/rrdb

https://forum.proxmox.com/threads/error-unable-to-create-rrdb-stat-dir-eacces-permission-denied-clean-pbs-v2-installation.99395/post-429144

Oh. Yes, we should have this in docker-compose.yml. Hmm, there is pbs_lib.

Yes, the image sould do the chown temporarly or just do a "docker compose up -d && docker-compose down", then chown it manually.
... Or just wait because it's a bug ;)

This should do the trick: b6752a0.

The images are update with this fix. Re-pull them as they are under the same tag.