If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
When I try to run this this command it simply outputs
Enter a new password:
and returns the shell terminal, thus preventing the user from actually changing the password....
How do you run the php command if EspoCRM was installed in Docker containers ( used the automated install script)? The php command isn't recognized in this case. Thanks.
This post is the first result when searching about that issue, even now in 2020. So I post this here for anyone needing to reset the admin password:
As stated in the documentation, since EspoCRM 5.8.3 it is possible to do so:
Code:
# where [username] is a user name, e.g. admin.
php command.php SetPassword [username]
I installed ESPOcrm again in another directory, copied the passwordSalt from /data from the new install to the old one and copied the admin password from new install to the old install in the phpmyadmin.
Thanks for the reply! Unfortunately, I am kind of a newbie.
So, I am in phpmyadmin, under user table. I insert a new user and set him with 1 under is_admin. I put a password based on simple text, let us say ”pass”. But after that, where do I put the passwordSalt?
Or where do I install the new instance?
Sorry for not understanding.
Hello, another question if you may. When I try you recover your password, it says Forbidden, try later. Is there a way to bypass this?
Install new instance with admin password. Then copy passwordSalt from data/config.php to your instance. Then you can copy hashed password from from database.
Thanks for the reply! Unfortunately, I am kind of a newbie.
So, I am in phpmyadmin, under user table. I insert a new user and set him with 1 under is_admin. I put a password based on simple text, let us say ”pass”. But after that, where do I put the passwordSalt?
Install new instance with admin password. Then copy passwordSalt from data/config.php to your instance. Then you can copy hashed password from from database.
Thanks in advance for the answers! Quick question: how can I reset the admin password using phpmyadmin? I have tried to use ”Forgot password”, but it does now work (maybe because the email sending details have not been set).
Leave a comment: