Symptoms
- After a Plesk installation or a Plesk upgrade, the following error is shown on the login page:
Warning : Unknown: failed to open stream: No such file or directory in Unknown on line 0
Cause
Missing symbolic link /usr/local/psa/ -> /opt/psa/
Resolution
-
Connect to the server using SSH
-
Remove the link
/usr/local/psa
if there is any:# unlink /usr/local/psa
-
In case of error
unlink: cannot unlink '/usr/local/psa': Is a directory
rename the directory directory/usr/local/psa
:# mv /usr/local/psa{,.bak}
-
Create a symbolic link
/usr/local/psa/ -> /opt/psa/
:# ln -s /opt/psa /usr/local/psa
-
Reinstall Plesk updates as described in the article How to update Plesk