I am getting stuck on umbraco 8 (or lower) db configuration during install
I am trying to install and configure Umbraco 8. The NuGet installs umbracoCms well then I run the app to configure the database (custom DB).
And it crashes displaying:
Error during installation
See the log for full details (logs can typically be found in the App_Data\Logs folder)
The log doesn't tell e much:
{"@t":"2019-04-24T18:07:46.7792324Z","@mt":"An error occurred in InstallStatus trying to check upgrades","@l":"Error","@x":"System.NullReferenceException: Object reference not set to an instance of an object.\r\n at Umbraco.Web.Install.InstallHelper.GetDbProviderString(ISqlContext sqlContext)\r\n at Umbraco.Web.Install.InstallHelper.InstallStatus(Boolean isCompleted, String errorMsg)","SourceContext":"Umbraco.Web.Install.InstallHelper","ProcessId":10212,"ProcessName":"iisexpress","ThreadId":13,"AppDomainId":4,"AppDomainAppId":"LMW3SVC2ROOT","MachineName":"MACHINENAME","Log4NetLevel":"ERROR","HttpRequestNumber":4,"HttpRequestId":"57f7843b-7538-44e1-81d9-0bf9726120ca"}
The DB connestring is correct, the database tables are getting created.
The same things happened with Umbraco 7.10, 7.6 with framework 4.7.2 or 4.6.1 equally. No matter also I try to install custom DB or to integrated MSSQL.
I am running the project on .NET 4.7.2, in VS 15.9.11 and MSSQL 2016. Also installed VS2019 16.02 and the same happens.
I reinstalled visual studio previous version (15.9.11) and tried to install Umbraco 7.12.0 in no vain, same happens.
Also I have tried to install it into a remote db, using custom connection string as well and the installation still breaks.
I tried to install into integrated SQL and it throws an error too.
I am checking logs and this is what tells about errors:
{
"@t": "2019-04-30T00:32:02.1432412Z",
"@mt": "An error occurred in InstallStatus trying to check upgrades",
"@l": "Error",
"@x": "System.NullReferenceException: Object reference not set to an instance of an object.\r\n at Umbraco.Web.Install.InstallHelper.GetDbProviderString(ISqlContext sqlContext)\r\n at Umbraco.Web.Install.InstallHelper.InstallStatus(Boolean isCompleted, String errorMsg)",
"SourceContext": "Umbraco.Web.Install.InstallHelper",
"ProcessId": 9828,
"ProcessName": "iisexpress",
"ThreadId": 17,
"AppDomainId": 4,
"AppDomainAppId": "LMW3SVC2ROOT",
"MachineName": "My-PC",
"Log4NetLevel": "ERROR",
"HttpRequestNumber": 4,
"HttpRequestId": "7e36fb6c-aff6-4cad-8159-c9d2131bf228"
}
{
"@t": "2019-04-30T00:33:21.5792618Z",
"@mt": "Checks for '{HealthCheckName}' completed with errors.",
"@l": "Warning",
"HealthCheckName": "Macro errors",
"SourceContext": "Umbraco.Web.HealthCheck.HealthCheckResults",
"ProcessId": 9828,
"ProcessName": "iisexpress",
"ThreadId": 22,
"AppDomainId": 5,
"AppDomainAppId": "LMW3SVC2ROOT",
"MachineName": "My-PC",
"Log4NetLevel": "WARN "
}{
"@t": "2019-04-30T00:33:21.5792618Z",
"@mt": "Result for {HealthCheckName}: {HealthCheckResult}, Message: '{HealthCheckMessage}'",
"HealthCheckName": "Macro errors",
"HealthCheckResult": "Error",
"HealthCheckMessage": "MacroErrors are set to 'throw' which will prevent some or all pages in your site from loading completely if there are any errors in macros. Rectifying this will set the value to 'inline'.",
"SourceContext": "Umbraco.Web.HealthCheck.HealthCheckResults",
"ProcessId": 9828,
"ProcessName": "iisexpress",
"ThreadId": 22,
"AppDomainId": 5,
"AppDomainAppId": "LMW3SVC2ROOT",
"MachineName": "My-PC",
"Log4NetLevel": "INFO "
}{
"@t": "2019-04-30T00:33:21.5802630Z",
"@mt": "Checks for '{HealthCheckName}' completed with errors.",
"@l": "Warning",
"HealthCheckName": "Cross-site scripting Protection (X-XSS-Protection header)",
"SourceContext": "Umbraco.Web.HealthCheck.HealthCheckResults",
"ProcessId": 9828,
"ProcessName": "iisexpress",
"ThreadId": 22,
"AppDomainId": 5,
"AppDomainAppId": "LMW3SVC2ROOT",
"MachineName": "My-PC",
"Log4NetLevel": "WARN "
}{
"@t": "2019-04-30T00:33:21.5802630Z",
"@mt": "Result for {HealthCheckName}: {HealthCheckResult}, Message: '{HealthCheckMessage}'",
"HealthCheckName": "Cross-site scripting Protection (X-XSS-Protection header)",
"HealthCheckResult": "Error",
"HealthCheckMessage": "The header <strong>X-XSS-Protection</strong> was not found.",
"SourceContext": "Umbraco.Web.HealthCheck.HealthCheckResults",
"ProcessId": 9828,
"ProcessName": "iisexpress",
"ThreadId": 22,
"AppDomainId": 5,
"AppDomainAppId": "LMW3SVC2ROOT",
"MachineName": "My-PC",
"Log4NetLevel": "INFO "
}{
"@t": "2019-04-30T00:33:21.5802630Z",
"@mt": "Checks for '{HealthCheckName}' completed with errors.",
"@l": "Warning",
"HealthCheckName": "Cookie hijacking and protocol downgrade attacks Protection (Strict-Transport-Security Header (HSTS))",
"SourceContext": "Umbraco.Web.HealthCheck.HealthCheckResults",
"ProcessId": 9828,
"ProcessName": "iisexpress",
"ThreadId": 22,
"AppDomainId": 5,
"AppDomainAppId": "LMW3SVC2ROOT",
"MachineName": "My-PC",
"Log4NetLevel": "WARN "
}{
"@t": "2019-04-30T00:33:21.5802630Z",
"@mt": "Result for {HealthCheckName}: {HealthCheckResult}, Message: '{HealthCheckMessage}'",
"HealthCheckName": "Cookie hijacking and protocol downgrade attacks Protection (Strict-Transport-Security Header (HSTS))",
"HealthCheckResult": "Error",
"HealthCheckMessage": "The header <strong>Strict-Transport-Security</strong> was not found.",
"SourceContext": "Umbraco.Web.HealthCheck.HealthCheckResults",
"ProcessId": 9828,
"ProcessName": "iisexpress",
"ThreadId": 22,
"AppDomainId": 5,
"AppDomainAppId": "LMW3SVC2ROOT",
"MachineName": "My-PC",
"Log4NetLevel": "INFO "
}{
"@t": "2019-04-30T00:33:21.5802630Z",
"@mt": "Checks for '{HealthCheckName}' completed with errors.",
"@l": "Warning",
"HealthCheckName": "Content/MIME Sniffing Protection",
"SourceContext": "Umbraco.Web.HealthCheck.HealthCheckResults",
"ProcessId": 9828,
"ProcessName": "iisexpress",
"ThreadId": 22,
"AppDomainId": 5,
"AppDomainAppId": "LMW3SVC2ROOT",
"MachineName": "My-PC",
"Log4NetLevel": "WARN "
}{
"@t": "2019-04-30T00:33:21.5802630Z",
"@mt": "Result for {HealthCheckName}: {HealthCheckResult}, Message: '{HealthCheckMessage}'",
"HealthCheckName": "Content/MIME Sniffing Protection",
"HealthCheckResult": "Error",
"HealthCheckMessage": "The header or meta-tag <strong>X-Content-Type-Options</strong> used to protect against MIME sniffing vulnerabilities was not found.",
"SourceContext": "Umbraco.Web.HealthCheck.HealthCheckResults",
"ProcessId": 9828,
"ProcessName": "iisexpress",
"ThreadId": 22,
"AppDomainId": 5,
"AppDomainAppId": "LMW3SVC2ROOT",
"MachineName": "My-PC",
"Log4NetLevel": "INFO "
}{
"@t": "2019-04-30T00:33:21.5802630Z",
"@mt": "Checks for '{HealthCheckName}' completed with errors.",
"@l": "Warning",
"HealthCheckName": "Click-Jacking Protection",
"SourceContext": "Umbraco.Web.HealthCheck.HealthCheckResults",
"ProcessId": 9828,
"ProcessName": "iisexpress",
"ThreadId": 22,
"AppDomainId": 5,
"AppDomainAppId": "LMW3SVC2ROOT",
"MachineName": "My-PC",
"Log4NetLevel": "WARN "
}{
"@t": "2019-04-30T00:33:21.5802630Z",
"@mt": "Result for {HealthCheckName}: {HealthCheckResult}, Message: '{HealthCheckMessage}'",
"HealthCheckName": "Click-Jacking Protection",
"HealthCheckResult": "Error",
"HealthCheckMessage": "The header or meta-tag <strong>X-Frame-Options</strong> used to control whether a site can be IFRAMEd by another was not found.",
"SourceContext": "Umbraco.Web.HealthCheck.HealthCheckResults",
"ProcessId": 9828,
"ProcessName": "iisexpress",
"ThreadId": 22,
"AppDomainId": 5,
"AppDomainAppId": "LMW3SVC2ROOT",
"MachineName": "My-PC",
"Log4NetLevel": "INFO "
}{
"@t": "2019-04-30T00:33:21.5802630Z",
"@mt": "Checks for '{HealthCheckName}' completed with errors.",
"@l": "Warning",
"HealthCheckName": "HTTPS Configuration",
"SourceContext": "Umbraco.Web.HealthCheck.HealthCheckResults",
"ProcessId": 9828,
"ProcessName": "iisexpress",
"ThreadId": 22,
"AppDomainId": 5,
"AppDomainAppId": "LMW3SVC2ROOT",
"MachineName": "My-PC",
"Log4NetLevel": "WARN "
}{
"@t": "2019-04-30T00:33:21.5802630Z",
"@mt": "Result for {HealthCheckName}: {HealthCheckResult}, Message: '{HealthCheckMessage}'",
"HealthCheckName": "HTTPS Configuration",
"HealthCheckResult": "Error",
"HealthCheckMessage": "Error pinging the URL https://localhost:65148/umbraco - 'The underlying connection was closed: An unexpected error occurred on a send.'",
"SourceContext": "Umbraco.Web.HealthCheck.HealthCheckResults",
"ProcessId": 9828,
"ProcessName": "iisexpress",
"ThreadId": 22,
"AppDomainId": 5,
"AppDomainAppId": "LMW3SVC2ROOT",
"MachineName": "My-PC",
"Log4NetLevel": "INFO "
}
Otherwise just errors that smtp is not configured etc.
I could shortly login to the back office but it showed blank page, came with lots of console errors originated in dependencyHandlex.axd:
No url found for api name updateCheckApiBaseUrl
Possibly unhandled rejection: No url found for api name backOfficeAssetsApiBaseUrl
Possibly unhandled rejection: No url found for api name tourApiBaseUrl DependencyHandler.axd:716:198
No url found for api name contentApiBaseUrl DependencyHandler.axd:716:198
Possibly unhandled rejection: No url found for api name sectionApiBaseUrl
and kicked me out at the end.
Anyone has idea what can caused it and how to fix it?
I am getting stuck on umbraco 8 (or lower) db configuration during install
I am trying to install and configure Umbraco 8. The NuGet installs umbracoCms well then I run the app to configure the database (custom DB).
And it crashes displaying:
The log doesn't tell e much:
The DB connestring is correct, the database tables are getting created.
The same things happened with Umbraco 7.10, 7.6 with framework 4.7.2 or 4.6.1 equally. No matter also I try to install custom DB or to integrated MSSQL.
I am running the project on .NET 4.7.2, in VS 15.9.11 and MSSQL 2016. Also installed VS2019 16.02 and the same happens.
Can't install Umbraco whatsoever.
Anyone?
I reinstalled visual studio previous version (15.9.11) and tried to install Umbraco 7.12.0 in no vain, same happens.
Also I have tried to install it into a remote db, using custom connection string as well and the installation still breaks.
I tried to install into integrated SQL and it throws an error too.
I am checking logs and this is what tells about errors:
Otherwise just errors that smtp is not configured etc.
I could shortly login to the back office but it showed blank page, came with lots of console errors originated in dependencyHandlex.axd:
and kicked me out at the end.
Anyone has idea what can caused it and how to fix it?
I have downloaded umbraco 8.02 zipped package instead of installing via nuget.
I have run the project and got the same error:
For this error "An error occurred in InstallStatus trying to check upgrades"
If it's a new installation remove the db info from the connection string and and enter it in during the install process prompts
is working on a reply...