Multiple services found. Please specify a service to deploy to via the `--service` flag.
I have a project and have been doing the exact same deployments with
railway up
for months now without changing anything. Suddenly today I started getting the following error:
I only have one service and its a Discord bot.
Here is a link to the CI failure: https://github.com/the-hideout/stash/actions/runs/7809674024/job/21301856880#step:7:11GitHub
Combined PRs · the-hideout/stash@cde865f
The Tarkov.dev's Escape from Tarkov Discord bot. Contribute to the-hideout/stash development by creating an account on GitHub.
Solution:Jump to solution
just a slightly misleading error message, you would still need to provide the service via the flag
9 Replies
Project ID:
3bfd2b23-234e-489d-968e-71f55bbe7092
3bfd2b23-234e-489d-968e-71f55bbe7092
@Brody in this case what would my "service" be? I have never had to do that before
Would it just be the name of my project?
stash
in this caseAre these what would be called "services" in my account?
So if I am understanding correctly after reading the docs then my project (
3bfd2b23-234e-489d-968e-71f55bbe7092
) contains a single service called stash
. There are no other services in the project at all so it is unexpected behavior that I would get the Multiple services found
message during a deployment. It is especially odd that this warning started appearing all of the sudden when nothing in my environment has changed outside of application could which is not related to my infra or Railway.
Any thoughts on why this might be the case? It smells like a bug in the way that backend services at Railway are evaluating my project on deployment requestsSolution
just a slightly misleading error message, you would still need to provide the service via the flag