Projet

Général

Profil

Anomalie #1344

Mise à jour d'etherpad-lite pour éviter les crashs

Ajouté par Quentin CHERGUI il y a plus de 10 ans. Mis à jour il y a plus de 3 ans.

Statut:
Fermé
Priorité:
Normale
Assigné à:
Catégorie:
Task
Version cible:
Début:
28/08/2013
Echéance:
% réalisé:

10%

Temps estimé:
Difficulté:
2 Facile

Description

Etherpad-lite a crashé aujourd'hui. Il a été redémarré.

Voici la trace pour mémoire :

[2013-08-28 10:47:16.959] [ERROR] console - Error: exports: mismatched apply: 97791 / 97790
    at Object.error (/opt/etherpad-lite/src/static/js/Changeset.js:41:11)
    at Object.assert (/opt/etherpad-lite/src/static/js/Changeset.js:55:13)
    at Object.exports.applyToText (/opt/etherpad-lite/src/static/js/Changeset.js:974:11)
    at Object.exports.applyToAText (/opt/etherpad-lite/src/static/js/Changeset.js:1665:19)
    at Pad.getInternalRevisionAText (/opt/etherpad-lite/src/node/db/Pad.js:197:27)
    at async.series.results (/opt/etherpad-lite/src/node_modules/async/lib/async.js:486:21)
    at _asyncMap (/opt/etherpad-lite/src/node_modules/async/lib/async.js:185:13)
    at async.forEachSeries.iterate (/opt/etherpad-lite/src/node_modules/async/lib/async.js:108:13)
    at async.forEachSeries.iterate (/opt/etherpad-lite/src/node_modules/async/lib/async.js:119:25)
    at _asyncMap (/opt/etherpad-lite/src/node_modules/async/lib/async.js:187:17)
[2013-08-28 10:47:16.959] [INFO] console - graceful shutdown...
[2013-08-28 10:47:17.003] [INFO] ueberDB - Flushed 1 values
[2013-08-28 10:47:17.106] [INFO] console - db sucessfully closed.

Historique

#1

Mis à jour par Quentin CHERGUI il y a plus de 10 ans

  • Catégorie mis à Task
  • Statut changé de Résolu à Confirmé
  • Version cible mis à Septembre 2013
  • % réalisé changé de 100 à 10

De nouveau le crash aujourd'hui.

En fouillant dans le bug tracker d'etherpad-lite, on trouve des bugs similaires corrigés. Il faudrait le mettre à jour :
https://github.com/ether/etherpad-lite/issues/472
https://github.com/ether/etherpad-lite/issues/1023

Deuxième problème identifié : au démarrage d'etherpad avec le script d'init, son fichier de log /var/log/etherpad-lite/etherpad-lite.log est créé et appartient à l'utilisateur root, ce qui l'empêche de démarrer. Il faut ensuite faire un chown pour remettre l'utilisateur à etherpad-lite puis relancer le script d'init. À patcher également.

[2013-09-11 15:29:13.385] [ERROR] console - Error: exports: mismatched follow
    at Object.error (/opt/etherpad-lite/src/static/js/Changeset.js:41:11)
    at Object.assert (/opt/etherpad-lite/src/static/js/Changeset.js:55:13)
    at Object.exports.follow (/opt/etherpad-lite/src/static/js/Changeset.js:2080:11)
    at Object.async.series.client.json.send.disconnect [as callback] (/opt/etherpad-lite/src/node/handler/PadMessageHandler.js:487:35)
    at /opt/etherpad-lite/src/node_modules/ueberDB/CloneAndAtomicLayer.js:120:17
    at exports.database.getSub (/opt/etherpad-lite/src/node_modules/ueberDB/CacheAndBufferLayer.js:345:7)
    at exports.database.get (/opt/etherpad-lite/src/node_modules/ueberDB/CacheAndBufferLayer.js:142:5)
    at exports.database.getSub (/opt/etherpad-lite/src/node_modules/ueberDB/CacheAndBufferLayer.js:317:8)
    at doOperation [as operatorFunction] (/opt/etherpad-lite/src/node_modules/ueberDB/CloneAndAtomicLayer.js:114:18)
    at exports.channels.emit (/opt/etherpad-lite/src/node_modules/ueberDB/node_modules/channels/channels.js:38:11)
[2013-09-11 15:29:13.385] [INFO] console - graceful shutdown...
[2013-09-11 15:29:13.434] [INFO] console - db sucessfully closed.
#2

Mis à jour par Quentin CHERGUI il y a plus de 10 ans

  • Sujet changé de Crash etherpad-lite à Mise à jour d'etherpad-lite pour éviter les crashs
#3

Mis à jour par Loïc Dachary il y a plus de 10 ans

  • Version cible changé de Septembre 2013 à Backlog
#4

Mis à jour par François Poulain il y a plus de 7 ans

  • Description mis à jour (diff)
  • Statut changé de Confirmé à Fermé

Je suppose que c'est bon vu que le pad a été réinstallé depuis le github.

#5

Mis à jour par Christian P. Momon il y a plus de 3 ans

  • Assigné à mis à François Poulain

Formats disponibles : Atom PDF