• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Issue Issue creating backup FTP/Local

Xelar25

New Pleskian
Server operating system version
Ubuntu 24.04
Plesk version and microupdate number
18.0.67
Hello there!

I'm new to Plesk, it's a new installation, i'm trying to test the backup function via FTP or even local, but no matter what i always get this warning/error.


Warning: Subscription "example.com"
Unable to back up files from /var/www/vhosts/example.com owned by Apache. Error: Failed to create archive: backup_apache-files_2501232245.tgz 0
Repository error: Unable to pack /var/www/vhosts/example.com: tar (child): pigz -3: Cannot exec: Permission denied
tar (child): Error is not recoverable: exiting now
/usr/lib/plesk-9.0/sw-tar: Child returned status 2
/usr/lib/plesk-9.0/sw-tar: Error is not recoverable: exiting now



I've tried checking the two Dumps folder, but the permissions seeems fine. Any tips?
 
Hi,

What are the actual permissions?
Code:
ls -ld /var/www/vhosts
Ls -ld /var/wwwvhosts/example.com

You can run Plesk repair to fix permission and ownership:

Code:
plesk repair fs -v
 
Code:
ls -ld /var/www/vhosts
drwxr-xr-x 9 root root 4096 Jan 22 03:00 /var/www/vhosts


Code:
ls -ld /var/www/vhosts/example.com
drwx--x--- 10 example.com_b7qdtl2wu8n psaserv 4096 Jan 22 09:27 /var/www/vhosts/example.com

After running Plesk repair as suggested nothing changed.

Code:
plesk repair fs -v


Checking Linux system files ......................................... [OK]


Error messages: 0; Warnings: 0; Errors resolved: 0
 
The permissions look ok.

Check if you have files and folders not owned by example.com_b7qdtl2wu8n:
Bash:
find /var/www/vhosts/example.com ! -user example.com_b7qdtl2wu8n
 
Code:
find /var/www/vhosts/example.com ! -user example.com_b7qdtl2wu8n

/var/www/vhosts/example.com/logs/proxy_access_ssl_log
/var/www/vhosts/example.com/logs/access_log
/var/www/vhosts/example.com/logs/access_ssl_log.processed.1.gz
/var/www/vhosts/example.com/logs/ticket.example.com/proxy_access_ssl_log
/var/www/vhosts/example.com/logs/ticket.example.com/access_log
/var/www/vhosts/example.com/logs/ticket.example.com/access_ssl_log.processed
/var/www/vhosts/example.com/logs/ticket.example.com/proxy_access_log
/var/www/vhosts/example.com/logs/ticket.example.com/proxy_error_log
/var/www/vhosts/example.com/logs/ticket.example.com/access_ssl_log
/var/www/vhosts/example.com/logs/ticket.example.com/access_ssl_log.webstat
/var/www/vhosts/example.com/logs/ticket.example.com/access_log.webstat
/var/www/vhosts/example.com/logs/ticket.example.com/access_log.processed
/var/www/vhosts/example.com/logs/ticket.example.com/error_log
/var/www/vhosts/example.com/logs/access_ssl_log.processed
/var/www/vhosts/example.com/logs/proxy_access_log
/var/www/vhosts/example.com/logs/proxy_error_log
/var/www/vhosts/example.com/logs/access_ssl_log
/var/www/vhosts/example.com/logs/access_ssl_log.webstat
/var/www/vhosts/example.com/logs/access_ssl_log.processed.2.gz
/var/www/vhosts/example.com/logs/access_log.webstat
/var/www/vhosts/example.com/logs/access_log.processed
/var/www/vhosts/example.com/logs/error_log


There is a subdomain with osticket installed, i forgot to mention. Everything is working fine in both website.
 
Those are not a problem.

What did you select in the Backup Manager when the backup was created? Do new backups trigger the same error?
 
I tried FTP and Storage, singularly and both together. New backups still throwing error. I tried full backup and incremental, split and non split.
 
Can you share a screenshot of the options that are selected?
Do you get anything logged in /var/log/plesk/panel log when the backup fails?
 
Back
Top