Service don't start efter updating to 2.0

Hej,
When I’m trying to update to 2.0 with MSI file the service PowerShell Universal will not start. I have tried everything but it just wont start.

From the event log I can see;

Description: A .NET application failed.
Application: Universal.Server.exe
Path: C:\Program Files (x86)\Universal\Universal.Server.exe
Message: Error:
  An assembly specified in the application dependencies manifest (Universal.Server.deps.json) was not found:
    package: 'Microsoft.AspNetCore.Authentication.Negotiate', version: '3.1.3'
    path: 'lib/netcoreapp3.1/Microsoft.AspNetCore.Authentication.Negotiate.dll'

And I also have some from the logfile, but I can’t see anything that seem wrong.

2021-06-02T15:28:53.9906663+02:00 0HM95LKL30VA1:00001547 [INF] Executing HttpStatusCodeResult, setting HTTP status code 200 (e28ccfae)
2021-06-02T15:28:53.9907039+02:00 0HM95LKL30VA1:00001547 [INF] Executed action "UniversalDashboard.Controllers.SessionController.Index (Universal.Server)" in 0.683ms (afa2e885)
2021-06-02T15:28:53.9907182+02:00 0HM95LKL30VA1:00001547 [INF] Executed endpoint '"UniversalDashboard.Controllers.SessionController.Index (Universal.Server)"' (99874f2b)
2021-06-02T15:28:53.9908098+02:00 0HM95LKL30VA1:00001547 [INF] Request finished in 2.2793ms 200  (791a596a)
2021-06-02T15:28:54.9518999+02:00 0HM95LKL30VC4:00000F9F [INF] Request starting HTTP/2 GET https://regex/api/internal/session/c24138a8-7a67-4860-a1a1-0bed9b236735   (ca22a1cb)
2021-06-02T15:28:54.9532911+02:00 0HM95LKL30VC4:00000F9F [INF] Executing endpoint '"UniversalDashboard.Controllers.SessionController.Index (Universal.Server)"' (500cc934)
2021-06-02T15:28:54.9533713+02:00 0HM95LKL30VC4:00000F9F [INF] Route matched with "{action = \"Index\", controller = \"Session\"}". Executing controller action with signature "System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Index(System.String)" on controller "UniversalDashboard.Controllers.SessionController" ("Universal.Server"). (122b2fdf)
2021-06-02T15:28:54.9540972+02:00 0HM95LKL30VC4:00000F9F [INF] Executing HttpStatusCodeResult, setting HTTP status code 200 (e28ccfae)
2021-06-02T15:28:54.9541390+02:00 0HM95LKL30VC4:00000F9F [INF] Executed action "UniversalDashboard.Controllers.SessionController.Index (Universal.Server)" in 0.7463ms (afa2e885)
2021-06-02T15:28:54.9541531+02:00 0HM95LKL30VC4:00000F9F [INF] Executed endpoint '"UniversalDashboard.Controllers.SessionController.Index (Universal.Server)"' (99874f2b)
2021-06-02T15:28:54.9542398+02:00 0HM95LKL30VC4:00000F9F [INF] Request finished in 2.4035ms 200  (791a596a)
2021-06-02T15:28:58.9890280+02:00 0HM95LKL30VA1:00001549 [INF] Request starting HTTP/2 GET https://regex/api/internal/session/55e368f8-4a5e-45d5-b535-1af46b79d1da   (ca22a1cb)
2021-06-02T15:28:58.9906293+02:00 0HM95LKL30VA1:00001549 [INF] Executing endpoint '"UniversalDashboard.Controllers.SessionController.Index (Universal.Server)"' (500cc934)
2021-06-02T15:28:58.9907101+02:00 0HM95LKL30VA1:00001549 [INF] Route matched with "{action = \"Index\", controller = \"Session\"}". Executing controller action with signature "System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Index(System.String)" on controller "UniversalDashboard.Controllers.SessionController" ("Universal.Server"). (122b2fdf)
2021-06-02T15:28:58.9915512+02:00 0HM95LKL30VA1:00001549 [INF] Executing HttpStatusCodeResult, setting HTTP status code 200 (e28ccfae)
2021-06-02T15:28:58.9915932+02:00 0HM95LKL30VA1:00001549 [INF] Executed action "UniversalDashboard.Controllers.SessionController.Index (Universal.Server)" in 0.8635ms (afa2e885)
2021-06-02T15:28:58.9916084+02:00 0HM95LKL30VA1:00001549 [INF] Executed endpoint '"UniversalDashboard.Controllers.SessionController.Index (Universal.Server)"' (99874f2b)
2021-06-02T15:28:58.9917062+02:00 0HM95LKL30VA1:00001549 [INF] Request finished in 2.7596ms 200  (791a596a)
2021-06-02T15:28:59.9507354+02:00 0HM95LKL30VC4:00000FA1 [INF] Request starting HTTP/2 GET https://regex/api/internal/session/c24138a8-7a67-4860-a1a1-0bed9b236735   (ca22a1cb)
2021-06-02T15:28:59.9521618+02:00 0HM95LKL30VC4:00000FA1 [INF] Executing endpoint '"UniversalDashboard.Controllers.SessionController.Index (Universal.Server)"' (500cc934)
2021-06-02T15:28:59.9522425+02:00 0HM95LKL30VC4:00000FA1 [INF] Route matched with "{action = \"Index\", controller = \"Session\"}". Executing controller action with signature "System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Index(System.String)" on controller "UniversalDashboard.Controllers.SessionController" ("Universal.Server"). (122b2fdf)
2021-06-02T15:28:59.9529709+02:00 0HM95LKL30VC4:00000FA1 [INF] Executing HttpStatusCodeResult, setting HTTP status code 200 (e28ccfae)
2021-06-02T15:28:59.9530144+02:00 0HM95LKL30VC4:00000FA1 [INF] Executed action "UniversalDashboard.Controllers.SessionController.Index (Universal.Server)" in 0.7471ms (afa2e885)
2021-06-02T15:28:59.9530292+02:00 0HM95LKL30VC4:00000FA1 [INF] Executed endpoint '"UniversalDashboard.Controllers.SessionController.Index (Universal.Server)"' (99874f2b)
2021-06-02T15:28:59.9531159+02:00 0HM95LKL30VC4:00000FA1 [INF] Request finished in 2.4044ms 200  (791a596a)
2021-06-02T15:29:03.4574456+02:00  [INF] Application is shutting down... (90f52c38)
2021-06-02T15:29:03.5359206+02:00  [INF] Exception during stop. (69827b32)
System.NullReferenceException: Object reference not set to an instance of an object.
   at Universal.Server.Services.SecurityProxy.StopAsync() in D:\a\universal\universal\src\Universal.Server\Services\SecurityProxy.cs:line 83
Product: PowerShell Universal
Version: 1.4.6

I can reproduce this. I did get it to start by doing the following:

  1. Uninstall 1.5 (if you haven’t already)
  2. Make sure the C:\Program Files (x86)\Universal folder is deleted
  3. Install 2.0

I’ll see if I can find out what is causing this.

EDIT: I’ve updated our documentation on upgrading until this is resolved. It seems it works consistently if I uninstall 1.x first.

Don’t work for me with that work-a-round either.
Same issue, the service will not start.

I’m running it on Windows Server 2019

I did just a plain uninstall and then reinstall, didn’t delete any folders, but this is on Windows 10.