• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Unable to generate the web server configuration file for a new domain

DaiKen

New Pleskian
Adding a new domain to my Plesk controlled VPS causes this error, resulting in failing to restart Apache too.


Unable to generate the web server configuration file on the host <h2824232.stratoserver.net> because of the following errors:

Template_Exception: AH00112: Warning: DocumentRoot [/usr/share/roundcubemail/public_html/] does not exist
AH00543: apache2: bad user name roundcube_sysuser

file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0

Please resolve the errors in web server configuration templates and generate the file again.


I can't find any reason why Plesk is trying to create a public_html on a very strange DocumentRoot ([/usr/share/roundcubemail/ instead of /var/www/vhosts/) and what on God's green earth roundcube_sysuser is doing here..
Furthermore: the template mentioned can't be cat'ed, let alone resolved ...

Please HELP!
 
There could be a conflict between a manually non-Plesk Roundcube and the Plesk Roundcube, because the path mentioned would normally be /usr/share/psa-roundcube, not /usr/share/roundcubemail. It is thinkable, too, that a user has been manually renamed. You can check with
grep roundcube /etc/passwd
it should yield
Code:
roundcube_sysuser:x:<user id>:<group id>:roundcube webmail user:/usr/share/psa-roundcube:/usr/sbin/nologin

Either way, you know your server best and what was done before on it. Maybe you can consider to remove Plesk Roundcube using Plesk Installer first, then check if any Roundcube installations remain on the server including the user account "roundcube_sysuser" in /etc/passwd. After deinstallation there should be no Roundcube left. If there is, you'll need to remove the "other" Roundcube that is obviously present on the server. Then reinstall Roundcube through Plesk installer.
 
Thanks for your prompt reply!
You put me on the right track: grep roundcube /etc/passwd gave an empty answer, googling 'roundcube dovecot' pointed me in the right direction: Plesk Premium Email, powered by Kolab, which I had activated a while ago. That was the culprit. After deinstall, no more problems!
 
Back
Top