Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error relocating /__e/node20_alpine/bin/node: secure_getenv: symbol not found #1828

Open
max-rocket-internet opened this issue Jul 19, 2024 · 3 comments

Comments

@max-rocket-internet
Copy link

Heya,
About 1-2 weeks ago, for just one of our actions, actions/checkout started failing with this error:

/usr/bin/docker exec  23323b6854a80420624e41031cc74510894cec3bf0f4090a06aba78ccafd2cbe sh -c "cat /etc/*release | grep ^ID"
Error relocating /__e/node20_alpine/bin/node: secure_getenv: symbol not found

You can see the error here and config for this action here.

I don't really understand why our other actions (e.g)with the same step and version, actions/[email protected], don't fail.

I guess it's got something to do with switching to new version of Node. It also looks similar to #1809

@Bruno12leonel
Copy link

I tried to use actions/checkout@v1 and it worked for me.

@clarkmcc
Copy link

I'm also getting this error on ubuntu-latest running actions/checkout@v4

Run actions/checkout@v4
/usr/bin/docker exec  a697b3363e0a080ce3b94326bace46e245849dd546c3ed2adfb0732cbf427eaa sh -c "cat /etc/*release | grep ^ID"
##[debug]ID=alpine
##[debug]Container distribution is alpine. Running JavaScript Action with external tool: node20_alpine
Error relocating /__e/node20_alpine/bin/node: secure_getenv: symbol not found
##[debug]Node Action run completed with exit code 127
##[debug]Finishing: Run actions/checkout@v4

@benyakhlef
Copy link

Hello,
It seems that the ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true environment variable no longer works in GitHub Actions. Even when explicitly setting it in the workflow, it appears that GitHub no longer recognizes or honors this configuration.

This issue is impacting our workflows, particularly with actions like actions/checkout, which now fail due to Node.js version restrictions.

Could you confirm if GitHub has officially deprecated support for this variable? If so, what are the recommended alternatives to address scenarios where older Node.js versions are required?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants