Skip to content
process "sh -c mise trust -a && mise install" did not complete successfully: exit code: 1
officiallymelon
OP

a year ago


mise [email protected]    download node-v22.18.0-linux-x64.tar.gz

gpg: Signature made Thu Jul 31 21:47:23 2025 UTC
gpg:                using EDDSA key 5BE8A3F6C8A5C01D106C0AD820B1A390B168D356
gpg: Can't check signature: No public key

mise ERROR gpg failed
gpg: Signature made Thu Jul 31 21:47:23 2025 UTC
gpg:                using EDDSA key 5BE8A3F6C8A5C01D106C0AD820B1A390B168D356
gpg: Can't check signature: No public key

mise ERROR failed to install core:[email protected]
mise ERROR gpg exited with non-zero status: exit code 2
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information```

tested on multiple projects, keep getthing this ):
Closed

15 Replies

officiallymelon
OP

a year ago

4a0bce6d-2268-46d6-b4e1-44b6e198cb9c


a year ago

Hello,

This was an upstream error but we believe to have put in a work around, could you please run another build and let me know if you are still experiencing this issue?


mezoistvan

a year ago

Same issue here, builds are still failing


mezoistvan

Same issue here, builds are still failing

a year ago

Can you please link to a specific build that has failed.


brody

Can you please link to a specific build that has failed.

mezoistvan

a year ago


mezoistvan

Sure, these are the logs from the latest failed build: <https://railway.com/project/7089e588-1023-47ae-855e-81720df14929/logs?environmentId=1a126d2c-a7a6-48e8-84f2-5d8b946591dc&filter=%40snapshot%3Af16f34f8-c8ee-45fe-a28e-02eaca1baa94+OR+%40replica%3Af16f34f8-c8ee-45fe-a28e-02eaca1baa94&context=2025-08-01T14%3A11%3A03.438027157Z&start=1754057453891> Let me know if you need anything else or I should link in another format 👍

a year ago

Please link to a deployment instead of using the logs tab.


brody

Can you please link to a specific build that has failed.

mezoistvan

a year ago

Maybe this is a better way of sharing? https://railway.com/project/7089e588-1023-47ae-855e-81720df14929/service/a136ef14-d375-4a82-86e1-a222414ff1d5?context=2025-08-01T14%3A11%3A03.438027157Z&environmentId=1a126d2c-a7a6-48e8-84f2-5d8b946591dc&id=6619a7d0-cabb-4bf9-bfc5-714d320080df&forceViewAll=true#build

In any case I think these are the relevant lines:

```

mkdir /etc/mise

Cached

create mise config

Cached

install mise packages: node, pipx, pipx:poetry, python

process "sh -c mise trust -a && mise install" did not complete successfully: exit code: 1

3s

mise [email protected] install

mise [email protected] install

mise [email protected] download node-v22.18.0-linux-x64.tar.gz

mise [email protected] download cpython-3.12.11+20250723-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz

mise [email protected] extract cpython-3.12.11+20250723-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz

gpg: Signature made Thu Jul 31 21:47:23 2025 UTC gpg: using EDDSA key 5BE8A3F6C8A5C01D106C0AD820B1A390B168D356 gpg: Can't check signature: No public key

mise ERROR gpg failed gpg: Signature made Thu Jul 31 21:47:23 2025 UTC gpg: using EDDSA key 5BE8A3F6C8A5C01D106C0AD820B1A390B168D356 gpg: Can't check signature: No public key

mise [email protected] python --version

mise [email protected] Python 3.12.11

mise [email protected] ✓ installed

mise ERROR failed to install core:[email protected] mise ERROR gpg exited with non-zero status: exit code 2 mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information

ERROR: failed to build: failed to solve: process "sh -c mise trust -a && mise install" did not complete successfully: exit code: 1

```


adrianpunkt

a year ago

@brody Is there a way to force railpack to use a an older builder image? This would be a good workaround when something goes wrong with the latest update. I haven't found anything in the config and it seems to pull the latest version by default.


adrianpunkt

@brody Is there a way to force railpack to use a an older builder image? This would be a good workaround when something goes wrong with the latest update. I haven't found anything in the config and it seems to pull the latest version by default.

a year ago

The issue isn't a new Railpack version or anything like that, the issue is upstream from Railpack.


mezoistvan

Maybe this is a better way of sharing? <https://railway.com/project/7089e588-1023-47ae-855e-81720df14929/service/a136ef14-d375-4a82-86e1-a222414ff1d5?context=2025-08-01T14%3A11%3A03.438027157Z&environmentId=1a126d2c-a7a6-48e8-84f2-5d8b946591dc&id=6619a7d0-cabb-4bf9-bfc5-714d320080df&forceViewAll=true#build> In any case I think these are the relevant lines: \`\`\` mkdir /etc/mise Cached create mise config Cached install mise packages: node, pipx, pipx:poetry, python **process "sh -c mise trust -a && mise install" did not complete successfully: exit code: 1** 3s mise [email protected] install mise [email protected] install mise [email protected] download node-v22.18.0-linux-x64.tar.gz mise [email protected] download cpython-3.12.11+20250723-x86\_64-unknown-linux-gnu-install\_only\_stripped.tar.gz mise [email protected] extract cpython-3.12.11+20250723-x86\_64-unknown-linux-gnu-install\_only\_stripped.tar.gz gpg: Signature made Thu Jul 31 21:47:23 2025 UTC gpg: using EDDSA key 5BE8A3F6C8A5C01D106C0AD820B1A390B168D356 gpg: Can't check signature: No public key mise ERROR gpg failed gpg: Signature made Thu Jul 31 21:47:23 2025 UTC gpg: using EDDSA key 5BE8A3F6C8A5C01D106C0AD820B1A390B168D356 gpg: Can't check signature: No public key mise [email protected] python --version mise [email protected] Python 3.12.11 mise [email protected] ✓ installed mise ERROR failed to install core:[email protected] mise ERROR gpg exited with non-zero status: exit code 2 mise ERROR Run with --verbose or MISE\_VERBOSE=1 for more information ERROR: failed to build: failed to solve: process "sh -c mise trust -a && mise install" did not complete successfully: exit code: 1 \`\`\`

a year ago

Thank you. I have staged a variable change for you. Please apply it at your earliest convenience and let me know if that solves the build issue.


brody

Thank you. I have staged a variable change for you. Please apply it at your earliest convenience and let me know if that solves the build issue.

mezoistvan

a year ago

Thank you, this seem to be working 👍 I added it to another deployment, and it also worked there.

We have a production environment as well, will deploy that later today too, and if needed I'll add the ENV variable there as well if needed.

Is there anything else I should do?


a year ago

Thank you for letting me know it has worked. If you run into the same issue on other services, you should indeed use the same variable.

But beyond that, no further action is needed on your part, since we will be looking into applying this patch automatically from within Railpack.


chandrika
EMPLOYEE

a year ago

We've pushed a fix that should apply this patch automatically within Railway moving forward! 🙂


a year ago

We've added a workaround in Railpack so this shouldn't happen again. I can explain a bit what this error is for context.

  • On July 31, 2025 Node released version 22.18. This is the latest LTS version which Railpack uses by default
  • Mise has a feature to verify the public key of the downloaded files. This key was missing for this new release and since it is the default that Railpack uses, many users were seeing builds fail with a Can't check signature: No public key error
  • We quickly pushed and released a fix in Railpack to skip this check when using Node (https://github.com/railwayapp/railpack/pull/208). This fixed the problem for the majority of users
  • A smaller subset of users use Node in with other languages (either with a custom Railpack config file, through env vars, or via another provider). In this case our fix was not being applied
  • Today we released another fix to always skip the Node public key verification (https://github.com/railwayapp/railpack/pull/209). All Node builds should be good to go now

We still need to investigate the root cause and why the public key was missing, but the current fix was what Railway could do to workaround the upstream issue.


brody

Thank you. I have staged a variable change for you. Please apply it at your earliest convenience and let me know if that solves the build issue.

riheimes

a year ago

Do you still know what the variable was? currently troubleshooting this issue.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...