Copied to clipboard

Flag this post as spam?

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


  • Joao 53 posts 172 karma points
    Mar 04, 2014 @ 10:42
    Joao
    0

    Error Uploading files to MEDIA

    Hi!

    I have been developing a website for a client and it's almost launch day. Everything has gone well until now. They have been able to upload files of varied sizes into the Media folder but as of yesterday they are not able to do so anymore. When they try, the upload seems to work but no new file is added. When you open the Upload window again, you see the last file with the Upload bar red and when you hover over it it says "Internal Server Error"

    I'm hosting the website on Azure.

    Any thoughts?

  • Niels Lynggaard 190 posts 548 karma points
    Mar 04, 2014 @ 11:16
    Niels Lynggaard
    0

    Try and have a look in /App_Data/Logs/UmbracoTracelog.log for hints on what the internal server error may be.

    Could be many things, permissions, disk full, new properties on media-type that fails etc..

     

  • Joao 53 posts 172 karma points
    Mar 04, 2014 @ 11:31
    Joao
    0

    Thanks for the tip. I managed to find the log files and have been browsing them. I have found the upload attempts and they all say they were successful. However nothing shows on the Media Folder

    2014-03-03 14:18:33,175 [7] INFO  umbraco.presentation.umbraco.webservices.MediaUploader - [Thread 56] Successful upload to parent ID: 1391
    2014-03-03 14:19:58,512 [7] INFO  umbraco.presentation.umbraco.webservices.MediaUploader - [Thread 44] Successful upload to parent ID: 1391
    2014-03-03 14:21:29,474 [7] INFO  umbraco.presentation.umbraco.webservices.MediaUploader - [Thread 35] Successful upload to parent ID: 1391
    2014-03-03 14:22:17,111 [7] INFO  umbraco.presentation.umbraco.webservices.MediaUploader - [Thread 29] Successful upload to parent ID: 1391
    2014-03-03 14:23:03,951 [7] INFO  umbraco.presentation.umbraco.webservices.MediaUploader - [Thread 44] Successful upload to parent ID: 1391
    2014-03-03 14:23:46,589 [7] INFO  umbraco.presentation.umbraco.webservices.MediaUploader - [Thread 8] Successful upload to parent ID: 1391
     
  • Joao 53 posts 172 karma points
    Mar 04, 2014 @ 14:56
    Joao
    0

    I have been trying to solve this for a while now and here is what I got so far:

    In azure I still have space in the DB for storage.

    I can add files bigger in size than the one I am trying to add.

    I tried adding a different file with the same size and it also failed.

    I noticed that both of the files that failed have more than 100 pages. Could this be a reason? Sounds weird but I'm at a loss here.

  • Niels Lynggaard 190 posts 548 karma points
    Mar 06, 2014 @ 00:10
    Niels Lynggaard
    0

    Hmmm..

    Can you see  anything being created in the /Media folder when you upload the file?

    What kind of file is it? There's some settings for disallowed file types and image-files in /config/Umbraco.config  (I'm not sure how it behaves when you're uploading disallowed files).

    Sorry, I've never worked with Azure, so I don't know if it is something to do with that.

    You mention "Pages", so I guess its some kind of document? Are you choosing "File" and not "Media" when uploading?

    If you can try a file with less pages of the same type try to test that.

    Also, you may want to set executionTimeout and/or maxRequestLenght on httpRuntime in web.config like this; (Increase values if bigger files are needed)

    <httpRuntime requestValidationMode="2.0" enableVersionHeader="false" executionTimeout="9000" maxRequestLength="4096" />

    This is maybe a longshot, since a timeout would propably also be logged in your Log.

  • VanDred 6 posts 77 karma points
    Jan 05, 2016 @ 12:01
    VanDred
    0

    Do you solve a problem? I have the same problem. I cann't load img in Media. But img load in content document its fine work.

  • VanDred 6 posts 77 karma points
    Apr 15, 2016 @ 10:56
    VanDred
    0

    I have solved a problem. The reason was in hosting it forbid create folders and files by application Umbraco 7 site

Please Sign in or register to post replies

Write your reply to:

Draft