|
|
 Rank: Devotee
Joined: 1/10/2008 Posts: 78 Location: London
|
right, found at that one server wasn't refreshing its application cache. Manually editing the web.config file did the job. Now, how can make that automatic ? Both servers have an specific App Pool for umbraco; reading through I thought that a modification of data/umraco.config would invalidate the app cache but no.. Any ideas ? seb http://www.be-k.net
|
|
 Rank: Umbracoholic
Joined: 9/8/2006 Posts: 1,831 Location: MA, USA
|
What version of umbraco are you using? From my (limited) experience, you need v3.0.2 WITH the updated dll from Niels. I don't know why, but I don't think v3.0.3 has the fix in it. cheers, doug.
MVP 2007-2009 - Percipient Studios
|
|
 Rank: Devotee
Joined: 1/10/2008 Posts: 78 Location: London
|
I've got a 3.0.4 actually. Upgraded from 3.0.3 I thought the 3.0.4 had the fix from the dll provided between 3.0.2 and 3.0.3 http://www.be-k.net
|
|
 Rank: Devotee
Joined: 9/4/2007 Posts: 36 Location: Rome
|
No, the fix has not been included in 3.0.3 nor in 3.0.4 hot fix. I run reflector on umbraco.dll in both version and the problem is still there. For a description of the problem look at this post: http://forum.umbraco.org/16583Regards, Marco Lusini
|
|
 Rank: Addict
Joined: 3/17/2008 Posts: 982 Location: Nyborg, Denmark
|
Thanks for the heads up - that's a mistake and I'll make sure it'll be corrected for 3.0.5.
/n
Jeeeez, did I really start this :-)
|
|
 Rank: Devotee
Joined: 1/10/2008 Posts: 78 Location: London
|
that explains it then, thanks ! http://www.be-k.net
|
|
 Rank: Devotee
Joined: 9/4/2007 Posts: 36 Location: Rome
|
Niels Hartvig wrote: Thanks for the heads up - that's a mistake and I'll make sure it'll be corrected for 3.0.5.
/n
Hope to se this soon :-) BTW, would it be possible to release a zip of the full source used to build future releases? As you know codeplex doesn't support branches so it has been impossible for us to fix this bug even if it would have just taken a single line of code... Marco
|
|
 Rank: Addict
Joined: 3/17/2008 Posts: 982 Location: Nyborg, Denmark
|
Yes, in the future we'll be adding a zip with source to the release tab. We learn from mistakes and believe me, it has been a nightmare for us as well :-/
3.0.5 is indeed around the corner - can come anytime soon.
/n
Jeeeez, did I really start this :-)
|
|
 Rank: Devotee
Joined: 1/10/2008 Posts: 78 Location: London
|
I'm not sure this is related, maybe it should get in a new post, but I'm having another problem with on my webfarm which I don't have on a test stand-alone server. I have setup Umbraco to manage 2 sites: /Content /site1.com /site2.com and configured a site in my 2 IIS to host these 2 domains. when I try to get to site1.com or site2.com, I'm randomly redirected to one of the site. That is not a cache issue I believe, as this still happen after modifying the web.config file or even restarting the web site. This does not happen on a stand-alone server, when I type site1.com in my browser address I get site1.com all the time. Anyone has experienced this before ? Seb http://www.be-k.net
|
|
 Rank: Devotee
Joined: 1/10/2008 Posts: 78 Location: London
|
right, after many tries, I finally get it working. Again I'm not sure why, but the problem seems related to the creation of the "Alternative link"; when I reported the problem earlier on this was not prefixed by my domain; whereas now it is. Now, why alt link were not correctly prefixed ? I don't know.. http://www.be-k.net
|
|
Rank: Newbie
Joined: 3/12/2008 Posts: 1
|
I am porting a local web site to a hosted server that runs MSSQL and IIS on separate servers, there system is not load balanced per se but I am experiencing the exact problem described here, i.e., that save+publish does not cause effective update of the site content (templates are updated) - is this likely related to the issues discussed here?
Cheers, Sigurd
|
|
 Rank: Devotee
Joined: 9/4/2007 Posts: 36 Location: Rome
|
I don't think this is related, the problem that I have is due to a known bug which causes Save&Publish to invoke a method that doesn't know how to handle DistributedCalls in Load Balanced environments.
Usually running IIS and MSSQL on separate servers doesn't have any impact on umbraco, maybe your problem is related to permissions on umbraco folders.
Regards,
Marco Lusini
|
|
 Rank: Umbracoholic
Joined: 7/20/2006 Posts: 1,076 Location: Charleston, West Virginia, United States
|
Sigurd Enghoff wrote: I am porting a local web site to a hosted server that runs MSSQL and IIS on separate servers, there system is not load balanced per se but I am experiencing the exact problem described here, i.e., that save+publish does not cause effective update of the site content (templates are updated) - is this likely related to the issues discussed here?
Cheers, Sigurd
Sounds like a possible permissions issue. Be sure that the data folder has write permissions for the asp.net application pool, and try deleting umbraco.config from that folder, then restart the app. The file should be regenerated. I have seen this file get locked from time to time, even with correct permissions, and it sometimes results in strange publish behaviors. Deleting the file and a quick app restart usually fixes it for me.
• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
|
|
 Rank: Devotee
Joined: 1/10/2008 Posts: 78 Location: London
|
Hi, just upgraded to 3.0.5 from a modified 3.0.3 where publishing was working on load-balanced environment. Now, it doesn't work anymore with 3.0.5 (using the released dll) I've downloaded the source code, and can see in editContent.aspx.cs, line 163: Code: Trace.Warn("Before library publish single node"); //library.PublishSingleNode(_document.Id); content.Instance.PublishNode(_document); Trace.Warn("After library publish single node");
I know that with 3.0.3, to be able to publish on load-balanced environment, you would use library.PublishSingleNode(_document.Id); instead: Code: Trace.Warn("Before library publish single node"); library.PublishSingleNode(_document.Id); //content.Instance.PublishNode(_document); Trace.Warn("After library publish single node");
as specified here: http://www.codeplex.com/umbraco/WorkItem/View.aspx?WorkItemId=13535can somebody confirm publishing IS working on load-balanced environment with 3.0.5? Many thanks, seb http://www.be-k.net
|
|
 Rank: Devotee
Joined: 1/10/2008 Posts: 78 Location: London
|
a quick update on that, I can confirm that modifying the 3.0.5 source code with Code: library.PublishSingleNode(_document.Id); //content.Instance.PublishNode(_document);
does allow content to be correctly synchronised on a load-balanced environment. Does this has been missed again from 3.0.5 ?? seb http://www.be-k.net
|
|
Rank: Aficionado
Joined: 7/19/2006 Posts: 171 Location: aalleren, Denmark
|
The specific fix you are listing has been missed from the 3.0.5 I'm afraid. I'll get the build updated so it can get on codeplex as a release instead of the one containing that bug. Hopefully this will be the final release before 3.1, as we have multiple repositories to maintain the different branches in, this has been taking too much of our time already and has caused a couple of missed bug fixes. Umbracian Personal blog: Objects.dk
|
|
Rank: Aficionado
Joined: 7/19/2006 Posts: 171 Location: aalleren, Denmark
|
The updated binaries are now on codeplex along with the updated source-code. Only fix is the one mentioned by Seb. Umbracian Personal blog: Objects.dk
|
|
 Rank: Devotee
Joined: 1/10/2008 Posts: 78 Location: London
|
ok, thanks for the confirmation. I've been looking like an idiot in my company here certifying that 3.0.5 would solve our load-balancing problems. I don't really want to run a live website on a modify build as it's a bit of a pain for maintenance and not ideal when you have to handover a project. Quite disappointed really because it has been claimed in so many different places that 3.0.5 would solve this. Anyway, you've been faster than me and already posted the updated binaries on codeplex. Didn't know the forum was auto-refreshing :) Thanks for the quick update, really appreciate the great work. Hopefully you guys will get to the bottom of the bug list shortly. seb http://www.be-k.net
|
|
 Rank: Devotee
Joined: 9/4/2007 Posts: 36 Location: Rome
|
pph wrote:The updated binaries are now on codeplex along with the updated source-code.
Only fix is the one mentioned by Seb. Would it be possible to keep track of different revision when updating those files? I think that it will soon become a nightmare for users and developers to track things without a naming scheme.... Anyway, I made some quick tests with this release and it looks working fine in a load balanced environments. There is a minor quirk which I don't think related to the load balancing: say you have a folder with 3 pages + folder +-- page 1 +-- page 2 +-- page 3 if you unpublish page 2 you get the expected + folder +-- page 1 +-- page 3 but if you later re-publish page 2 the sort order is wrong: + folder +-- page 1 +-- page 3 +-- page 2 The only way to fix this is to rebuild the XML cache with a "Republish entire site". Marco
|
|
Rank: Newbie
Joined: 4/20/2007 Posts: 7
|
The Umbraco.dll posted above by Neils worked like a charm on my 3.0.2 Umbraco installation on a web farm. Mucho gracias! Publishing of textual updates is instant. I used AD DNS to create host names pointed at IIS6 host headers on each farm node, since we have many websites sharing a single load-balanced IP.
Just a side note about web farms; I've noticed some discussion about replication, so I wanted to throw 10 cents in the jar... even though it is off topic.
I've been using Windows Server 2003 R2 DFS to replicate the Umbraco directory among multiple nodes for almost a year. R2 DFS requires Active Directory and quite a bit of tinkering (and troubleshooting, when things go wrong). But when it's running right, the changes are propogated virtually instantaneously. This is a good budget option for those who cannot afford a SAN, but are in a Server 2003 environment. Of course if it were up to me, I'd buy a SAN as that's the ideal solution... but the budget simply does not permit.
If you do not like the idea of implementing DFS, don't worry! You have another option, use simpler 3rd-party replication tools. One that comes to mind is from a company called ViseVersa... just Google it and you will see their solution is downright cheap.
David A Duckworth david a t Solutrix dot com Umbraco enthusiast
David A Duckworth david a t Solutrix dot com Umbraco enthusiast
|
|
|
Guest |