• 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!
  • 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.

No such user: nginx

JustinGivens

Basic Pleskian
I tried to enable nginx last night and I received this error

Code:
Unable to generate the web server configuration file on the host <www.imageinabox.com> because of the following errors:

chown: `root:nginx': invalid group


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

Not sure why I'm receiving this. When I installed Plesk, I installed beginning at 11.

I couldn't find anything about this issue. Any suggestions.
 
Maybe try reconfiguring vhost files and then try enabling nginx?

usr/local/psa/admin/bin/httpdmng --reconfigure-all
 
Didn't do anything

That was the first thing I thought of too. It didn't work.

Not sure why the user account wasn't created at install.
 
Do you have nginx group defined in /etc/group file:

# cat /etc/group | grep nginx
psaserv:x:1003:www-data,psaftp,psaadm,nginx
nginx:x:999:nginx

Try to run bootstrapper repair procedure or reinstall nginx package.
 
IgorG,

Thanks. Doing the repair mess with the Apache/mySQL running currently? Just wondering if I'll have any downtime if I run the repair.

BTW, I do NOT have those user accounts. So I will need to run the repair.
 
Last edited:
Repair didn't fix it. Still not group values for nginx.

I tried doing a yum reinstall sw-nginx and it couldn't be found.
 
IgorG,

Since we cannot create the user accounts.

How can I get the error message within Plesk Admin removed? Also, I noticed within the default template the nginx configures are being created. Can I remove them from their so it doesn't create the nginx.conf files each time?

Thanks, Justin
 
Back
Top