Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Francielle Castilhos 28 posts 150 karma points
    Apr 12, 2014 @ 04:48
    Francielle Castilhos
    0

    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? 

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 12, 2014 @ 20:57
    Jan Skovgaard
    0

    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

  • Francielle Castilhos 28 posts 150 karma points
    Apr 14, 2014 @ 15:16
    Francielle Castilhos
    0

    Hi Jan,

    I could see this error on the UmbracoLog:

     

    014-04-10 14:38:30,285 [23] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 17] An unhandled exception occurred
    System.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.

    Thanks for your reply.

  • Peter Gregory 408 posts 1614 karma points MVP 3x admin c-trib
    Apr 14, 2014 @ 16:53
    Peter Gregory
    0

    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

  • Francielle Castilhos 28 posts 150 karma points
    Apr 14, 2014 @ 17:03
    Francielle Castilhos
    0

    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!

Please Sign in or register to post replies

Write your reply to:

Draft