nickmacavoy
All services down in Singapore
Hi team, I've messages my business class team but just for more visibility, our databases are down across all our projects by the looks of things. They've crashed and don't appear to be up and running yet (it's been 17 mins)
Project 3e218ec0-7c31-4a5e-ba63-d0f7439aa07d
Service 8ec6131b-e177-40ec-824e-9fa9f3960add
10 replies
Deploying from Github Actions, received Project token not found error
Project ID: 3c08e827-8d73-4a37-bbe9-9af9757bd354
When deploying from Github Actions, deployments would fail with "Project token not found error" at the Github Actions end, but deployment would succeed on that specific job at Railway. But the deployment wouldn't be a complete success since I had a few synchronous actions in my Actions and it would halt at the errored one. I don't believe anything changed our end in the settings/actions at Github or Railway and before yesterday there were no issues with this token.
I've resolved it now by creating a new project token in Railway and passing it to Github > Secrets > Actions. And using that new token in the Github Action.
I'm unsure where the breakdown was, whether it was Github Actions or Railway. I just thought you should know.
9 replies
Bug with PR Environments when reconnecting Github repository
We recently had to reconnect our Github repository due to the Github repo's organisation name changing. We noticed we had to reconnect because there seemed to be no deployment activity on Railway on any of our branches.
When we went to Project > Settings > Environment and clicked "Connect Environment to Branch", an error popped up "[org/repo] not found. Are you sure the repo exists and you have access to it?"
We reconnected the Railway to our Repo, and all our PR Environments reconnected to the
main
branch, not their respective PR branch. We had to go through each PR branch and select the correct branch to connect to.
Project ID: 3c08e827-8d73-4a37-bbe9-9af9757bd3543 replies
Duplicate variables when setting up additional service for Sidekiq in a Rails project
Hey team, firstly love your work. I've searched Discord/Google/help for advice on this already but I haven't seen a conclusive answer.
I'm trying to find the optimal way of running Sidekiq in a Nixpacks build scenario.
Currently we have a start script containing:
bundle exec rails s -b 0.0.0.0 & bundle exec sidekiq
Up to August 2022 I believe that's been the recommended way to run both Rails and Sidekiq in a start script (rather than a Procfile environment).
Though now i'm reading that that's not the recommended way, and that one should have a separate service created solely for Sidekiq – makes sense. Here's the thread: https://discord.com/channels/713503345364697088/1024492237486309457/1024654301181788160
Do I then need to copy all environment variables that are in my Rails service to my Sidekiq service? I believe so, otherwise Sidekiq will be running a different environment to the Rails one. But no where I've seen mentions that and it feels important. It also means that we have a post-deploy manual task of environment variable duplication which doesn't sound optimal.
PS. You may notice looking at the project that I currently do have a Procfile but I'm proposing the above two-service solution and removing the Procfile in the process.
Thank you!
Project: 3c08e827-8d73-4a37-bbe9-9af9757bd354
Service: 959337ac-60f8-4004-9151-1b122a5e146022 replies