Installation Etherpad

Bonjour à tous,
j’ai fait une première install réussie de Etherpad, puis l’ai désinstallé. Lorsque j’essaye de réinstaller ça échoue (dans l’interface web ou dans la cli). Une recherche sur les forums avec le message d’erreur ne donne malheureusement aucune info (ni google). Je cherche une solution pour réinstaller Etherpad_mypads.
Testé reboot, m-a-j, sans succès.

Voici ce que donne la sortie de la cli:

Warning: Installation of N - Node.js version management
Warning: 2018-08-16 18:27:22 URL:https://codeload.github.com/tj/n/tar.gz/v2.1.7 [9592/9592] -> “n.tar.gz” [1]
######################################################################## 100.0%
Warning: 2018-08-16 18:27:44 URL:https://codeload.github.com/ether/etherpad-lite/tar.gz/1.6.5 [1229272/1229272] -> “app.tar.gz” [1]
Warning: Created symlink /etc/systemd/system/multi-user.target.wants/etherpad_mypads.service → /etc/systemd/system/etherpad_mypads.service.
Warning: Starting of etherpad_mypads
Warning: …The service etherpad_mypads didn’t fully started before the timeout.
Warning: ERROR 1146 (42S02) at line 1: Table ‘etherpad_mypads.store’ doesn’t exist
Warning: !!
Warning: etherpad_mypads’s script has encountered an error. Its execution was cancelled.
Warning: !!
Warning:
Warning: Removed /etc/systemd/system/multi-user.target.wants/etherpad_mypads.service.
Warning: Failed to get status information via dbus for service etherpad_mypads, systemctl didn’t recognize this service (‘NoSuchUnit’).
Warning: close failed in file object destructor:
Warning: sys.excepthook is missing
Warning: lost sys.stderr
Warning: [INFO] Remove etherpad_mypads service
Warning: /usr/local/n wasn’t deleted because it doesn’t exist.
Warning: Removing database etherpad_mypads
Warning: Remove the user etherpad_mypads
Success! The SSOwat configuration has been generated
Error: Installation failed

Ma configuration
Hardware: rpi 2
Internet access: ethernet at home
YunoHost version:
yunohost 3.1.0 (stable)
yunohost-admin 3.1.0 (stable)
moulinette 3.1.0 (stable)
ssowat 3.1.0 (stable)

Bien cordialement !

Moi il me manquait make
essaye apt-get make

Merci pour ta réponse. J’ai vérifié, j’ai bien make installé. Apparemment c’est un souci de timeout.

Mais googler ce message ne donne rien :frowning:

Peux-tu tenter en ligne de commande ? :
yunohost app install etherpad_mypads --debug
Et le copier dans paste.yunohost.org (tente d’enlever les mots de passe et données sensibles).

J’ai lancé en mode debug. A partir de 679.070 le script rentre dans une boucle for qui échoue au timeout. Les 840 dernières lignes du debug se trouvent ici:
https://paste.yunohost.org/unirugupiw.bash

Etherpad failed to start, that’s why you’ve seen a for loop with a timeout.
Please have a look to the log of etherpad itself to see why it failed.
You can find the log at /var/log/etherpad_mypads/etherpad.log

Same error than Etherpad_mypads - 502 Bad Gateway - Migration Yunohost 2.7 > 3.1
This error is now also on our CI. I’m working to fix that.

1 Like

Here is the content of /var/log/etherpad_mypads/etherpad.log:

https://paste.yunohost.org/epuruqosad.sql

It’s indeed similar to the issue you are refering to.

A fix is ongoing here

I ran the installation from the cli again which resulted in the same error. It seems that yunohost is still fetching etherpad 1.6.5 instead of 1.7.0. Is there a way to force download of 1.7.0 ?

I used the correction suggested by @tierce : Etherpad_mypads - 502 Bad Gateway - Migration Yunohost 2.7 > 3.1
which worked.

Installation successful !

This fix is ongoing, we’re waiting for a complete test by our CI to be sure that all is working fine.
Then, the fix will be merged in the testing branch to be tested.
We’re going to do it as fast as we can though, considering the current release doesn’t work anymore.