umbraco / Umbraco.Cloud.Issues

Public issue tracker for Umbraco Cloud
26 stars 2 forks source link

Website unavailable when creating project from baseline #761

Open bjarnef opened 4 months ago

bjarnef commented 4 months ago

Issue description

On an Umbraco Cloud project we have a backend without any templates and frontend elsewhere using Delivery API. It means when accessing Umbraco Cloud URL, it returns 404 Not Found.

So when we want to create a new project using this as baseline we get "Website unavailable", which may be correct, but perhaps a bit misleading.

chrome_ZG9N5KEj5h

I also wonder if it could cause issues receiving upgrades?

However now with Delivery API it can be used as headless and thus no templates in backend.

We could possible solve this either:

I wonder if there are some recommended way to handle this? Perhaps a configuration or settings in the portal? or some docs on this.

bjarnef commented 3 months ago

Also related to this is when no templates are available, the "Error pinging the URL" check under Security > HTTPS Configuration fails.

image

Do we have any option to override, when using backend as data layer in a headless setup using Delivery API?

In our usecase the frontend is hosted elsewhere at Cloudflare.

bjarnef commented 3 months ago

We could probably either create a template without any content for Home Page template, although not used, or hook into request pipeline an return 200 OK to make the health + Umbraco Cloud (and possible Umbraco Deploy) happy.