I installed develop version and now i want to move it to production, so don’t need to start bench.
for moving it to production i used below steps but Nginx not starting…
**●** nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: en
Active: **failed** (Result: exit-code) since Mon 2020-09-21 12:06:48 PKT; 5min ag
Docs: man:nginx(8)
Process: 11975 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process
Sep 21 12:06:48 MY-ERP systemd[1]: Starting A high performance web server an
Sep 21 12:06:48 MY-ERP nginx[11975]: nginx: [emerg] open() "/etc/nginx/sites
Sep 21 12:06:48 MY-ERP nginx[11975]: nginx: configuration file /etc/nginx/ng
Sep 21 12:06:48 MY-ERP systemd[1]: **nginx.service: Control process exited, co**
Sep 21 12:06:48 MY-ERP systemd[1]: **nginx.service: Failed with result 'exit-c**
Sep 21 12:06:48 MY-ERP systemd[1]: **Failed to start A high performance web se**
lines 1-12/12 (END)
and sudo service nginx start is showing
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
I removed that ruby-active-model-serializers,
Now without sudo it ask for sudo, and with sudo it says bench not found.
**frappe@skyled-ERP** : **~/frappe-bench** $ bench setup production frappe
WARN: superuser privileges required for this command
**frappe@skyled-ERP** : **~/frappe-bench** $ bench setup production $(whoami)
WARN: superuser privileges required for this command
**frappe@skyled-ERP** : **~/frappe-bench** $ sudo bench setup production $(whoami)
sudo: bench: command not found