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_ENVIRONMENTis correctly set to"Production". - The
appsettings.Production.jsonfile 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
