R
Railwayβ€’4d ago
Isaac_Rocha

Permission denied

I get this message as I deploy - how to fix it? I'm a noob! πŸ˜„ : Nixpacks (I used Github option to import the py project) bed06f9c-d68f-4092-bf22-4901bfa34d71
No description
Solution:
something like this?
No description
Jump to solution
14 Replies
Percy
Percyβ€’4d ago
Project ID: bed06f9c-d68f-4092-bf22-4901bfa34d71
Joshie
Joshieβ€’4d ago
What is your start script? But it is likely that you didn't set the perms of the file to be execute. Generally though, you would have your command be something like python main_thing.py and not just ./main_thing.py. This will also typically handle execute auth
Isaac_Rocha
Isaac_Rochaβ€’4d ago
HMM where do I do that?
Solution
Isaac_Rocha
Isaac_Rochaβ€’4d ago
something like this?
No description
Joshie
Joshieβ€’4d ago
How are you starting it now? Do you have a custom start script? I mean, you must for it to try and run that file? But yea, that should be fine to do there
Isaac_Rocha
Isaac_Rochaβ€’4d ago
I didn't had "python" only the name in front of it with .py in the end
Joshie
Joshieβ€’4d ago
Where you setting the start command through that Custom start command? If you have a file, they will likely conflict. So are you defining it with a dockerfile or nixpacks file, or what?
Isaac_Rocha
Isaac_Rochaβ€’4d ago
it should be empty then?
Joshie
Joshieβ€’4d ago
No, that command with the image you sent, should be correct. If I understand how you are running things.
Isaac_Rocha
Isaac_Rochaβ€’4d ago
I have no idea about nixpacks or docker, I just uploaded the py and the req.txt and then connected it to my railway + deployed using the github feature yea, its running thanks
Joshie
Joshieβ€’4d ago
πŸ‘
Isaac_Rocha
Isaac_Rochaβ€’4d ago
I have a region block on the IP :\ any way of changing it to singapore ?
Brody
Brodyβ€’4d ago
regions would only be available to pro plan users
Isaac_Rocha
Isaac_Rochaβ€’4d ago
got it ty