Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
This is driving me nuts. I did a fresh install of Umbraco 8.15 and now I'm trying to connect to my 7.15.7 database to do the upgrade, except I can't login to authorize the upgrade! I can literally see that the passwords are exactly the same hash in both databases. I've tried logging in with the username and email address but neither work. And yes, membership providers are using legacyEncoding = true and all other settings match.
Does anyone have a clue? This has stopped my migration to v8 dead in the water and there's nothing I see that should be preventing a login.
Really need help, I'm sure someone else ran into this problem?
check table umbracoUser column userNoConsole value should be false
Yeah, it’s set to false (0). What’s interesting is it does not seem to increment the failed login counter.
Did you see this issue:
where the recommendation is to install the ProWorks.Umbraco8.Migrations package or migrate to 8.5 as the first step?
As well as useLegacyEncoding (if this was false on your V7 site, it should stay as false for V8 for the upgrade) - do you also have the type set to be: type="Umbraco.Web.Security.Providers.UsersMembershipProvider, Umbraco.Web" in the UsersMembershipProvider?
Do you have the Umbraco.Core.ConfigurationStatus set back to be 7.15.7 - so it's knows it needs to migrate?
Another trick would be to login to your V7 site on the same url you are using for the migration, then switch it to the V8 migration site... and see if the cookie 'keeps you logged in!' and triggers the upgrade :-P
Yes, followed all those steps. Installed the ProWorks migrations package so I didn’t need to install 8.5 then 8.15.
What’s weird is I can see the hashed passwords are exactly the same. I can login to the 8.15 version as well. I do believe I logged in to the 8.15 version, then changed the web.config (without logging out) and I get prompted to login to authorize the plugin, so the cookie must not be there.
I’ll dig around more today. Thanks for the suggestions everyone!
I'm not sure if this will work for an Upgrade process but, if you have SMTP details set up and the email element set in the UmbracoSettings.config file set, you might be able to use the forgotten password option to reset you password.
I’ll give that a try. Desperate for anything. But I’m skeptical the reset process will work on an upgrade. I’d assume the users table schema has changed somewhat.
Well, happy to say that after setting up SMTP, I was able to reset my password and get in! But then the DB upgrade failed because I still am using some obsolete pickers. ;-/
Pleased to hear the SMTP option worked :-)
Which pickers are obsolete?
Not a ton, but we were still using the old Content and Media pickers... never got around to upgrading to the new ones. I found the Skrift migrations project which is great, but not sure how it works with media types. Examples all seem to be for document types so not really clear on that yet.
@Robert Bullock, SMTP reset allowed you in? I have the exact same problem. Migrating from 7.15.7 to 8.15.2 and simply can not login. All providers are set correctly per the docs, Pre and post migration packages in place. The PostLogin reports:
Message":"An error has occurred.","ExceptionMessage":"No user found by id 0"
The failed logins are not incremented in the DB connection string is fine however.
Then when trying to reset the password I get:
Message":"An error has occurred.","ExceptionMessage":"UserId not found."
Very Strange. Any other suggestions?
Anyone else that is doing a direct upgrade from 7.15.x to 8.5.5+ and can't login, I suggest that you do a content migration from 7.15.x to 8.5.5 and then do subsequent upgrades once migrations run. I was simply not able to login to authorize the migration going directly to 8.15.2 despite having set up the user and member providers correctly, installing both the pre and post migration packages, etc.
By going to 8.5 first, no issues logging in and no issues upgrading after that.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted