Copied to clipboard

Flag this post as spam?

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


  • Kevin Meilander 82 posts 408 karma points c-trib
    Oct 10, 2022 @ 21:10
    Kevin Meilander
    0

    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 theumbracoServer table, I'm worried that could cause issues down the road.

    Has anyone else seen this?

  • Kevin Meilander 82 posts 408 karma points c-trib
    Oct 11, 2022 @ 14:32
    Kevin Meilander
    100

    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.

Please Sign in or register to post replies

Write your reply to:

Draft