I am trying to upgrade from 7.2.8 to 7.10.2 so i have gone to 7.4.3 all good
next i try 7.10.2 but i cannot login i get Invalid object name 'umbracoUser2UserGroup'.
accoding to @jbreuer those tables were added in 7.7
so tried to upgrade to that first but still cannot login for upgrade to run
anyone seen this before?
Feels like catch 22 yes the tables are missing but i cannot login for the upgrader to run and create them.
Crazy hack idea: First, login to the backoffice on the old version. Keep the browser session. Then upgrade the files, and go to the installer. Then you already have the auth cookie, and should not need to auth again?
Upgrade issues
I am trying to upgrade from 7.2.8 to 7.10.2 so i have gone to 7.4.3 all good next i try 7.10.2 but i cannot login i get Invalid object name 'umbracoUser2UserGroup'. accoding to @jbreuer those tables were added in 7.7
so tried to upgrade to that first but still cannot login for upgrade to run anyone seen this before?
Feels like catch 22 yes the tables are missing but i cannot login for the upgrader to run and create them.
Regards
Ismail
I've seen multiple reports of this.
This fix could help : https://our.umbraco.org/forum/using-umbraco-and-getting-started/89580-unable-to-upgrade-from-735#comment-282936
Can't find the post where this fix was mentioned by Sebastiaan.
Dave
Crazy hack idea: First, login to the backoffice on the old version. Keep the browser session. Then upgrade the files, and go to the installer. Then you already have the auth cookie, and should not need to auth again?
Not such a crazy idea at all.
Dave
I just checked the code for the login
https://github.com/umbraco/Umbraco-CMS/blob/dd8e43d80a69563be6028c0fe731af9ccd02fde9/src/Umbraco.Core/Services/UserService.cs#L217
There is a check for when you are upgrading and the login results in a exception,
I'm expecting this catch block is not fired.
Edit : just checked the error in this post : https://our.umbraco.org/forum/using-umbraco-and-getting-started/89324-ugrading-to-776-invalid-object-name-umbracouser2usergroup#comment-89324
The error thrown is a sqlexception...but only a dbexception is handled.
Dave
SqlException inherits DbException :)
@ismail do you have the full stacktrace for the exception you get?
Just found that out myself :-D
Is the "umbracoConfigurationStatus" set to blank in the web.config?
Right this is how i did it,
created 3 websites locally wiht fresh sites for umbraco 7.40,7.43 and then 7.10.2
I copied the umbraco memebership bits from 740 to 7.10.2 web.config
Next in all 3 pointed the db to my db. Then using incognito window did installer on all 3 sites one after the other that worked.
Regards
Isamil
So you are saying incognito window. So maybe it's related to authentication cookies ?
Dave
is working on a reply...