Proxmox-backup-client failed : Error: EACCES: Permission denied (500)

Frenshow

Member
Dec 4, 2020
47
2
8
26
Hello guys !



I rely on you because I have a problem !



I have 4 servers on which PBS is installed. On this 4 servers, two of them can no longer connect to PBS and their storages went to the status of "unknown" and when I go the "backup" tab, I read this error message : "proxmox-backup-client failed: Error: EACCES: Permission denied (500).



I would like to know what is the problem with this two servers.



Thank you !
 

Attachments

  • pbs_error.jpg
    pbs_error.jpg
    6.1 KB · Views: 22
hi,

can you please post the contents from journalctl? it might be wrong file permissions or ACL
 
Journalctl.png
This is the journalclt, I hid the path. This is a new error.
 

Attachments

  • Journalctl.png
    Journalctl.png
    30.5 KB · Views: 41
Last edited:
you don't have permissions to write on the datastore. you should check the file owners and permissions where it's located and make sure backup user can write to it
 
chmod 777
this gives write access to all users on the system to write to the datastore!

you should rather set the owner with the chown command to backup:backup.

like so:
Code:
chown backup:backup -R /path/to/your/datastore
chmod -R 600 /path/to/your/datastore

so this will set the owner to backup and make the permissions more restricted, it should be a safer solution that giving 777
 
ok that should also be fine
 
I tried and it works with the backup owner and with chmod 755, not 600, its weird isn't it ?
 
i guess it needs 700 at least, so the backup user/group should have all the permissions (read/write/execute)
 

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!