We are upgrading to v10 and am noticing that the umbracoServer table is no longer updating with any new data. Is this something that should still happen?
I know there was some hosting updates in v10, so I'm not sure if this is just how it works now, or if we have something else going on.
It does add our local development machines to this table when run the site locally, but not our Azure hosted instance.
We haven't noticed any other issues so far, but if the servers aren't getting logged in theumbracoServer table, I'm worried that could cause issues down the road.
It looks like the UmbracoServer database table is just used to help figure out what the server role should be, and so if you are explicitly setting this, the UmbracoServer table is not actually needed.
Here's the line of code that's telling it not be used. It looks like this was updated with v10.
It feels a little weird to me that this table isn't getting the different servers now, but really after looking at the code I can't think of a good reason why that would be needed, other than to making me feel better. And I could also manually touch the TouchServer() task if needed.
UmbracoServer not getting added in Azure on v10
We are upgrading to v10 and am noticing that the
umbracoServer
table is no longer updating with any new data. Is this something that should still happen?I know there was some hosting updates in v10, so I'm not sure if this is just how it works now, or if we have something else going on.
It does add our local development machines to this table when run the site locally, but not our Azure hosted instance.
We haven't noticed any other issues so far, but if the servers aren't getting logged in the
umbracoServer
table, I'm worried that could cause issues down the road.Has anyone else seen this?
So after looking into this a bit more, it looks like this is specific to when you are setting an explicit scheduling publish server.
https://our.umbraco.com/Documentation/Fundamentals/Setup/Server-Setup/Load-Balancing/flexible-advanced#explicit-schedulingpublisher-server
It looks like the UmbracoServer database table is just used to help figure out what the server role should be, and so if you are explicitly setting this, the UmbracoServer table is not actually needed.
Here's the line of code that's telling it not be used. It looks like this was updated with v10.
https://github.com/umbraco/Umbraco-CMS/blob/461989a5998aac2b4e51e665612089c588d7d2bd/src/Umbraco.Infrastructure/HostedServices/ServerRegistration/TouchServerTask.cs#L69
It feels a little weird to me that this table isn't getting the different servers now, but really after looking at the code I can't think of a good reason why that would be needed, other than to making me feel better. And I could also manually touch the TouchServer() task if needed.
is working on a reply...