Open signed-log opened 4 weeks ago
The problem with the admin interface/ui should be fixed by going to the admin folder and executing pnpm run build. Then you just need to execute cp ./dist/* ../src/templates/admin
Describe the bug A clear and concise description of what the bug is.
I am unable to open any pad (stuck on Loading) and can't open admin page either (500 error)
To Reproduce Steps to reproduce the behavior:
- Get a 1.9.7 instance working
- Update to 2.x
Expected behavior A clear and concise description of what you expected to happen.
Still working as usual
Screenshots If applicable, add screenshots to help explain your problem.
Server (please complete the following information):
- Etherpad version: 2.0.0-2.0.2 (upgraded from 1.9.7)
- OS: Debian 12
- Node.js version (
node --version
): 21.7.3- npm version (
npm --version
): 10.5.0- Is the server free of plugins: yes
Desktop (please complete the following information):
- OS: Windows 11
- Browser Edge,Firefox
- Version 123,125
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
[2024-04-19T14:07:57.957] [INFO] settings - All relative paths will be interpreted relative to the identified Etherpad base dir: /home/etherpad/etherpad-lite [2024-04-19T14:07:57.965] [INFO] settings - settings loaded from: /home/etherpad/etherpad-lite/settings.json [2024-04-19T14:07:57.966] [INFO] settings - Rooting is undefined [2024-04-19T14:07:57.966] [INFO] settings - No credentials file found in /home/etherpad/etherpad-lite/credentials.json. Ignoring. [2024-04-19T14:07:57.966] [INFO] settings - Using skin "colibris" in dir: /home/etherpad/etherpad-lite/src/static/skins/colibris [2024-04-19T14:07:57.967] [DEBUG] AbsolutePaths - Relative path "./SESSIONKEY.txt" can be rewritten to "/home/etherpad/etherpad-lite/SESSIONKEY.txt" [2024-04-19T14:07:57.967] [INFO] settings - Session key loaded from: /home/etherpad/etherpad-lite/SESSIONKEY.txt [2024-04-19T14:07:57.967] [WARN] settings - The sessionKey setting and /home/etherpad/etherpad-lite/SESSIONKEY.txt file are deprecated; use automatic key rotation instead (see the cookie.keyRotationInterval setting). [2024-04-19T14:07:57.967] [INFO] settings - Random string used for versioning assets: 15e5402e [2024-04-19T14:07:57.972] [DEBUG] runCmd - Executing command: pnpm --version [2024-04-19T14:07:57.973] [DEBUG] runCmd - cwd: /home/etherpad/etherpad-lite [2024-04-19T14:07:57.973] [DEBUG] runCmd - PATH=/home/etherpad/etherpad-lite/src/node_modules/.bin:/home/etherpad/etherpad-lite/node_modules/.bin:/home/etherpad/etherpad-lite/src/node_modules/.bin:/home/etherpad/.cache/node/corepack/v1/pnpm/9.0.4/dist/node-gyp-bin:/home/etherpad/etherpad-lite/node_modules/.bin:/home/etherpad/etherpad-lite/node_modules/.bin:/home/etherpad/.cache/node/corepack/v1/pnpm/9.0.4/dist/node-gyp-bin:/home/etherpad/etherpad-lite/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games [2024-04-19T14:07:57.977] [DEBUG] settings - Running on Node v21.7.3 (minimum required Node version: 18.18.2) [2024-04-19T14:07:58.436] [INFO] server - Starting Etherpad... [2024-04-19T14:07:58.460] [DEBUG] server - Removing SIGINT listener because it might interfere with shutdown tasks. Function code: function listener () { /* istanbul ignore if */ if (!processOk(global.process)) { return } // If there are no other listeners, an exit is coming! // Simplest way: remove us and then re-send the signal. // We know that this will kill the process, so we can // safely emit now. var listeners = process.listeners(sig) if (listeners.length === emitter.count) { unload() emit('exit', null, sig) /* istanbul ignore next */ emit('afterexit', null, sig) /* istanbul ignore next */ if (isWin && sig === 'SIGHUP') { // "SIGHUP" throws an `ENOSYS` error on Windows, // so use a supported signal instead sig = 'SIGINT' } /* istanbul ignore next */ process.kill(process.pid, sig) } } Current stack: at removeSignalListener (/home/etherpad/etherpad-lite/src/node/server.ts:75:35) at Object.exports.start (/home/etherpad/etherpad-lite/src/node/server.ts:136:9) at err (/home/etherpad/etherpad-lite/src/node/server.ts:283:38) at Object.<anonymous> (/home/etherpad/etherpad-lite/src/node/server.ts:286:61) at Module._compile (node:internal/modules/cjs/loader:1368:14) at Object.S (/home/etherpad/etherpad-lite/node_modules/.pnpm/tsx@4.7.2/node_modules/tsx/dist/cjs/index.cjs:1:1292) at Module.load (node:internal/modules/cjs/loader:1205:32) at Module._load (node:internal/modules/cjs/loader:1021:12) at cjsLoader (node:internal/modules/esm/translators:366:17) at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:315:7) at ModuleJob.run (node:internal/modules/esm/module_job:222:25) at async ModuleLoader.import (node:internal/modules/esm/loader:323:24) at async loadESM (node:internal/process/esm_loader:28:7) at async handleMainPromise (node:internal/modules/run_main:120:12) [2024-04-19T14:07:58.461] [DEBUG] server - Removing SIGTERM listener because it might interfere with shutdown tasks. Function code: function listener () { /* istanbul ignore if */ if (!processOk(global.process)) { return } // If there are no other listeners, an exit is coming! // Simplest way: remove us and then re-send the signal. // We know that this will kill the process, so we can // safely emit now. var listeners = process.listeners(sig) if (listeners.length === emitter.count) { unload() emit('exit', null, sig) /* istanbul ignore next */ emit('afterexit', null, sig) /* istanbul ignore next */ if (isWin && sig === 'SIGHUP') { // "SIGHUP" throws an `ENOSYS` error on Windows, // so use a supported signal instead sig = 'SIGINT' } /* istanbul ignore next */ process.kill(process.pid, sig) } } Current stack: at removeSignalListener (/home/etherpad/etherpad-lite/src/node/server.ts:75:35) at Object.exports.start (/home/etherpad/etherpad-lite/src/node/server.ts:136:9) at err (/home/etherpad/etherpad-lite/src/node/server.ts:283:38) at Object.<anonymous> (/home/etherpad/etherpad-lite/src/node/server.ts:286:61) at Module._compile (node:internal/modules/cjs/loader:1368:14) at Object.S (/home/etherpad/etherpad-lite/node_modules/.pnpm/tsx@4.7.2/node_modules/tsx/dist/cjs/index.cjs:1:1292) at Module.load (node:internal/modules/cjs/loader:1205:32) at Module._load (node:internal/modules/cjs/loader:1021:12) at cjsLoader (node:internal/modules/esm/translators:366:17) at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:315:7) at ModuleJob.run (node:internal/modules/esm/module_job:222:25) at async ModuleLoader.import (node:internal/modules/esm/loader:323:24) at async loadESM (node:internal/process/esm_loader:28:7) at async handleMainPromise (node:internal/modules/run_main:120:12) [2024-04-19T14:07:58.463] [ERROR] settings - (node:1735) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the warning was created) [2024-04-19T14:07:58.466] [DEBUG] runCmd - Command returned successfully: pnpm --version [2024-04-19T14:07:58.466] [INFO] plugins - pnpm --version: 9.0.4 [2024-04-19T14:07:58.473] [INFO] plugins - check installed plugins for migration [2024-04-19T14:07:58.474] [DEBUG] plugins - create symlink for ep_dividing_line to /home/etherpad/etherpad-lite/src/node_modules/ep_dividing_line [2024-04-19T14:07:58.478] [INFO] plugins - Loading plugin ep_dividing_line... [2024-04-19T14:07:58.478] [INFO] plugins - Loading plugin ep_etherpad-lite... [2024-04-19T14:07:58.478] [INFO] plugins - Loaded 2 plugins [2024-04-19T14:07:59.278] [WARN] settings - oidc-provider WARNING: Unsupported runtime. Use Node.js v18.x LTS, or a later LTS release. [2024-04-19T14:07:59.621] [DEBUG] server - Removing SIGINT listener because it might interfere with shutdown tasks. Function code: () => terminateWorkersAndMaster() Current stack: at removeSignalListener (/home/etherpad/etherpad-lite/src/node/server.ts:75:35) at process.<anonymous> (/home/etherpad/etherpad-lite/src/node/server.ts:142:9) at process.emit (node:events:531:35) at process.emit (node:domain:488:12) at process.processEmit [as emit] (/home/etherpad/etherpad-lite/node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js:199:34) at _addListener (node:events:562:14) at process.addListener (node:events:611:10) at initWorkerThreadsWorker (/home/etherpad/etherpad-lite/node_modules/.pnpm/threads@1.7.0/node_modules/threads/dist/master/implementation.node.js:138:13) at selectWorkerImplementation (/home/etherpad/etherpad-lite/node_modules/.pnpm/threads@1.7.0/node_modules/threads/dist/master/implementation.node.js:223:16) at Object.getWorkerImplementation (/home/etherpad/etherpad-lite/node_modules/.pnpm/threads@1.7.0/node_modules/threads/dist/master/implementation.node.js:234:26) at Object.<anonymous> (/home/etherpad/etherpad-lite/node_modules/.pnpm/threads@1.7.0/node_modules/threads/dist/master/index.js:13:39) at Module._compile (node:internal/modules/cjs/loader:1368:14) at Object.S (/home/etherpad/etherpad-lite/node_modules/.pnpm/tsx@4.7.2/node_modules/tsx/dist/cjs/index.cjs:1:1292) at Module.load (node:internal/modules/cjs/loader:1205:32) at Module._load (node:internal/modules/cjs/loader:1021:12) at Module.require (node:internal/modules/cjs/loader:1230:19) [2024-04-19T14:07:59.622] [DEBUG] server - Removing SIGTERM listener because it might interfere with shutdown tasks. Function code: () => terminateWorkersAndMaster() Current stack: at removeSignalListener (/home/etherpad/etherpad-lite/src/node/server.ts:75:35) at process.<anonymous> (/home/etherpad/etherpad-lite/src/node/server.ts:142:9) at process.emit (node:events:531:35) at process.emit (node:domain:488:12) at process.processEmit [as emit] (/home/etherpad/etherpad-lite/node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js:199:34) at _addListener (node:events:562:14) at process.addListener (node:events:611:10) at initWorkerThreadsWorker (/home/etherpad/etherpad-lite/node_modules/.pnpm/threads@1.7.0/node_modules/threads/dist/master/implementation.node.js:139:13) at selectWorkerImplementation (/home/etherpad/etherpad-lite/node_modules/.pnpm/threads@1.7.0/node_modules/threads/dist/master/implementation.node.js:223:16) at Object.getWorkerImplementation (/home/etherpad/etherpad-lite/node_modules/.pnpm/threads@1.7.0/node_modules/threads/dist/master/implementation.node.js:234:26) at Object.<anonymous> (/home/etherpad/etherpad-lite/node_modules/.pnpm/threads@1.7.0/node_modules/threads/dist/master/index.js:13:39) at Module._compile (node:internal/modules/cjs/loader:1368:14) at Object.S (/home/etherpad/etherpad-lite/node_modules/.pnpm/tsx@4.7.2/node_modules/tsx/dist/cjs/index.cjs:1:1292) at Module.load (node:internal/modules/cjs/loader:1205:32) at Module._load (node:internal/modules/cjs/loader:1021:12) at Module.require (node:internal/modules/cjs/loader:1230:19) [2024-04-19T14:07:59.627] [INFO] server - Installed plugins: ep_dividing_line@0.0.2 [2024-04-19T14:07:59.627] [DEBUG] server - Installed parts: ep_etherpad-lite/openapi ep_etherpad-lite/adminsettings ep_etherpad-lite/adminplugins ep_etherpad-lite/admin ep_etherpad-lite/tests ep_etherpad-lite/socketio ep_etherpad-lite/errorhandling ep_etherpad-lite/importexport ep_etherpad-lite/apicalls ep_etherpad-lite/padurlsanitize ep_etherpad-lite/oauth2 ep_etherpad-lite/specialpages ep_etherpad-lite/i18n ep_etherpad-lite/stats ep_etherpad-lite/static ep_etherpad-lite/express ep_etherpad-lite/Minify ep_etherpad-lite/DB ep_dividing_line/ep_dividing_line [2024-04-19T14:07:59.628] [DEBUG] server - Installed server-side hooks: createServer: ep_etherpad-lite: express: ep_etherpad-lite/node/hooks/express eejsBlock_editbarMenuLeft: ep_dividing_line: ep_dividing_line: ep_dividing_line/index expressCloseServer: ep_etherpad-lite: socketio: ep_etherpad-lite/node/hooks/express/socketio expressCreateServer: ep_etherpad-lite: admin: ep_etherpad-lite/node/hooks/express/admin errorhandling: ep_etherpad-lite/node/hooks/express/errorhandling importexport: ep_etherpad-lite/node/hooks/express/importexport oauth2: ep_etherpad-lite/node/security/OAuth2Provider padurlsanitize: ep_etherpad-lite/node/hooks/express/padurlsanitize socketio: ep_etherpad-lite/node/hooks/express/socketio specialpages: ep_etherpad-lite/node/hooks/express/specialpages expressPreSession: ep_etherpad-lite: apicalls: ep_etherpad-lite/node/hooks/express/apicalls i18n: ep_etherpad-lite/node/hooks/i18n openapi: ep_etherpad-lite/node/hooks/express/openapi specialpages: ep_etherpad-lite/node/hooks/express/specialpages static: ep_etherpad-lite/node/hooks/express/static tests: ep_etherpad-lite/node/hooks/express/tests restartServer: ep_etherpad-lite: express: ep_etherpad-lite/node/hooks/express shutdown: ep_etherpad-lite: DB: ep_etherpad-lite/node/db/DB express: ep_etherpad-lite/node/hooks/express Minify: ep_etherpad-lite/node/utils/Minify stats: ep_etherpad-lite/node/stats socketio: ep_etherpad-lite: adminplugins: ep_etherpad-lite/node/hooks/express/adminplugins adminsettings: ep_etherpad-lite/node/hooks/express/adminsettings socketio: ep_etherpad-lite/node/handler/PadMessageHandler [2024-04-19T14:07:59.628] [INFO] settings - Report bugs at https://github.com/ether/etherpad-lite/issues [2024-04-19T14:07:59.628] [INFO] settings - Your Etherpad version is 2.0.2 (a5f4d3e) [2024-04-19T14:07:59.630] [DEBUG] secret-rotation expressSessionSecrets - new secret rotator (interval 86400000, lifetime: 864000000) [2024-04-19T14:07:59.630] [DEBUG] secret-rotation expressSessionSecrets - starting secret rotation [2024-04-19T14:07:59.651] [ERROR] settings - Can not perform Etherpad update check: AggregateError [2024-04-19T14:07:59.660] [DEBUG] ueberDB - GET - expressSessionSecrets:*-null - ["expressSessionSecrets:10d72b64e59bb2abe67e48082ac983dbde206f8641dc64b962f15eead355131a"] - from database [2024-04-19T14:07:59.664] [DEBUG] ueberDB - GET - expressSessionSecrets:10d72b64e59bb2abe67e48082ac983dbde206f8641dc64b962f15eead355131a - {"algId":1,"algParams":{"digest":"sha256","keyLen":32,"salt":"892a665b03718ba74967bd3abb611d8e6c2a1dd993f12f093d151cc7178bb46d","secret":"cf493bba3b285effbdea41be2d985a3b06c34e2ffe9b310f7ceeec3ca0a2b15b"},"start":1704191067438,"end":1713657600000,"interval":86400000,"lifetime":864000000} - from database [2024-04-19T14:07:59.665] [DEBUG] secret-rotation expressSessionSecrets - deriving secrets from { algId: 1, algParams: { digest: 'sha256', keyLen: 32, salt: '892a665b03718ba74967bd3abb611d8e6c2a1dd993f12f093d151cc7178bb46d', secret: 'cf493bba3b285effbdea41be2d985a3b06c34e2ffe9b310f7ceeec3ca0a2b15b' }, start: 1704191067438, end: 1713657600000, interval: 86400000, lifetime: 864000000 } [2024-04-19T14:07:59.665] [DEBUG] secret-rotation expressSessionSecrets - now: 1713535679630 t0: 1713484800000 tA: 1704067200000 tZ: 1713571200000 [2024-04-19T14:07:59.665] [DEBUG] secret-rotation expressSessionSecrets - deriving secrets for intervals with start times: [ 1713484800000, 1713398400000, 1713312000000, 1713225600000, 1713139200000, 1713052800000, 1712966400000, 1712880000000, 1712793600000, 1712707200000, 1712620800000, 1712534400000, 1713571200000 ] [2024-04-19T14:07:59.667] [DEBUG] ueberDB - SET - expressSessionSecrets:10d72b64e59bb2abe67e48082ac983dbde206f8641dc64b962f15eead355131a - {"algId":1,"algParams":{"digest":"sha256","keyLen":32,"salt":"892a665b03718ba74967bd3abb611d8e6c2a1dd993f12f093d151cc7178bb46d","secret":"cf493bba3b285effbdea41be2d985a3b06c34e2ffe9b310f7ceeec3ca0a2b15b"},"start":1704191067438,"end":1713657600000,"interval":86400000,"lifetime":864000000} - to buffer [2024-04-19T14:07:59.667] [DEBUG] secret-rotation expressSessionSecrets - active secrets: [ 'ba0aa47c940783b52e4e4cc754e6c7d8d2f59d4be7d68956d1a6a9d45b30acab', '883ebd96bb767bc9734ecd13cc92a08316a6321bb504ad6460efccb3a0422ab7', 'be3476587d1fef03bb635dc24800a6de4c8296a0007e1d587a2079406994153b', '4368b401b17b71ef718dcb3e9f00396758006ef099c5d64eb720c99b618a8768', '0301d2f6abd5427725f13edbc939797214a58468fd7f478658fc45af17f1676d', '846b2b5c0ace1ea242b22de13a703be5b6764b4fc4d26b0e199d7ef69a662f03', '996397b1309fc4dd2786b7297efa8d45d073f5a429a1a3408410fe8e7a1c36d5', 'bc49379387f569914053bfd8de600f45d19f614ebfc1f89a7cfe49b1ea357b1c', 'af5ddb60a8a53782dad648be82a6cc923675f39399cf0d935a0ed437254322e5', 'edbef28e8a84df426d4a3d922fa0ffc2f56908ea310a21b63b8b304b3c38f53d', '86b1e2d5085379576a7857fd51f75d527047c8173f22e87ea6dc624d81b6ddcf', '759b811bca922c318e4d6f868de8417640304211ff19979761be455bc879988b', '3a7978716b0f592d39a6802868bb251d5f3fd19f0805c929ebb240d5d80a58b5' ] [2024-04-19T14:08:00.706] [INFO] http - HTTP server listening for connections [2024-04-19T14:08:00.706] [INFO] settings - You can access your Etherpad instance at http://0.0.0.0:9001/ [2024-04-19T14:08:00.706] [INFO] settings - The plugin admin page is at http://0.0.0.0:9001/admin/plugins [2024-04-19T14:08:00.706] [INFO] server - Etherpad is running [2024-04-19T14:08:01.072] [ERROR] settings - Error: ENOENT: no such file or directory, stat '/home/etherpad/etherpad-lite/src/templates/admin/index.html' [2024-04-19T14:08:01.072] [DEBUG] http - 500, GET /admin/ [2024-04-19T14:08:02.266] [ERROR] settings - Error: ENOENT: no such file or directory, stat '/home/etherpad/etherpad-lite/src/templates/admin/index.html' [2024-04-19T14:08:02.266] [DEBUG] http - 500, GET /admin/
Doesn't seem to be an error in upgrading. I just upgraded Etherpad v1.9.4 to v2.0.2. Everything worked perfectly. It could be a plugin error
ep_dividing_line
The plugin also worked perfectly fine with the latest version. There must be something else causing a crash of Etherpad
The frontend is stuck on loading, but, on debug mode, the pad is successfully printed in the logs.
Maybe that installation is too ancient to survive update (used to rest in a Debian 9 VM, was stuck in a random 2020 commit when I got it, hand held it from that to 1.9.7)
What would be the way to go about backing up and spinning up a new clean instance? Copy database and some folders?
The frontend is stuck on loading, but, on debug mode, the pad is successfully printed in the logs.
Maybe that installation is too ancient to survive update (used to rest in a Debian 9 VM, was stuck in a random 2020 commit when I got it, hand held it from that to 1.9.7)
What would be the way to go about backing up and spinning up a new clean instance? Copy database and some folders?
Hmm so the data can be retrieved without a problem. Can you set minify: false in your settings.json? Maybe it's some weird cache problem.
I disabled minifing, but probably found the issue @SamTV12345
Hitting the server both through the Caddy reverse proxy we are using or directly through the Node server
There's this warning
Source map error: request failed with status 502 Resource URL: http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00 Source Map URL: underscore-umd.js.map
Then we hit websocket 400 error, then XHR poll fallback errors according to Edge and Firefox consoles
GET ws://10.2.0.42:9001/socket.io/?padId=c5F9ieWVMKBsMnwxsFNX&EIO=4&transport=websocket
The stack trace point out to :
https://github.com/ether/etherpad-lite/blob/e12be961025ab349158aedb60fa369f519ce8659/src/templates/pad.html#L480 and https://github.com/ether/etherpad-lite/blob/e12be961025ab349158aedb60fa369f519ce8659/src/templates/pad.html#L502
doOpen
[websocket.js:43:26](http://10.2.0.42:9001/node_modules/engine.io-client/build/esm/transports/websocket.js)
open
[transport.js:46:13](http://10.2.0.42:9001/node_modules/engine.io-client/build/esm/transport.js)
open
[socket.js:170:18](http://10.2.0.42:9001/node_modules/engine.io-client/build/esm/socket.js)
Socket
[socket.js:111:13](http://10.2.0.42:9001/node_modules/engine.io-client/build/esm/socket.js)
open
[manager.js:108:22](http://10.2.0.42:9001/build/esm/manager.js)
Manager
[manager.js:39:17](http://10.2.0.42:9001/build/esm/manager.js)
lookup
[index.js:29:24](http://10.2.0.42:9001/build/esm/index.js)
connect
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/pad.js:6392:20](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/pad.js?callback=require.define&v=3a4a9c00)
handshake
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/pad.js:221:34](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/pad.js?callback=require.define&v=3a4a9c00)
(module ep_etherpad-lite/static/js/pad.js)/init/</<
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/pad.js:389:13](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/pad.js?callback=require.define&v=3a4a9c00)
(module ep_etherpad-lite/static/js/pad.js)/init/<
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/pad.js:391:7](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/pad.js?callback=require.define&v=3a4a9c00)
mightThrow
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:3859:30](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00)
(module ep_etherpad-lite/static/js/vendors/jquery.js)/</Deferred/then/resolve/</process<
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:3927:13](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00)
(Async: setTimeout handler) (module ep_etherpad-lite/static/js/vendors/jquery.js)/</Deferred/then/resolve/<
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:3972:17](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00)
fire
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:3593:32](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00)
add
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:3652:8](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00)
(module ep_etherpad-lite/static/js/vendors/jquery.js)/</Deferred/then/<
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:3992:25](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00)
Deferred
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:4083:10](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00)
then
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:3977:21](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00)
(module ep_etherpad-lite/static/js/vendors/jquery.js)/</jQuery.fn.ready
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:4176:5](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00)
(module ep_etherpad-lite/static/js/vendors/jquery.js)/</jQuery.fn.init
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:3320:11](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00)
jQuery
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:539:11](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00)
init
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/pad.js:384:6](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/pad.js?callback=require.define&v=3a4a9c00)
init
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/pad.js:734:24](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/pad.js?callback=require.define&v=3a4a9c00)
<anonymous>
[http://10.2.0.42:9001/p/c5F9ieWVMKBsMnwxsFNX:737:15](http://10.2.0.42:9001/p/c5F9ieWVMKBsMnwxsFNX)
(Async: setTimeout handler) callback
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:13174:36](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00)
(module ep_etherpad-lite/static/js/pluginfw/client_plugins.js)/exports.update/<
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:13183:5](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00)
fire
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:3593:32](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00)
fireWith
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:3723:8](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00)
done
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:9997:15](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00)
(module ep_etherpad-lite/static/js/vendors/jquery.js)/</</send/callback/<
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:10258:18](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00)
(Async: EventHandlerNonNull) send
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:10277:19](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00)
ajax
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:9891:16](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00)
(module ep_etherpad-lite/static/js/vendors/jquery.js)/</</jQuery[method]
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:10047:18](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00)
getJSON
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:10028:18](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00)
(module ep_etherpad-lite/static/js/pluginfw/client_plugins.js)/exports.update
[http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:13176:10](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00)
<anonymous>
[http://10.2.0.42:9001/p/c5F9ieWVMKBsMnwxsFNX:725:17](http://10.2.0.42:9001/p/c5F9ieWVMKBsMnwxsFNX)
<anonymous>
[http://10.2.0.42:9001/p/c5F9ieWVMKBsMnwxsFNX:747:8](http://10.2.0.42:9001/p/c5F9ieWVMKBsMnwxsFNX)
Since it's plugin related, I rm -rf node_modules
and retried, but with no success
I disabled minifing, but probably found the issue @SamTV12345
Hitting the server both through the Caddy reverse proxy we are using or directly through the Node server
There's this warning
Source map error: request failed with status 502 Resource URL: http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00 Source Map URL: underscore-umd.js.map
Then we hit websocket 400 error, then XHR poll fallback errors according to Edge and Firefox consoles
GET ws://10.2.0.42:9001/socket.io/?padId=c5F9ieWVMKBsMnwxsFNX&EIO=4&transport=websocket
The stack trace point out to :
doOpen [websocket.js:43:26](http://10.2.0.42:9001/node_modules/engine.io-client/build/esm/transports/websocket.js) open [transport.js:46:13](http://10.2.0.42:9001/node_modules/engine.io-client/build/esm/transport.js) open [socket.js:170:18](http://10.2.0.42:9001/node_modules/engine.io-client/build/esm/socket.js) Socket [socket.js:111:13](http://10.2.0.42:9001/node_modules/engine.io-client/build/esm/socket.js) open [manager.js:108:22](http://10.2.0.42:9001/build/esm/manager.js) Manager [manager.js:39:17](http://10.2.0.42:9001/build/esm/manager.js) lookup [index.js:29:24](http://10.2.0.42:9001/build/esm/index.js) connect [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/pad.js:6392:20](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/pad.js?callback=require.define&v=3a4a9c00) handshake [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/pad.js:221:34](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/pad.js?callback=require.define&v=3a4a9c00) (module ep_etherpad-lite/static/js/pad.js)/init/</< [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/pad.js:389:13](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/pad.js?callback=require.define&v=3a4a9c00) (module ep_etherpad-lite/static/js/pad.js)/init/< [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/pad.js:391:7](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/pad.js?callback=require.define&v=3a4a9c00) mightThrow [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:3859:30](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00) (module ep_etherpad-lite/static/js/vendors/jquery.js)/</Deferred/then/resolve/</process< [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:3927:13](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00) (Async: setTimeout handler) (module ep_etherpad-lite/static/js/vendors/jquery.js)/</Deferred/then/resolve/< [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:3972:17](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00) fire [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:3593:32](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00) add [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:3652:8](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00) (module ep_etherpad-lite/static/js/vendors/jquery.js)/</Deferred/then/< [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:3992:25](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00) Deferred [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:4083:10](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00) then [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:3977:21](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00) (module ep_etherpad-lite/static/js/vendors/jquery.js)/</jQuery.fn.ready [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:4176:5](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00) (module ep_etherpad-lite/static/js/vendors/jquery.js)/</jQuery.fn.init [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:3320:11](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00) jQuery [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:539:11](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00) init [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/pad.js:384:6](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/pad.js?callback=require.define&v=3a4a9c00) init [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/pad.js:734:24](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/pad.js?callback=require.define&v=3a4a9c00) <anonymous> [http://10.2.0.42:9001/p/c5F9ieWVMKBsMnwxsFNX:737:15](http://10.2.0.42:9001/p/c5F9ieWVMKBsMnwxsFNX) (Async: setTimeout handler) callback [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:13174:36](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00) (module ep_etherpad-lite/static/js/pluginfw/client_plugins.js)/exports.update/< [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:13183:5](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00) fire [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:3593:32](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00) fireWith [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:3723:8](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00) done [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:9997:15](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00) (module ep_etherpad-lite/static/js/vendors/jquery.js)/</</send/callback/< [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:10258:18](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00) (Async: EventHandlerNonNull) send [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:10277:19](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00) ajax [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:9891:16](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00) (module ep_etherpad-lite/static/js/vendors/jquery.js)/</</jQuery[method] [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:10047:18](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00) getJSON [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:10028:18](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00) (module ep_etherpad-lite/static/js/pluginfw/client_plugins.js)/exports.update [http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js:13176:10](http://10.2.0.42:9001/javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=3a4a9c00) <anonymous> [http://10.2.0.42:9001/p/c5F9ieWVMKBsMnwxsFNX:725:17](http://10.2.0.42:9001/p/c5F9ieWVMKBsMnwxsFNX) <anonymous> [http://10.2.0.42:9001/p/c5F9ieWVMKBsMnwxsFNX:747:8](http://10.2.0.42:9001/p/c5F9ieWVMKBsMnwxsFNX)
Since it's plugin related, I
rm -rf node_modules
and retried, but with no success
The plugins are now saved in the plugin_packages directory. If you remove there a plugin you also need to remove it from the file installed_plugins in var folder
Describe the bug A clear and concise description of what the bug is.
I am unable to open any pad (stuck on Loading) and can't open admin page either (500 error)
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Still working as usual
Screenshots If applicable, add screenshots to help explain your problem.
Server (please complete the following information):
node --version
): 21.7.3npm --version
): 10.5.0Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.