2 years ago
My site just went down. I am having the same problem as this https://discord.com/channels/713503345364697088/1175401667978604575
I am having a hard time figuring out the solution based on the this thread
Could someone please help?
83 Replies
2 years ago
what is your current nixpacks.toml
I dont have one. I am working in a typescript turbo-repo monorepo and it is deploying one of the sub-packages
2 years ago
are you using bun
2 years ago
please show the exact error you are getting
2 years ago
okay try adding a nixpacks.toml file to your project
[phases.setup]
nixLibs = ['openssl']2 years ago
is the service deploying from the root of the project?
The files for the deployment are in a sub-dir, but the commands to build/start come from the root
2 years ago
whatever directory the railway service is set to is where the nixpacks.toml file should go
2 years ago
may i ask if you are pro/business
2 years ago
Can you share your building logs? after the nixpacks.toml file
2 years ago
And do you have a railway.toml file?
Also, as a brief feedback, it would be nice if you pin the nixpacks version internally, so when you do a "rollback" it uses the same version
Because I tried to rollback to the last know working version and it inherited the same problem
2 years ago
you can tho[build] nixpacksVersion = "1.13.0"
2 years ago
oh
2 years ago
It needs to be a nixpacks.toml
2 years ago
not a railway.toml
2 years ago
yep, it will show the openssl there if it detects the nixpacks.toml
2 years ago
(it did)
2 years ago
hmm, never saw that is it related to private network @Brody?
2 years ago
full build logs please
2 years ago
2 years ago
can you send build logs from a deployment that worked?
2 years ago
how long ago would that deployment have been made?
2 years ago
are you sure you're pro?
2 years ago
hobby only has a log retention of 7 days
Oh shoot! This is actually on my personal account for some reason… it is hobby
2 years ago
are you the owner of leaseUp
Yeah, but sorry I thought I had deployed this project on the LeaseUp account but accidentally added it to my personal account
2 years ago
have you tried pinning the nixpacks version?
2 years ago
what version did you pin it to?
2 years ago
okay so then it seems its not something railway changed
That's interesting. I change 1 file that was just a typo in a string in another file that was outside of the watch pattern for this service, but it deployed anyway, and ever since I have had this issue
2 years ago
try reverting your github repo
I will try that, but why would it have this new issue when I "rollback" from the last know working version?
2 years ago
not too sure, it might even be worth going to a Dockerfile based build so you arent relying on nixpacks
2 years ago
i kinda meant it would be worth it to do right now
2 years ago
i would still go the dockerfile route
2 years ago
That was all brody lmao but thanks <:salute:1137099685417451530>
2 years ago
are you using bun
I am using bun with Elysia framework and have the same problem
Attachments
2 years ago
Can you try this nixpacks.toml file?
[phases.setup]
nixPkgs = ['...', 'openssl']
nixLibs = ['openssl']



