Symptoms
-
Unable to start or restart Apache service after uninstalling Roundcube in Plesk
-
The server has at least one subscription suspended
-
The command
plesk repair web
fails with the following error message:Template_Exception: apache2: Syntax error on line 222 of /etc/apache2/apache2.conf: Syntax error on line 6 of /etc/apache2/conf-enabled/zz010_psa_httpd.conf: Syntax error on line 37 of /etc/apache2/plesk.conf.d/webmails/example.com_webmail.conf: Could not open configuration file /etc/apache2/plesk.conf.d/roundcube.htaccess.inc: No such file or directory
Cause
Product issue:
-
#PPPM-12924 "Uninstalling a webmail client no longer breaks Apache configuration files."
Fixed in:- Plesk Obsidian 13 October 2021 (Linux)
Resolution
Workaround
As a workaround:
Install again the Roundcube Component
-
Connect to the server via SSH
-
Install Roundcube:
# plesk installer --select-release-current --install-component roundcube
-
Repair web server configuration files:
Note: This command might take a while when the Plesk server hosts many domains
# plesk repair web
Fix webmail configuration for the domains
-
Connect to the server via SSH
-
Download the script:
# wget https://support.plesk.com/hc/en-us/article_attachments/4402154178322/fix_PPPM12924.tar.gz
-
Extract the script:
# tar -xzvf fix_PPPM12924.tar.gz
-
Give execute permissions to the script:
# chmod 740 fix_PPPM12924.sh
-
Run the script:
# ./fix_PPPM12924.sh
-
Repair web server configuration files:
Note: This command might take a while when the Plesk server hosts many domains
# plesk repair web