ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Issue when setting up production


#1

Hi,

New to bench/ erpnext here. I’m trying to setup bench for production using the official guide here.

But when I run the command sudo bench setup production inside the bench folder I get the error “command not found”. Other bench commands work fine like “bench start”, “bench --version” etc

I have installed bench and erpnext using the Hitchhiker’s guide to installing Frappe on linux

Any pointers as to what am I doing wrong?


#2

have you try sudo bench setup production sitename


#3

Just tried, same issue.


#4

As which user are you running the command?
and in which subdir?


#5

I’m running the command with the user I use to login to the OS, same I used to install everything. The subdir is frappe-bench (I used the default example name from the guide I linked)