Moving to a new domain

I have read how to move to a new domain from posts many years ago.

  • Move files to new directory
  • modify config.php to new domain name
  • leave db as is

I have done this and the site comes up to the login box. But when I try and login I get a message: “You have been logged out because your session has expired”

I can’t get past this point.

Any assistance. I have deleted my cache and cookies

Regards, Chris.

Ensure all the refrences to your domain are properly changed up to the new domain in the config sys.

There is a site URL and host name.

Also, make sure your server can write to the session save path.

1 Like

Set correct permissions:

Set the correct config:

Clear symfony cache:

./bin/console cache:clear

Restart your web server and php services:

systemctl reload nginx
systemctl restart php8.3-fpm

Set a simple password for admin:

Thank you. The upgrade wizard now runs but did not finish correctly and I just have a White Screen when I go back into the upgrade wizard. If I go to about it correctly shows the new version

Version 7.14.8

Sugar Version 6.5.25 (Build 344)

I have not tried everything but the db is showing data correctly, just can’t get to upgrade to the latest .15 version

Regards,

Chris.

Found it… I had to remove exec from my php Disabled Functions and then it has sorted itself out. Thank you Claude!

What did you change exactly? :thinking:

WHM/Cpanel has exec() disabled by default. You generally need to enable it. Never ran into an issue before personally, because I always have it enabled. Didn’t even think of that!