Halp!
I don’t know what’s happened, but my app service running PSU no longer starts.
Before I tear the whole thing down and spin it up anew, can you tell me, @adam, if this exception means anything to you? I’ve even tried dropping the Azure SQL database and letting it re-populate it. The tables are there now, so PSU has definitely gotten far enough into the startup process to run the EF migrations.
Thanks!
Application: w3wp.exe
CoreCLR Version: 6.0.722.32202
.NET Version: 6.0.7
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AggregateException: One or more errors occurred. (The handle is invalid.)
---> System.IO.IOException: The handle is invalid.
at System.ConsolePal.WindowsConsoleStream.Write(ReadOnlySpan`1 buffer)
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at System.IO.StreamWriter.WriteLine(String value)
at System.IO.TextWriter.SyncTextWriter.WriteLine(String value)
at Hangfire.Logging.LogProviders.ColouredConsoleLogProvider.ColouredConsoleLogger.Write(LogLevel logLevel, String message, Exception e)
at Hangfire.Logging.LogProviders.ColouredConsoleLogProvider.ColouredConsoleLogger.Log(LogLevel logLevel, Func`1 messageFunc, Exception exception)
at Hangfire.Logging.LoggerExecutionWrapper.Log(LogLevel logLevel, Func`1 messageFunc, Exception exception)
at Hangfire.Logging.LogExtensions.Info(ILog logger, String message)
at Hangfire.Server.BackgroundServerProcess.<>c__DisplayClass6_0.<Execute>g__HandleStoppingSignal|1()
at System.Threading.CancellationToken.<>c.<Register>b__12_0(Object obj)
at System.Threading.CancellationTokenSource.Invoke(Delegate d, Object state, CancellationTokenSource source)
at System.Threading.CancellationTokenSource.CallbackNode.<>c.<ExecuteCallback>b__9_0(Object s)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
Product: PowerShell Universal
Version: 3.1.4