Django app successfully deployed to Azure App Service failing to start up

pravasi 6 Reputation points
2022-02-09T07:47:32.007+00:00

We have a Django app which was successfully deployed earlier to a default Linux Azure container on Azure App Service using Github actions. After recent deployment, the site will not start up, Below is the container log which just says "Worker failed to boot". Seeking help or directions to solve this issue..

2022-02-08T19:20:45.049945767Z A P P S E R V I C E O N L I N U X
2022-02-08T19:20:45.049950067Z
2022-02-08T19:20:45.049953967Z Documentation: http://aka.ms/webapp-linux
2022-02-08T19:20:45.049958067Z Python 3.8.6
2022-02-08T19:20:45.049962067Z Note: Any data outside '/home' is not persisted
2022-02-08T19:20:46.502718763Z Starting OpenBSD Secure Shell server: sshd.
2022-02-08T19:20:47.173514312Z App Command Line not configured, will attempt auto-detect
2022-02-08T19:20:47.173750712Z Launching oryx with: create-script -appPath /home/site/wwwroot -output /opt/startup/startup.sh -virtualEnvName antenv -defaultApp /opt/defaultsite
2022-02-08T19:20:47.833463450Z Found build manifest file at '/home/site/wwwroot/oryx-manifest.toml'. Deserializing it...
2022-02-08T19:20:47.840653348Z Build Operation ID: |qaYS2xAqtiE=.692e6d92_
2022-02-08T19:20:47.842087048Z Oryx Version: 0.2.20210805.1, Commit: f3aa4eb16e7085ef7fd6f4521daa9b51d69fedd8, ReleaseTagName: 20210805.1
2022-02-08T19:20:47.842407847Z Output is compressed. Extracting it...
2022-02-08T19:20:47.844275947Z Extracting '/home/site/wwwroot/output.tar.gz' to directory '/tmp/8d9e5a05a8ea7dd'...
2022-02-08T19:20:57.330818935Z App path is set to '/tmp/8d9e5a05a8ea7dd'
2022-02-08T19:20:57.332156231Z Detected an app based on Django
2022-02-08T19:20:57.333052329Z Generating gunicorn command for 'aggiebuy.wsgi'
2022-02-08T19:21:03.134759421Z Writing output script to '/opt/startup/startup.sh'
2022-02-08T19:21:04.317969532Z Using packages from virtual environment antenv located at /tmp/8d9e5a05a8ea7dd/antenv.
2022-02-08T19:21:04.318001132Z Updated PYTHONPATH to ':/tmp/8d9e5a05a8ea7dd/antenv/lib/python3.8/site-packages'
2022-02-08T19:21:08.995805798Z [2022-02-08 19:21:08 +0000] [37] [INFO] Starting gunicorn 20.1.0
2022-02-08T19:21:09.081308877Z [2022-02-08 19:21:08 +0000] [37] [INFO] Listening at: http://0.0.0.0:8000 (37)
2022-02-08T19:21:09.081360277Z [2022-02-08 19:21:09 +0000] [37] [INFO] Using worker: sync
2022-02-08T19:21:09.081367277Z [2022-02-08 19:21:09 +0000] [39] [INFO] Booting worker with pid: 39
2022-02-08T19:21:23.620489724Z [2022-02-08 19:21:23 +0000] [37] [INFO] Shutting down: Master
2022-02-08T19:21:23.621321922Z [2022-02-08 19:21:23 +0000] [37] [INFO] Reason: Worker failed to boot.
2022-02-08T19:20:45.049945767Z A P P S E R V I C E O N L I N U X
2022-02-08T19:20:45.049950067Z
2022-02-08T19:20:45.049953967Z Documentation: http://aka.ms/webapp-linux
2022-02-08T19:20:45.049958067Z Python 3.8.6
2022-02-08T19:20:45.049962067Z Note: Any data outside '/home' is not persisted
2022-02-08T19:20:46.502718763Z Starting OpenBSD Secure Shell server: sshd.
2022-02-08T19:20:47.173514312Z App Command Line not configured, will attempt auto-detect
2022-02-08T19:20:47.173750712Z Launching oryx with: create-script -appPath /home/site/wwwroot -output /opt/startup/startup.sh -virtualEnvName antenv -defaultApp /opt/defaultsite
2022-02-08T19:20:47.833463450Z Found build manifest file at '/home/site/wwwroot/oryx-manifest.toml'. Deserializing it...
2022-02-08T19:20:47.840653348Z Build Operation ID: |qaYS2xAqtiE=.692e6d92_
2022-02-08T19:20:47.842087048Z Oryx Version: 0.2.20210805.1, Commit: f3aa4eb16e7085ef7fd6f4521daa9b51d69fedd8, ReleaseTagName: 20210805.1
2022-02-08T19:20:47.842407847Z Output is compressed. Extracting it...
2022-02-08T19:20:47.844275947Z Extracting '/home/site/wwwroot/output.tar.gz' to directory '/tmp/8d9e5a05a8ea7dd'...
2022-02-08T19:20:57.330818935Z App path is set to '/tmp/8d9e5a05a8ea7dd'
2022-02-08T19:20:57.332156231Z Detected an app based on Django
2022-02-08T19:20:57.333052329Z Generating gunicorn command for 'aggiebuy.wsgi'
2022-02-08T19:21:03.134759421Z Writing output script to '/opt/startup/startup.sh'
2022-02-08T19:21:04.317969532Z Using packages from virtual environment antenv located at /tmp/8d9e5a05a8ea7dd/antenv.
2022-02-08T19:21:04.318001132Z Updated PYTHONPATH to ':/tmp/8d9e5a05a8ea7dd/antenv/lib/python3.8/site-packages'
2022-02-08T19:21:08.995805798Z [2022-02-08 19:21:08 +0000] [37] [INFO] Starting gunicorn 20.1.0
2022-02-08T19:21:09.081308877Z [2022-02-08 19:21:08 +0000] [37] [INFO] Listening at: http://0.0.0.0:8000 (37)
2022-02-08T19:21:09.081360277Z [2022-02-08 19:21:09 +0000] [37] [INFO] Using worker: sync
2022-02-08T19:21:09.081367277Z [2022-02-08 19:21:09 +0000] [39] [INFO] Booting worker with pid: 39
2022-02-08T19:21:23.620489724Z [2022-02-08 19:21:23 +0000] [37] [INFO] Shutting down: Master
2022-02-08T19:21:23.621321922Z [2022-02-08 19:21:23 +0000] [37] [INFO] Reason: Worker failed to boot.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,002 questions
{count} votes