etherpad_mypads_ynh icon indicating copy to clipboard operation
etherpad_mypads_ynh copied to clipboard

Error after trying to update plugin manually: missing: [email protected]

Open simondueckert opened this issue 5 months ago • 0 comments

Describe the bug

I tried to update the etherpad_mypads plugins maually via the admin link. I started with ep_align. The update did run for a long time and then my etherpad URL provides a 502 bad gateway error.

Context

  • YunoHost version: 11.2.9.1 (stable)
  • I have access to my server: Through SSH | through the webadmin
  • If upgrading, current package version: 1.9.1~ynh3

Steps to reproduce

Go to the /admin URL and update the plugins manually.

Expected behavior

Plugin updates, etherpad still works.

Logs

[2024-01-17 21:50:47.956] [INFO] server - Starting Etherpad... [2024-01-17 21:50:48.100] [INFO] plugins - Running npm to get a list of installed plugins... [2024-01-17 21:50:48.115] [WARN] console - Update available: Download the actual version 1.9.6 [2024-01-17 21:50:48.201] [INFO] plugins - npm --version: 6.14.16 [2024-01-17 21:50:54.237] [ERROR] runCmd|npm - npm ERR! missing: [email protected], required by etherpad_mypads [2024-01-17 21:50:54.286] [ERROR] server - Error occurred while starting Etherpad [2024-01-17 21:50:54.289] [ERROR] server - Metrics at time of fatal error: { "httpStartTime": 0, "memoryUsage": 72118272, "memoryUsageHeap": 15334120, "ueberdb_lockAwaits": 0, "ueberdb_lockAcquires": 0, "ueberdb_lockReleases": 0, "ueberdb_reads": 0, "ueberdb_readsFailed": 0, "ueberdb_readsFinished": 0, "ueberdb_readsFromCache": 0, "ueberdb_readsFromDb": 0, "ueberdb_readsFromDbFailed": 0, "ueberdb_readsFromDbFinished": 0, "ueberdb_writes": 0, "ueberdb_writesFailed": 0, "ueberdb_writesFinished": 0, "ueberdb_writesObsoleted": 0, "ueberdb_writesToDb": 0, "ueberdb_writesToDbFailed": 0, "ueberdb_writesToDbFinished": 0, "ueberdb_writesToDbRetried": 0 } [2024-01-17 21:50:54.289] [ERROR] server - Error: Command exited with code 1: npm ls --long --json --depth=0 --no-production at exports (/var/www/etherpad_mypads/src/node/utils/run_cmd.js:119:25) at Object.exports.getPackages (/var/www/etherpad_mypads/src/static/js/pluginfw/plugins.js:115:48) at Object.exports.update (/var/www/etherpad_mypads/src/static/js/pluginfw/plugins.js:86:34) at Object.exports.start (/var/www/etherpad_mypads/src/node/server.js:143:19) at processTicksAndRejections (internal/process/task_queues.js:95:5)

simondueckert avatar Jan 17 '24 21:01 simondueckert