R
Railwaywilsonlewis

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?
Solution:
Went back to "1.20.0" and it worked!!
P
Percy40d ago
Project ID: b5402dad-9099-401e-9018-f479371b2f41
W
wilsonlewis40d ago
b5402dad-9099-401e-9018-f479371b2f41
B
Brody40d ago
what is your current nixpacks.toml
W
wilsonlewis40d ago
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
B
Brody40d ago
are you using bun
W
wilsonlewis40d ago
I am not
B
Brody40d ago
please show the exact error you are getting
W
wilsonlewis40d ago
No description
W
wilsonlewis40d ago
I set my package.json to
"engines": {
"node": "20"
},
"engines": {
"node": "20"
},
And also tried 18 But neither worked
B
Brody40d ago
okay try adding a nixpacks.toml file to your project
[phases.setup]
nixLibs = ['openssl']
[phases.setup]
nixLibs = ['openssl']
W
wilsonlewis40d ago
Add to the root of the project?
B
Brody40d ago
is the service deploying from the root of the project?
W
wilsonlewis40d ago
The files for the deployment are in a sub-dir, but the commands to build/start come from the root
B
Brody40d ago
whatever directory the railway service is set to is where the nixpacks.toml file should go
W
wilsonlewis40d ago
Ok I will try Thanks for helping, Brody Building...
B
Brody40d ago
may i ask if you are pro/business
W
wilsonlewis40d ago
pro Same issue. Is there a way to make sure the config was applied?
W
wilsonlewis40d ago
No description
W
wilsonlewis40d ago
Nevermind, i see this Is there anything else I can try?
M
Medim40d ago
Can you share your building logs? after the nixpacks.toml file And do you have a railway.toml file?
W
wilsonlewis40d ago
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
M
Medim40d ago
you can tho
nixpacksVersion = "1.13.0"
nixpacksVersion = "1.13.0"
W
wilsonlewis40d ago
Oh, I mean internally if you don't set it explicitly
M
Medim40d ago
oh
W
wilsonlewis40d ago
Is this what you are asking for?
No description
W
wilsonlewis40d ago
this is the railway.toml
[phases.setup]
nixLibs = ['openssl']
[phases.setup]
nixLibs = ['openssl']
M
Medim40d ago
It needs to be a nixpacks.toml not a railway.toml
W
wilsonlewis40d ago
Ok let me deploy that!
M
Medim40d ago
yep, it will show the openssl there if it detects the nixpacks.toml (it did)
W
wilsonlewis40d ago
No description
W
wilsonlewis40d ago
After I added the nixpacks.toml
M
Medim40d ago
hmm, never saw that is it related to private network @Brody?
B
Brody40d ago
full build logs please
W
wilsonlewis40d ago
W
wilsonlewis40d ago
Oh wait sorry... it deselects when I drag select the whole thing Is there a way to copy the whole thing?
W
wilsonlewis40d ago
W
wilsonlewis40d ago
Thanks! Sorry wrong one...
W
wilsonlewis40d ago
B
Brody40d ago
can you send build logs from a deployment that worked?
W
wilsonlewis40d ago
They wont load 😦 No build logs found for deployment
B
Brody40d ago
how long ago would that deployment have been made?
W
wilsonlewis40d ago
14 days ago
B
Brody40d ago
are you sure you're pro? hobby only has a log retention of 7 days
W
wilsonlewis40d ago
No description
W
wilsonlewis40d ago
Oh shoot! This is actually on my personal account for some reason... it is hobby
B
Brody40d ago
are you the owner of leaseUp
W
wilsonlewis40d ago
Yeah, but sorry I thought I had deployed this project on the LeaseUp account but accidentally added it to my personal account
B
Brody40d ago
have you tried pinning the nixpacks version?
W
wilsonlewis40d ago
Just started that actually Its deploying now
B
Brody40d ago
what version did you pin it to?
W
wilsonlewis40d ago
v1.21.1 from a month ago Same problem 😦
B
Brody40d ago
okay so then it seems its not something railway changed
W
wilsonlewis40d ago
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
B
Brody40d ago
try reverting your github repo
W
wilsonlewis40d ago
I will try that, but why would it have this new issue when I "rollback" from the last know working version?
B
Brody40d ago
not too sure, it might even be worth going to a Dockerfile based build so you arent relying on nixpacks
W
wilsonlewis40d ago
I will try that in the future
B
Brody40d ago
i kinda meant it would be worth it to do right now
W
wilsonlewis40d ago
Ok
Solution
W
wilsonlewis40d ago
Went back to "1.20.0" and it worked!!
W
wilsonlewis40d ago
@Brody @Medim Thank you so much for your help!!
B
Brody40d ago
i would still go the dockerfile route
W
wilsonlewis40d ago
Haha will do asap
M
Medim40d ago
That was all brody lmao but thanks :salute:
D
Duchess10d ago
New reply sent from Help Station thread:
are you using bun I am using bun and have the same problem
You'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?
[phases.setup]
nixPkgs = ['...', 'openssl']
nixLibs = ['openssl']
[phases.setup]
nixPkgs = ['...', 'openssl']
nixLibs = ['openssl']
You're seeing this because this thread has been automatically linked to the Help Station thread.
Want results from more Discord servers?
Add your server
More Posts
Can i temporarily remove my MySQL Database without deleting it completely?I want to perform this because I am running out of credits and I am also not using the DataBase in rusage based pricingPlease help me understand how a project on railway with 0 usage (no calls to the server or DB) for aHelp with setup of laravel cmds on project deploymentHello everyone so im hosting a laravel rest api but i cant seem to access the terminal and run cmds Postgres Database private url, is it faster and how to use it?I have a Django rest framework setup with postgress db and it seems the connection is slow. I noticumami deployment fails since migration of railwayHi there, I hope you can help me. I am not too well with backend (database, docker, etc) programminIs Go 1.22 supported yet?I remember getting deployment issues when trying to support Go 1.22 in the past. I assume it's a matIs Go 1.22 supported yet?I remember getting deployment issues when trying to support Go 1.22 in the past. I assume it's a matmy plan is 5$My plan is 5$ why I pay now 51$. ?? Please deactivate my account I don't need this server in which eFile too large on Gitlab CI/CDHi, i'm trying to add a CI/CD to my project but the deploy part always fail saying ```File too largeCan't find my repo on railwayIt was recently migrated to be a organization repo that I have admin access to. How do I deploy baseDeploying to Railway from Gitlab CI/CDwhere to get project token from project serviceApp Crashed - Resource temporarily unavailableMy backend nodejs app crashed multiple times today. could not find the root cause. this has not hapDatabase server does not connectGood afternoon, I have already made all the connections with the postgreSQL database server but whenDeploy logs stopped appearing after a manual redeployHi, I have a project running several services. Deploy logs for one of the services randomly stopped ENOTFOUND redis.railway.internalFirst time using railway. I'm on team plan which says it supports private networking. I have a simplError: libuuid.so.1: cannot open shared object file: No such file or directoryGetting this error with puppeteer on Railway. ``` node:internal/modules/cjs/loader:1239 return pro"Error: connection already closed."I keep getting this error message when I attempt to update a user in my PostgreSQL database. I do noUnable to update Variables in App. (First Update after Migration)Hey Guys, my App tries to connect to the old containers of my postgres and redis. I checked the variImage Storagehello everyone, can I use Postgresql to store the images which my users upload in django-project?Setup Cloudflare Proxy1. Clicked "custom domain". 2. Railway pops up a CNAME for me to add to Cloudflare. 3. Add CNAME rec