Gateway backup of 8.1 import to 8.3 and can't log in

After importing my backup of our 8.1 gateway into 8.3, I cannot log in to the web portal with either my usual login (which should have been imported, right?) or the login I created before the import. What am I missing?

I can think of a few reasons, but it would probably be easiest to just reset the password

1 Like

Are you relying on an external IdP?

No. I did as @Shea_Molthen suggested and am able to log in now, but there are no users. Shouldn’t those have been part of the backup/import?

Only for internal user sources. If one of those didn't convert, I would think it a bug. And there is probably a log entry showing a migration error.

It’s the default user source. Perhaps it’s because this is a fresh install of Ignition on a new server, rather than an upgrade of an existing install. I’m giving up for now on upgrading to 8.3, mainly because I discovered that system.db.runNamedQuery isn’t just deprecated, but broken. That’s a lot of code I’ll need to address…

The most likely explanation is that there was a duplicate user or role that prevented the migration.

3 Likes

There are no duplicate users or roles, and the default user source became empty after I upgraded an existing 8.1 to 8.3. It still came up empty after I then tried importing a gateway backup from 8.1 into the existing 8.3. There were no warning or errors presented, so where should I look to find out what’s going wrong?

If nothing was logged during the migration that does make it tricky. Could you send me a copy of your logs? And possibly a gwbk?

Also, what version of 8.3 are you using?

Thanks for your help in finding the duplicate in my logs.

For anyone else reading this, there was in fact a duplicate that my script didn’t detect because the duplicate had a different case (‘maint’ and ‘Maint’).

2 Likes