Deployment failed after migrating
Looks like migration to new Postgres worked (?). When it redeployed service (Strapi), it just fails after ~5 mins with nothing to show for in the logs. Trying the deploy again does not change anything.
Started this from the link from the [ACTION REQUIRED] email.
21 Replies
Project ID:
f40d1a80-a7e6-4cdf-b8fe-f3bcc3fa7a2d
f40d1a80-a7e6-4cdf-b8fe-f3bcc3fa7a2d
Your database looks fine, it's the service that is failing right?
correct service now cannot deploy, isn't telling me why
it looks like my variables were looking fine, I added a new temp variable to get the service to redeploy and I got "Error deploying to changed environments"
Of concern is now the other variables are now hashed or something i.e.
==AB12CD34...
...well, removing the fake temp variable seems to have reverted the other keys so they look as normal nowThis is likely related to our ongoing incident. https://discord.com/channels/713503345364697088/846875565357006878/1184592627987923018
We will be updating all threads as we resolve it
Hey, could you try redeploying your Strapi service now?
ok trying it now
same thing, got the Failed message after ~5 mins, nothing in logs
Was this deployed from a template?
Your last successful deploy was 10 months ago
https://railway.app/project/f40d1a80-a7e6-4cdf-b8fe-f3bcc3fa7a2d/service/83195a22-4ee0-40a2-85d5-81a55955f00d/settings
Is the GH repository connected to the service alive?
ah right, the repo link is different now... just reconnecte it
ok at least there are build logs now... but getting error: Docker build failed...
I believe this was deployed via a template... there was a strapi-railway project which this is based on
Yep I think this is completely unrelated to the migration π
build seems to be complaining about the version of python... is there a way I can set a lower version?... tried the env
NIXPACKS_PYTHON_VERSION
but no go there...
33.42 Node.js configure: Found Python 3.11.5...
33.42 Please use python3.10 or python3.9 or python3.8 or python3.7 or python3.6 or python3.5 or python2.7.
33.96 error: builder for '/nix/store/hh8n2lf9hxvjrp2rgp6542acrcyg153i-nodejs-14.21.3.drv' failed with exit code 1
33.99 error: 1 dependencies of derivation '/nix/store/hr6azazr0rnipm5vda93z8fql7d6q20a-bf744fe90419885eefced41b3e5ae442d732712d-env.drv' failed to build
-----
Dockerfile:8
-------------------
6 |
7 | COPY .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix
8 | >>> RUN nix-env -if .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix && nix-collect-garbage -d
9 |
10 |
-------------------
ERROR: failed to solve: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix && nix-collect-garbage -d" did not complete successfully: exit code: 100
Error: Docker build failedfull build logs please https://bookmarklets.up.railway.app/log-downloader/
here you go
im seeing node 14, any idea why that would be installed?
don't recall ever needing to set it, might have been what I got from the initial install of Strapi
will try a v18 or something
what is set in
engines.node
in your package.json?>=12.x.x <=16.x.x
set it to 18
just
18
okay that did the trick! thank you so much for your help
no problem!
same problem, this fixed it. Thank you very much.