One of our clients website is hosted on Windows Azure.
The other day the client contact us and said none of the images were being displayed on the website. I checked Umbraco backend and could see that I was getting 404 error on all the images, when connecting to the FTP I was surprised to see that all of the media folders disappeared.
That does indeed sound very odd - Have you checked the /app_data/logs file to see if it reveals any information? Or is it possible to access the log file from the webserver to see if that can give some hints about what has happened?
014-04-10 14:38:30,285 [23] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 17] An unhandled exception occurredSystem.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.cms.businesslogic.media.Media.getText() at Umbraco.Web.UI.Controls.FolderBrowser.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at Umbraco.Web.UI.Controls.FolderBrowser.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at umbraco.editorControls.folderBrowser.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at umbraco.controls.ContentControl.AddControlNew(Property p, TabPage tp, String Caption) at umbraco.controls.ContentControl.LoadPropertyTypes(IContentTypeComposition contentType, TabPage tabPage, Hashtable inTab, Int32 tabId, String tabCaption) at umbraco.controls.ContentControl.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at umbraco.controls.ContentControl.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at umbraco.cms.presentation.editMedia.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.umbracoeditmedia_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
I don't have any logs of the server though. I got a little bit worried that this could be an issue with Umbraco, as we have lots of clients that have Umbraco websites.
I have never seen nor do I think Umbraco is actually capable of completely deleting the media folder. As it sounds like in the back office the Database still knows about the media items, its just the physical files that are missing, Is there any chance it was accidently dragged in the FTP to another location? I know i have done stuff like that in the past.
Media folder disappeared
Hi guys,
One of our clients website is hosted on Windows Azure.
The other day the client contact us and said none of the images were being displayed on the website. I checked Umbraco backend and could see that I was getting 404 error on all the images, when connecting to the FTP I was surprised to see that all of the media folders disappeared.
Has anyone ever faced this issue?
Hi Francielle
That does indeed sound very odd - Have you checked the /app_data/logs file to see if it reveals any information? Or is it possible to access the log file from the webserver to see if that can give some hints about what has happened?
/Jan
Hi Jan,
I could see this error on the UmbracoLog:
I don't have any logs of the server though. I got a little bit worried that this could be an issue with Umbraco, as we have lots of clients that have Umbraco websites.
Thanks for your reply.
Hi Francielle
I have never seen nor do I think Umbraco is actually capable of completely deleting the media folder. As it sounds like in the back office the Database still knows about the media items, its just the physical files that are missing, Is there any chance it was accidently dragged in the FTP to another location? I know i have done stuff like that in the past.
Peter
Hi Peter,
Thanks for you reply.
Nothing is impossible, but it was not likely that someone did it. I just got an info from my manager that the problem happened again today.
We are currently with little space on our Azure Storage, but it would be insane if Microsoft just started deleting things from the account.
Anyway, I'll keep checking!
is working on a reply...