• 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.

Issue Plesk websites is broken after this command

E.Swestberg

New Pleskian
I typed this command to console.
"sudo chown -R www-data:www-data /var/www"
After that command my Plesk websites is not working anymore.

Error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.....

Any suggestion what I can try to fix it, please ?
my website folders are at "/var/www/vhosts/websites.com/" if that helps.

My setup is:
Ubuntu 14.04.4 LTS and Plesk version: 12.0.18 Update #96


Br. Esa
 
Last edited:
On my sever
/var/www/cgi-bin is root:root including subdirectories and files
/var/www/html is root:root including subdir and files
/var/www/usage is webalizer:root including subdir and files
vhosts is the one you probably messed up.
/var/www/vhosts is root:root but the subdirectories and files are appropriate for the domain user account.

chown "your_plesk_username: psaserv /var/www/vhosts/yourdomain/"
chown -R "your_plesk_username: psacln /var/www/vhosts/yourdomain/httpdocsdir"
chown "your_plesk_username: psaserv /var/www/vhosts/yourdomain/httpdocsdir"
I also have a few other directories, anon_ftp, cgi-bin, httpsdocs, and private which are "your_plesk_username: psaserv" ( I had to put a space between : and psaserve and psacln else I get a :p )

I'm sure there is a KB on proper file permissions kicking around.
 
# /usr/local/psa/bin/repair --restore-vhosts-permissions
 
Last edited by a moderator:
Back
Top