Copied to clipboard

Flag this post as spam?

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


  • Bjarne Fyrstenborg 1285 posts 4039 karma points MVP 8x c-trib
    Sep 17, 2012 @ 20:35
    Bjarne Fyrstenborg
    0

    Unable to upload files in Media section

    Hi..

    I'm using Umbraco v. 4.8.0 .. where I have developed on the site local and uploading files in media section works fine..

    I have moved a copy of the installation to the host DanDomain.. but there I'm not able to upload files.. I get an error like this that a part of the parth not could be found:

    on ftp I see it creates the folder structure /Webfilefs/websites/.../.../wwwroot/media/11984/ under the website root.. which it should'nt.. just upload to the media folder..

    In umbracoSettings.config I changed <UploadAllowDirectories>True</UploadAllowDirectories> to False.. and then I can upload files, but e.g. the image and the the generated thumbnail is in the media folder and not a subfolder under media as default..

    Is there some permissions, which should be changed or what prevents to upload the files?

    /Bjarne

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Sep 17, 2012 @ 21:07
    Jan Skovgaard
    1

    Hi Bjarne

    If i'm not mistaken the above path looks like it's running in a virtual directory on the server. And virtual directories and Umbraco is a mess I've been told. Have not played around with it myself and neither do I dare try :)

    So I think I would contact DanDomain and ask them if they're using virtual directories...If they offer Umbraco hosting their supporters must know what needs to be done in order to make it work I guess.

    Hope this helps even though it's a sparse answer.

    /Jan

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Sep 17, 2012 @ 21:51
    Tom Fulton
    0

    We often run /media/ as a virtual directory and found in v4.8.0 this was broken due to the IFile updates.  It was however fixed in v4.8.1 (pretty sure anyway - definitely works with v4.9.0).  This might be a similar issue since it looks like your website is running from a UNC path.  So you might try upgrading to fix the issue.

    -Tom

  • Bjarne Fyrstenborg 1285 posts 4039 karma points MVP 8x c-trib
    Sep 19, 2012 @ 09:31
    Bjarne Fyrstenborg
    0

    Hi Jan and Tom

    Thanks for your suggestions.. I'll ask them about the site is running in a virtual directory..

    I have expirienced issues, when running the site local and when I restore a copy of the site on Surftowns server..

    They told me that \\Webfilefs\websites\...\...\wwwroot\ was the UNC path to the file cluster, which was splitted up as teh couldn't have all the customers data in the same folder..

    Tom, do you have a "how to" guideline to upgrade a Umbraco installation. But even if I upgrade Umbraco, is it then still a problem if the site is running in a virtual directory?

    /Bjarne

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Sep 19, 2012 @ 17:49
    Tom Fulton
    2

    Hi Bjarne,

    I have a feeling you're not actually running in a virtual directory, but rather your "home directory" is a UNC path (\\something\something) instead of a physical path (C:\something).  This will work, but there was a bug in 4.8 or 4.8.1 that prevented media from being uploaded in this situation (I know because I ran into the same issue :) ).

    So if possible I would suggest upgrading to 4.8.1 and then to 4.9.0.  If you check the release notes on 4.8.1 then 4.9.0 there are pretty good notes on how to upgrade.  But basically you're replacing /bin/, /umbraco/, and /umbraco_client/ with the upgraded files, then manually merging web.config and the files in /config/.

    Let us know if you run into any issues!

    -Tom

  • Bjarne Fyrstenborg 1285 posts 4039 karma points MVP 8x c-trib
    Sep 19, 2012 @ 18:20
    Bjarne Fyrstenborg
    0

    Hi Tom..

    Yes, perhaps it's the problem..

    So I can't upgrade directly to 4.9.0 from 4.8.0?
    But it seems to be quite simple to upgrade to 4.8.1 if it's only these the steps:

    http://umbraco.codeplex.com/releases/view/92481

    1. Overwrite the /bin and /umbraco_client folder to upgrade from 4.8.0
    2. The key removeUmbracoVersionHeader in umbracoSettings.config can be removed
    I'll try to upgrade the installation.. then I also get the nice new features in 4.9.0.. I like especially the new features in the Media section :)
    /Bjarne
  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Sep 19, 2012 @ 19:04
    Jan Skovgaard
    0

    Hi Bjarne

    I think you should do this approach for upgrading

    4.8 -> 4.8.1 -> 4.9.0

    If I remember correctly there is a minor database update in the 4.8.1 patch release, which would be nice to have fixed - not that it seems to be a biggie but who knows if it can cause some trouble at a later time.

    Just my humble opinion :)

    /Jan

  • Bjarne Fyrstenborg 1285 posts 4039 karma points MVP 8x c-trib
    Sep 19, 2012 @ 19:31
    Bjarne Fyrstenborg
    0

    Hi Jan..

    When I have updated the files, is there something that need to be updated in the database?

    /Bjarne

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Sep 19, 2012 @ 19:39
    Jan Skovgaard
    1

    That should be enough - if you have followed the upgrade guidelines for 4.8 to 4.8.1 here http://umbraco.codeplex.com/releases/view/92481 then you should be safe to move on for v4.9.

    /Jan

  • Bjarne Fyrstenborg 1285 posts 4039 karma points MVP 8x c-trib
    Sep 24, 2012 @ 22:53
    Bjarne Fyrstenborg
    0

    Hi..

    I upgraded from 4.8.0 to 4.8.1 and then to 4.9.0 .. and was quite uncomplicated.. although there is a the issue with empty recycle bin in 4.9.0, which will be fixed in 4.10.0: http://issues.umbraco.org/issue/U4-764

    I didn't find a solution at DanDomain and they couldn't tell us why it doesn't work with saving media files. So we decided to move to Surftown, where uploading media files not are a problem..

    However I noticed when publishing nodes on the local installation, there is no problems with publishing nodes.. when I restore the backup on the webserver online I get the asterisk on the node even when the node is published? http://our.umbraco.org/forum/using/ui-questions/34894-Asterisk-on-node-when-it's-published

    /Bjarne

Please Sign in or register to post replies

Write your reply to:

Draft