2 months ago
Im getting the error in my ci pipeline on git.
I have 2 services, one for celery and the other is my normal backend, and the deployment job is failing coz of this error
What is the service name to set. Is it the same name of the service on railway dashboard or?
Run railway up --service purenest360 --detach
railway up --service purenest360 --detach
shell: /usr/bin/bash -e {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/3.12.12/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.12/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.12/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.12/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.12/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.12/x64/lib
RAILWAY_TOKEN: ***
Service not found
4 Replies
2 months ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • about 2 months ago
2 months ago
Hello @jonathanmuk
Have you tried using your service ID ( you can see it in browser URL) instead of name?
2 months ago
Good
2 months ago
Make sure that the correct RAILWAY_TOKEN is being used for that environment.
To confirm:
1. Generate a new token for the environment you are deploying to
2. Try to deploy manually RAILWAY_TOKEN=your_token up -s service_name -d or print out the variables of your service RAILWAY_TOKEN=your_token variables -s service_name
If either railway up or railway variables worked, try and use the newly generated token in your CI pipeline.
If that worked, it just means that the token your CI pipeline has been using is invalid.
yashko
Hello @jonathanmuk Have you tried using your service ID ( you can see it in browser URL) instead of name?
a month ago
It failed
Status changed to Solved jmuk • about 1 month ago