Copied to clipboard

Flag this post as spam?

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


  • Gökhan Öztürk 6 posts 76 karma points
    Jan 27, 2023 @ 07:13
    Gökhan Öztürk
    0

    Umbraco Production Mode

    Hello, when I want to broadcast my site on Production Mode,

    It gives an error, what I see in the logs,

    {"@t":"2023-01-26T14:32:30.5579229Z","@mt":"Runtime mode validation failed for Production:\nDisable primary server election (and support for load balancing) to improve startup performance." ,"@l":"Error","SourceContext":"Umbraco.Cms.Infrastructure.Runtime.RuntimeState","ProcessId":20632,"ProcessName":"w3wp","ThreadId":1,"ApplicationId": "94fd4ebd6c078cbd976801aa45be5de5a1e975e5","MachineName":"SRVW141","Log4NetLevel":"ERROR"}

    but I can't find what to do can you help me?

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Jan 27, 2023 @ 07:37
    Dave Woestenborghs
    100

    Hi Gokhan,

    I think you implemented the example from the docs here : https://docs.umbraco.com/umbraco-cms/fundamentals/setup/server-setup/runtime-modes#customize-extend-runtime-mode-validation

    So this requires you to set the following setting to false. https://docs.umbraco.com/umbraco-cms/reference/configuration/globalsettings#disable-election-for-single-server

    Or just remove the example code from your project.

    Dave

  • Gökhan Öztürk 6 posts 76 karma points
    Jan 27, 2023 @ 10:17
    Gökhan Öztürk
    0

    Thnks, i fix with that

    "Global": {
        "DisableElectionForSingleServer": true
      },
    
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies