OrchardCMS / Orchard

Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
https://orchardproject.net
BSD 3-Clause "New" or "Revised" License
2.37k stars 1.12k forks source link

Installing or Enabling a module in a Web Farm sometimes throws an error #2087

Open orchardbot opened 12 years ago

orchardbot commented 12 years ago

morrisonbrett created: https://orchard.codeplex.com/workitem/18260

On a multi-node web farm behind a load balancer, with affinity set to NONE, http requests can end up switching between nodes at any time. If this happens during module install or enable time, the Orchard run time will throw an error. Perhaps this is due to Orchard being dependent on Session data for the user?

orchardbot commented 12 years ago

@bleroy commented:

The standard way of dealing with this is to install the module on a dev box and then deploy. The part that needs to be checked here is the enabling part.