runtime error

Exit code: 1. Reason: Thread 'MainThread': missing ScriptRunContext! This warning can be ignored when running in bare mode. Failed to find attribute 'app' in 'app'. [2025-05-11 15:59:07 +0000] [8] [INFO] Worker exiting (pid: 8) Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py", line 209, in run self.sleep() File "/usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py", line 357, in sleep ready = select.select([self.PIPE[0]], [], [], 1.0) File "/usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py", line 242, in handle_chld self.reap_workers() File "/usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py", line 528, in reap_workers raise HaltServer(reason, self.APP_LOAD_ERROR) gunicorn.errors.HaltServer: <HaltServer 'App failed to load.' 4> During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/bin/gunicorn", line 8, in <module> sys.exit(run()) File "/usr/local/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 67, in run WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run() File "/usr/local/lib/python3.9/site-packages/gunicorn/app/base.py", line 231, in run super().run() File "/usr/local/lib/python3.9/site-packages/gunicorn/app/base.py", line 72, in run Arbiter(self).run() File "/usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py", line 229, in run self.halt(reason=inst.reason, exit_status=inst.exit_status) File "/usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py", line 342, in halt self.stop() File "/usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py", line 393, in stop time.sleep(0.1) File "/usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py", line 242, in handle_chld self.reap_workers() File "/usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py", line 528, in reap_workers raise HaltServer(reason, self.APP_LOAD_ERROR) gunicorn.errors.HaltServer: <HaltServer 'App failed to load.' 4>

Container logs:

Fetching error logs...