• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Issue Permission issue when virutalhosts are setup on second drive

zaki.it

New Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
18.0.53
Hello, we just managed to install Plesk on Ubuntu 22.04 but we are stumbling upon an error with permissions as seen in the screenshot below:
1687338624590.png


What we are trying to achieve is to have Plesk's installation running on the main drive while having all virtualhosts files on a secondary drive. We tried using the transvhosts utility but it didn't work, we end up with the 500 PleskUtilException seen in the image above. Both drives are using the same file system (ext2) and running Plesk's repair kit doesn't fix the issue.

Other details that could be useful:
- SELinux is running in permissive mode

Thanks in advance for the feedback and support
 
I think you met a known issue. HTTPD_VHOSTS_D variable in psa.conf is not updated, and when the webserver reconfiguration takes places, the path is not updated in Apache's server.conf file either. You can update both manually, then it should work.
 
Hi Peter and thanks for your response. We checked the content of HTTPD_VHOSTS_D and server.conf and it looks like they are set with the correct path. We're still getting the error: "filemng failed: filemng: stat failed: Permission denied System error 13: Permission denied"
 
Back
Top