Press Ctrl / CMD + C to copy this to your clipboard.
Copied to clipboard
Flag this post as spam?
This post will be reported to the moderators as potential spam to be looked at
Topic author was deleted
Oct 27, 2020 @ 10:55
Published content is not distrubuted to replica servers
I have installed Umbraco 8.5.4 on three web servers. I have designated server1 to be master and server2 and server3 are replica servers. The issue is, when I publish content on server1 then it's not distributed to the two replica servers. I have read all the official documentation, and I can't figure out what is missing.
I set server1 to be the master server by following the guide in Advanced techniques with Flexible Load Balancing, and server2 and server3 are set as replica servers. I'm returning null in GetCurrentServerUmbracoApplicationUrl.
I have blocked umbraco backoffice on the replica servers by adding this rewrite rule in Web.config:
I am unsure if it's an issue, that isActive is false for server2 and server3.
I have not set up any file system synchronization besides this. I am actually unsure how to read the guide in file-system-replication. As I understand it each Umbraco instance will look into the database and figure out if new content has been published. Then they will read this content and build a local cache. I think that additional file system synchronization is only relevant for the /Media folder.
In /umbraco on server1 I will unpublish the content root and then publish with descendants. Now I expect this content to be synchronized to the replica servers. However when I access the front page on server2 and server3, then I just reach the "Welcome to your Umbraco installation" start page.
I can add log lines, if there is anything specific, that's relevant.
NB: Load balancing on the servers has not been set up yet. I access umbraco by remote desktop to each server and access them by their IP addresses.
Topic author was deleted
Published content is not distrubuted to replica servers
I have installed Umbraco 8.5.4 on three web servers. I have designated server1 to be master and server2 and server3 are replica servers. The issue is, when I publish content on server1 then it's not distributed to the two replica servers. I have read all the official documentation, and I can't figure out what is missing.
I set server1 to be the master server by following the guide in Advanced techniques with Flexible Load Balancing, and server2 and server3 are set as replica servers. I'm returning null in GetCurrentServerUmbracoApplicationUrl.
I have blocked umbraco backoffice on the replica servers by adding this rewrite rule in Web.config:
Here IP1 is the IP address of server1.
When I look into the [umbracoServer] table in the database, then all three servers are added, and only server1 is master:
I am unsure if it's an issue, that isActive is false for server2 and server3.
I have not set up any file system synchronization besides this. I am actually unsure how to read the guide in file-system-replication. As I understand it each Umbraco instance will look into the database and figure out if new content has been published. Then they will read this content and build a local cache. I think that additional file system synchronization is only relevant for the /Media folder.
In /umbraco on server1 I will unpublish the content root and then publish with descendants. Now I expect this content to be synchronized to the replica servers. However when I access the front page on server2 and server3, then I just reach the "Welcome to your Umbraco installation" start page.
I can add log lines, if there is anything specific, that's relevant.
NB: Load balancing on the servers has not been set up yet. I access umbraco by remote desktop to each server and access them by their IP addresses.
Hi Troels Bak Andersen,
How do you fix this issue? We are also facing the same issue. Your help will be appreciated. Thanks.
is working on a reply...