[Etherpad] Mypad cassé?

Suite à la mise à jour de mon serveur principal vers Debian 11.4 et Yunohost 11, je fais le tour de mes services pour voir si tout tourne rond.

Mon serveur YunoHost

Matériel: KS-3 chez Kimsufi
Version de YunoHost: 11.0.x.x
J’ai accès à mon serveur : En SSH
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : J’ai fait vers Debian 11.4 mais le problème était déjà présent.

J’ai déjà parlé du problème sur le post de la migration mais je trouve ça plus clair de séparer en sous-post plus précis.

Voici à quoi ressemble la page :

Pour l’instant je ne trouve pas comment corriger la situation.

Quand j’essaye d’ouvrir un pad existant, j’ai plein d’erreurs 500 :

Je ne sais pas exactement vers quoi fouiller. Pour l’instant je n’ai plus accès à mes pads.

J’ai accès à l’interface admin (mais ça me dit que je n’ai aucun pad à mon nom vu que je les ai créé en “anonyme”, sans passer par l’interface admin).

# yunohost app info etherpad_mypads
description: Online editor providing collaborative editing in real-time
domain_path: pad.artanux.be/
name: Etherpad
version: 1.8.18~ynh2

J’ai essayé de redémarrer le service mais ça n’a rien changé.

# systemctl status etherpad_mypads.service
● etherpad_mypads.service - Etherpad-lite, the collaborative editor.
     Loaded: loaded (/etc/systemd/system/etherpad_mypads.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2022-09-23 09:08:23 UTC; 54s ago
   Main PID: 520571 (node)
     Memory: 206.1M
        CPU: 51.213s
     CGroup: /system.slice/etherpad_mypads.service
             └─520571 /opt/node_n/n/versions/node/14/bin/node /var/www/etherpad_mypads/src/node/server.js

Sep 23 09:08:23 artanux.be systemd[1]: etherpad_mypads.service: Failed with result 'exit-code'.
Sep 23 09:08:23 artanux.be systemd[1]: Stopped Etherpad-lite, the collaborative editor..
Sep 23 09:08:23 artanux.be systemd[1]: etherpad_mypads.service: Consumed 19min 6.929s CPU time.
Sep 23 09:08:23 artanux.be systemd[1]: Started Etherpad-lite, the collaborative editor..

Les logs de journalctl :

# journalctl -u etherpad_mypads.service
-- Journal begins at Mon 2022-09-05 18:20:26 UTC, ends at Fri 2022-09-23 09:10:08 UTC. --
Sep 05 18:20:37 artanux.be systemd[1]: Started Etherpad-lite, the collaborative editor..
Sep 05 19:15:24 artanux.be systemd[1]: Stopping Etherpad-lite, the collaborative editor....
Sep 05 19:15:25 artanux.be systemd[1]: etherpad_mypads.service: Succeeded.
Sep 05 19:15:25 artanux.be systemd[1]: Stopped Etherpad-lite, the collaborative editor..
-- Boot 8e8ce750bfe249078a40851ddf8eae05 --
Sep 05 19:17:43 artanux.be systemd[1]: Started Etherpad-lite, the collaborative editor..
Sep 15 06:40:41 artanux.be systemd[1]: Stopping Etherpad-lite, the collaborative editor....
Sep 15 06:40:59 artanux.be systemd[1]: etherpad_mypads.service: Main process exited, code=exited, status=1/FAILURE
Sep 15 06:40:59 artanux.be systemd[1]: etherpad_mypads.service: Failed with result 'exit-code'.
Sep 15 06:40:59 artanux.be systemd[1]: Stopped Etherpad-lite, the collaborative editor..
Sep 15 06:40:59 artanux.be systemd[1]: etherpad_mypads.service: Consumed 39min 48.085s CPU time.
-- Boot 2580af95f5c4425d969b040f21658132 --
Sep 15 06:42:10 artanux.be systemd[1]: Started Etherpad-lite, the collaborative editor..
Sep 19 12:41:39 artanux.be systemd[1]: Stopping Etherpad-lite, the collaborative editor....
Sep 19 12:41:39 artanux.be systemd[1]: etherpad_mypads.service: Main process exited, code=exited, status=1/FAILURE
Sep 19 12:41:39 artanux.be systemd[1]: etherpad_mypads.service: Failed with result 'exit-code'.
Sep 19 12:41:39 artanux.be systemd[1]: Stopped Etherpad-lite, the collaborative editor..
Sep 19 12:41:39 artanux.be systemd[1]: etherpad_mypads.service: Consumed 18min 46.243s CPU time.
Sep 19 12:41:39 artanux.be systemd[1]: Started Etherpad-lite, the collaborative editor..
Sep 23 09:08:20 artanux.be systemd[1]: Stopping Etherpad-lite, the collaborative editor....
Sep 23 09:08:23 artanux.be systemd[1]: etherpad_mypads.service: Main process exited, code=exited, status=1/FAILURE
Sep 23 09:08:23 artanux.be systemd[1]: etherpad_mypads.service: Failed with result 'exit-code'.
Sep 23 09:08:23 artanux.be systemd[1]: Stopped Etherpad-lite, the collaborative editor..
Sep 23 09:08:23 artanux.be systemd[1]: etherpad_mypads.service: Consumed 19min 6.929s CPU time.
Sep 23 09:08:23 artanux.be systemd[1]: Started Etherpad-lite, the collaborative editor..

Les logs dans /var/log/etherpad_mypads/ :

# tail -n 50 /var/log/etherpad_mypads/etherpad.log 
[2022-09-23 09:09:27.565] [INFO] http - HTTP server listening for connections
[2022-09-23 09:09:27.566] [INFO] console - You can access your Etherpad instance at http://127.0.0.1:9001/
[2022-09-23 09:09:27.566] [INFO] console - The plugin admin page is at http://127.0.0.1:9001/admin/plugins
[2022-09-23 09:09:27.567] [INFO] server - Etherpad is running
[2022-09-23 09:09:28.449] [INFO] console - Initializing user cache...
[2022-09-23 09:09:28.476] [INFO] console - User cache initialized!
[2022-09-23 09:10:15.330] [ERROR] console - Error: Timeout: Did not receive an init message from worker after 10000ms. Make sure the worker calls expose().
    at Timeout._onTimeout (/var/www/etherpad_mypads/src/node_modules/threads/dist/master/spawn.js:35:53)
    at listOnTimeout (internal/timers.js:557:17)
    at processTimers (internal/timers.js:500:7)
(...)

Quelqu’un sait par où fouiller ? :slight_smile:

Puisque ça a marché pour Borg, je tente de forcer un upgrade :

$ sudo yunohost app upgrade etherpad_mypads --force
Info: Now upgrading etherpad_mypads...
Info: [+...................] > Loading installation settings...
Info: [#...................] > Checking version...
Warning: (this may take some time)
Info: The service etherpad_mypads has correctly executed the action restart.
Info: [#+++................] > Backing up the app before upgrading (may take a while)...
Info: [####................] > Activating maintenance mode...
Info: [####................] > Stopping a systemd service...
Info: [####................] > Ensuring downward compatibility...
Info: [####................] > Making sure dedicated system user exists...
Info: [####+...............] > Upgrading source files...
Info: [#####...............] > Upgrading dependencies...
Warning: dpkg: warning: version 'v7.5.0' has bad syntax: version number does not start with digit
Info: [#####...............] > Upgrading NGINX web server configuration...
Info: [#####...............] > Configuring log rotation...
Info: [#####+..............] > Reconfiguring Etherpad...
Info: [######..............] > Upgrading systemd configuration...
Info: [######+++++++.......] > Installing Etherpad plugins...
Info: [#############++++...] > Upgrading Etherpad...
Info: [#################+..] > Upgrading logrotate configuration...
Info: [##################..] > Integrating service in YunoHost...
Info: [##################..] > Starting a systemd service...
Warning: (this may take some time)
Info: The service etherpad_mypads has correctly executed the action restart.
Info: [##################+.] > Reconfiguring Fail2Ban...
Info: The service fail2ban has correctly executed the action reload-or-restart.
Info: [###################.] > Reloading NGINX web server...
Info: [###################.] > Disabling maintenance mode...
Info: [####################] > Upgrade of etherpad_mypads completed
Success! etherpad_mypads upgraded
Success! Upgrade complete

Ça a marché, j’ai de nouveau un etherpad fonctionnel! (Bien que je le trouve toujours un peu lent, mais ça c’est peut-être à cause du serveur…)

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.