Boot Failed

Hi,

We are encountering a boot failure when running our Umbraco application in Production mode. The following error is logged:

vbnet

CopyEdit

Runtime mode validation failed for Production:
Umbraco application URL needs to be set in production mode.

However, we have already set the ServerUrl in our appsettings.Production.json file as follows:

json

CopyEdit

"Umbraco": {
  "CMS": {
    "Global": {
      "ServerUrl": "https://{my web side}",
      "UseHttps": true,
      "SanitizeTinyMce": true,
      "Id": "{ID}"
    }
  }
}

We also verified that:

  • The environment variable ASPNETCORE_ENVIRONMENT is correctly set to "Production".
  • The appsettings.Production.json file is deployed and in the correct location.
  • The format of the JSON is valid.
  • We’ve cleared the Umbraco TEMP folder.

Despite all that, the error persists and the application won’t start.

Could you please advise what might be causing this and how to resolve it?

Thanks,
idan
Shufersal IT

Hi,

The application URL is set it a slightly different place then you have in your config.

E.g

{
    "Umbraco": {
        "CMS": {
            "WebRouting": {
                "UmbracoApplicationUrl": "https://www.my-custom-domain.com/"
            }
        }
    }
}

it is not work

same error - or a different one ?

i would check the docs for production mode make sure you have all the required settings:

1 Like