I am running v11.4. When I deploy to an Azure app service and navigate to the site, I get a page that says "Page Not Found". Digging into the logs, it says, "No physical template file was found for template {Template}".
I have verified that the templates files are correctly deployed.
...with the exception of ModelsMode, because then the build fails with razor errors about the models.
How do I figure out why the site won't render in production? How do I deploy in release mode with ModelsMode set to Nothing?
UPDATE:
If I comment out Runtime:Mode:Production and ModelsBuilder:ModelsMode:Nothing in appsettings.Production.json, the site works as expected. Why is the site failing when these settings are enabled?
v11 deploy to Azure // page not found
I am running v11.4. When I deploy to an Azure app service and navigate to the site, I get a page that says "Page Not Found". Digging into the logs, it says, "
No physical template file was found for template {Template}
".I have verified that the templates files are correctly deployed.
I've followed the step listed here: https://docs.umbraco.com/umbraco-cms/fundamentals/setup/server-setup/runtime-modes#production-mode
...with the exception of
ModelsMode
, because then the build fails with razor errors about the models.How do I figure out why the site won't render in production? How do I deploy in release mode with ModelsMode set to Nothing?
UPDATE:
If I comment out
Runtime:Mode:Production
andModelsBuilder:ModelsMode:Nothing
in appsettings.Production.json, the site works as expected. Why is the site failing when these settings are enabled?appsettings.json
appsettings.Production.json:
I'm suffering the same fate! Did you work out what the problem was?
is working on a reply...