Error deployed after migrating database Postgres

Project ID: f972c1e8-be0a-41e3-9cc6-af5cee831ce9 I encountered an error in the Strapi project deployed on the Railway app platform after performing a database migration as recommended. I have attached my logs. Has anyone experienced a similar issue? How can I resolve this problem? LOG: #8 30.09 Node.js configure: Found Python 3.11.5... #8 30.09 Please use python3.10 or python3.9 or python3.8 or python3.7 or python3.6 or python3.5 or python2.7. #8 30.65 error: builder for '/nix/store/hh8n2lf9hxvjrp2rgp6542acrcyg153i-nodejs-14.21.3.drv' failed with exit code 1 #8 30.69 error: 1 dependencies of derivation '/nix/store/hr6azazr0rnipm5vda93z8fql7d6q20a-bf744fe90419885eefced41b3e5ae442d732712d-env.drv' failed to build #8 ERROR: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix && nix-collect-garbage -d" did not complete successfully: exit code: 100 ... 30.09 Node.js configure: Found Python 3.11.5... 30.09 Please use python3.10 or python3.9 or python3.8 or python3.7 or python3.6 or python3.5 or python2.7. 30.65 error: builder for '/nix/store/hh8n2lf9hxvjrp2rgp6542acrcyg153i-nodejs-14.21.3.drv' failed with exit code 1 30.69 error: 1 dependencies of derivation '/nix/store/hr6azazr0rnipm5vda93z8fql7d6q20a-bf744fe90419885eefced41b3e5ae442d732712d-env.drv' failed to build ... Error: Docker build failed
6 Replies
Percy
Percy6mo ago
Project ID: f972c1e8-be0a-41e3-9cc6-af5cee831ce9
heriirawan
heriirawan6mo ago
@Brody here I am attach log build
Brody
Brody6mo ago
node 14 is not supported anymore, please use node 18
heriirawan
heriirawan6mo ago
@Brody how to change node version in strapi project? I tried creating a .nvmrc file and using node 18 but it still doesn't work
Brody
Brody6mo ago
by setting engines.node to 18 in your package.json
Want results from more Discord servers?
Add your server
More Posts
Getting error 503 when trying to make requests to backend hosted in RailwayAs the title says, I can't make any requests to my database since it always returns error 503. I havCouple questions regarding railwayDoes railway have any built in functionality to "bundle" services together for load balancing/horizosecond time having problem to connect to the proxyyesterday i couldnt connect to the proxy im using for sending out the requests but it fixed after rNixpack build errorThis is what I've been encountering building my Django app on railway for the past 72 hours. Please Image from Dockerfile is not running on RailwayHey guys, I am trying to deploy an image based on `tiredofit/db-backup` but it is not running on RaiWaiting for deployment when running `railway up` in CIHi all! I am trying to set up a CI system to deploy a project on Railway, and got everything workingFailed to resolve hostHey! I have a flask app running on a service exposed to public. Sometimes my client side code breaksHow to change db from US West to EU West? I saw the options, but I can't select them.Hello, my application was initially deployed to US West but since I reside in EU, I would prefer my Error: P1001: Can't reach database server at `postgres.railway.internal`:`5432`Container keeps crashing, says it can't reach my database. I use private networking with the privateGetting 413 Request Entity Too Largenginx/1.24.0Hey guys so i have deployed my applications via github, which is laravel app, when i upload images w