ayufan / pve-backup-server-dockerfiles

Unofficial, and unmaintained build of proxmox-backup-server
348 stars 60 forks source link

Error when docker-compose up #10

Closed nath67 closed 2 years ago

nath67 commented 2 years ago

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... pbs1 | Error: unable to create rrdb stat dir - EACCES: Permission denied

nath67 commented 2 years ago

This issue is not present on v2.0.7.

ayufan commented 2 years ago

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

nath67 commented 2 years ago

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

ayufan commented 2 years ago

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

nath67 commented 2 years ago

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 ;)

ayufan commented 2 years ago

This should do the trick: https://github.com/ayufan/pve-backup-server-dockerfiles/commit/b6752a0f280b0b79a8cdacc370a42c05cf8cc2d2.

ayufan commented 2 years ago

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