All users forced into Welcome to SuiteCRM wizard on every login

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.

Thanks in advance!
Geoff

Hi, welcome to the Community! :tada:

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.

Thanks for the welcome!

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!

Thanks for your help
Geoff

I hope you did upgrade in 2 steps:

1) 7.11 to 7.12 
2) 7.12 to 7.14.x

You can find upgrade package for the first step here:


It is better to start again with backup instance.

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.

Thanks again for your help.

Geoff

Sure, update us on your progress.

+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).

It is weird one. For me, it is happening to particular user and I did not update or change PHP. I don’t know; what is problem. :man_shrugging:

If you guys can post a screenshot of that “new user” wizard I could go looking for the relevant piece of code

Thanks @pgr, here you go…

Basically I have to go through the wizard every time I login, it just started happening.

Iv’e never delved into this part of the CRM code yet, so I haven’t had a chance yet to investigate what’s going on.