U4-7467 - Umbraco 7.3.2 Clean install, OWIN error after database creation

Created by Arturo Soler Pascual 27 Nov 2015, 10:46:16 Updated by Sebastiaan Janssen 01 Dec 2015, 10:35:46

The setup wizard ends with this error "Could not resolve an instance of Umbraco.Core.Security.BackOfficeUserManager from the Microsoft.Owin.IOwinContext GetUserManager method" At logs: 2015-11-27 09:59:00,041 [P11956/D3/T25] ERROR Umbraco.Web.Install.Controllers.InstallApiController - An error occurred during installation step UmbracoVersion System.Reflection.TargetInvocationException: Se produjo una excepci├│n en el destino de la invocaci├│n. ---> System.NullReferenceException: Could not resolve an instance of Umbraco.Core.Security.BackOfficeUserManager from the Microsoft.Owin.IOwinContext GetUserManager method en Umbraco.Web.Security.WebSecurity.get_UserManager() en Umbraco.Web.Security.WebSecurity.PerformLogin(Int32 userId) en Umbraco.Web.Install.InstallSteps.SetUmbracoVersionStep.Execute(Object model) ...... Ive reproduced with two clean installs. Also Ive tested two nuget updates from 7.3.1, no problem.

The error does not matter as long as the database is created and everything works. As say @Shandem at U4-7380 This doesn't prevent the installation, it just prevents the auto-login of the user created during install. But I think convenient to record and independent issue.

1 Attachments

Comments

Nicholas Westby 28 Nov 2015, 08:08:43

Just for reference, here's a screenshot of the error:

!owin.png!


Chriztian Steinmeier 29 Nov 2015, 22:19:54

Getting this exact same thing in a clean install (with no starter kits, using SQL CE)


Sebastiaan Janssen 30 Nov 2015, 18:30:21

Hey guys, if you could please try again with this version to confirm that the issue is now fixed, that would be great, thanks!

https://ci.appveyor.com/project/SebastiaanJanssen/umbraco-cms-hs8dx/build/1881/artifacts


Daniël Knippers 30 Nov 2015, 18:51:15

I can confirm the error after a clean 7.3.2 installation.

@sebastiaan That build fixes it, for me at least :)


Nicholas Westby 30 Nov 2015, 19:20:06

@sebastiaan FYI, I won't be able to test this for another 10 hours or so.


Chriztian Steinmeier 30 Nov 2015, 19:36:14

@sebastiaan Fixed for me too; yay! :-)


Sebastiaan Janssen 30 Nov 2015, 20:07:02

@dknippers @greystate Yay!

@Knickerbocker Cool, that's after I've got a good night's sleep. Would be great if you could, we'll release the update after that (if it's indeed fixed).


Nicholas Westby 01 Dec 2015, 04:46:47

@sebastiaan Worked without any issues.


Arturo Soler Pascual 01 Dec 2015, 08:43:28

Okey, bye, bye, Owin


Sebastiaan Janssen 01 Dec 2015, 10:35:46

Thanks again for your testing people, 7.3.3 is out now!


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.3.2

Due in version: 7.3.3

Sprint:

Story Points:

Cycle: