R
Railway10mo ago
birki

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:
Multiple services found. Please specify a service to deploy to via the `--service` flag.
Multiple services found. Please specify a service to deploy to via the `--service` flag.
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:11
GitHub
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:
just a slightly misleading error message, you would still need to provide the service via the flag
Jump to solution
9 Replies
Percy
Percy10mo ago
Project ID: 3bfd2b23-234e-489d-968e-71f55bbe7092
birki
birkiOP10mo ago
3bfd2b23-234e-489d-968e-71f55bbe7092
Brody
Brody10mo ago
Please specify a service to deploy to via the `--service` flag.
Please specify a service to deploy to via the `--service` flag.
birki
birkiOP10mo ago
@Brody in this case what would my "service" be? I have never had to do that before
birki
birkiOP10mo ago
No description
birki
birkiOP10mo ago
Would it just be the name of my project? stash in this case
birki
birkiOP10mo ago
Are these what would be called "services" in my account?
No description
birki
birkiOP10mo ago
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 requests
Solution
Brody
Brody10mo ago
just a slightly misleading error message, you would still need to provide the service via the flag
Want results from more Discord servers?
Add your server