Open zeze07 opened 3 years ago
日志
[23:49:58 INF] Application started. Press Ctrl+C to shut down.
[23:49:58 INF] Hosting environment: Development
[23:49:58 INF] Content root path: F:\Dev\ASP.Net Core\cms-master\src\SSCMS.Web
[23:49:58 INF] Request starting HTTP/1.1 GET http://localhost:5000/ss-admin/index
[23:49:58 INF] Executing endpoint '/ss-admin/index'
[23:49:58 INF] Route matched with {page = "/ss-admin/index", action = "", controller = ""}. Executing page /ss-admin/index
[23:49:58 INF] Executing an implicit handler method - ModelState is Valid
[23:49:58 INF] Executed an implicit handler method, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
[23:49:58 INF] Executed page /ss-admin/index in 47.4441ms
[23:49:58 INF] Executed endpoint '/ss-admin/index'
[23:49:58 INF] Request finished in 312.9583ms 200 text/html; charset=utf-8
[23:49:58 INF] Request starting HTTP/1.1 GET http://localhost:5000/api/admin/index?siteId=0
[23:49:58 INF] Executing endpoint 'SSCMS.Web.Controllers.Admin.IndexController.Get (SSCMS.Web)'
[23:49:58 INF] Route matched with {action = "Get", controller = "Index", page = ""}. Executing controller action with signature System.Threading.Tasks.Task1[Microsoft.AspNetCore.Mvc.ActionResult1[SSCMS.Web.Controllers.Admin.IndexController+GetResult]] Get(GetRequest) on controller SSCMS.Web.Controllers.Admin.IndexController (SSCMS.Web).
1[Microsoft.AspNetCore.Mvc.ActionResult
[23:49:59 INF] Executing ObjectResult, writing value of type 'SSCMS.Web.Controllers.Admin.IndexController+GetResult'.
[23:49:59 INF] Executed action SSCMS.Web.Controllers.Admin.IndexController.Get (SSCMS.Web) in 989.5517ms
[23:49:59 INF] Executed endpoint 'SSCMS.Web.Controllers.Admin.IndexController.Get (SSCMS.Web)'
[23:49:59 INF] Request finished in 1027.1356ms 200 application/json; charset=utf-8
[23:49:59 INF] Request starting HTTP/1.1 GET http://localhost:5000/ss-admin/install/
[23:49:59 INF] Executing endpoint '/ss-admin/install'
[23:49:59 INF] Route matched with {page = "/ss-admin/install", action = "", controller = ""}. Executing page /ss-admin/install
[23:49:59 INF] Executing an implicit handler method - ModelState is Valid
[23:49:59 INF] Executed an implicit handler method, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
[23:50:00 INF] Executed page /ss-admin/install in 7.6559ms
[23:50:00 INF] Executed endpoint '/ss-admin/install'
[23:50:00 INF] Request finished in 21.4787ms 200 text/html; charset=utf-8
[23:50:00 INF] Request starting HTTP/1.1 GET http://localhost:5000/api/admin/install
[23:50:00 INF] Executing endpoint 'SSCMS.Web.Controllers.Admin.InstallController.Get (SSCMS.Web)'
[23:50:00 INF] Route matched with {action = "Get", controller = "Install", page = ""}. Executing controller action with signature System.Threading.Tasks.Task1[Microsoft.AspNetCore.Mvc.ActionResult1[SSCMS.Web.Controllers.Admin.InstallController+GetResult]] Get() on controller SSCMS.Web.Controllers.Admin.InstallController (SSCMS.Web).
[23:50:00 INF] Executing ObjectResult, writing value of type 'SSCMS.Web.Controllers.Admin.InstallController+GetResult'.
[23:50:00 INF] Executed action SSCMS.Web.Controllers.Admin.InstallController.Get (SSCMS.Web) in 32.3469ms
[23:50:00 INF] Executed endpoint 'SSCMS.Web.Controllers.Admin.InstallController.Get (SSCMS.Web)'
[23:50:00 INF] Request finished in 43.4848ms 200 application/json; charset=utf-8
[23:50:19 INF] Request starting HTTP/1.1 POST http://localhost:5000/api/admin/install/actions/databaseConnect application/json;charset=UTF-8 173
[23:50:19 INF] CORS policy execution successful.
[23:50:19 INF] Executing endpoint 'SSCMS.Web.Controllers.Admin.InstallController.DatabaseConnect (SSCMS.Web)'
[23:50:19 INF] Route matched with {action = "DatabaseConnect", controller = "Install", page = ""}. Executing controller action with signature System.Threading.Tasks.Task1[Microsoft.AspNetCore.Mvc.ActionResult1[SSCMS.Web.Controllers.Admin.InstallController+DatabaseConnectResult]] DatabaseConnect(DatabaseConnectRequest) on controller SSCMS.Web.Controllers.Admin.InstallController (SSCMS.Web).
[23:50:19 INF] Executing ObjectResult, writing value of type 'SSCMS.Web.Controllers.Admin.InstallController+DatabaseConnectResult'.
[23:50:19 INF] Executed action SSCMS.Web.Controllers.Admin.InstallController.DatabaseConnect (SSCMS.Web) in 153.0692ms
[23:50:19 INF] Executed endpoint 'SSCMS.Web.Controllers.Admin.InstallController.DatabaseConnect (SSCMS.Web)'
[23:50:19 INF] Request finished in 169.5151ms 200 application/json; charset=utf-8
[23:50:41 INF] Request starting HTTP/1.1 POST http://localhost:5000/api/admin/install/actions/prepare application/json;charset=UTF-8 416
[23:50:41 INF] CORS policy execution successful.
[23:50:41 INF] Executing endpoint 'SSCMS.Web.Controllers.Admin.InstallController.Prepare (SSCMS.Web)'
[23:50:41 INF] Route matched with {action = "Prepare", controller = "Install", page = ""}. Executing controller action with signature System.Threading.Tasks.Task1[Microsoft.AspNetCore.Mvc.ActionResult1[SSCMS.Dto.StringResult]] Prepare(PrepareRequest) on controller SSCMS.Web.Controllers.Admin.InstallController (SSCMS.Web).
[23:50:41 INF] Application is shutting down...
[23:50:41 INF] Executing ObjectResult, writing value of type 'SSCMS.Dto.StringResult'.
[23:50:41 INF] Executed action SSCMS.Web.Controllers.Admin.InstallController.Prepare (SSCMS.Web) in 53.9981ms
[23:50:41 INF] Executed endpoint 'SSCMS.Web.Controllers.Admin.InstallController.Prepare (SSCMS.Web)'
[23:50:41 INF] Request finished in 74.8008ms 200 application/json; charset=utf-8
[23:50:41 INF] Queued Hosted Service is stopping.
系统安装需要挂到IIS或者NGINX下面运行,因为安装的时候需要重启系统,所以调试模式下系统关闭后没法重启就出现了报错
[23:49:58 INF] Application started. Press Ctrl+C to shut down.
[23:49:58 INF] Hosting environment: Development
[23:49:58 INF] Content root path: F:\Dev\ASP.Net Core\cms-master\src\SSCMS.Web
[23:49:58 INF] Request starting HTTP/1.1 GET http://localhost:5000/ss-admin/index
[23:49:58 INF] Executing endpoint '/ss-admin/index'
[23:49:58 INF] Route matched with {page = "/ss-admin/index", action = "", controller = ""}. Executing page /ss-admin/index
[23:49:58 INF] Executing an implicit handler method - ModelState is Valid
[23:49:58 INF] Executed an implicit handler method, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
[23:49:58 INF] Executed page /ss-admin/index in 47.4441ms
[23:49:58 INF] Executed endpoint '/ss-admin/index'
[23:49:58 INF] Request finished in 312.9583ms 200 text/html; charset=utf-8
[23:49:58 INF] Request starting HTTP/1.1 GET http://localhost:5000/api/admin/index?siteId=0
[23:49:58 INF] Executing endpoint 'SSCMS.Web.Controllers.Admin.IndexController.Get (SSCMS.Web)'
[23:49:58 INF] Route matched with {action = "Get", controller = "Index", page = ""}. Executing controller action with signature System.Threading.Tasks.Task
1[Microsoft.AspNetCore.Mvc.ActionResult
1[SSCMS.Web.Controllers.Admin.IndexController+GetResult]] Get(GetRequest) on controller SSCMS.Web.Controllers.Admin.IndexController (SSCMS.Web).[23:49:59 INF] Executing ObjectResult, writing value of type 'SSCMS.Web.Controllers.Admin.IndexController+GetResult'.
[23:49:59 INF] Executed action SSCMS.Web.Controllers.Admin.IndexController.Get (SSCMS.Web) in 989.5517ms
[23:49:59 INF] Executed endpoint 'SSCMS.Web.Controllers.Admin.IndexController.Get (SSCMS.Web)'
[23:49:59 INF] Request finished in 1027.1356ms 200 application/json; charset=utf-8
[23:49:59 INF] Request starting HTTP/1.1 GET http://localhost:5000/ss-admin/install/
[23:49:59 INF] Executing endpoint '/ss-admin/install'
[23:49:59 INF] Route matched with {page = "/ss-admin/install", action = "", controller = ""}. Executing page /ss-admin/install
[23:49:59 INF] Executing an implicit handler method - ModelState is Valid
[23:49:59 INF] Executed an implicit handler method, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
[23:50:00 INF] Executed page /ss-admin/install in 7.6559ms
[23:50:00 INF] Executed endpoint '/ss-admin/install'
[23:50:00 INF] Request finished in 21.4787ms 200 text/html; charset=utf-8
[23:50:00 INF] Request starting HTTP/1.1 GET http://localhost:5000/api/admin/install
[23:50:00 INF] Executing endpoint 'SSCMS.Web.Controllers.Admin.InstallController.Get (SSCMS.Web)'
[23:50:00 INF] Route matched with {action = "Get", controller = "Install", page = ""}. Executing controller action with signature System.Threading.Tasks.Task
1[Microsoft.AspNetCore.Mvc.ActionResult
1[SSCMS.Web.Controllers.Admin.InstallController+GetResult]] Get() on controller SSCMS.Web.Controllers.Admin.InstallController (SSCMS.Web).[23:50:00 INF] Executing ObjectResult, writing value of type 'SSCMS.Web.Controllers.Admin.InstallController+GetResult'.
[23:50:00 INF] Executed action SSCMS.Web.Controllers.Admin.InstallController.Get (SSCMS.Web) in 32.3469ms
[23:50:00 INF] Executed endpoint 'SSCMS.Web.Controllers.Admin.InstallController.Get (SSCMS.Web)'
[23:50:00 INF] Request finished in 43.4848ms 200 application/json; charset=utf-8
[23:50:19 INF] Request starting HTTP/1.1 POST http://localhost:5000/api/admin/install/actions/databaseConnect application/json;charset=UTF-8 173
[23:50:19 INF] CORS policy execution successful.
[23:50:19 INF] Executing endpoint 'SSCMS.Web.Controllers.Admin.InstallController.DatabaseConnect (SSCMS.Web)'
[23:50:19 INF] Route matched with {action = "DatabaseConnect", controller = "Install", page = ""}. Executing controller action with signature System.Threading.Tasks.Task
1[Microsoft.AspNetCore.Mvc.ActionResult
1[SSCMS.Web.Controllers.Admin.InstallController+DatabaseConnectResult]] DatabaseConnect(DatabaseConnectRequest) on controller SSCMS.Web.Controllers.Admin.InstallController (SSCMS.Web).[23:50:19 INF] Executing ObjectResult, writing value of type 'SSCMS.Web.Controllers.Admin.InstallController+DatabaseConnectResult'.
[23:50:19 INF] Executed action SSCMS.Web.Controllers.Admin.InstallController.DatabaseConnect (SSCMS.Web) in 153.0692ms
[23:50:19 INF] Executed endpoint 'SSCMS.Web.Controllers.Admin.InstallController.DatabaseConnect (SSCMS.Web)'
[23:50:19 INF] Request finished in 169.5151ms 200 application/json; charset=utf-8
[23:50:41 INF] Request starting HTTP/1.1 POST http://localhost:5000/api/admin/install/actions/prepare application/json;charset=UTF-8 416
[23:50:41 INF] CORS policy execution successful.
[23:50:41 INF] Executing endpoint 'SSCMS.Web.Controllers.Admin.InstallController.Prepare (SSCMS.Web)'
[23:50:41 INF] Route matched with {action = "Prepare", controller = "Install", page = ""}. Executing controller action with signature System.Threading.Tasks.Task
1[Microsoft.AspNetCore.Mvc.ActionResult
1[SSCMS.Dto.StringResult]] Prepare(PrepareRequest) on controller SSCMS.Web.Controllers.Admin.InstallController (SSCMS.Web).[23:50:41 INF] Application is shutting down...
[23:50:41 INF] Executing ObjectResult, writing value of type 'SSCMS.Dto.StringResult'.
[23:50:41 INF] Executed action SSCMS.Web.Controllers.Admin.InstallController.Prepare (SSCMS.Web) in 53.9981ms
[23:50:41 INF] Executed endpoint 'SSCMS.Web.Controllers.Admin.InstallController.Prepare (SSCMS.Web)'
[23:50:41 INF] Request finished in 74.8008ms 200 application/json; charset=utf-8
[23:50:41 INF] Queued Hosted Service is stopping.