Add EspoCRM API to Cloudron health checks
Because EspoCRM is a single page application (SPA), often the application will be loading (so http checks will return OK), but the data content will not.
If the API isn't returning data, then the application is not working for the user, and it is better than System Admins should also know this before users have to report it.
Can you add the API endpoint to health checks too please?
@marcusquinn I like the idea! I assume you mean to change the Cloudron health check to use an API end point to check if the app is "running" or not using https://docs.espocrm.com/development/api/ . I think I have investigated this route in the past because our tests also sporadically fail when Cloudron thinks EspoCRM is running but it's not yet. So, we add a few sleeps here and there to make it work. The issue is/was that the API calls require an API token which the health check process does not have. Some apps like gogs/gitea have an explicit /healthcheck endpoint. Do you think you can open this issue upstream?