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

Resolved Website not served, 'permission denied'

jacboy

New Pleskian
Hey there,

I moved my website from one server to the new Plesk server I've set up. Now I get an error 500 when I access the website and the following information can be found within the error_log.

Code:
[Thu Jul 19 15:30:35.288635 2018] [core:crit] [pid 24931:tid 140132811269888] (13)Permission denied: [client $IP:47306] AH00529: /var/www/vhosts/example.com/httpdocs/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/vhosts/example.com/httpdocs/' is executable

At the moment, there is no .htaccess file. I've attached a few screenshots showing my permissions for the folders.
The "nextcloud-data" folder contains all my personal data which should be made available to the Nextcloud instance.

How can I fix this?


All the best,

Jay
 

Attachments

  • Screen Shot 2018-07-19 at 15.53.45.png
    Screen Shot 2018-07-19 at 15.53.45.png
    450.6 KB · Views: 19
  • Screen Shot 2018-07-19 at 15.53.35.png
    Screen Shot 2018-07-19 at 15.53.35.png
    23.6 KB · Views: 17
  • Screen Shot 2018-07-19 at 15.53.30.png
    Screen Shot 2018-07-19 at 15.53.30.png
    24.2 KB · Views: 15
Thanks for your fast reply!

Code:
root@web1:~# plesk repair fs

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

Checking virtual hosts' file system

  There are incorrect permissions on some items in the WWW root       
  directory of the domain 'example.com' ........................ [ERROR]
  To see more details, run the command in the verbose mode: plesk repair fs -verbose
  Do you want to repair incorrect permissions? [Y/n] y
    Repairing incorrect permissions ................................. [FIXED]

This didn't fix the problem. The website still throws the following:

Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

The log file browser isn't very helpful.

Screen Shot 2018-07-19 at 19.51.01.png

Status: The website still doesn't work.


All the best,

Jay
 
maybe this KB will help: Website's layout is broken: pcfg_openfile: unable to check htaccess file

and please check once again the permissions of your folder and files because folder permission are most likely 755 and .htaccess permission 644 and also the right ownership of your website. In your previous screenshot there was often the ownership set to psaserv and this should have be fixed to psacln after the repair.

Note: The /httpdocs directory and the /cgi-bin directory inside it should have the owner psaserv ownership. All other files and directories inside the /httpdocs directory should have the owner psacln ownership.

Please see: Virtual Host Structure (Linux)
 
Last edited:
and please check once again the permissions of your folder and files because folder permission are most likely 755 and .htaccess permission 644 and also the right ownership of your website. In your previous screenshot there was often the ownership set to psaserv and this should have be fixed to psacln after the repair.
It wasn't possible for me to fix this, either manually by hand or with the plesk repair tool. I decided to delete the hosting account completely and start over, which meant I had to transfer the whole Nextcloud instance again, but it now works perfectly.

I don't know what went wrong the first time, but for me it doesn't matter anymore.

All the best,

Jay
 
Back
Top