# \[Etherpad\] Mypad cassé?

**URL:** <https://forum.yunohost.org/t/etherpad-mypad-casse/21391>\
**Category:** Support apps\
**Tags:** french\
**Created:** [September 23, 2022, 9:05am UTC](https://forum.yunohost.org/t/etherpad-mypad-casse/21391 "2022-09-23T09:05:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Artanux](https://forum.yunohost.org/user_avatar/forum.yunohost.org/artanux/32/2682_2.png) [@Artanux](https://forum.yunohost.org/u/Artanux)\
**Post date:** [September 23, 2022, 9:05am UTC](https://forum.yunohost.org/t/etherpad-mypad-casse/21391/1 "2022-09-23T09:05:16Z")

</div>

Suite à [la mise à jour de mon serveur principal vers Debian 11.4 et Yunohost 11](https://forum.yunohost.org/t/mise-a-jour-a-debian-11-4/21196), 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](https://forum.yunohost.org/t/mise-a-jour-a-debian-11-4/21196/21) mais je trouve ça plus clair de séparer en sous-post plus précis.

Voici à quoi ressemble la page :

 ![Capture d’écran du 2022-09-19 14-46-06](https://forum.yunohost.org/uploads/default/original/2X/4/4f71d94c03abf61cf940a9c235d5029f9e69775b.png)

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 :

 ![Capture d’écran du 2022-09-19 14-57-07](https://forum.yunohost.org/uploads/default/original/2X/0/02851d10d5a350f7423bc57346cd30082d9c43ef.png)

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).

```auto
# 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é.

```auto
# 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` :

```auto
# 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/` :

```auto
# 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 ? 🙂

---

<div class="post-metadata">

**Author:** ![Artanux](https://forum.yunohost.org/user_avatar/forum.yunohost.org/artanux/32/2682_2.png) [@Artanux](https://forum.yunohost.org/u/Artanux)\
**Post date:** [September 28, 2022, 12:41pm UTC](https://forum.yunohost.org/t/etherpad-mypad-casse/21391/2 "2022-09-28T12:41:50Z")

</div>

Puisque ça a [marché pour Borg](https://forum.yunohost.org/t/borg-cant-open-file-opt-borg-env-bin-borg/21358/3), je tente de forcer un upgrade :

```auto
$ 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…)

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [October 13, 2022, 12:42pm UTC](https://forum.yunohost.org/t/etherpad-mypad-casse/21391/3 "2022-10-13T12:42:12Z")

</div>

Closed on October 13, 2022, 12:42pm UTC

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