hi,
not able to solve the issue for ngnix while installing the frappe with this command:
sudo python install.py --production
and getting the following error:
TASK [nginx : Ensure nginx is started and enabled to start at boot.] ****************************************************************************
fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “Unable to start service nginx: Job for nginx.service failed because the control process exited with error code.\nSee "systemctl status nginx.service" and "journalctl -xe" for details.\n”}
RUNNING HANDLER [mariadb : restart mysql] *******************************************************************************************************
RUNNING HANDLER [nginx : restart nginx] *********************************************************************************************************
to retry, use: --limit @/tmp/.bench/playbooks/site.retry
PLAY RECAP **************************************************************************************************************************************
localhost : ok=49 changed=10 unreachable=0 failed=1
Traceback (most recent call last):
File “install.py”, line 425, in
install_bench(args)
File “install.py”, line 122, in install_bench
run_playbook(‘site.yml’, sudo=True, extra_vars=extra_vars)
File “install.py”, line 338, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’))
File “/usr/lib/python2.7/subprocess.py”, line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘ansible-playbook’, ‘-c’, ‘local’, ‘site.yml’, ‘-e’, ‘@/tmp/extra_vars.json’, ‘–become’, ‘–become-user=frappe’]’ returned non-zero exit status 2
I have tried the commands for reloading the ngnix and tried uninstall and installing the ngnix…still this error is not solve.
Can anyone please help me?
Thanks in advance!