I have deployed my Python app using the flyctl deploy command which always works, but for some reason now after upgrading the V2 my application does not pass it’s checks due to it not been able to find main.py in the directory?
Error:
INFO Starting init (commit: 762cb27)…
INFO Preparing to run: python3 main.py
as root
INFO [fly api proxy] listening at /.fly/api
2023/07/12 13:48:26 listening on [fdaa:0:cf7b:a7b:173:8108:fecc:2]:22 (DNS: [fdaa::3]:53)
python3: can’t open file ‘/ovrtme/main.py’: [Errno 2] No such file or directory
INFO Main child exited normally with code: 2
INFO Starting clean up.
WARN hallpass exited, pid: 232, status: signal: 15 (SIGTERM)
2023/07/12 13:48:27 listening on [fdaa:0:cf7b:a7b:173:8108:fecc:2]:22 (DNS: [fdaa::3]:53)
[ 2.137524] reboot: Restarting system
Error: smoke checks for 91857500a30498 failed: the app appears to be crashing
Any ideas on why I’m getting this?