• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Forwarded to devs RESOLVED /logs/*.webstat backed up despite backup setting "Exclude log files" is checked

Bitpalast

Plesk addicted!
Plesk Guru
Username: Peter Debik

TITLE

/logs/*.webstat backed up despite backup setting "Exclude log files" is checked

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Obsidian with latest MU, CentOS 7.9

PROBLEM DESCRIPTION

the /logs/*.webstat files sometimes have permissions 0400, e.g.

-r-------- 1 root root 0 Jan 21 04:46 access_log.webstat
-r-------- 1 root root 0 Jan 21 04:46 access_ssl_log.webstat

so that the full server backup cannot access them to back them up. It throws an error like:

backup.log:[2021-01-22 00:53:47.223|19243] INFO: <subscription name>/logs/access_log.webstat: Cannot open: Permission denied
backup.log:<subscription name>/logs/access_ssl_log.webstat: Cannot open: Permission denied

This results in daily "failed backup" notices. However, in the backup schedule, the checkbox "Exclude log files" is checked, so these files should not be backed up at all.

To mitigate the issue we have tried to create a cron job that resets the permissions 0644, but for unknown reason this did not help. It seems that the permissions are always set to 0400 shortly before the backup takes place. This does not happen in all subscriptions. It occurs only occasionally in some across many servers.

STEPS TO REPRODUCE

This does not happen in all subscriptions. It occurs only occasionally in some across many servers.

ACTUAL RESULT

Server full backup tries to back-up /var/www/vhosts/<subscription name>/logs/*.webstat files, although in the backup schedule the "Exclude log files" option is checked.

EXPECTED RESULT

Server full backup should exclude /var/www/vhosts/<subsription name>/logs/*.webstat files when the option "Exclude log files" is checked.

ANY ADDITIONAL INFORMATION



YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
This can be considered resolved.

After detailed analysis we found that the customer has been copying and modifying files, so that it interfered with Plesk's own algorithms. For that reason it looked as if Plesk backup is making the mistake, but it was indeed interference from third party scripts.
 
Pay attention Backup manager never backs up /var/www/vhosts/<subscription name>/logs, it archives the logs from /var/www/vhosts/system/<subscription name>/logs under root account.
 
Back
Top