there had been a 4 dependencies missing, 3 from the cloudron-module. while installing these, there was an error about /app/code/package.json
, which is missing.
root@214b3494-371d-4518-9be3-af8707db4284:/app/code# npm i async body-parser ldapjs
npm WARN saveError ENOENT: no such file or directory, open '/app/code/package.json'
npm WARN saveError EROFS: read-only file system, open '/app/code/package-lock.json.2931527070'
npm WARN enoent ENOENT: no such file or directory, open '/app/code/package.json'
npm WARN code No description
npm WARN code No repository field.
npm WARN code No README data
npm WARN code No license field.
+ async@3.2.0
+ ldapjs@2.2.4
+ body-parser@1.19.0
removed 34 packages, updated 3 packages and audited 1855 packages in 239.516s
and a series of dependencies for these:
npm ls 2>&1 | grep -i missing|cut -d":" -f2,3
bytes@3.1.0, required by body-parser@1.19.0
content-type@~1.0.4, required by body-parser@1.19.0
debug@2.6.9, required by body-parser@1.19.0
depd@~1.1.2, required by body-parser@1.19.0
http-errors@1.7.2, required by body-parser@1.19.0
iconv-lite@0.4.24, required by body-parser@1.19.0
on-finished@~2.3.0, required by body-parser@1.19.0
qs@6.7.0, required by body-parser@1.19.0
raw-body@2.4.0, required by body-parser@1.19.0
type-is@~1.6.17, required by body-parser@1.19.0
abstract-logging@^2.0.0, required by ldapjs@2.2.4
asn1@^0.2.4, required by ldapjs@2.2.4
assert-plus@^1.0.0, required by ldapjs@2.2.4
backoff@^2.5.0, required by ldapjs@2.2.4
ldap-filter@^0.3.3, required by ldapjs@2.2.4
once@^1.4.0, required by ldapjs@2.2.4
vasync@^2.2.0, required by ldapjs@2.2.4
verror@^1.8.1, required by ldapjs@2.2.4
install all dependencies with:
npm i `npm ls 2>&1 | grep -i missing|cut -d":" -f2 |cut -d"," -f1|xargs`
there are further sub-depenencies, so run it again, but modified because of some tag-quirks
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name ">=": Tags may not have any characters that encodeURIComponent encodes.
for 2 times run:
npm i ` npm ls 2>&1 | grep -i missing|cut -d":" -f2 |cut -d"," -f1|cut -d"<" -f1|tr -d ">" |tr -d "=" |tr -d " "| xargs`
after all dependencies have been installed, the APP was restarted to normal operation. according to the log, all went fine, but the status at the WEBinterface is: "it's not responding":
Mar 09 11:06:07 ==========================
Mar 09 11:06:07 Etherpad start
Mar 09 11:06:07 ==========================
Mar 09 11:06:07 => Ensure directories
Mar 09 11:06:07 => Fixing up node_modules
Mar 09 11:06:07 => Ensuring cloudron plugin
Mar 09 11:06:07 box:tasks 5789: {"percent":100,"message":"Done"}
Mar 09 11:06:08 box:apptask etherpad.eb8.org updating app with values: {"installationState":"installed","error":null,"health":null}
Mar 09 11:06:08 box:taskworker Task took 39.009 seconds
Mar 09 11:06:08 box:tasks setCompleted - 5789: {"result":null,"error":null}
Mar 09 11:06:08 box:tasks 5789: {"percent":100,"result":null,"error":null}
Mar 09 11:08:47 npm WARN saveError ENOENT: no such file or directory, open '/app/code/package.json'
Mar 09 11:08:48 npm WARN saveError EROFS: read-only file system, open '/app/code/package-lock.json.3085602016'
Mar 09 11:08:48 npm WARN enoent ENOENT: no such file or directory, open '/app/code/package.json'
Mar 09 11:08:48 npm WARN code No description
Mar 09 11:08:49 npm WARN code No repository field.
Mar 09 11:08:49 npm WARN code No README data
Mar 09 11:08:49 npm WARN code No license field.
Mar 09 11:08:49
Mar 09 11:08:49 + ep_cloudron@4.1.0
Mar 09 11:08:49 removed 36 packages, updated 1 package and audited 1841 packages in 149.421s
Mar 09 11:08:57
Mar 09 11:08:57 85 packages are looking for funding
Mar 09 11:08:57 run `npm fund` for details
Mar 09 11:08:57
Mar 09 11:08:57 found 0 vulnerabilities
Mar 09 11:08:57
Mar 09 11:08:57
Mar 09 11:08:57 ┌───────────────────────────────────────────────────┐
Mar 09 11:08:57 │ npm update check failed │
Mar 09 11:08:57 │ Try running with sudo or get access │
Mar 09 11:08:57 │ to the local update config store via │
Mar 09 11:08:57 │ sudo chown -R $USER:$(id -gn $USER) /root/.config │
Mar 09 11:08:57 └───────────────────────────────────────────────────┘
Mar 09 11:08:57 => Generating settings.json
Mar 09 11:08:57 => Ensure /app/data/settings.json
Mar 09 11:08:57 => Ensure folder permissions
Mar 09 11:08:58 => Starting etherpad
Mar 09 11:08:59 [2021-03-09 10:08:59.011] [DEBUG] console - Running on Node v14.15.4 (minimum required Node version: 10.17.0)
Mar 09 11:08:59 [2021-03-09 10:08:59.135] [INFO] console - All relative paths will be interpreted relative to the identified Etherpad base dir: /app/code
Mar 09 11:08:59 [2021-03-09 10:08:59.229] [INFO] console - settings loaded from: /run/etherpad-lite/settings.json
Mar 09 11:08:59 [2021-03-09 10:08:59.232] [INFO] console - credentials loaded from: /app/data/settings.json
Mar 09 11:08:59 [2021-03-09 10:08:59.234] [WARN] console - Unknown Setting: 'sessionNoPassword'. This setting doesn't exist or it was removed
Mar 09 11:08:59 [2021-03-09 10:08:59.236] [INFO] console - Using skin "colibris" in dir: /app/code/src/static/skins/colibris
Mar 09 11:08:59 [2021-03-09 10:08:59.242] [INFO] console - Session key loaded from: /app/code/SESSIONKEY.txt
Mar 09 11:08:59 [2021-03-09 10:08:59.245] [INFO] console - Random string used for versioning assets: 1a60d277
Mar 09 11:09:04 [2021-03-09 10:09:04.533] [INFO] server - Starting Etherpad...
Mar 09 11:09:06 [2021-03-09 10:09:06.407] [INFO] plugins - Running npm to get a list of installed plugins...
Mar 09 11:09:06 [2021-03-09 10:09:06.721] [INFO] plugins - npm --version: 6.14.11
Mar 09 11:10:03 [2021-03-09 10:10:03.141] [ERROR] runCmd|npm -
Mar 09 11:10:03 [2021-03-09 10:10:03.141] [ERROR] runCmd|npm - ┌────────────────────────────────────────────────────────────┐
Mar 09 11:10:03 [2021-03-09 10:10:03.144] [ERROR] runCmd|npm - │ npm update check failed │
Mar 09 11:10:03 [2021-03-09 10:10:03.223] [ERROR] runCmd|npm - │ Try running with sudo or get access │
Mar 09 11:10:03 [2021-03-09 10:10:03.231] [ERROR] runCmd|npm - │ to the local update config store via │
Mar 09 11:10:03 [2021-03-09 10:10:03.337] [ERROR] runCmd|npm - │ sudo chown -R $USER:$(id -gn $USER) /home/cloudron/.config │
Mar 09 11:10:03 [2021-03-09 10:10:03.338] [ERROR] runCmd|npm - └────────────────────────────────────────────────────────────┘
Mar 09 11:10:04 [2021-03-09 10:10:04.933] [INFO] plugins - Loading plugin ep_aa_file_menu_toolbar...
Mar 09 11:10:05 [2021-03-09 10:10:04.935] [INFO] plugins - Loading plugin ep_add_buttons...
Mar 09 11:10:05 [2021-03-09 10:10:04.936] [INFO] plugins - Loading plugin ep_adminpads2...
Mar 09 11:10:05 [2021-03-09 10:10:04.937] [INFO] plugins - Loading plugin ep_bookmark...
Mar 09 11:10:05 [2021-03-09 10:10:05.007] [INFO] plugins - Loading plugin ep_bottom_chat_bar...
Mar 09 11:10:05 [2021-03-09 10:10:05.092] [INFO] plugins - Loading plugin ep_cloudron...
Mar 09 11:10:05 [2021-03-09 10:10:05.096] [INFO] plugins - Loading plugin ep_code_formatting...
Mar 09 11:10:05 [2021-03-09 10:10:05.097] [INFO] plugins - Loading plugin ep_codepad...
Mar 09 11:10:05 [2021-03-09 10:10:05.106] [INFO] plugins - Loading plugin ep_comments_page...
Mar 09 11:10:05 [2021-03-09 10:10:05.117] [INFO] plugins - Loading plugin ep_draw...
Mar 09 11:10:05 [2021-03-09 10:10:05.123] [INFO] plugins - Loading plugin ep_etherpad-lite...
Mar 09 11:10:05 [2021-03-09 10:10:05.147] [INFO] plugins - Loading plugin ep_headings2...
Mar 09 11:10:05 [2021-03-09 10:10:05.148] [INFO] plugins - Loading plugin ep_markdown...
Mar 09 11:10:05 [2021-03-09 10:10:05.149] [INFO] plugins - Loading plugin ep_pad_overview...
Mar 09 11:10:05 [2021-03-09 10:10:05.149] [INFO] plugins - Loading plugin ep_previewimages...
Mar 09 11:10:05 [2021-03-09 10:10:05.150] [INFO] plugins - Loading plugin ep_print_preview_pdf...
Mar 09 11:10:05 [2021-03-09 10:10:05.151] [INFO] plugins - Loading plugin ep_real_time_chat...
Mar 09 11:10:05 [2021-03-09 10:10:05.214] [INFO] plugins - Loading plugin ep_spellcheck...
Mar 09 11:10:05 [2021-03-09 10:10:05.231] [INFO] plugins - Loading plugin ep_webrtc...
Mar 09 11:10:05 [2021-03-09 10:10:05.527] [INFO] plugins - Loaded 19 plugins
Mar 09 11:10:06 [2021-03-09 10:10:06.320] [INFO] console - CODEPAD needs ep_codepad parameters in settings.json.
Mar 09 11:10:15 [2021-03-09 10:10:15.115] [INFO] APIHandler - Api key file read from: "/app/code/APIKEY.txt"
Mar 09 11:10:24 [2021-03-09 10:10:24.119] [INFO] server - Installed plugins: ep_aa_file_menu_toolbar@0.2.1, ep_add_buttons@0.0.21, ep_bookmark@1.2.1, ep_bottom_chat_bar@1.0.1, ep_adminpads2@2.1.25, ep_cloudron@4.1.0, ep_draw@0.1.6, ep_headings2@0.2.26, ep_pad_overview@0.1.2, ep_previewimages@0.0.13, ep_print_preview_pdf@0.0.6, ep_real_time_chat@0.2.9, ep_spellcheck@0.0.20, ep_webrtc@0.1.11, ep_markdown@0.1.21, ep_code_formatting@1.0.0, ep_codepad@1.3.3, ep_comments_page@0.1.47
Mar 09 11:10:24 [2021-03-09 10:10:24.416] [INFO] console - Report bugs at https://github.com/ether/etherpad-lite/issues
Mar 09 11:10:24 [2021-03-09 10:10:24.418] [WARN] console - Can't get git version for server header
Mar 09 11:10:24 ENOENT: no such file or directory, lstat '/app/code/.git'
Mar 09 11:10:24 [2021-03-09 10:10:24.419] [WARN] console - Can't get git version for server header
Mar 09 11:10:24 ENOENT: no such file or directory, lstat '/app/code/.git'
Mar 09 11:10:24 [2021-03-09 10:10:24.419] [INFO] console - Your Etherpad version is 1.8.12 ()