Login refused after cloning SuiteCRM 8

Hello,

I have SuiteCRM 8 installed on a working domain. I want to clone it to another domain.

I created the domain and copied the files (including the session folder) and the database.

I changed the domain name in the config.php file, adjusted the permissions (folders, files, and user/group), cleared the cache (Symfony), and set the document root to the “public” folder.

I can access the login page with the new domain, but when I enter the administrator credentials, I get an error message (incorrect username or password).

However, these credentials are correct since I can log in to the initially cloned SuiteCRM.

I should mention that in version 7, I could do this easily.

Do you have any idea what the problem might be?

Thank you in advance for your help.

Lionel

The non-admin user could login to the system?

You may need to set admin password to simple of without special characters and once you logged in then update the password through the profile menu.

UPDATE users SET user_hash = MD5(‘987123’) WHERE user_name = ‘admin’;

Thank you for your response.

I created a user with a simple password during the initial installation of SuiteCRM 8.8, and it works.

I then copied this user’s password from the original database into the password field of the administrator account in the cloned CRM database.

However, it doesn’t work in the cloned CRM. I cannot log in to the administrator account.

Thank you for your help.

I had also changed the database name and password for the cloned CRM.

I had used the # character in the password and hadn’t replaced it with %23.

I decided to re-clone using the same database name and password, and everything works.
I have to be careful not to use special characters without converting them correctly.

Thanks again.

Lionel

1 Like