Copied to clipboard

Flag this post as spam?

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


  • pantryfight 60 posts 84 karma points
    Jul 29, 2015 @ 23:28
    pantryfight
    0

    Best practice usage usage of Umbraco Forms on load balanced environment

    Hi there, I was just wondering what's the best way to use Umbraco Forms when you're running your site on in a load balanced environment.

    Since the form definitions are stored as json in the filesystem, would we need to set up replication between servers on these files or is there some functionality included which caters for this?

    thanks

  • Comment author was deleted

    Aug 03, 2015 @ 07:30

    That's correct, you'll need to setup replication of the folder /App_Plugins/UmbracoForms/Data since that contains forms/workflows/datasources/prevaluesources

  • pantryfight 60 posts 84 karma points
    Aug 05, 2015 @ 03:17
    pantryfight
    0

    What about files uploaded through a FileUpload field on your form? Will these files always get stored on the filesystem of the master instance or will this vary depending on which environment the user is on when they submit the form?

  • Arunabha Das 38 posts 151 karma points
    Aug 22, 2017 @ 13:21
    Arunabha Das
    0

    Did you able to get any solution on the same. I am having same problem that file are not getting stored on load balancer

  • Pankaj Nainwal 4 posts 24 karma points
    Aug 20, 2015 @ 07:11
    Pankaj Nainwal
    0

    Hi Tim, we have implemented the replication of the folder /App_Plugins/UmbracoForms/Data. Also we can see the changes we made to the forms json file are available on all the servers. The issue is we are not seeing the changes in the front end, we can only see the changes in the front end where admin is hosted.

    To see the changes we have to recycle the APP POOL in all the servers.

  • Dan Evans 629 posts 1016 karma points
    Oct 12, 2015 @ 16:02
    Dan Evans
    0

    I am seeing the same issue. The files are the same size and datestamp on both servers but only viewing the master site shows the changes.

  • Søren Lysdal 13 posts 75 karma points
    Oct 27, 2015 @ 10:37
    Søren Lysdal
    1

    We solved this issue by disabling the Umbraco Forms caching in memory by editing the UmbracoForms.config file in the App_Plugins/UmbracoForms folder.

    <setting key="DisableFormCaching" value="True" />
    

    We had the same issues that Dan and Pankaj described.

    We run Donut caching and don't use Forms heavily so this worked for us.

  • Dan Evans 629 posts 1016 karma points
    Oct 27, 2015 @ 16:33
    Dan Evans
    0

    I have tried changing the DisableFormCaching setting but it makes no difference.

  • Julian C. 16 posts 73 karma points
    Dec 11, 2015 @ 12:12
    Julian C.
    0

    Thanks Søren, setting <setting key="DisableFormCaching" value="True" /> worked for me too.

Please Sign in or register to post replies

Write your reply to:

Draft