Sang Dang
Explore posts from serversPPrisma
•Created by Sang Dang on 11/10/2024 in #help-and-questions
Problem with array of strings on Postgres
3 replies
What is the best way to archive the E2E tests
Hi, after many months, I still can not figure out how to run E2E tests against PR environment build. My requirement is quite simple: Create PR => trigger the PR environment build, if is OK => trigger the E2E test.
If I turn on the auto PR envrionment feature from Railway, I have no way to trigger the GitHub actions after the build completed because Railway never expose a way to do it. (I already spent days to confirm this and not sure if it still true until this time.)
If I manually create PR environment from github actions, and do I understand correctly, it is impossible through using railway CLI, and the only way is using GraphQL query?
And please give me constructive support and don't troll me. Thank you.
7 replies
NNovu
•Created by Sang Dang on 4/10/2024 in #💬│support
What is the socketUrl for account in EU?
Hi, I try to look around the documentation but so far only found this place: https://docs.novu.co/echo/sdk/client
And it took me several hours to realized that I have to specify the
backendUrl
if my account is in EU. This should be mentioned in the quick start guide.
Now it works but not real time, every new notification need a full refresh app in order to see, so I guess I also need to specify the socketUrl
for it?
Could someone help me with this? I can not find it in our doc, or github issues and Google also return all default settings.
Thanks.8 replies
How to trigger the Github Actions after the PR environment deployed
Hi, currently we want to trigger the Playwright E2E test against the PR environment URL, mean we have to wait for the PR environment deployment finished, then trigger that test on Github Actions. I tried to use the Webhook but face another issue, our Github repo is private and the workflow_dispatch requires the header, which Railway webhook does not support at this moment.
Is there any way to archive this?
10 replies
My PR environment suddenly failed a lot
I don't know why. I tried:
- pressing redeploy, still crash
- checking the postgres service for example, the logs are
No build logs associated with this deployment.
, No deployment logs. All output sent to stdout will be displayed here
- on the production environment, all of my services are in EU, but in this PR env, the postgres region is US West
I still not try the delete the PR env and recreate the PR to trigger the new one. But if we can not find the issue, I could try it.
This is real business so it's quite critical to me, please help.11 replies
Help deploy with Dockerfile
I'm trying to dockerize my app,
voi
, and after adding Dockerfile
into my git repo, Railway automatically pick it as main builder. I don't know why now it can not "see" the environment variables I have set in Railway project. It works well before when I build from github repo.
The Dockerfile: https://github.com/getsieutoc/voi/blob/master/Dockerfile26 replies
Is it normal when pgvector does not copy the POSTGRES_PASSWORD env vars from production environment?
I have a pgvector service, but whenever I make new PR, it crashes on the PR environment, the error is something like:
Which I find it's quite strange, because all other services like my nextjs app or nestjs backend just copy their env vars just fine.
Do I miss something here?
21 replies
How to "login to rail console"?
After install Chatwoot template, I need to do this step:
Enable channel_email (Login to rails console and execute the following)
https://www.chatwoot.com/docs/self-hosted/configuration/features/email-channel/setup
I'm not really expert in Rails, not sure how to do it in Railway, can someone help?68 replies
Backup cron template is not working
I follow this blog post https://blog.railway.app/p/automated-postgresql-backups but it does not moving forward. I can be sure I add correct secrets and bucket values.
8 replies