Deploy Problems

cooddeoon
FREEOP

8 months ago

need hepp

14 Replies

cooddeoon
FREEOP

8 months ago

Using Nixpacks

Mar 22 12:27:17

==============

Mar 22 12:27:17

Mar 22 12:27:17

context: dvnb-1SZx

Mar 22 12:27:17

Nixpacks build failed

Mar 22 12:27:17

Mar 22 12:27:17

Using subdirectory "static"

Mar 22 12:27:17

Mar 22 12:27:17

Nixpacks was unable to generate a build plan for this app.

Mar 22 12:27:17

Please check the documentation for supported languages: https://nixpacks.com

Mar 22 12:27:17

Mar 22 12:27:17

The contents of the app directory are:

Mar 22 12:27:17

Mar 22 12:27:17

1.png


8 months ago

Hey cooddeoon, what kind of application are you trying to deploy?


cooddeoon
FREEOP

8 months ago

a telegram bot which has two main files which must run simultaneously bot.py & webhook.py


cooddeoon

a telegram bot which has two main files which must run simultaneously bot.py & webhook.py

cooddeoon
FREEOP

8 months ago

I have the files in my github


uxuz

Hey cooddeoon, what kind of application are you trying to deploy?

cooddeoon
FREEOP

8 months ago

ok ?


8 months ago

This is an application level issue and I am unable to assist you further. However, depending on the builder you are using, please refer to the following documentation for structuring your Python project.
Nixpacks: https://nixpacks.com/docs/providers/python

Railpack: https://railpack.com/languages/python

Furthermore, you may want to reevaluate your project with one entry point instead of having to run two different Python programs running at the same time. In addition, you may also want to have a custom start command, documentation regarding this can be found here: https://docs.railway.com/guides/start-command.


uxuz

This is an application level issue and I am unable to assist you further. However, depending on the builder you are using, please refer to the following documentation for structuring your Python project.Nixpacks: https://nixpacks.com/docs/providers/pythonRailpack: https://railpack.com/languages/pythonFurthermore, you may want to reevaluate your project with one entry point instead of having to run two different Python programs running at the same time. In addition, you may also want to have a custom start command, documentation regarding this can be found here: https://docs.railway.com/guides/start-command.

cooddeoon
FREEOP

8 months ago

the bot is active now but does not respond on telegram when I start it.


uxuz

This is an application level issue and I am unable to assist you further. However, depending on the builder you are using, please refer to the following documentation for structuring your Python project.Nixpacks: https://nixpacks.com/docs/providers/pythonRailpack: https://railpack.com/languages/pythonFurthermore, you may want to reevaluate your project with one entry point instead of having to run two different Python programs running at the same time. In addition, you may also want to have a custom start command, documentation regarding this can be found here: https://docs.railway.com/guides/start-command.

cooddeoon
FREEOP

8 months ago

I was able to do it. However, it only starts bot.py when it should start bot.py and webhook.py in parallel.


cooddeoon

I was able to do it. However, it only starts bot.py when it should start bot.py and webhook.py in parallel.

8 months ago

Please try a custom start command such as python webhook.py & python bot.py (the latter is the one running in the foreground) or call webhook.py in your bot.py using something like the subprocess library.


uxuz

Please try a custom start command such as python webhook.py & python bot.py (the latter is the one running in the foreground) or call webhook.py in your bot.py using something like the subprocess library.

cooddeoon
FREEOP

8 months ago

I have a main.py file, but thank you. Tell me, I want to share the stripe events (webhook) to my webhook.py file. Do I have to share the link of my project on stripe ( https://annabot-production-ddfc.up.railway.app/webhook )?


cooddeoon

I have a main.py file, but thank you. Tell me, I want to share the stripe events (webhook) to my webhook.py file. Do I have to share the link of my project on stripe ( https://annabot-production-ddfc.up.railway.app/webhook )?

8 months ago

Unfortunately, I am unable to provide support for application level issues or third party services. Please try and see if it works.


uxuz

Unfortunately, I am unable to provide support for application level issues or third party services. Please try and see if it works.

cooddeoon
FREEOP

8 months ago

When I go to https://annabot-production-ddfc.up.railway.app/ it gives me 502 Bad Getway


uxuz

Unfortunately, I am unable to provide support for application level issues or third party services. Please try and see if it works.

cooddeoon
FREEOP

8 months ago

Request ID:
qyi2e7BSTBKrBzTcQABC_A_1655129934


cooddeoon

When I go to https://annabot-production-ddfc.up.railway.app/ it gives me 502 Bad Getway

8 months ago


Loading...
Deploy Problems - Railway Help Station