• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Plesk website / NAS HA error reading

Erwan

Regular Pleskian
Server operating system version
Debian 11.7
Plesk version and microupdate number
18.0.54
Hi all,

We have a website that works well.
Storage space (server): /var/www/vhsosts/mydomain.com/production/

Wishing to assign another instance to the website, we mounted an NFS NAS with the same rights and copied the files:
- mv /var/www/vhsosts/mydomain.com/production/ to /var/www/vhsosts/mydomain.com/production.bck/ (for backup)
- create /var/www/vhsosts/mydomain.com/production/
- chown on the directory (for the same as production.bck): #chown ftpprod:psacln /var/www/vhsosts/mydomain.com/production/
Copy of thefiles:
- copy: #cp -aRf production.bck/* production
No problem.

But when i access to the website, i have an 500 error.
=> mod_fcgid: read data timeout in 45 seconds

Apache does not seem to be able to read the files even though the rights have been carried over identically.
The basic rights of the NAS are indeed read/write.

Do you have an idea of the problem?

Erwan
 
Please make sure that the pathis not /var/www/vhsosts, but /var/www/vhosts.

For details on the 500 error, please check the error_log file of the corresponding website. Mostly you'll find more details on the cause of the error.
 
Thank you Peter.
The path is good.

It works now by increasing the timeout values enormously.
The problem seems to come from the hosting, very slow.

Thank you.
 
Back
Top