Hi everyone, im trying to set up ERPNext and i’ve an error with this…
First of all im trying with:
$ bench update
And i had this error:
frappe: ERROR (no such group)
frappe: ERROR (no such group)
________________________________________________________________________________
Bench: Open source installer + admin for Frappe and ERPNext (https://erpnext.com)
i searched here and found that i have to “bench setup production” and i tried:
$ sudo bench setup production
and i’d this error:
Usage: bench setup production [OPTIONS] USER
Error: Missing argument “user”.
and found here too that the syntax is:
$ bench setup production frappe
well here is the result:
$ sudo bench setup production myuser
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==0.0.0’, ‘console_scripts’, ‘bench’)()
File “/Developers/bench-repo/bench/cli.py”, line 60, in cli
bench()
File “/Library/Python/2.7/site-packages/click/core.py”, line 716, in call
**return self.main(*args, kwargs)
File “/Library/Python/2.7/site-packages/click/core.py”, line 696, in main
rv = self.invoke(ctx)
File “/Library/Python/2.7/site-packages/click/core.py”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/Library/Python/2.7/site-packages/click/core.py”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/Library/Python/2.7/site-packages/click/core.py”, line 889, in invoke
**return ctx.invoke(self.callback, ctx.params)
File “/Library/Python/2.7/site-packages/click/core.py”, line 534, in invoke
**return callback(*args, kwargs)
File “/Developers/bench-repo/bench/cli.py”, line 456, in setup_production
_setup_production(user=user)
File “/Developers/bench-repo/bench/production_setup.py”, line 55, in setup_production
fix_prod_setup_perms(frappe_user=user)
File “/Developers/bench-repo/bench/utils.py”, line 446, in fix_prod_setup_perms
gid = grp.getgrnam(frappe_user).gr_gid
KeyError: ‘getgrnam(): name not found: frappe’
Can you help my guys ??..
Thank you!