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: 43
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 guess it needs 700 at least, so the backup user/group should have all the permissions (read/write/execute)