We have just completed an upgrade of SuiteCRM from 7.11 to 7.14.5, including upgrading Debian from Buster to Bookworm and MySql to the latest. I downgraded PHP to 8.2 to comply with the compatibility matrix.
The problem is that all users are forced into the Welcome wizard every time they log in, even though all their details are retained each time.
I thought the trigger for this might be something to do with the date/timezone as there was an issue in the downgrade of PHP where the sym link from php8.2 to php.default was not automatically done during the downgrade from 8.3 to 8.2. That’s now fixed and the problem persists.
Could someone please tell me the trigger which causes the Welcome wizard to be invoked? I’m now thinking it is something in the MySql Users table.
I believe that behavior is controlled by the installer_locked value in config.php.
But if you ran the upgrade with a wrong PHP version, it’s possible that it didn’t run correctly, and something was interrupted mid-way… in which case you’re probably better off restarting the process from scratch, to ensure consistency.
Yes, there were certainly inconsistencies in php version as the sym links to php.default and /etc/apache2/conf-enabled/php8.2-fpm.conf were not created when I ran a2dismod and a2enmod as well as update-alternatives. I’ve now written a script to handle a php upgrade or downgrade and get all the links correct - after the horse has bolted!
I’ll have a look at thye installer_locked value in config.php and hopefully, that fixes it, although I may end up running the silent upgrade again if it still isn’t right. Can upgrade wizard or silent upgrade be run over the top of a system that has previously been upgraded such as ours, or do I need to go back to the previous backup?
EDIT: installer_locked was set to true and setting it to false had no effect on the wizard, so still looking for suggestions!
Yes, upgraded sequentially as per instructions.
We do have a snapshot of the VM taken prior to embarking on the upgrade, but there has been 2 weeks of work since then, so I’ll have a go at an upgrade from here to 8.6 and see if that helps. If not, we’ll go back to the snapshot. If nothing else, it will be a good dummy run for the upgrade to 8.6 as I see the upgrade methodology is quite different from previous upgrades.
+1 here, same issue, just upgraded to 7.14.5 and I get the new user welcome every time I login! I should mention, that I’m not sure if this starte exactly when I upgraded, or changed my PHP version from 7.4 to 8.1 (I kind of did both near the same time).