• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue Error with backup plesk

rabber

New Pleskian
Server operating system version
debian
Plesk version and microupdate number
18.0.44
I have a problem with Plesk as I can't backup Plesk because I have this kind of problem.

Warning: Subscription "unidea.it"
Not all the data from /var/www/vhosts/unidea.it was backed up successfully: subdomains/shop/conf: Cannot open: Permission denied subdomains/shop/error_docs: Cannot open: Permission denied subdomains/shop/error_docs/bad_gateway.html: Cannot stat: Permission denied subdomains/shop/error_docs/bad_request.html: Cannot stat: Permission denied subdomains/shop/error_docs/forbidden.html: Cannot stat: Permission denied subdomains/shop/error_docs/internal_server_error.html: Cannot stat: Permission denied subdomains/shop/error_docs/maintenance.html: Cannot stat: Permission denied subdomains/shop/error_docs/method_not_allowed.html: Cannot stat: Permission denied subdomains/shop/error_docs/not_acceptable.html: Cannot stat: Permission denied subdomains/shop/error_docs/not_found.html: Cannot stat: Permission denied subdomains/shop/error_docs/not_implemented.html: Cannot stat: Permission denied subdomains/shop/error_docs/precondition_failed.html: Cannot stat: Permission denied subdomains/shop/error_docs/proxy_authentication_required.html: Cannot stat: Permission denied subdomains/shop/error_docs/req... (truncated)

Warning: Database "chat_"
Unable to make database dump. Error: Failed to exec mysqldump: Exit code: 2: mysqldump: Couldn't execute 'SELECT /*!40001 SQL_NO_CACHE */ * FROM `chat_event_action_website_pushs`': Lost connection to MySQL server during query (2013)
Warning: Database "chat_"
Unable to back up database chat_. Error: DB query failed:"SET sql_mode = ''"Error: SQLSTATE[HY000] [2006] MySQL server has gone away
Warning: Database "n_d_super"
Unable to back up database n_d_super. Error: SQLSTATE[HY000] [2002] Connection refused
Warning: Database "support-chat2"


and continue for all domain ecc..
 
There are files with incorrect permissions in the domain. To fix those, login to Plesk go to Tools & Settings > Diagnose & Repair and click the repair button next to File System.

Scherm­afbeelding 2024-04-22 om 10.53.08.png
 
do I have to restart the machine after doing the repair?
No, that's not needed.

You can follow this support article. Connect to your server via SSH (or use the build in Plesk SSH terminal). And run the following commands.

Code:
plesk bin subscription -i unidea.it | grep "FTP Login"
This will output the subscriptions system user name, which you can use in the next step.

Replace <subscriptions_system_username> with the subscriptions system user name from the previous step.
Code:
chown -R <subscriptions_system_username>:psacln /var/www/vhosts/unidea.it/subdomains

Code:
find /var/www/vhosts/unidea.it/subdomains -type f -exec chmod 0644 {} \;
find /var/www/vhosts/unidea.it/subdomains -type d -exec chmod 0755 {} \;

Afterwards run the repair options again from my previous post.

You have some database issues too. Make sure you have more disk space available (at least 2 times the size of your backup). Otherwise no database dump can be stored.
 
Your disk space look ample. I am not sure what causes the database error during backups.

As for the file permission errors your can repeat the commands in my previous post for each domain with file permission errors by adapting the commands and paths. Alternatively you can open a ticket with Plesk support so the support team can investigate the issue on your server.
 
Isn't it by chance that he is in the wrong group and plesk doesn't recognize him? psaserv to psacln? this is my question!
 
Warning: Subscription "unideaweb.com"
Not all the data from /var/www/vhosts/unideaweb.com was backed up successfully: httpdocs/administrator/cache: Cannot stat: Permission denied httpdocs/administrator/cache/index.html: Cannot stat: Permission denied httpdocs/administrator/components: Cannot stat: Permission denied httpdocs/administrator/components/com_admin: Cannot stat: Permission denied httpdocs/administrator/components/com_admin/admin.php: Cannot stat: Permission denied httpdocs/administrator/components/com_admin/admin.xml: Cannot stat: Permission denied httpdocs/administrator/components/com_admin/controller.php: Cannot stat: Permission denied httpdocs/administrator/components/com_admin/controllers: Cannot stat: Permission denied httpdocs/administrator/components/com_admin/controllers/index.html: Cannot stat: Permission denied httpdocs/administrator/components/com_admin/controllers/profile.php: Cannot stat: Permission denied httpdocs/administrator/components/com_admin/helpers: Cannot stat: Permission denied httpdocs/administrator/components/com_admin/helpers/html: Cannot stat: Permission denied httpdocs/administrator/com... (truncated)
Warning: Subscription "unideaweb.com"
Not all the data from /var/www/vhosts/unideaweb.com was backed up successfully: crm.unideaweb.com/cache/Relationships: Cannot stat: Permission denied crm.unideaweb.com/cache/Relationships/relationships.cache.php: Cannot stat: Permission denied crm.unideaweb.com/cache/dashlets: Cannot stat: Permission denied crm.unideaweb.com/cache/dashlets/dashlets.php: Cannot stat: Permission denied crm.unideaweb.com/cache/htmlclean: Cannot stat: Permission denied crm.unideaweb.com/cache/htmlclean/HTML: Cannot stat: Permission denied crm.unideaweb.com/cache/htmlclean/HTML/4.3.0,1a6019117d2111c6b9c8148754b96937,2.ser: Cannot stat: Permission denied crm.unideaweb.com/cache/htmlclean/URI: Cannot stat: Permission denied crm.unideaweb.com/cache/htmlclean/URI/4.3.0,b994f8a548fb2bd0858498fd9ce49baf,1.ser: Cannot stat: Permission denied crm.unideaweb.com/cache/jsLanguage: Cannot stat: Permission denied crm.unideaweb.com/cache/jsLanguage/ACLRoles: Cannot stat: Permission denied crm.unideaweb.com/cache/jsLanguage/ACLRoles/it_it.js: Cannot stat: Permission denied crm.unideaweb.com/cache/jsLanguage/Accounts: Cannot... (truncated)
 
i use repair fs unideaweb.com

this is log repair:

Execution status has failed with exit code 3, stdout: ● plesk-repaird.service - Repair CP Service
Loaded: loaded (/lib/systemd/system/plesk-repaird.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2024-04-24 14:35:43 CEST; 1 day 21h ago
Main PID: 25518 (code=exited, status=2)
CPU: 57ms

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
, stderr:
 
Back
Top