I made a small update to the HeadScript file in my theme yesterday... the site hung and the next thing you know the majority of my theme files were missing and we were getting the "Well That Was Unexpected" image showing across our site. The Administration area was still accessible and luckily I had a couple-days old backup of the theme export I was able to import and bring our site back online, but I want to understand why a simple save nuked my theme and took down our site.
UnknownError
Theme Management: Could not publish theme Theme Type:0c647246-6735-42f9-875d-c8b991fe739b Theme:3fc3f824-83d1-4ec4-85ef-92e206116d49
First Occurred | Feb 11, 2021 2:56 PM |
---|---|
Last Occurred | Feb 11, 2021 2:56 PM |
Total Occurrences | 1 |
Server | xxxxxxxxxxx |
Request | POST /utility/scripted-file.ashx?_cf=callback-data-publish-theme.vm&_fid=6b67442324604e4190016a6ae68e81f9&_wid=fragment-6b67442324604e4190016a6ae68e81f9893924080&_ct=plugin&_cp=&_ctt=0c647246673542f9875dc8b991fe739b&_ctc=00000000000000000000000000000000&_ctn=3fc3f82483d14ec485ef92e206116d49&_cc=0&_ipd=0&_pt=Telligent.Evolution.Api.Plugins.Administration.ThemeStudioAdministrationPanel%2C%20Telligent.Evolution.Platform&_pcurl=~%2Fadministration&_w_panelId=360269cb-1956-4fcc-8278-fb00ccbdc143&_w_parameters=_tid%3D3 |
IP Address | 172.18.169.5 |
User Agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KH |
Referrer | www.hearingfirst.org/administration |
UnknownException: Theme Management: Could not publish theme Theme Type:0c647246-6735-42f9-875d-c8b991fe739b Theme:3fc3f824-83d1-4ec4-85ef-92e206116d49 (An unexpected error prevented your requested action from completing. The error has been logged for the administrator to review.) ---> UnknownException: An error occurred while publishing a staged theme and the original could not be fully restored. (An unexpected error prevented your requested action from completing. The error has been logged for the administrator to review.) ---> System.IO.DirectoryNotFoundException: Could not find a part of the path '\\?\UNC\use1-saas\f2\T\Cfs\hearingfirst\stagedthemefiles\2366\f\s\3fc3f82483d14ec485ef92e206116d49\preview\preview-site.png'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 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) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Telligent.Evolution.Extensibility.Storage.Providers.Version1.FileSystemFileStorageFile.TracedStream..ctor(FileInfo file, String fileStoreKey, String path) at Telligent.Evolution.Extensibility.Storage.Providers.Version1.FileSystemFileStorageFile.OpenReadStream() at Telligent.Evolution.Platform.Theming.Implementations.ThemeFileService.CopyAll(Theme fromTheme, Theme toTheme) at Telligent.Evolution.Platform.Theming.Implementations.ThemeFileService.EnsureFilesAreCommitted(Theme theme) at Telligent.Evolution.Platform.Theming.Implementations.ThemeService.Save(Theme theme) at Telligent.Evolution.Platform.Theming.Model.StagedTheme.Publish(Int32 userId) --- End of inner exception stack trace --- at Telligent.Evolution.Platform.Theming.Model.StagedTheme.Publish(Int32 userId) at Telligent.Evolution.Components.ThemeOrchestrationService.Publish(StagedThemeItem item) at Telligent.Evolution.Api.Plugins.Administration.ThemeManagement.ThemeManagementUiService.PublishTheme(ManagedThemeOptions options) --- End of inner exception stack trace --- at Telligent.Evolution.Api.Plugins.Administration.ThemeManagement.ThemeManagementUiService.LogError(String message, Exception ex) at Telligent.Evolution.Api.Plugins.Administration.ThemeManagement.ThemeManagementUiService.LogError(String message, Exception ex, ManagedThemeOptions options) at Telligent.Evolution.Api.Plugins.Administration.ThemeManagement.ThemeManagementUiService.PublishTheme(ManagedThemeOptions options) at Telligent.Evolution.Api.Plugins.Administration.ThemeManagement.ThemeManagementUiExtensionService.PublishTheme(IDictionary options) at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at NVelocity.Runtime.Parser.Node.ASTMethod.Execute(Object o, IInternalContextAdapter context) at NVelocity.Runtime.Parser.Node.ASTReference.Execute(Object o, IInternalContextAdapter context) at NVelocity.Runtime.Parser.Node.ASTReference.Value(IInternalContextAdapter context) at NVelocity.Runtime.Parser.Node.ASTSetDirective.Render(IInternalContextAdapter context, TextWriter writer) at NVelocity.Runtime.Parser.Node.ASTBlock.Render(IInternalContextAdapter context, TextWriter writer) at NVelocity.Runtime.Parser.Node.ASTIfStatement.Render(IInternalContextAdapter context, TextWriter writer) at NVelocity.Runtime.Parser.Node.SimpleNode.Render(IInternalContextAdapter context, TextWriter writer) at NVelocity.Template.Merge(IContext context, TextWriter writer) at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentRenderingService.<>c__DisplayClass38_1.<RenderScriptInternal>b__0() at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentOutputCachingService.Get(ScriptedContentFragment fragment, String cacheKey, Boolean cacheable, Func`1 getRenderedOutput) at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentRenderingService.RenderScriptInternal(ScriptedContentFragment contentFragment, NameValueCollection parameters, IPropertyTemplateOptions propertyOptions, String templateName, String internalId, String wrapperId, Boolean throwExceptions, String cacheKey, ScriptLanguage language, String friendlyTemplateName, IDictionary`2 additionalContext) at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentRenderingService.RenderScript(ScriptedContentFragment fragment, NameValueCollection parameters, String fileName, String internalId, String wrapperId, Boolean throwExceptions, IDictionary`2 additionalContext) at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentFileExecutionService.RenderFileInternal(TextWriter writer, Action`3 error, String internalId, String wrapperId, ScriptedContentFragment fragment, String fileName, NameValueCollection parameters, IPropertyTemplateOptions propertyOptions, IDictionary`2 additionalContext) at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentFileExecutionService.RenderRawFile(TextWriter writer, Action`3 error, NameValueCollection executionParameters, NameValueCollection parameters, IPropertyTemplateOptions propertyOptions, ScriptedContentFragment fragment, String fragmentId, String containerType, Guid themeTypeId, Guid themeContextId, Guid themeId, String fileName, String wrapperId, IDictionary`2 additionalContext) at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentFileExecutionService.ExecuteFromState(NameValueCollection state, NameValueCollection executionParameters, TextWriter writer, Action`3 error, IDictionary`2 additionalContext) at Telligent.Evolution.ScriptedContentFragments.Implementations.ScriptedContentFragmentFileExecutionService.HandleRequest() at Telligent.Evolution.ScriptedContentFragments.ScriptedFileHandler.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
Added more context
[edited by: Luke R Davidson at 12:08 PM (GMT 0) on Fri, Feb 12 2021]