Symptoms
-
Disabling a domain in Plesk fails with:
PLESK_ERROR: AH00526: Syntax error on line 38 of /etc/apache2/plesk.conf.d/webmails/example.com_webmail.conf: DocumentRoot takes one argument, Root directory of the document tree . Detailed error descriptions were sent to you by email.
-
Webmail for a domain is set to None in Domains > example.com > Mail Settings, but apache’s configuration contains data as if Roundcube or Horde webmail is enabled for a domain:
# cat /etc/httpd/conf/plesk.conf.d/webmail/example.com_webmail.conf
DocumentRoot “”
Alias /horde/ “/” -
Horde webmail was installed previously and then removed.
Cause
Product issue:
- #PPPM-12984 “Disabling a domain whose webmail service was uninstalled no longer generates an incorrect webmail configuration.”
Fixed in:- Plesk Obsidian 08 June 2021 (Linux)
Resolution
Please consider updating your server:
Workaround
If update is not possible for some reason, you may try the following
workaround
As a workaround:
-
Connect to the server via SSH
-
Install Horde back using Plesk Installer:
# plesk installer add –components horde
-
Repair web-server configuration with the command:
# plesk repair web -y