• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Issue Backup on Docker Container fails

Bender_

New Pleskian
I run a mariadb Container with bind mount located at my subdomain (/var/www/vhosts/xyz.de/cloud.xyz.de) that i use for my case.

pleskbackup runs into error backuping certain files, from the log:

[2021-05-24 03:13:07.167|44695] INFO: cloud.xyz.de/nextcloud-db/mysql: Cannot open: Permission denied
cloud.xyz.de/nextcloud-db/mysql/column_stats.MAD: Cannot stat: Permission denied
cloud.xyz.de/nextcloud-db/mysql/column_stats.MAI: Cannot stat: Permission denied
cloud.xyz.de/nextcloud-db/mysql/column_stats.frm: Cannot stat: Permission denied
cloud.xyz.de/nextcloud-db/mysql/columns_priv.MAD: Cannot stat: Permission denied
cloud.xyz.de/nextcloud-db/mysql/columns_priv.MAI: Cannot stat: Permission denied
cloud.xyz.de/nextcloud-db/mysql/columns_priv.frm: Cannot stat: Permission denied


An extract of the file persmission as created by docker:

Bash:
root@xyz:/var/www/vhosts/xyz.de/cloud.xyz.de/nextcloud-db/mysql# ls -la
total 10816
drwx------ 2 psaadm systemd-journal    4096 Mai 24 15:41 .
drwxr-xr-x 5 psaadm root               4096 Mai 24 15:41 ..
-rw-rw---- 1 psaadm systemd-journal    2108 Mai 24 15:41 columns_priv.frm
-rw-rw---- 1 psaadm systemd-journal    8192 Mai 24 15:41 columns_priv.MAD
-rw-rw---- 1 psaadm systemd-journal    8192 Mai 24 15:41 columns_priv.MAI


My idea was to change the group from "systemd-journal" to "docker" and add the user that runs the backups to the group "docker". I tried that with the user "backup" without success. Of course giving permissions to other works too, but that cant be the goal.

What user do i have to add to the group docker? Under what context are the backups running?

htop displayed only root.
 
Last edited:
Back
Top