Not able to setup ERP Next natively on MAC without Virtual Box. Installed XCode and Brew and then ran the automated setup. But when i set up the site it fails with the following error:
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/Users/mjain13/.bench/bench/cli.py”, line 17, in cli
change_uid()
File “/Users/mjain13/.bench/bench/cli.py”, line 69, in change_uid
drop_privileges(uid_name=frappe_user, gid_name=frappe_user)
File “/Users/mjain13/.bench/bench/utils.py”, line 425, in drop_privileges
running_gid = grp.getgrnam(gid_name).gr_gid
KeyError: ‘getgrnam(): name not found: mjain13’
The server starts but when trying to hit localhost:8000, server crashes.
So assuming the easy install script doesnt not install the erpnext, I did bench new-site site1.local
It asks for SQL Password and after entering password it fails with following error: mysql_exceptions.OperationalError: (1045, “Access denied for user ‘root’@‘localhost’ (using password: YES)”)
When running sudo bench new-site site1.local it fails with error :raceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/Users/mjain13/.bench/bench/cli.py”, line 17, in cli
change_uid()
File “/Users/mjain13/.bench/bench/cli.py”, line 69, in change_uid
drop_privileges(uid_name=frappe_user, gid_name=frappe_user)
File “/Users/mjain13/.bench/bench/utils.py”, line 425, in drop_privileges
running_gid = grp.getgrnam(gid_name).gr_gid
KeyError: ‘getgrnam(): name not found: mjain13’