I deployed successfully a simple rails app to my Azure App Service following this Microsoft Docs tutorial but the app does not start.
How can I diagnose container startup problems in Azure App Service for linux?
What I already did:
run the app in production environment locally -> works on my machine
changed rails version from 5.1.7 to 5.2.4.3
verified my environment variables
extended the container start time configuration to max (using the environment variable WEBSITES_CONTAINER_START_TIME_LIMIT)
checked the rails app production.log file -> no entries there
checked the container logs:
....docker.log
> 2020-05-20 18:53:36.737 ERROR - Container xy for site tournaments-app has exited, failing site start
> 2020-05-20 18:53:36.760 ERROR - Container xy respond to HTTP pings on port: 8080, failing site start. See container logs for debugging.
> 2020-05-20 18:53:36.786 INFO - Stoping site tournaments-app because it failed during startup.
...default.log (last line)
> 2020-05-20T18:53:35.862298997Z from bin/rails:3 <main>