getting this error while Installing ERPNext using Bench
pls help
lmc@lmc-HP-Pro-3330-MT:/opt/bench$ bench init erpnext
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/opt/bench/bench-repo/bench/cli.py”, line 40, in cli
bench_command()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 764, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/opt/bench/bench-repo/bench/commands/make.py”, line 30, in init
python = python)
File “/opt/bench/bench-repo/bench/utils.py”, line 54, in init
os.makedirs(path)
File “/usr/lib/python2.7/os.py”, line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: 'erpnext
@trentmu @doca
thanks for the reply ,
it works ,
but got this new error
lmc@lmc-HP-Pro-3330-MT:~$ sudo apt -y install nginx nodejs redis-server
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
Sorry, I’ve been scouring the net for information about the issue I’m having and keep finding my way back to this post. A bit surprised this is the only post related to my issue but…
At any rate, I have installed ERPNext version 12 but then attempted to upgrade to version 13. Somehow now, after the upgrade, when I access my site I see Frappe instead of ERPNext.
Attempting to install ERPNext confirms that I already have it installed.
So…my question is…how can I change settings (Bench?) to serve ERPNext instead of Frappe?
Any help/advice you can provide will be very much appreciated.
Thanks. I should have commented back here but I finally managed to get everything in order. Unfortunately, I’ve now forgotten exactly what I did to get there. :-0 I think I reinstalled ERPNext and that was what got me going.