Skip to content

Instantly share code, notes, and snippets.

@bbg
Created May 12, 2021 14:56
Show Gist options
  • Save bbg/d6242316ebb645e8359e3baed3328782 to your computer and use it in GitHub Desktop.
Save bbg/d6242316ebb645e8359e3baed3328782 to your computer and use it in GitHub Desktop.
umbraco error
{"@t":"2021-05-12T14:51:25.8620403Z","@mt":"An unhandled exception occurred","@l":"Error","@x":"Umbraco.Core.Exceptions.BootFailedException: Boot failed: Umbraco cannot run. See Umbraco's log file for more details.\n\n-> Umbraco.Core.Exceptions.BootFailedException: Boot failed.\n\n-> System.Data.SqlClient.SqlException: Cannot insert duplicate key row in object 'dbo.cmsMacro' with unique index 'IX_cmsMacroPropertyAlias'. The duplicate key value is (renderUmbracoForm).\r\nThe statement has been terminated.\n at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)\r\n at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()\r\n at System.Data.SqlClient.SqlDataReader.get_MetaData()\r\n at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)\r\n at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)\r\n at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)\r\n at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)\r\n at System.Data.SqlClient.SqlCommand.ExecuteScalar()\r\n at Umbraco.Core.Persistence.FaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)\r\n at NPoco.Database.ExecuteScalarHelper(DbCommand cmd)\r\n at NPoco.Database.InsertImp[T](PocoData pocoData, String tableName, String primaryKeyName, Boolean autoIncrement, T poco)\r\n at NPoco.Database.Insert[T](String tableName, String primaryKeyName, Boolean autoIncrement, T poco)\r\n at NPoco.Database.Insert[T](T poco)\r\n at Umbraco.Core.Persistence.Repositories.Implement.MacroRepository.PersistNewItem(IMacro entity)\r\n at Umbraco.Core.Cache.DefaultRepositoryCachePolicy`2.Create(TEntity entity, Action`1 persistNew)\r\n at Umbraco.Core.Services.Implement.MacroService.Save(IMacro macro, Int32 userId)\r\n at Umbraco.Forms.Core.Migrations.V_8_0_0.AddFormsMacro.Migrate()\r\n at Umbraco.Core.Migrations.MigrationBase.Umbraco.Core.Migrations.IMigration.Migrate()\r\n at Umbraco.Core.Migrations.MigrationPlan.Execute(IScope scope, String fromState, IMigrationBuilder migrationBuilder, ILogger logger)\r\n at Umbraco.Core.Migrations.Upgrade.Upgrader.Execute(IScopeProvider scopeProvider, IMigrationBuilder migrationBuilder, IKeyValueService keyValueService, ILogger logger)\r\n at Umbraco.Forms.Core.Components.UmbracoFormsComponent.ExecuteDatabaseUpgrades()\r\n at Umbraco.Forms.Core.Components.UmbracoFormsComponent.Initialize()\r\n at Umbraco.Core.Composing.ComponentCollection.Initialize()\r\n at Umbraco.Core.Runtime.CoreRuntime.Boot(IRegister register, DisposableTimer timer)\r\n at Umbraco.Core.Exceptions.BootFailedException.Rethrow(BootFailedException bootFailedException)\r\n at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()\r\n at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)\r\n at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)","SourceContext":"Umbraco.Web.UmbracoApplicationBase","ProcessId":9968,"ProcessName":"w3wp","ThreadId":67,"AppDomainId":8,"AppDomainAppId":"LMW3SVC155ROOT","MachineName":"RAFAELI","Log4NetLevel":"ERROR","HttpRequestNumber":4,"HttpRequestId":"1582d8e3-798d-4764-82a8-fbc7ac55fd54"}
{"@t":"2021-05-12T14:54:11.6045186Z","@mt":"An unhandled exception occurred","@l":"Error","@x":"Umbraco.Core.Exceptions.BootFailedException: Boot failed: Umbraco cannot run. See Umbraco's log file for more details.\n\n-> Umbraco.Core.Exceptions.BootFailedException: Boot failed.\n\n-> System.AggregateException: One or more errors occurred.\n at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\r\n at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)\r\n at Umbraco.Deploy.Disk.DiskService.WriteArtifacts(IEnumerable`1 artifacts)\r\n at Umbraco.Core.Events.TypedEventHandler`2.Invoke(TSender sender, TEventArgs e)\r\n at Umbraco.Core.Events.EventDefinition`2.RaiseEvent()\r\n at Umbraco.Core.Events.QueuingEventDispatcher.ScopeExitCompleted()\r\n at Umbraco.Core.Events.QueuingEventDispatcherBase.ScopeExit(Boolean completed)\r\n at Umbraco.Core.Scoping.Scope.<>c__DisplayClass78_0.<RobustExit>b__1()\r\n at Umbraco.Core.Scoping.Scope.TryFinally(Int32 index, Action[] actions)\r\n at Umbraco.Core.Scoping.Scope.TryFinally(Int32 index, Action[] actions)\r\n at Umbraco.Core.Scoping.Scope.RobustExit(Boolean completed, Boolean onException)\r\n at Umbraco.Core.Scoping.Scope.Dispose()\r\n at Umbraco.Core.Migrations.Upgrade.Upgrader.Execute(IScopeProvider scopeProvider, IMigrationBuilder migrationBuilder, IKeyValueService keyValueService, ILogger logger)\r\n at Umbraco.Forms.Core.Components.UmbracoFormsComponent.ExecuteDatabaseUpgrades()\r\n at Umbraco.Forms.Core.Components.UmbracoFormsComponent.Initialize()\r\n at Umbraco.Core.Composing.ComponentCollection.Initialize()\r\n at Umbraco.Core.Runtime.CoreRuntime.Boot(IRegister register, DisposableTimer timer)\n\n-> System.UnauthorizedAccessException: Access to the path 'D:\\InetPub\\cloud2-arena.phtools.net\\data\\revision\\macro__480075d73f9d4190935611978ddbb8cf.uda' is denied.\n at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)\r\n at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)\r\n at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)\r\n at Umbraco.Deploy.Disk.DiskService.<>c.<WriteArtifacts>b__60_0(String path, String json)\r\n at Umbraco.Deploy.Disk.DiskService.<WriteArtifactsInternalAsync>d__62.MoveNext()\r\n at Umbraco.Core.Exceptions.BootFailedException.Rethrow(BootFailedException bootFailedException)\r\n at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()\r\n at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)\r\n at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)","SourceContext":"Umbraco.Web.UmbracoApplicationBase","ProcessId":1176,"ProcessName":"w3wp","ThreadId":28,"AppDomainId":2,"AppDomainAppId":"LMW3SVC157ROOT","MachineName":"RAFAELI","Log4NetLevel":"ERROR","HttpRequestNumber":9,"HttpRequestId":"18e57ed8-f11f-4ac3-88c9-ee3dd523aee8"}
{"@t":"2021-05-12T14:54:11.6725324Z","@mt":"An unhandled exception occurred","@l":"Error","@x":"Umbraco.Core.Exceptions.BootFailedException: Boot failed: Umbraco cannot run. See Umbraco's log file for more details.\n\n-> Umbraco.Core.Exceptions.BootFailedException: Boot failed.\n\n-> System.AggregateException: One or more errors occurred.\n at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\r\n at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)\r\n at Umbraco.Deploy.Disk.DiskService.WriteArtifacts(IEnumerable`1 artifacts)\r\n at Umbraco.Core.Events.TypedEventHandler`2.Invoke(TSender sender, TEventArgs e)\r\n at Umbraco.Core.Events.EventDefinition`2.RaiseEvent()\r\n at Umbraco.Core.Events.QueuingEventDispatcher.ScopeExitCompleted()\r\n at Umbraco.Core.Events.QueuingEventDispatcherBase.ScopeExit(Boolean completed)\r\n at Umbraco.Core.Scoping.Scope.<>c__DisplayClass78_0.<RobustExit>b__1()\r\n at Umbraco.Core.Scoping.Scope.TryFinally(Int32 index, Action[] actions)\r\n at Umbraco.Core.Scoping.Scope.TryFinally(Int32 index, Action[] actions)\r\n at Umbraco.Core.Scoping.Scope.RobustExit(Boolean completed, Boolean onException)\r\n at Umbraco.Core.Scoping.Scope.Dispose()\r\n at Umbraco.Core.Migrations.Upgrade.Upgrader.Execute(IScopeProvider scopeProvider, IMigrationBuilder migrationBuilder, IKeyValueService keyValueService, ILogger logger)\r\n at Umbraco.Forms.Core.Components.UmbracoFormsComponent.ExecuteDatabaseUpgrades()\r\n at Umbraco.Forms.Core.Components.UmbracoFormsComponent.Initialize()\r\n at Umbraco.Core.Composing.ComponentCollection.Initialize()\r\n at Umbraco.Core.Runtime.CoreRuntime.Boot(IRegister register, DisposableTimer timer)\n\n-> System.UnauthorizedAccessException: Access to the path 'D:\\InetPub\\cloud2-arena.phtools.net\\data\\revision\\macro__480075d73f9d4190935611978ddbb8cf.uda' is denied.\n at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)\r\n at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)\r\n at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)\r\n at Umbraco.Deploy.Disk.DiskService.<>c.<WriteArtifacts>b__60_0(String path, String json)\r\n at Umbraco.Deploy.Disk.DiskService.<WriteArtifactsInternalAsync>d__62.MoveNext()\r\n at Umbraco.Core.Exceptions.BootFailedException.Rethrow(BootFailedException bootFailedException)\r\n at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()\r\n at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)\r\n at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)","SourceContext":"Umbraco.Web.UmbracoApplicationBase","ProcessId":1176,"ProcessName":"w3wp","ThreadId":16,"AppDomainId":2,"AppDomainAppId":"LMW3SVC157ROOT","MachineName":"RAFAELI","Log4NetLevel":"ERROR","HttpRequestNumber":10,"HttpRequestId":"5e868ad5-b0a7-40ad-9c7a-df09ebf2cd61"}
{"@t":"2021-05-12T14:54:11.7025594Z","@mt":"An unhandled exception occurred","@l":"Error","@x":"Umbraco.Core.Exceptions.BootFailedException: Boot failed: Umbraco cannot run. See Umbraco's log file for more details.\n\n-> Umbraco.Core.Exceptions.BootFailedException: Boot failed.\n\n-> System.AggregateException: One or more errors occurred.\n at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\r\n at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)\r\n at Umbraco.Deploy.Disk.DiskService.WriteArtifacts(IEnumerable`1 artifacts)\r\n at Umbraco.Core.Events.TypedEventHandler`2.Invoke(TSender sender, TEventArgs e)\r\n at Umbraco.Core.Events.EventDefinition`2.RaiseEvent()\r\n at Umbraco.Core.Events.QueuingEventDispatcher.ScopeExitCompleted()\r\n at Umbraco.Core.Events.QueuingEventDispatcherBase.ScopeExit(Boolean completed)\r\n at Umbraco.Core.Scoping.Scope.<>c__DisplayClass78_0.<RobustExit>b__1()\r\n at Umbraco.Core.Scoping.Scope.TryFinally(Int32 index, Action[] actions)\r\n at Umbraco.Core.Scoping.Scope.TryFinally(Int32 index, Action[] actions)\r\n at Umbraco.Core.Scoping.Scope.RobustExit(Boolean completed, Boolean onException)\r\n at Umbraco.Core.Scoping.Scope.Dispose()\r\n at Umbraco.Core.Migrations.Upgrade.Upgrader.Execute(IScopeProvider scopeProvider, IMigrationBuilder migrationBuilder, IKeyValueService keyValueService, ILogger logger)\r\n at Umbraco.Forms.Core.Components.UmbracoFormsComponent.ExecuteDatabaseUpgrades()\r\n at Umbraco.Forms.Core.Components.UmbracoFormsComponent.Initialize()\r\n at Umbraco.Core.Composing.ComponentCollection.Initialize()\r\n at Umbraco.Core.Runtime.CoreRuntime.Boot(IRegister register, DisposableTimer timer)\n\n-> System.UnauthorizedAccessException: Access to the path 'D:\\InetPub\\cloud2-arena.phtools.net\\data\\revision\\macro__480075d73f9d4190935611978ddbb8cf.uda' is denied.\n at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)\r\n at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)\r\n at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)\r\n at Umbraco.Deploy.Disk.DiskService.<>c.<WriteArtifacts>b__60_0(String path, String json)\r\n at Umbraco.Deploy.Disk.DiskService.<WriteArtifactsInternalAsync>d__62.MoveNext()\r\n at Umbraco.Core.Exceptions.BootFailedException.Rethrow(BootFailedException bootFailedException)\r\n at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()\r\n at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)\r\n at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)","SourceContext":"Umbraco.Web.UmbracoApplicationBase","ProcessId":1176,"ProcessName":"w3wp","ThreadId":17,"AppDomainId":2,"AppDomainAppId":"LMW3SVC157ROOT","MachineName":"RAFAELI","Log4NetLevel":"ERROR","HttpRequestNumber":11,"HttpRequestId":"2dd8c082-f0c6-4715-9ca1-82adce9200ce"}
{"@t":"2021-05-12T14:54:11.7885307Z","@mt":"An unhandled exception occurred","@l":"Error","@x":"Umbraco.Core.Exceptions.BootFailedException: Boot failed: Umbraco cannot run. See Umbraco's log file for more details.\n\n-> Umbraco.Core.Exceptions.BootFailedException: Boot failed.\n\n-> System.AggregateException: One or more errors occurred.\n at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\r\n at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)\r\n at Umbraco.Deploy.Disk.DiskService.WriteArtifacts(IEnumerable`1 artifacts)\r\n at Umbraco.Core.Events.TypedEventHandler`2.Invoke(TSender sender, TEventArgs e)\r\n at Umbraco.Core.Events.EventDefinition`2.RaiseEvent()\r\n at Umbraco.Core.Events.QueuingEventDispatcher.ScopeExitCompleted()\r\n at Umbraco.Core.Events.QueuingEventDispatcherBase.ScopeExit(Boolean completed)\r\n at Umbraco.Core.Scoping.Scope.<>c__DisplayClass78_0.<RobustExit>b__1()\r\n at Umbraco.Core.Scoping.Scope.TryFinally(Int32 index, Action[] actions)\r\n at Umbraco.Core.Scoping.Scope.TryFinally(Int32 index, Action[] actions)\r\n at Umbraco.Core.Scoping.Scope.RobustExit(Boolean completed, Boolean onException)\r\n at Umbraco.Core.Scoping.Scope.Dispose()\r\n at Umbraco.Core.Migrations.Upgrade.Upgrader.Execute(IScopeProvider scopeProvider, IMigrationBuilder migrationBuilder, IKeyValueService keyValueService, ILogger logger)\r\n at Umbraco.Forms.Core.Components.UmbracoFormsComponent.ExecuteDatabaseUpgrades()\r\n at Umbraco.Forms.Core.Components.UmbracoFormsComponent.Initialize()\r\n at Umbraco.Core.Composing.ComponentCollection.Initialize()\r\n at Umbraco.Core.Runtime.CoreRuntime.Boot(IRegister register, DisposableTimer timer)\n\n-> System.UnauthorizedAccessException: Access to the path 'D:\\InetPub\\cloud2-arena.phtools.net\\data\\revision\\macro__480075d73f9d4190935611978ddbb8cf.uda' is denied.\n at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)\r\n at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)\r\n at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)\r\n at Umbraco.Deploy.Disk.DiskService.<>c.<WriteArtifacts>b__60_0(String path, String json)\r\n at Umbraco.Deploy.Disk.DiskService.<WriteArtifactsInternalAsync>d__62.MoveNext()\r\n at Umbraco.Core.Exceptions.BootFailedException.Rethrow(BootFailedException bootFailedException)\r\n at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()\r\n at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)\r\n at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)","SourceContext":"Umbraco.Web.UmbracoApplicationBase","ProcessId":1176,"ProcessName":"w3wp","ThreadId":13,"AppDomainId":2,"AppDomainAppId":"LMW3SVC157ROOT","MachineName":"RAFAELI","Log4NetLevel":"ERROR","HttpRequestNumber":12,"HttpRequestId":"fef9c076-3b71-4f4a-9567-3a26a869f39a"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment