Originally posted by telecastg
View Post
Announcement
Collapse
No announcement yet.
EspoCRM migrated to other server. User or password is incorrect
Collapse
X
-
One more hint: When you install the fresh instance, create an administrator account with a user name that is DIFFERENT than the admin user name that tou have in your database, so when you import the data to the new instance there will be no conflict becasue you are importing a user with the same name.
After you have substituted the settings-internal.php with your orignal version, the new administrator account will not be accesible becasue its password wash hashed with a different key.
Leave a comment:
-
You're welcome, under Espo 7 the database parameters are stored in config-internal.php
Leave a comment:
-
Originally posted by telecastg View PostMy preferred solution when something is not fixable within a reasonable period of time is simply to dump everything and start from scratch.
Check this post for instructions: https://forum.espocrm.com/forum/inst...1187#post61187
Please consider the following before opting for this option:
I am not sure if it is still possible to download a fresh installation of Espo 6.1.10 but if not, you will need to upgrade.
If you have code customizations (aside from anything done through the Admin GUI) you might have to iron out some issues caused by the extensive re-factorization to the codebase from Espo 6 to Espo 7.
It is possible to replicate everything as long as you have the following:
sql database export script (to load the database)
copy of the data/upload folder (to recover attachments and images)
copy of the config.php script (to recover setting preferences, like menu structure, etc)
copy of the config-internal.php script (to recover hashes and secret keys for passwords)
copy of folder custom/Espo/Custom and folder client/custom (to recover customizations made through the GUI)
Best of luck !
I have already installed a new version espo 7.4.3. Now I'm mentally preparing to manually make all the changes in espo 6.1.10. according with yours steps. I hope it will work.
I notice that config.php from version 7.4 differs from config.php from 6.10. In config.php version 7.4.3 installed on a xamp windows, I cannot find the name of the database, the user, the user password. Where can I change the connection data to another database in v7.4.3?
Leave a comment:
-
My preferred solution when something is not fixable within a reasonable period of time is simply to dump everything and start from scratch.
Check this post for instructions: https://forum.espocrm.com/forum/inst...1187#post61187
Please consider the following before opting for this option:
I am not sure if it is still possible to download a fresh installation of Espo 6.1.10 but if not, you will need to upgrade.
If you have code customizations (aside from anything done through the Admin GUI) you might have to iron out some issues caused by the extensive re-factorization to the codebase from Espo 6 to Espo 7.
It is possible to replicate everything as long as you have the following:
sql database export script (to load the database)
copy of the data/upload folder (to recover attachments and images)
copy of the config.php script (to recover setting preferences, like menu structure, etc)
copy of the config-internal.php script (to recover hashes and secret keys for passwords)
copy of folder custom/Espo/Custom and folder client/custom (to recover customizations made through the GUI)
Best of luck !
Last edited by telecastg; 05-09-2023, 04:02 AM.
- Likes 1
Leave a comment:
-
Leave a comment:
-
-
I find that lines in the config-internal. Same as source instance config.php
'hashSecretKey' => '857e4aed1274e0202c343f809afd7dbb',
'passwordSalt' => 'ecda6d0e25411446',
'cryptKey' => 'e112e4323a69d03a05962225d751a728',
I've rebuilded via CLI
I cannot add admin user or set user password. docs ar for ESPOCRM version 7. This commands works for ESPO v6?
PS If I install old instance to new instance on same server.. everythig ok. If I change server.. did not !
Leave a comment:
-
Originally posted by STARFLEET View PostHi @sazicem,
in the config-internal you can find the following lines:
'passwordSalt' => '89131c4fb2831b2a',
'cryptKey' => '26ce13f3a19107a9a0d73bbbce1dd5d3',
'hashSecretKey' => '0d0be064886e6ea18be65c6899abf0b3',
Copy them fro your current working instance into your new instance if not done already.
Hope that helps.
'hashSecretKey' => '857e4aed1274e0202c343f809afd7dbb',
'passwordSalt' => 'ecda6d0e25411446',
'cryptKey' => 'e112e4323a69d03a05962225d751a728',
Still didn't work
Leave a comment:
-
Originally posted by victor View PostHi sazicem,
Try specifying Permissions again: https://docs.espocrm.com/administrat...n/#permissions.
The new CRMESPO instance is on Windows OS. Full permissions already.
Leave a comment:
-
Hi @sazicem,
in the config-internal you can find the following lines:
'passwordSalt' => '89131c4fb2831b2a',
'cryptKey' => '26ce13f3a19107a9a0d73bbbce1dd5d3',
'hashSecretKey' => '0d0be064886e6ea18be65c6899abf0b3',
Copy them fro your current working instance into your new instance if not done already.
Hope that helps.
Leave a comment:
-
Hi sazicem,
Try specifying Permissions again: https://docs.espocrm.com/administrat...n/#permissions.
Leave a comment:
Leave a comment: