Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant deploy on heroku #596

Open
activator11 opened this issue Jun 6, 2024 · 2 comments
Open

cant deploy on heroku #596

activator11 opened this issue Jun 6, 2024 · 2 comments

Comments

@activator11
Copy link

activator11 commented Jun 6, 2024

need a file named Procfile
includes this text

web: python bot/main.py

@activator11
Copy link
Author

activator11 commented Jun 6, 2024

i added these on my fork
but still cant get it running showing this message
image

also logs are these:
2024-06-06T17:40:01.000000+00:00 app[api]: Build succeeded
2024-06-06T17:40:06.193047+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=lastongithub-6d34cc91fe1f.herokuapp.com request_id=c48e7f9c-052a-4fe0-8c74-e373f2a49abc fwd="46.226.162.152" dyno= connect= service= status=503 bytes= protocol=https
2024-06-06T17:40:07.741059+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=lastongithub-6d34cc91fe1f.herokuapp.com request_id=541e0c78-cb5d-46b1-acad-bd82b7bed394 fwd="46.226.162.152" dyno= connect= service= status=503 bytes= protocol=https
2024-06-06T17:42:29.488459+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=lastongithub-6d34cc91fe1f.herokuapp.com request_id=edd3ce24-d3fd-4d7d-b026-04495f1b1c44 fwd="46.226.162.152" dyno= connect= service= status=503 bytes= protocol=https
2024-06-06T17:42:31.397007+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=lastongithub-6d34cc91fe1f.herokuapp.com request_id=a54633e2-0ccd-4f07-b327-6d3a571ed8f7 fwd="46.226.162.152" dyno= connect= service= status=503 bytes= protocol=https
2024-06-06T17:43:33.237864+00:00 app[api]: Deploy 664f60e by user
2024-06-06T17:43:33.237864+00:00 app[api]: Release v14 created by
2024-06-06T17:43:39.000000+00:00 app[api]: Build succeeded
2024-06-06T17:43:56.644389+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=lastongithub-6d34cc91fe1f.herokuapp.com request_id=846b72fc-9ba9-46a6-ac72-d77e54c521af fwd="46.226.162.152" dyno= connect= service= status=503 bytes= protocol=https
2024-06-06T17:43:57.907234+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=lastongithub-6d34cc91fe1f.herokuapp.com request_id=f7a3d48b-2e72-4341-b913-56f93bcdc212 fwd="46.226.162.152" dyno= connect= service= status=503 bytes= protocol=https

@err09r
Copy link
Contributor

err09r commented Jun 13, 2024

You shouldn't create a 'web' process but rather a 'worker' process. Here is an example of Procfile for deploying using Heroku:
worker: python -m venv venv && source venv/bin/activate && pip install -r requirements.txt && python bot/main.py

@n3d1117 It would be great if you add it to README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants