Applicable to:
- Plesk for Linux
Symptoms
- Web configuration error in Plesk interface:
PLESK_ERROR: New configuration files for the Apache web server were not created due to the errors in configuration templates: nginx: [emerg] invalid port in upstream "127.0.0.1:" in /etc/nginx/plesk.conf.d/vhosts/example.com.conf:107 nginx: configuration file /etc/nginx/nginx.conf test failed . Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.
- Errors while running web repair command for domain:
# plesk repair web example.com -v -y
- httpdmng failed: PHP Warning: Undefined array key "sfport";
File: /opt/psa/admin/plib/modules/seafile/library/Domain.php,
Line: 84
PHP Warning: Undefined array key "sfport" in
/opt/psa/admin/plib/modules/seafile/library/Domain.php on line
84
PHP Warning: Undefined array key "shport"; File:
/opt/psa/admin/plib/modules/seafile/library/Domain.php, Line:
90
PHP Warning: Undefined array key "shport" in
/opt/psa/admin/plib/modules/seafile/library/Domain.php on line
90
Cause
Web misconfiguration caused by the Seafile extension.
Resolution
-
Navigate to Extensions > Seafile and disable the extension
- Run the web repair command:
# plesk repair web example.com -y
- Enable the extension back
- Ensure that there are no web configuration errors:
# plesk repair web -n
Comments
Please sign in to leave a comment.