Symptoms
-
The following error message is displayed in Plesk:
Error: New configuration files for the Apache web server were not created due to the errors in configuration templates: AH00112: Warning: DocumentRoot [/usr/share/plesk-service.localdomain] does not exist AH00112: Warning: DocumentRoot [/usr/share/plesk-service.localdomain] does not exist AH00526: Syntax error on line 22 of /etc/apache2/plesk.conf.d/vhosts/example.com.conf: SuexecUserGroup configured, but suEXEC is disabled: Missing suexec binary /usr/lib/apache2/suexec. Search in KB
-
Errors like below can be found in the
/var/log/apt/term.log:Removing plesk-awstats-configurator (18.0-v.ubuntu.22.04+p18.0.56.0+t230919.0744) ...
Removing plesk-roundcube (1.6.5-v.ubuntu.22.04+p18.0.57.0+t231107.0857) ...
Removing plesk-web-hosting (18.0-v.ubuntu.22.04+p18.0.57.0+t231106.2014) ...
Removing psa-proftpd (1.3.8a-v.ubuntu.22.04+p18.0.57.0+t231106.2014) ...
Cause
plesk-web-hosting package is missing or was uninstalled accidentally during another package installation.
For example the unsupported vsftpd package was installed recently and it has removed several Plesk packages during its installation.
Resolution
-
Remove the recently installed package, on this example
vsftpd, Plesk usesProFTPdinstead:# apt remove vsftpd
-
Navigate to Tools & Settings > Updates and press Add/Remove Components button.
-
Select required components for installation (for example, if
plesk-roundcubewas removed, select Webmail services/Roundcube for installation. -
Press Continue button to install the packages. Missing
plesk-web-hostingpackage will be installed automatically.