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

Docker-version nodejs too new #6687

Open
Artim96 opened this issue Sep 30, 2024 · 3 comments
Open

Docker-version nodejs too new #6687

Artim96 opened this issue Sep 30, 2024 · 3 comments

Comments

@Artim96
Copy link

Artim96 commented Sep 30, 2024

Describe the bug
I'm currently trying to run etherpad from docker. It seems the nodejs version is too new, so etherpad is completely not functional. Starting the container (without deamonizing) I get the message "oidc-provider WARNING: Unsupported runtime. Use Node.js v18.x LTS, or a later LTS release." Checking the node version inside the container reveals v22.9.0. Opening its web interface, the admin page works, but the home page already doesn't. It's an almost blank page not showing much more than the field to set the pad name. And trying to open a pad from there doesn't result in anything happening.

To Reproduce
Steps to reproduce the behavior:

  1. Start container with docker compose up

Server (please complete the following information):

  • Etherpad version: 2.2.5
  • OS: default Docker container with Alpine Linux v3.20
  • Node.js version (node --version): v22.9.0
  • npm version (npm --version): 10.8.3
  • Is the server free of plugins: yes
@SamTV12345
Copy link
Member

Thanks for the issue. At some point I'll need to fork the dependency. This comes for whatever reason from a library that hasn't been updated. If you'd use the old NodeJS 18 runtime it won't display an error. But the big thing is everything is fine you can ignore the error for now.

@Artim96
Copy link
Author

Artim96 commented Oct 25, 2024

to fix your trouble check this solution click maybe this will solve your problem.

Attention: potentially dangerous link!

@Conkernel
Copy link

Hi

Same here.

 ep_etherpad-lite@2.2.6 prod /opt/etherpad-lite/src
ethpad           | > cross-env NODE_ENV=production node --require tsx/cjs node/server.ts
ethpad           | 
ethpad           | [2024-11-07T11:54:12.317] [INFO] settings - All relative paths will be interpreted relative to the identified Etherpad base dir: /opt/etherpad-lite
ethpad           | [2024-11-07T11:54:12.355] [INFO] settings - settings loaded from: /opt/etherpad-lite/settings.json
ethpad           | [2024-11-07T11:54:12.362] [INFO] settings - No credentials file found in /opt/etherpad-lite/credentials.json. Ignoring.
ethpad           | [2024-11-07T11:54:12.364] [WARN] settings - loglevel: INFO
ethpad           | [2024-11-07T11:54:12.364] [WARN] settings - logLayoutType: colored
ethpad           | [2024-11-07T11:54:12.366] [INFO] settings - Using skin "colibris" in dir: /opt/etherpad-lite/src/static/skins/colibris
ethpad           | [2024-11-07T11:54:12.368] [INFO] settings - Random string used for versioning assets: 3ae94996
ethpad           | [2024-11-07T11:54:14.027] [INFO] server - Starting Etherpad...
ethpad           | [2024-11-07T11:54:14.174] [INFO] plugins - pnpm --version: 9.0.4
ethpad           | [2024-11-07T11:54:14.259] [INFO] plugins - check installed plugins for migration
ethpad           | [2024-11-07T11:54:14.260] [INFO] plugins - start migration of plugins in node_modules
ethpad           | [2024-11-07T11:54:15.709] [INFO] plugins - Loading plugin ep_etherpad-lite...
ethpad           | [2024-11-07T11:54:15.711] [INFO] plugins - Loaded 1 plugins
**ethpad           | [2024-11-07T11:54:17.974] [WARN] settings - oidc-provider WARNING: Unsupported runtime. Use Node.js v18.x LTS, or a later LTS release.**
ethpad           | [2024-11-07T11:54:19.582] [INFO] server - Installed plugins: 
ethpad           | [2024-11-07T11:54:19.586] [INFO] settings - Report bugs at https://github.com/ether/etherpad-lite/issues
ethpad           | [2024-11-07T11:54:19.589] [INFO] settings - Your Etherpad version is 2.2.6 (0c68ddc)
ethpad           | [2024-11-07T11:54:21.572] [INFO] http - HTTP server listening for connections
ethpad           | [2024-11-07T11:54:21.573] [INFO] settings - You can access your Etherpad instance at http://0.0.0.0:9001/
ethpad           | [2024-11-07T11:54:21.573] [INFO] settings - The plugin admin page is at http://0.0.0.0:9001/admin/plugins
ethpad           | [2024-11-07T11:54:21.573] [INFO] server - Etherpad is running
ethpad           | [2024-11-07T11:54:24.041] [INFO] Minify - Compress CSS file skins/colibris/index.css.
ethpad           | [2024-11-07T11:54:24.361] [INFO] Minify - Compress JS file skins/colibris/index.js.

In my case, it's a new and clean deployment using docker.

So, is it fine to just ignore this warning?

Thanks!

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
@Artim96 @Conkernel @SamTV12345 and others