[SOLVED] unable to open chunk store

RobFantini

Famous Member
May 24, 2012
2,022
107
133
Boston,Mass
after adding a new datastore ,
Code:
proxmox-backup-manager datastore create  fbc-long-term-backups2 /fbc-backups/fbc-long-term-backups2

when I click on it in pbs web page :
Code:
Bad Request (400)
unable to open chunk store 'fbc-long-term-backups' at "/fbc-backups/fbc-long-term-backups/.chunks" - Permission denied (os error 13)

the file permissions look OK:
Code:
ls -ld  /fbc-backups/*/.chunks
drwxr-x--- 65538 backup backup 65538 Jul 18 16:08 /fbc-backups/fbc-long-term-backups2/.chunks/
drwxr-x--- 65538 backup backup 65538 Jul 13 07:52 /fbc-backups/fbc-long-term-backups/.chunks/
drwxr-x--- 65538 backup backup 65538 Jul 11 08:48 /fbc-backups/store1/.chunks/

I tried adding the pb-user to have permissions..
 
those seem to be two different issues:
- the first might be a cached ACL on the server side
- the second looks like a missing ticket refresh for long running syncs

does the first still happen if you restart proxmox-backup-proxy and proxmox-backup? is the second reproducible?
 
I have this same issue. This is the perms I have before I mount


drwxr-xr-x 4 root root 4096 Feb 29 16:01 .
drwxr-xr-x 18 root root 4096 Feb 29 10:37 ..
drwxr-xr-x 3 root root 4096 Feb 29 15:49 datastore
drwxr-xr-x 2 root root 4096 Feb 29 16:03 s3-bucket

When I manually mount this is the perms. This is my mount command: "s3fs mpproxmox-backup /mnt/s3-bucket/ -o passwd_file=/etc/passwd-s3fs -o url=https://s3.amazonaws.com"


drwxr-xr-x 4 root root 4096 Feb 29 16:01 .
drwxr-xr-x 18 root root 4096 Feb 29 10:37 ..
drwxr-xr-x 3 root root 4096 Feb 29 15:49 datastore
drwx------ 1 root root 0 Dec 31 1969 s3-bucket
 
that's likely fuse's "allow_other" setting, but using a fuse-backed datastore is probably not a good idea for other reasons anyway..
 
it might not implement all the operations PBS requires, and it is probably not very high performance either ;)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!