Copied to clipboard

Flag this post as spam?

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


  • Jacob Buus 18 posts 38 karma points
    Nov 03, 2016 @ 19:38
    Jacob Buus
    0

    Images won't upload to media

    Hi Umbracians,

    I have a weird issue with an Umbraco 6.2.6 site I've inherited. The issue occurs when I jump into the Media section and clicks on the "Upload"-icon, choose a file and press "Upload". The file simply does not show up in the media archive!

    I can see the spinner for a second in the node tree but the file isn't created.

    If I however right-click the media library and select "Create new" and selects "File" or "Image", selects a file and press "Save" then the file i created as expected.

    There are no errors in my console and there are no explicit errors in the UmbracoTraceLog.

    I've been using Umbraco for a while and have never come across this issue. Do you guys have any suggestions?

    I should note that I have the site running locally as well and here everything works just fine.... it's only an issue in production! :S

    Thanks :)

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Nov 03, 2016 @ 20:13
    Jan Skovgaard
    0

    Hi Jacob

    That's really odd - I'm wondering if there perhaps is anything written to the logfile in /App_Data/Logs? Does that contain anything marked with "ERROR", which can be related to the upload issue you're having?

    What browser are you using? And have you tried using a different browser to see if it also happens in other browsers?

    Looking forward to hearing from you.

    /Jan

  • Jacob Buus 18 posts 38 karma points
    Nov 03, 2016 @ 20:19
    Jacob Buus
    0

    Hi Jan,

    Thanks for the response. It happens in all browsers - but only on the production server.

    I've just inspected the log with Log4Net's level set to "Debug". The only thing I'm getting related to the upload is this:

    2016-11-03 21:18:04,076 [71] DEBUG Umbraco.Web.UmbracoModule - [Thread 100] Begin request: http://test.domain.com/umbraco/webservices/MediaUploader.ashx?format=json&action=upload&parentNodeId=19265. 2016-11-03 21:18:04,107 [71] DEBUG Umbraco.Web.UmbracoModule - [Thread 95] Begin request: http://test.domain.com/base/FolderBrowserService/GetChildren/19265?_=1478204249547. 2016-11-03 21:18:04,154 [71] DEBUG Umbraco.Web.UmbracoModule - [Thread 85] Begin request: http://test.domain.com/umbraco/webservices/TreeDataService.ashx?rnd=e2c0fb9a83044b93ada36426149558ff&id=-1&treeType=media&contextMenu=true&isDialog=false&rnd2=55.1&_=1478204249552. 2016-11-03 21:18:04,763 [71] DEBUG Umbraco.Web.UmbracoModule - [Thread 99] Begin request: http://test.domain.com/umbraco/webservices/TreeDataService.ashx?rnd=a48ce8714d0b4bea8c6ed7c84bfb14ad&id=19265&treeType=media&contextMenu=true&isDialog=false&rnd2=19.7&_=1478204250197.

    I'm just trying to setup a test site on the production server and uploading the exact same code I'm running locally. But it should be the same already.

    Seems weird :S

  • Jacob Buus 18 posts 38 karma points
    Nov 03, 2016 @ 20:22
    Jacob Buus
    0

    Hmmmmm.... it seems to be a code issue. I've just uploaded my local website to the server and know it's working on the production server.

    But I sure would like an explanation as to what might cause this issue.... ? :)

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Nov 03, 2016 @ 20:27
    Jan Skovgaard
    0

    Hi Jacob

    Ok, sounds very weird - Did you upgrade the Umbraco instance locally or somehow change some files? At the time of this writing I can't give you a qualified answer on why this happened and now seems to magically have been fixed :)

    /Jan

  • Jacob Buus 18 posts 38 karma points
    Nov 03, 2016 @ 20:30
    Jacob Buus
    0

    Nope - no changes has been made locally. A fresh grab from the TFS repository which "should" match what's running in production at this point.

    However - the site originated as an Umbraco 4.x.x site and has been upgraded a few times.

    I'm wondering if any old Umbraco remnants on the server could cause this?

    But at least there seems to be a fix (delete everything and upload freshly from local).

    Thanks for your time though :)

Please Sign in or register to post replies

Write your reply to:

Draft