Last chance to get discounted tickets to Codegarden... Price goes up on Tuesday at 20:00 CEST!

Copied to clipboard

Flag this post as spam?

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


  • Tim Geyssens 6326 posts 14714 karma points MVP 2x
    Nov 13, 2017 @ 10:08
    Tim Geyssens
    0

    Umbraco Cloud and folders.json

    Hey,

    We are using the package on Umbraco Cloud and notice that the folder structure is stored on filesystem but it seems the file is being moved across environments causing data to be overwritten... any ideas on how to fix?

  • Daniël Knippers 56 posts 377 karma points c-trib
    Nov 14, 2017 @ 08:20
    Daniël Knippers
    0

    Hi Tim,

    Do I understand it correctly that folders.json is being moved from e.g. your Development environment to your Live environment? I am not too familiar with Umbraco Cloud, but could you not simply exclude the App_Plugins\PerplexUmbracoForms\data\folders.json file from your Git repo so it will not be pushed to Umbraco Cloud?

    Regards, Daniël

  • Tim Geyssens 6326 posts 14714 karma points MVP 2x
    Nov 14, 2017 @ 08:42
    Tim Geyssens
    0

    Not sure, think cloud keeps track of all file changes in /app_plugins/ so once we do a change on dev and deploy to live it also includes that folders.json, will check if a updated gitignore can fix it

  • Tim Geyssens 6326 posts 14714 karma points MVP 2x
    Nov 14, 2017 @ 08:44
    Tim Geyssens
    0

    Ok got in touch with Cloud support and they say to move the file to app_data (like they did with the files from Forms in v6), that way it won't get overwritting, will do a pull request for that update

  • Tim Geyssens 6326 posts 14714 karma points MVP 2x
    Nov 14, 2017 @ 09:38
  • Daniël Knippers 56 posts 377 karma points c-trib
    Nov 14, 2017 @ 15:01
    Daniël Knippers
    0

    Thanks Tim, I'll have a look at your PR soon and will then update the package on Our.

Please Sign in or register to post replies

Write your reply to:

Draft