Project

General

Profile

Anomalie #1344

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

Added by Quentin CHERGUI over 6 years ago. Updated about 3 years ago.

Status:
Fermé
Priority:
Normale
Assignee:
-
Category:
Task
Target version:
Start date:
08/28/2013
Due date:
% Done:

10%

Estimated time:
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.

History

#1

Updated by Quentin CHERGUI over 6 years ago

  • Category set to Task
  • Status changed from Résolu to Confirmé
  • Target version set to Septembre 2013
  • % Done changed from 100 to 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

Updated by Quentin CHERGUI over 6 years ago

  • Subject changed from Crash etherpad-lite to Mise à jour d'etherpad-lite pour éviter les crashs
#3

Updated by Loïc Dachary about 6 years ago

  • Target version changed from Septembre 2013 to Backlog
#4

Updated by François Poulain about 3 years ago

  • Description updated (diff)
  • Status changed from Confirmé to Fermé

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

Also available in: Atom PDF