ether / etherpad-lite

Etherpad: A modern really-real-time collaborative document editor.
http://docs.etherpad.org/
Apache License 2.0
16.72k stars 2.85k forks source link

Docker-version nodejs too new #6687

Open Artim96 opened 1 month ago

Artim96 commented 1 month ago

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):

SamTV12345 commented 1 month ago

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 commented 2 weeks ago

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

Attention: potentially dangerous link!

Conkernel commented 1 week ago

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!