We setup a bitnami stack erpnext server for testing. Unfortunately, the admin users password did not get recorded and we cannot get back in. I have accessed the users list table (__Auth) in mysql and changed the users password there, but it does not work to login. Not sure how to change correctly thru mysql to make it work.
I notice it changes the password to a type of encrypted data. also there is a “Salt” column with similar encrypted data. Do I need to modify these in a different way to generate a password that will work?
I entered: $ frappe --set_admin_password newpass
and got: -bash: frappe: command not found
this is installed from the Bitnami ERPNEXT stack version 7.2.8-0
I think if someone generates a user with the password “newpass” and give me the password and salt fields it should let me in…if I can get someone to generate them for me…otherwise I will have to delete and start over
Ok…I have updated the password & salt keys using the bench command set-admin-password and using a new password. The system logs in but will not go to the /desk#…only opens with giant ERPnext E logo…where to next?
$ bench restart
sudo: supervisorctl: command not found
Traceback (most recent call last):
File "/opt/bitnami/apps/erpnext/htdocs/venv/bin/bench", line 9, in <module>
load_entry_point('bench==4.0.0', 'console_scripts', 'bench')()
File "/opt/bitnami/apps/erpnext/htdocs/bench/bench/cli.py", line 40, in cli
File "/opt/bitnami/apps/erpnext/htdocs/venv/lib/python2.7/site-packages/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
File "/opt/bitnami/apps/erpnext/htdocs/venv/lib/python2.7/site-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/opt/bitnami/apps/erpnext/htdocs/venv/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
File "/opt/bitnami/apps/erpnext/htdocs/venv/lib/python2.7/site-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/bitnami/apps/erpnext/htdocs/venv/lib/python2.7/site-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/opt/bitnami/apps/erpnext/htdocs/bench/bench/commands/utils.py", line 18, in restart
File "/opt/bitnami/apps/erpnext/htdocs/bench/bench/utils.py", line 298, in restart_supervisor_processes
supervisor_status = subprocess.check_output(['sudo', 'supervisorctl', 'status'], cwd=bench_path)
File "/opt/bitnami/python/lib/python2.7/subprocess.py", line 219, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['sudo', 'supervisorctl', 'status']' returned non-zero exit status 1
The version info from login is:
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
___ _ _ _
| _ |_) |_ _ _ __ _ _ __ (_)
| _ \ | _| ' \/ _` | ' \| |
*** Welcome to the Bitnami ERPNext 7.2.8-0 ***
*** Documentation: https://docs.bitnami.com/google/apps/erpnext/ ***
*** https://docs.bitnami.com/google/ ***
*** Bitnami Forums: https://community.bitnami.com/ ***