PLESK: Can’t access folder plesk-stat/webstat after switching server

Changing a server is never a totally peaceful task, especially when the causes involve data corruption. At this time, it was a machine with Linux and Plesk Control Panel 9.x

After the server and upgrade of the panel version, I was unable to get access and even assign the directory permissions to the statistics page

https://meudominio.pt/plesk-stat/webstat/

Plesk stores usernames and passwords in the folder

/var/www/vhosts/meudominio.pt/pd


and so far, so good. But when trying to go to

https://meudominio.pt/plesk-stat/webstat/


and correctly placed the username and password, it never authenticates.

The problem is in folder permissions

/var/www/vhosts/meudominio.pt/pd


which in this case was user:psacln and must be root:psaserv.

Running in shell

chown root:psaserv /var/www/vhosts/* /pd


solved all the problems.

Did it work for you? Please leave your comments below.

Exit mobile version