Copied to clipboard

Flag this post as spam?

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


  • Anders Jensen 2 posts 72 karma points
    Aug 10, 2018 @ 09:29
    Anders Jensen
    0

    Octopus Umbraco Azure Media files ??

    Hi

    We have a small issue, when deploying Umbraco to our azure, on our test setup the media files we had on test are missing ?

    Everytime we deploy the media files we uploaded via backoffie, goes missing.

    Does anyone know, what to do to deployment, so it keeps the media files ?

    Best regards Anders

  • Ben Palmer 144 posts 719 karma points c-trib
    Aug 10, 2018 @ 11:08
    Ben Palmer
    1

    Hi Anders,

    A couple of things to highlight:

    • Remove Additional Files - is this checked in your process? If so, this might be to blame.
    • It escapes me right now but I think there's an option somewhere to preserve certain files and/or folders. This may just relate to App_Data however.
    • I tend to make use of Azure blob storage which stores the files off site. It has a number of benefits, such as being able to swap slots and still have access to the media files. Might be worth looking into. The Umbraco documentation has a setup guide.

    Hope that helps,

    Ben

  • Anders Jensen 2 posts 72 karma points
    Aug 10, 2018 @ 11:13
    Anders Jensen
    0

    Hi Ben

    Thanks for the reply.

    We have Preserve App_Data enabled.

    I'll try disableing Remove Additional Files, and see what happens.

    [EDIT]: Remove Additional Files worked! - Thanks Ben!

Please Sign in or register to post replies

Write your reply to:

Draft