14 days ago
Due to a recent hardware failure, I had to recreate the database in only one environment. Now I can’t rename Postgres-JnK- to simply Postgres, and sync between environments no longer works. It suggests deleting Postgres-JnK- and creating Postgres, which would wipe my production database.
How can I get the environments back in sync?
2 Replies
14 days ago
Your CRM project contains two distinct Postgres services: "Postgres" (the original) and "Postgres-JnK-" (the one recreated after the hardware failure). Environment sync operates on service identity, not name, so these will always be treated as separate services regardless of renaming. The rename is also blocked because a service named "Postgres" already exists in the project. To get your environments back in sync, you can remove the original "Postgres" service from the environment where it is no longer needed (the one where you recreated the database), which would free up the name and let you rename "Postgres-JnK-" to "Postgres", then use sync to bring it into the other environment. Before removing the original from that environment, confirm it has no data or volume attached there. Alternatively, you can keep both services and manually update your other services' variable references to point to "Postgres-JnK-" in the affected environment.
Status changed to Awaiting User Response Railway • 14 days ago
14 days ago
This reads like nonsense.
Status changed to Awaiting Railway Response Railway • 14 days ago
Status changed to Open Railway • 14 days ago