After upgrade to 7.x: Error 500 : (passwordSalt" does not exist in config.php)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dev77
    Senior Member
    • Feb 2018
    • 123

    After upgrade to 7.x: Error 500 : (passwordSalt" does not exist in config.php)

    I had a broken install trying to update to 7.x

    I finally got a good update

    When I try to log in I get: Error 500.

    The log says:

    [2021-10-10 15:39:42] ERROR: Auth: Option "passwordSalt" does not exist in config.php "

    It looks like the earlier update failures totally trashed config.php and the good update did not restore it correctly.

    How can I generate a new config.php file so I can log in. (I have root access on my Linode server... and can use phpMyAdmin as well as the command line)
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Take a password salt from other instance.

    Set admin password password with the command https://docs.espocrm.com/administrat...-user-password
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • dev77
      Senior Member
      • Feb 2018
      • 123

      #3
      I think the config.php file and the internal-config are corrupted. Can I take the config.php and the internal-config files from the instance that is now my production version and pop it in the non-working version (which will be a backup) and log in with that user/pass? Will that work?

      Comment

      Working...