R
Railway•7mo ago
bloom

problem was fixed now getting a new one

/bin/bash: line 1: rafflebot: command not found
/bin/bash: line 1: rafflebot: command not found
I am now getting this in deployment messages
33 Replies
Percy
Percy•7mo ago
Project ID: N/A
bloom
bloom•7mo ago
its just repeating this
bin/bash: line 1: rafflebot: command not found
bin/bash: line 1: rafflebot: command not found
@Adam didnt wanna bother or alert you. Just had a problem wondering if u know what this is
Adam
Adam•7mo ago
What did you set your start command to?
bloom
bloom•7mo ago
as in the discord command it was /startraffle
Adam
Adam•7mo ago
No, the start command in Railway. How you start your app Please head to your build logs and download them using this bookmarklet https://bookmarklets.up.railway.app/log-downloader/
bloom
bloom•7mo ago
No description
bloom
bloom•7mo ago
im a moron thank u so much
Adam
Adam•7mo ago
huh? No, you have to have your build logs open when you use the bookmarklet You just didn't have your deployment open
bloom
bloom•7mo ago
like this
Adam
Adam•7mo ago
Those are your deployment logs, please send your build logs
Adam
Adam•7mo ago
Did you set a custom start command? If so, delete it
bloom
bloom•7mo ago
i dont think so
Adam
Adam•7mo ago
No description
Adam
Adam•7mo ago
This is custom Is this how you launch your app locally?
bloom
bloom•7mo ago
No description
bloom
bloom•7mo ago
i laucnh the app locally thru vsc
Adam
Adam•7mo ago
Please send your repo
bloom
bloom•7mo ago
GitHub
GitHub - Lesinthegit/rafflebot
Contribute to Lesinthegit/rafflebot development by creating an account on GitHub.
bloom
bloom•7mo ago
im currently logged in on a clients github
Adam
Adam•7mo ago
Rename rafflebot discor.py to main.py And remove the bot token from the file, you really should be using environment variables to keep it safe Especially on a public repo
bloom
bloom•7mo ago
agreed haha i just reset the token if i do anything with it
Adam
Adam•7mo ago
It did not. Did you rename the file?
bloom
bloom•7mo ago
i did yes the .py is now main.py
Adam
Adam•7mo ago
and is it working?
bloom
bloom•7mo ago
jus checking now i restarted the whole thing interesting /bin/bash: line 1: ./main.py: Permission denied i changed the proctfile as well to match the py idk if thats why
Adam
Adam•7mo ago
You privated the repo so I can't debug that, but I'm assuming that your start command in your Procfile is wrong it should be python main.py
bloom
bloom•7mo ago
that fixed it thank u
Adam
Adam•7mo ago
no prob
bloom
bloom•7mo ago
No description
bloom
bloom•7mo ago
ur a life saver have a good one 🙂
Adam
Adam•7mo ago
You too