question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Etherpad stops finishing its startup process after update to 1.8.12 - Solution: Uninstall sketchy plugin(s)

See original GitHub issue

Describe the bug I usually use EP from Git. However, the last working version was 94a65062c7cf494bc0d6ee89754f2b123a2e6ac8 - git fetch ; git pull will break Etherpad Lite, because it will not continue loading:

% NODE_ENV=production ./bin/run.sh
Ensure that all dependencies are up to date...  If this is the first time you have run Etherpad please be patient.
npm WARN prepare removing existing node_modules/ before installation
added 415 packages in 80.491s
Clearing minified cache...
Starting Etherpad...
[2021-03-16 14:46:46.188] [DEBUG] console - Running on Node v15.9.0 (minimum required Node version: 10.17.0)
[2021-03-16 14:46:46.888] [INFO] console - All relative paths will be interpreted relative to the identified Etherpad base dir: /usr/home/etherpad/etherpad-lite
[2021-03-16 14:46:46.889] [DEBUG] AbsolutePaths - Relative path "settings.json" can be rewritten to "/usr/home/etherpad/etherpad-lite/settings.json"
[2021-03-16 14:46:46.891] [DEBUG] AbsolutePaths - Relative path "credentials.json" can be rewritten to "/usr/home/etherpad/etherpad-lite/credentials.json"
[2021-03-16 14:46:46.909] [INFO] console - settings loaded from: /usr/home/etherpad/etherpad-lite/settings.json
[2021-03-16 14:46:46.914] [INFO] console - No credentials file found in /usr/home/etherpad/etherpad-lite/credentials.json. Ignoring.
[2021-03-16 14:46:46.917] [INFO] console - Using skin "colibris" in dir: /usr/home/etherpad/etherpad-lite/src/static/skins/colibris
[2021-03-16 14:46:46.918] [INFO] console - Session key loaded from: /usr/home/etherpad/etherpad-lite/SESSIONKEY.txt
[2021-03-16 14:46:46.920] [INFO] console - Random string used for versioning assets: 8aa89beb
[2021-03-16 14:46:48.600] [INFO] server - Starting Etherpad...
[2021-03-16 14:46:48.843] [INFO] plugins - Running npm to get a list of installed plugins...
[2021-03-16 14:46:49.822] [INFO] plugins - npm --version: 6.14.11
[2021-03-16 14:46:59.475] [INFO] plugins - Loading plugin ep_colibris_full_width...
[2021-03-16 14:46:59.481] [INFO] plugins - Loading plugin ep_etherpad-lite...
[2021-03-16 14:46:59.483] [INFO] plugins - Loading plugin ep_mypads...
[2021-03-16 14:46:59.484] [INFO] plugins - Loading plugin ep_pad_overview...
[2021-03-16 14:46:59.497] [INFO] plugins - Loaded 4 plugins
[2021-03-16 14:47:01.533] [INFO] APIHandler - Api key file read from: "/usr/home/etherpad/etherpad-lite/APIKEY.txt"
[2021-03-16 14:47:02.234] [INFO] server - Installed plugins: ep_colibris_full_width@0.0.5, ep_pad_overview@0.1.2, ep_mypads@1.7.19
[2021-03-16 14:47:02.303] [INFO] console - Report bugs at https://github.com/ether/etherpad-lite/issues
[2021-03-16 14:47:02.308] [INFO] console - Your Etherpad version is 1.8.12 (5c9514f)

Then, nothing happens. I just cannot use it because it does not actually start, even ten minutes later. SIGINT works though:

[2021-03-16 14:52:10.442] [ERROR] server - Metrics at time of fatal error:
{
  "httpStartTime": 0,
  "memoryUsage": 104988672,
  "memoryUsageHeap": 35433088,
  "ueberdb_lockAwaits": 0,
  "ueberdb_lockAcquires": 62,
  "ueberdb_lockReleases": 62,
  "ueberdb_reads": 60,
  "ueberdb_readsFailed": 0,
  "ueberdb_readsFinished": 60,
  "ueberdb_readsFromCache": 30,
  "ueberdb_readsFromDb": 30,
  "ueberdb_readsFromDbFailed": 0,
  "ueberdb_readsFromDbFinished": 30,
  "ueberdb_writes": 2,
  "ueberdb_writesFailed": 0,
  "ueberdb_writesFinished": 2,
  "ueberdb_writesObsoleted": 0,
  "ueberdb_writesToDb": 2,
  "ueberdb_writesToDbFailed": 0,
  "ueberdb_writesToDbFinished": 2,
  "totalUsers": 0
}
[2021-03-16 14:52:10.480] [ERROR] server - SIGINT
[2021-03-16 14:52:10.480] [INFO] server - Exiting...

Deleting package-lock.json won’t help.

My current fix is: git reset --hard 94a6506 - but I guess we can agree that this is not actually a good solution.

Server (please complete the following information):

  • Etherpad version: 1.8.12
  • OS: FreeBSD
  • Node.js version (node --version): v14.16.0
  • npm version (npm --version): 6.14.11

Additional context Etherpad runs inside tmux, but that does not matter much, I guess.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
JohnMcLearcommented, Mar 16, 2021

Etherpad warned the plugin author and admin for at least 6 months(assuming the admin was doing updates) that it would break Etherpad eventually.

I suggest notifying the plugin author that their plugin is causing an issue btw :thumbsup

Btw if you want to help out on this please see the efforts are ep_kaput which is an attempt to make the plugin framework more reliable. Input welcome!

0reactions
flothocommented, Jun 2, 2021

Hmm, the plugins did not throw an error.

Deleting them fixes the problem, indeed. Still, Etherpad Lite should probably not just do nothing when a plugin has a problem (whichever it might be).

Hi, Wich module is causing the issue ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Etherpad is broken at the startup · Issue #5462 - GitHub
Etherpad is completely broken at the startup and after it was inactive for few hours (screenshot attached). It get fixed automatically after ......
Read more >
Phone stuck at boot after uninstalling Magisk from app
Try updating magisk first then clicking uninstall from magisk manager · Try manually flashing uninstaller.zip from TWRP · Try flashing the ...
Read more >
freenode.2015-04-08.log
The person who knows the answer to your question is asleep. ... 5 http://fireeye.club/ -- hottest new startup of 2015 [2015-04-08 13:28:12] ...
Read more >
Rename 'nix run' C++ - GitAnswer
nix run is a bit of a misnomer since it doesn't actually run the specified package(s), it just starts a shell in which...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found