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

NodeJS upgrade breaks ubuntu 18.04 because of GLIBC 2.28 #1442

Closed
rafmsou opened this issue Aug 29, 2023 · 4 comments
Closed

NodeJS upgrade breaks ubuntu 18.04 because of GLIBC 2.28 #1442

rafmsou opened this issue Aug 29, 2023 · 4 comments

Comments

@rafmsou
Copy link

rafmsou commented Aug 29, 2023

Recent nodejs upgrade to v20 is breaking some servers which doesn't have the GLIBC 2.28 such as ubuntu 18.04:

image

I worked around by using the previous commit (f43a0e5) from the upgrade but I would like to use the latest version if its possible.

Is there another way?

@vanZeben
Copy link
Contributor

Besides downgrading checkout, there is a solution.... Sort of?

Node 18+ is incompatible with Ubuntu 18, you can read much more about it here, that's not really something within our control at all. We also do not support Ubuntu 18.04 anymore (as of April 2023 for GitHub, Ubuntu ended standard support for this image May 2023 as well), so you in order to stay on latest you will have to also update Ubuntu to a version within LTS still (20.04 will do just fine, if not 22.04).

You can read more about our 18.04 deprecations for hosted runners and available hosted images here: actions/runner-images#6002

There isn't much else we can do about this so I'm going to close this issue out.

@vanZeben vanZeben closed this as not planned Won't fix, can't repro, duplicate, stale Aug 29, 2023
@rafmsou
Copy link
Author

rafmsou commented Aug 29, 2023

@vanZeben sorry but I didn't mention I'm running on self hosted server, I don't use the action runner images.

I found the info about ubuntu 18 being supported for self hosted here: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#linux

There might be a miscommunication somewhere.

@vanZeben
Copy link
Contributor

@vanZeben sorry but I didn't mention I'm running on self hosted server, I don't use the action runner images.

I found the info about ubuntu 18 being supported for self hosted here: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#linux

There might be a miscommunication somewhere.

Unfortunately that doesn't really change anything when it comes to using node 20. Node itself isn't built with compatibility with Ubuntu 18.04 and that's not something we can change with this action. The maintainers of node would need to do something about that. Either way, I would still recommend upgrading to an Ubuntu LTS image if you would like to use node 18+.

That being said it seems there's a potential workaround by building node18 on your image manually, which is something that you will have to maintain.

vadz added a commit to vadz/soci that referenced this issue Mar 20, 2024
v3 of this action triggers deprecation warnings and will stop working
soon, while v4 doesn't work under Ubuntu 18.04 which we use for ODBC
testing due to actions/checkout#1442
vadz added a commit to SOCI/soci that referenced this issue Mar 20, 2024
v3 of this action triggers deprecation warnings and will stop working
soon, while v4 doesn't work under Ubuntu 18.04 which we use for ODBC
testing due to actions/checkout#1442

Closes #1132.
vadz added a commit to vadz/xmlwrapp that referenced this issue May 20, 2024
It doesn't work there because the current Node used by this action
doesn't support Ubuntu 18.04.

See actions/checkout#1442 (for the same issue
in another action).
vadz added a commit to vadz/xmlwrapp that referenced this issue May 20, 2024
It doesn't work there because the current Node used by this action
doesn't support Ubuntu 18.04.

See actions/checkout#1442 (for the same issue
in another action).
@TCarmine
Copy link

Basically all in once all those server on ubuntu 18.04 become legacy

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

3 participants