I have tried installing erpnext for the past 6 hours. Using 2 different VPS’s, using multiple OS’s and every single time the install stops due to some error and it points to nginx.
bench.utils.CommandFailedError: service nginx restart
What sorcery is being used here? I am frustrated beyond anything.
How can this be prevented?
Sounds like you are starting from bare metal, but I guess I would ask if there are other web servers such as Apache running that might be conflicting with nginx?
thanks for your reply. Nothing else is running. Fresh install.
I tried CentOS 6 and 7. No joy.
I am busy reinstalling it again and will post the error
I finally resolved it.
Selinux was the culprit. Once it’s set to disable it installs fine.