Do not restart after install, instead stop and restart the runtime. Also signin the admin user after install.
This commit is contained in:
@@ -48,7 +48,6 @@ using Umbraco.Cms.Web.Common.ApplicationModels;
|
||||
using Umbraco.Cms.Web.Common.AspNetCore;
|
||||
using Umbraco.Cms.Web.Common.Controllers;
|
||||
using Umbraco.Cms.Web.Common.DependencyInjection;
|
||||
using Umbraco.Cms.Web.Common.Install;
|
||||
using Umbraco.Cms.Web.Common.Localization;
|
||||
using Umbraco.Cms.Web.Common.Macros;
|
||||
using Umbraco.Cms.Web.Common.Middleware;
|
||||
@@ -298,8 +297,6 @@ namespace Umbraco.Extensions
|
||||
builder.WithCollectionBuilder<UmbracoApiControllerTypeCollectionBuilder>()
|
||||
.Add(umbracoApiControllerTypes);
|
||||
|
||||
builder.Services.AddUnique<InstallAreaRoutes>();
|
||||
|
||||
builder.Services.AddUnique<UmbracoRequestLoggingMiddleware>();
|
||||
builder.Services.AddUnique<PreviewAuthenticationMiddleware>();
|
||||
builder.Services.AddUnique<UmbracoRequestMiddleware>();
|
||||
@@ -320,11 +317,6 @@ namespace Umbraco.Extensions
|
||||
return builder;
|
||||
}
|
||||
|
||||
public static IUmbracoBuilder AddUnattedInstallCreateUser(this IUmbracoBuilder builder)
|
||||
{
|
||||
builder.AddNotificationAsyncHandler<UnattendedInstallNotification, CreateUnattendedUserNotificationHandler>();
|
||||
return builder;
|
||||
}
|
||||
|
||||
// TODO: Does this need to exist and/or be public?
|
||||
public static IUmbracoBuilder AddWebServer(this IUmbracoBuilder builder)
|
||||
|
||||
Reference in New Issue
Block a user