etherpad-lite: Crash on startup: missing dependencies
Describe the bug
When I start etherpad, it claims that all the dependencies are missing, despite the fact that installDeps.sh
has just installed them.
To Reproduce Steps to reproduce the behavior:
- Install Node.js v15.11.0 & npm 6.14.11
- Run
src/bin/installDeps.sh
, followed bynpm install sqlite3
- Execute
path/to/etherpad/bin/run.sh
- See error
Expected behavior Etherpad runs as normal
Screenshots Log files are probably more helpful here.
- Logs: https://pastebin.com/raw/hQfDj21p
- Dockerfile that reproduces the issue: https://pastebin.com/raw/1bqahnab
minideb-node
is a private Dockerfile based on minideb withnodejs-sbrl
installed from my apt repository
Server (please complete the following information):
- Etherpad version: 1.8.12
- OS: Host OS: Raspberry Pi OS, based on Debian Buster, armv7l - Guest OS inside Docker container: minideb
- Node.js version (
node --version
): v15.11.0 - npm version (
npm --version
): 6.14.11
Desktop (please complete the following information): NOT relevant, because I can’t get etherpad to start so I can’t access it - but I’m including it for completeness
- OS: Ubuntu Desktop 20.10
- Browser Firefox
- Version 87.0b9 (64-bit)
Smartphone (please complete the following information): Again NOT relevant because I do NOT access etherpad on my smartphone and even if I could I can’t because etherpad won’t start, but I’m including it for completeness.
- Device: Nokia 7.1
- OS: Android 10
- Browser Firefox for Android
- Version 87.0.0-beta.4 (Build #2015797515)
Additional context Add any other context about the problem here.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 19 (8 by maintainers)
If my responses below don’t help, please open a new bug report with full details.
Delete
/path/to/etherpad-lite/package.json
and/path/to/etherpad-lite/package-lock.json
(if they exist) and try again.Make sure you install it under
src/
That’s a good thing. We intentionally install a copy of npm v6.13 due to compatibility problems with npm v7. That log line indicates that Etherpad has successfully found the version installed as a dependency, and is not using the host’s version.