Can't rename a service
molhar
PROOP

a year ago

I'm trying to rename a service from the default name to "admin" and when I do I'm told the service name aleady exists, which as far as I can see it doesn't.

Solved

5 Replies

Service names must be unique across environments within a project, so if you have a service named "admin" in one environment (production, for example), you won't be able to name another service "admin" in another environment (such as development or staging)


Status changed to Awaiting User Response Railway over 1 year ago


molhar
PROOP

a year ago

That's weird as I've definitely got two services with the same name in both staging and production.


Status changed to Awaiting Railway Response Railway over 1 year ago


A service that runs across multiple environments will have the same name across all environments. But if you have a service that is only present in one environment, you can't give another service in another environment the same name.


Status changed to Awaiting User Response Railway over 1 year ago


molhar
PROOP

a year ago

Ah sorry, think I understand now- a service needs to synced from one environment to another for railway to treat it as the same service?


Status changed to Awaiting Railway Response Railway over 1 year ago


Yes, that's correct.

There's more on the process for syncing environments in the Docs.


Status changed to Awaiting User Response Railway over 1 year ago


Railway
BOT

7 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 7 months ago


Loading...