• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Question Domain Log Files Owner and Permissions are probably incorrect

milanbx

New Pleskian
Server operating system version
Debian 12.12
Plesk version and microupdate number
Plesk Obsidian 18.0.74 Update #3, last updated on Dec 9, 2025 06:27 AM
Hi,
my `nginx` and other log files report errors like this:
`Unable to open log file: fopen(/var/www/vhosts/system/vetkom.cz/logs/proxy_error_log): Failed to open stream: Permission denied`
What should be the right owner and permitions?
Currently I have permission 660 and owner is my domain admin account, group is psacln.
Plesk Diagnose & Repaire did not find anything wrong.
Not even sudo plesk repair fs vetkom.cz -v has found anything.
Thanks.
 
What should be the right owner and permitions?
Log files (in the logs directory) should be owned by root and part of the root group, with permission 644.

Not even sudo plesk repair fs vetkom.cz -v has found anything.
Not sure why the repair utility didn't fixed that for you. Thy to change ownership and permissions manually:

Code:
cd /var/www/vhosts/system/vetkom.cz/logs
find . -type f -exec chmod 644 {} \;
chown -R root:root .
 
I have found a support article saying this:
Bash:
chown psaadm:root /var/www/vhosts/system/example.com/logs/
chmod 700 /var/www/vhosts/system/example.com/logs/
see it here: Unable to access logs and files for a domain: System error 13: Permission denied
Which is the right one now?
Thnx

The permission and ownership mentioned in the support article you linked to only apply to the logs directory itself. For any log files inside of that directory the permission and ownership I mentioned in my previous post apply.
 
Back
Top