Using cached Flask-2.3.0-py3-none-any.whl (96 kB)
Requirement already satisfied: importlib-metadata>=3.6.0 in /usr/local/lib/python3.8/site-packages (from flask->-r requirements.txt (line 7)) (7.0.1)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.8/site-packages (from importlib-metadata>=3.6.0->flask->-r requirements.txt (line 7)) (3.17.0)
Requirement already satisfied: cffi>=1.12 in /usr/local/lib/python3.8/site-packages (from cryptography->python-telegram-bot==13.0->-r requirements.txt (line 1)) (1.16.0)
Requirement already satisfied: pycparser in /usr/local/lib/python3.8/site-packages (from cffi>=1.12->cryptography->python-telegram-bot==13.0->-r requirements.txt (line 1)) (2.21)
Requirement already satisfied: backports.zoneinfo in /usr/local/lib/python3.8/site-packages (from tzlocal>=1.2->APScheduler==3.6.3->python-telegram-bot==13.0->-r requirements.txt (line 1)) (0.2.1)
Starting Bot....
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Instance is unhealthy
Instance terminated in nomad
`Starting Bot....`
Event
4c45375a
`Instance allocated in nomad`
Event
c33c387b
`Instance terminated in nomad`
Event
4c45375a
`Instance is unhealthy`
Event
4c45375a
`Instance is unhealthy`
Event
4c45375a
`Instance is unhealthy`
Log
stdout
4c45375a
`Starting Bot....`
Event
4c45375a
`Instance is unhealthy`
Event
4c45375a
`Instance is unhealthy`
Event
4c45375a
`Instance is unhealthy`
Event
4c45375a
`Instance terminated in nomad`
Tried a work around still failed
THIS PROBLEM IS SOLVED. I dont need help now… I created requirements.txt with specific Flask==2.2.2
gunicorn==20.1.0
aiohttp==3.8.2
and a basic file app.py with flask.
and added run command file gunicorn app:app & python3 application.py and also added this in the run command in settings of my deployment.