Urgent: Prisma cannot find the required `libssl`
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?
66 Replies
Project ID:
b5402dad-9099-401e-9018-f479371b2f41
b5402dad-9099-401e-9018-f479371b2f41
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
I'm not sure how to setup a nixpacks.toml for this
are you using bun
I am not
please show the exact error you are getting
I set my package.json to
And also tried 18
But neither worked
okay try adding a nixpacks.toml file to your project
Add to the root of the project?
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
whatever directory the railway service is set to is where the nixpacks.toml file should go
Ok I will try
Thanks for helping, Brody
Building...
may i ask if you are pro/business
pro
Same issue. Is there a way to make sure the config was applied?
Nevermind, i see this
Is there anything else I can try?
Can you share your building logs? after the nixpacks.toml file
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
you can tho
Oh, I mean internally if you don't set it explicitly
oh
Is this what you are asking for?
this is the railway.toml
It needs to be a nixpacks.toml
not a railway.toml
Ok let me deploy that!
yep, it will show the openssl there if it detects the nixpacks.toml
(it did)
After I added the
nixpacks.toml
hmm, never saw that is it related to private network @Brody?
full build logs please
Oh wait sorry... it deselects when I drag select the whole thing
Is there a way to copy the whole thing?
Thanks!
Sorry wrong one...
can you send build logs from a deployment that worked?
They wont load 😦
No build logs found for deployment
how long ago would that deployment have been made?
14 days ago
are you sure you're pro?
hobby only has a log retention of 7 days
Oh shoot! This is actually on my personal account for some reason... it is hobby
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
have you tried pinning the nixpacks version?
Just started that actually
Its deploying now
what version did you pin it to?
v1.21.1 from a month ago
Same problem 😦
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
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?
not too sure, it might even be worth going to a Dockerfile based build so you arent relying on nixpacks
I will try that in the future
i kinda meant it would be worth it to do right now
Ok
Solution
Went back to "1.20.0" and it worked!!
@Brody @Medim Thank you so much for your help!!
i would still go the dockerfile route
Haha will do asap
That was all brody lmao but thanks :salute:
New reply sent from Help Station thread:
are you using bun I am using bun and have the same problemYou're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
Can you try this nixpacks.toml file?You're seeing this because this thread has been automatically linked to the Help Station thread.