Symptoms
-
Plesk shows blank page and the following error after logging in:
ERROR: require_once(): Failed opening required 'modules/fileserver/FileServerStatus.php' (include_path='/usr/local/psa/admin/plib/vendor/plesk/zendframework/library:/usr/local/psa/admin/plib') (Network.php:44)
- Tools & Settings > License Management > Retrieve Keys results in the following error:
ERROR: require_once(): Failed opening required 'modules/fileserver/FileServerStatus.php' (include_path='/opt/psa/admin/plib/vendor/plesk/zf1/library:/opt/psa/admin/plib') (Network.php:44)
-
Records like the following can be found in the
/var/log/plesk/panel.log
with Plesk debugging enabled:DEBUG [panel] Unable to find class Modules_SocialLogin_Auth in /usr/local/psa/admin/plib/modules/social-login/library/Auth.php.
PHP Warning: require_once(modules/fileserver/FileServerStatus.php): failed to open stream: No such file or directory; File: /usr/local/psa/admin/plib/ServerInfo/Network.php, Line: 44
ERR [1] Exception: PHP Warning: require_once(modules/fileserver/FileServerStatus.php): failed to open stream: No such file or directory; File: /usr/local/psa/admin/plib/ServerInfo/Network.php, Line: 44
file: /usr/local/psa/admin/plib/Smb/Exception/Syntax.php
line: 56
code: 0
trace: #0 /usr/local/psa/admin/plib/ServerInfo/Network.php(44): Smb_Exception_Syntax::handleError(integer '2', string 'require_once(modules/fileserver/FileServerStatus.php): failed to open stream: No such file or directory', string '/usr/local/psa/admin/plib/ServerInfo/Network.php', integer '44', array) -
fileserver
extension persists on the server:# plesk bin extension –list | grep fileserver
fileserver – Samba Fileserver Configuration -
Plesk file server
extension is marked as not installed in Plesk installer:
Cause
Broken fileserver
package on the server.
Resolution
It is required to install Plesk File Server back in order to resolve the issue. In case it is not required, remove it afterwards.
-
Log into the server via SSH.
-
Install
Plesk file server
using Plesk installer:# plesk installer add –components psa-fileserver
Note: in order to remove it, use plesk installer remove --components psa-fileserver