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

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