R
Railway

✋|help

Environment Merging Doesn't Work

Ccnnrjcbsn8/23/2023
I created a new project and accidentally started an environment fork / merge thing. Now my staging has more containers than production and trying to do the "Review 79 Changes", doesn't work. After I click the first change, no other clicks work and I'm stuck in a loop of not being able to approve or reject anything.
Ccnnrjcbsn8/23/2023
9c41e196-5568-4e75-85e0-0aa8aac79840
I can't get rid of this:
Ccnnrjcbsn8/23/2023
Ccnnrjcbsn8/23/2023
The "keep it" and "ship it" buttons only work for the first item in the list and then don't.
I'm not able to complete the flow.
And so not really able to deploy to production. I'm worried that re-creating services and such in my production environment will create a weird situation and break things.
@Brody @Angelo pls help
BBrody8/23/2023
#🛂|readme #5
no not ping conductors, and especially do not ping the team
Ccnnrjcbsn8/23/2023
sorry, didnt see that
Did you delete my bug report in #🚅|priority-boarding ? The description of the channel says "Only use this channel for reporting bugs in beta features."

I was reporting a bug in a beta feature. The docs clearly state that it is a beta feature.
DDuchess8/23/2023
Thread has been flagged to Railway team by @Ray.
Ccnnrjcbsn8/24/2023
This seems related, but I cannot update values for new services in the production environment. The app doesn't provide more information than a "failed to update" toast.
So I don't think I can replicate the staging environment in production as a work around unfortunately.
Aangelo8/24/2023
Hey Connor! Just came back from PTO, I am going to work with you to see the issue that might be at hand.
I am going to DM you a link so you can book time with me and I can directly debug it on a call or I can try to do it async (I have 2 meetings left in the day)
Ccnnrjcbsn8/24/2023
Thank you!
Ccnnrjcbsn8/28/2023
Update: Selecting through most of the items works now! However, there is still a dead screen with the random 11 unresolved items and no ability to continue
Ccnnrjcbsn8/28/2023
Might be somehow related to the weird starting state from this project
Aangelo8/28/2023
cc @gimenete for visibility
Ggimenete8/28/2023
I see. Sorry about that. We are filtering out some values that were redundant but the logic for moving to the next screen is still not correct. I hope to have a fix for this tomorrow.
Ccnnrjcbsn8/28/2023
I appreciate that! I also understand that I am using a beta feature and that by definition it won't be perfect 🙂
Ggimenete8/28/2023
Thanks! I'll keep you updated once the fix is deployed.
Ccnnrjcbsn8/28/2023
Thank you!
Ggimenete8/29/2023
Hey. I've deployed some changes and the UI problems should be fixed. You will still see a big list of changes, but you should be able to merge keep/discard them in the UI.

Additionally I'm working on a change to prevent so many changes to appear in the merge panel in the future. In your case this probably happened because you used the raw env variables editor. The editor recreates all the variables internally and that makes the diff view to think that all variables have changed. With the improvement I'm working on, that will be no longer the case.

Let me know if you still find issues using the merge functionality. Thanks!
Ccnnrjcbsn8/29/2023
It worked! Thank you! A small nit I have: when merging the variables that are essentially "shared variables" from a railway-managed DB service (like Redis), the "value" that it shows in the merge UI is something to the effect of the UUID of the service, but once it's merged into the other environment, it shows it as ${{Redis.REDIS_URL}} or whatever. If the merge editor showed the ${{Redis.REDIS_URL}} value instead of the UUID one, I would have higher confidence that it was doing what I wanted (I kinda just guessed and got lucky this time). Happy to rephrase if that doesnt make sense.
But yeah I probably either used the raw editor or just had way too many changes that I ignored or something to that effect. Regardless, thanks again!
Going to mark this as solved.
BBrody8/29/2023
!resolve
DDuchess8/29/2023
@Brody has marked this thread as resolved.
Ggimenete8/29/2023
Cool that it worked! I'll look into the shared variables thing. Thanks for sharing it!

Looking for more? Join the community!

Recommended Posts
How to remove files/foldersHi, im new in railway and i have to remove my node_modules folder because i get some issues. It seemcan't access deployed serviceSeems deployment completed when trying to access can't open page displayed. Tried with https://whizsAfter redeploying, I lost the uploaded images in the directoryAfter redeploying, I lost the uploaded images in the directory. My project uses Spring Boot v3.1.2 +help gettiing www subdomain wokringI have had a long discussions with railway team on working of www subdomain on my account ssdo.org.pSimple next.js build faildeployment ID 6b59c99d-f9d1-42bb-9733-67e02909cdc5 Repo: https://github.com/ballermatic/nextjs-shadcDatabase credentialsHello, my Railway starter plan has expired and I want to make a copy of my postgres database but iRunning python script [userbot]Hello so I have this python script that is used to automate something with email account can i use I need help on deploying my development database to production without losing any dataI mistakenly ran the command `npx prisma migrate dev` on my production env but did not accept when tNpgsql.npgsqlException (0x80004005) Failed to connect to 76.76.21.21:5432Hi! im trying to connect to an ASP.Net core 6 to railway.app for the first time and i receive the inDeploying for the first timeHi, I am new to railroad and I am trying to deploy my flask app. I am getting this error: ``` DockI can't seem to be able to use the mariadb app i'm running in my PHP projectI want to be able to connect my mariadb app deployed on railway in my PHP script but when I try to uRailway too slowI have an issue with my railwat app. The app is too slow once update my github project. Making it alTrying to communicate over private network and not workingI have a service that has just private networking enabled and listens on ipv6 (http server). When I How is Redis instance pricing calculatedDoes the per vCPU and per GB memory pricing apply to a Redis database? Would like to know before I svolume permissionsMy docker run script is trying to install as a user owned file into volume mount point but getting pDeployment Issue: ModuleNotFoundError for Flask with Poetry-based ProjectHello, I'm having trouble deploying a Flask app on Railway using Poetry for dependency management. DDoes HTTP response count towards egress quota?I just want to check an external endpoint a few times a day but the response is quite big.Hosting a Directus + NuxtJs project service availableI'm trying to host a Directus service and NuxtJs service but I'm having some trouble getting the froDB StorageHello all, I have a question. How much storage does Railway have when building a server or databaseLogs broken?Hello is there a problem with logs? I am not seeing any build or deploy logs at all, I just see the