dudeman
February 22, 2016, 10:01pm
1
Issue solved. I made mistakes during install. “Easy way” works.
Dear forum members,
I tried to follow this doc "Easy way:: http://frappe.github.io/erpnext/install.html but I have some questions:
Under “Running the bench” it says ‘For production: Configure supervisor and nginx’. Then some descriptions of services that all end in “bench start”. Hmmm…
Then I see “Production Deployment”. Ah HA! This is what I want. But it says run sudo bench setup production
.
Next I see “Supervisor” & “nginx” with a bench & a ln command to run – no problem!
Then EOF. :-[
So how should I start this to run as a service? Thanks for your help!
“erpnext”: “6.22.1”,
"frappe": "6.23.3"
dudeman
February 22, 2016, 10:06pm
2
Sorry, I see the sudo befor the bench setup. But do I always need to use sudo? -Thanks
dudeman
February 22, 2016, 10:33pm
3
Also, I get this error:
sudo bench setup production
Usage: bench setup production [OPTIONS] USER
Error: Missing argument “user”.
vrms
February 22, 2016, 11:10pm
4
isn’t the so called “Easy way” this https://github.com/frappe/bench ?
in short
wget https://raw.githubusercontent.com/frappe/bench/master/install_scripts/setup_frappe.sh
sudo bash setup_frappe.sh --setup-production
if you use the manual install (where you linked points at) you’d run bench start
to start the service I’d say
It can be you need to cd /home/frappe
or cd home/frappe/frappe-bench
before running bench start
(assuming you are logged in as user frappe)
rmehta
February 24, 2016, 6:12am
5
@dudeman default user should be frappe
dudeman
February 24, 2016, 4:29pm
6
Thank you for the replies. I will test again!
dudeman
February 24, 2016, 4:32pm
7
$su frappe
No passwd entry for user ‘frappe’