Projet

Général

Profil

Demande #4735

Mise à jour etherpad-1.8.4 => 1.8.7

Ajouté par Yves-Gaël Chény il y a plus de 3 ans. Mis à jour il y a plus de 2 ans.

Statut:
Fermé
Priorité:
Normale
Assigné à:
Version cible:
Début:
15/09/2020
Echéance:
% réalisé:

100%

Temps estimé:

Description

Icinga2 prévient que :

WARNING : new version available, installed is 1.8.4, last is 1.8.6.

Pour mémoire précédente procédure ( à mettre dans le wiki admin ) :

systemctl stop etherpad-lite
sync && sync && sudo -u postgres pg_dumpall  > etherpad-lite-20200713-1758-back.psql
mv etherpad-lite etherpad-lite-1.8.0 ### on renomme avec la version + propre
git clone https://github.com/ether/etherpad-lite.git
cd etherpad-lite
git checkout tags/1.8.4
cd ..
chown -R etherpad.etherpad etherpad-lite
cd ..
### petit test voir ce qu'il manque
diff -ur etherpad-lite etherpad-lite-1.8.0
cd /var/www/etherpad-lite-1.8.0/
cp settings.json ../etherpad-lite/
cp APIKEY.txt ../etherpad-lite/
cd /var/www/
mv etherpad-lite etherpad-lite-1.8.4
ln -s etherpad-lite-1.8.4 etherpad-lite
cd etherpad-lite
sudo -u etherpad bin/run.sh 
### test de surface en debug puis ctrl + c
systemctl start etherpad-lite

Historique

#1

Mis à jour par Yves-Gaël Chény il y a plus de 3 ans

[2020-09-15 08:50:03.309] [DEBUG] ueberDB - SET    - sessionstorage:pIaElx99utza7MWLt3hPr2kduti0KToN - {"cookie":{"path":"/","_expires":null,"originalMaxAge":null,"httpOnly":true,"sameSite":"Lax","secure":true}} - to buffer
[2020-09-15 08:50:03.318] [DEBUG] http - 200, HEAD /
[2020-09-15 08:50:03.319] [ERROR] console - (node:6896) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
(Use `node --trace-deprecation ...` to show where the warning was created)
[2020-09-15 08:50:12.686] [ERROR] console - ERROR: Problem while initalizing the database
[2020-09-15 08:50:12.686] [ERROR] console - error: séquence d'échappement Unicode non supportée
    at Parser.parseErrorMessage (/var/www/etherpad-lite-1.8.5/src/node_modules/pg-protocol/dist/parser.js:278:15)
    at Parser.handlePacket (/var/www/etherpad-lite-1.8.5/src/node_modules/pg-protocol/dist/parser.js:126:29)
    at Parser.parse (/var/www/etherpad-lite-1.8.5/src/node_modules/pg-protocol/dist/parser.js:39:38)
    at Socket.<anonymous> (/var/www/etherpad-lite-1.8.5/src/node_modules/pg-protocol/dist/index.js:8:42)
    at Socket.emit (events.js:314:20)
    at Socket.EventEmitter.emit (domain.js:486:12)
    at addChunk (_stream_readable.js:307:12)
    at readableAddChunk (_stream_readable.js:282:9)
    at Socket.Readable.push (_stream_readable.js:221:10)
    at Pipe.onStreamRead (internal/stream_base_commons.js:188:23)
#2

Mis à jour par Yves-Gaël Chény il y a plus de 3 ans

2020-09-15 08:50:12.685 CEST [6958] etherpad@etherpad INSTRUCTION :  ALTER TABLE store ALTER COLUMN value TYPE jsonb USING value::jsonb
2020-09-15 08:50:12.798 CEST [6958] etherpad@etherpad LOG:  n'a pas pu envoyer les données au client : Relais brisé (pipe)
2020-09-15 08:50:12.798 CEST [6958] etherpad@etherpad FATAL:  connexion au client perdue
2020-09-15 08:56:11.061 CEST [7590] etherpad@etherpad ERREUR:  séquence d'échappement Unicode non supportée
2020-09-15 08:56:11.061 CEST [7590] etherpad@etherpad DÉTAIL:  \u0000 ne peut pas être converti en texte.
2020-09-15 08:56:11.061 CEST [7590] etherpad@etherpad CONTEXTE :  données JSON, ligne 1 : {"changeset":...
2020-09-15 08:56:11.061 CEST [7590] etherpad@etherpad INSTRUCTION :  ALTER TABLE store ALTER COLUMN value TYPE jsonb USING value::jsonb
#3

Mis à jour par Quentin Gibeaux il y a plus de 3 ans

la partition pgsql était pleine
le vg était aloué à 100%
j'ai ajouté un disque data de 50G et créé un second vg

cf doc : https://admin.chapril.org/doku.php?id=admin:services:drop.chapril.org#preparation

#4

Mis à jour par Yves-Gaël Chény il y a plus de 3 ans

Quelques tâches à faire pour que ça fonctionne
mise à jour npm et node

npm install -g npm
npm install -g n
n latest

nettoyage bdd

sudo -u postgres pg_dump --clean etherpad > etherpad-backup-2020-09-15-0920.psql
sed -i '/\\u0000/d' etherpad-backup-2020-09-15-0920.psql 
sudo -u postgres psql etherpad < etherpad-backup-2020-09-15-0920.psql

puis "patch" suite à une issue dans leur git

vim src/package.json 
    "ueberdb2": "^0.5.2",
cd src
npm update
npm install
cd ..
chown -R etherpad.etherpad *
sudo -u etherpad bin/run.sh

#5

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

  • Statut changé de Nouveau à En cours de traitement
#6

Mis à jour par Yves-Gaël Chény il y a plus de 3 ans

sept. 15 15:15:19 pad.cluster.chapril.org run.sh[2202]: [2020-09-15 15:15:19.481] [ERROR] console - error: syntaxe en entrée invalide pour le type json
sept. 15 15:15:19 pad.cluster.chapril.org run.sh[2202]:     at Parser.parseErrorMessage (/var/www/etherpad-lite-1.8.5/src/node_modules/pg-protocol/dist/parser.js:278:15)
sept. 15 15:15:19 pad.cluster.chapril.org run.sh[2202]:     at Parser.handlePacket (/var/www/etherpad-lite-1.8.5/src/node_modules/pg-protocol/dist/parser.js:126:29)
sept. 15 15:15:19 pad.cluster.chapril.org run.sh[2202]:     at Parser.parse (/var/www/etherpad-lite-1.8.5/src/node_modules/pg-protocol/dist/parser.js:39:38)
sept. 15 15:15:19 pad.cluster.chapril.org run.sh[2202]:     at Socket.<anonymous> (/var/www/etherpad-lite-1.8.5/src/node_modules/pg-protocol/dist/index.js:8:42)
sept. 15 15:15:19 pad.cluster.chapril.org run.sh[2202]:     at Socket.emit (events.js:314:20)
sept. 15 15:15:19 pad.cluster.chapril.org run.sh[2202]:     at Socket.EventEmitter.emit (domain.js:486:12)
sept. 15 15:15:19 pad.cluster.chapril.org run.sh[2202]:     at addChunk (_stream_readable.js:307:12)
sept. 15 15:15:19 pad.cluster.chapril.org run.sh[2202]:     at readableAddChunk (_stream_readable.js:282:9)
sept. 15 15:15:19 pad.cluster.chapril.org run.sh[2202]:     at Socket.Readable.push (_stream_readable.js:221:10)
sept. 15 15:15:19 pad.cluster.chapril.org run.sh[2202]:     at Pipe.onStreamRead (internal/stream_base_commons.js:188:23)
sept. 15 15:15:19 pad.cluster.chapril.org run.sh[2202]: [2020-09-15 15:15:19.482] [INFO] console - graceful shutdown...
sept. 15 15:15:19 pad.cluster.chapril.org run.sh[2202]: [2020-09-15 15:15:19.483] [ERROR] console - TypeError: Cannot read property 'name' of null
sept. 15 15:15:19 pad.cluster.chapril.org run.sh[2202]:     at Client._handleParseComplete (/var/www/etherpad-lite-1.8.5/src/node_modules/pg/lib/client.js:358:26)
sept. 15 15:15:19 pad.cluster.chapril.org run.sh[2202]:     at Connection.emit (events.js:314:20)
sept. 15 15:15:19 pad.cluster.chapril.org run.sh[2202]:     at Connection.EventEmitter.emit (domain.js:486:12)
sept. 15 15:15:19 pad.cluster.chapril.org run.sh[2202]:     at /var/www/etherpad-lite-1.8.5/src/node_modules/pg/lib/connection.js:109:12
sept. 15 15:15:19 pad.cluster.chapril.org run.sh[2202]:     at Parser.parse (/var/www/etherpad-lite-1.8.5/src/node_modules/pg-protocol/dist/parser.js:40:17)
sept. 15 15:15:19 pad.cluster.chapril.org run.sh[2202]:     at Socket.<anonymous> (/var/www/etherpad-lite-1.8.5/src/node_modules/pg-protocol/dist/index.js:8:42)
sept. 15 15:15:19 pad.cluster.chapril.org run.sh[2202]:     at Socket.emit (events.js:314:20)
sept. 15 15:15:19 pad.cluster.chapril.org run.sh[2202]:     at Socket.EventEmitter.emit (domain.js:486:12)
sept. 15 15:15:19 pad.cluster.chapril.org run.sh[2202]:     at addChunk (_stream_readable.js:307:12)
sept. 15 15:15:19 pad.cluster.chapril.org run.sh[2202]:     at readableAddChunk (_stream_readable.js:282:9)
sept. 15 15:15:22 pad.cluster.chapril.org systemd[1]: etherpad-lite.service: Main process exited, code=exited, status=1/
#7

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

Décision d'annuler la mise à jour en remettant la version d'avant ce matin.

#8

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

  • Sujet changé de Mise à jour etherpad-1.8.4 => 1.8.5 à Mise à jour etherpad-1.8.4 => 1.8.6
  • Description mis à jour (diff)
#9

Mis à jour par Yves-Gaël Chény il y a environ 3 ans

  • Sujet changé de Mise à jour etherpad-1.8.4 => 1.8.6 à Mise à jour etherpad-1.8.4 => 1.8.7

mise à jour faire sur chapril à tester en 1.8.7 sur april

#10

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

  • Assigné à Yves-Gaël Chény supprimé
#11

Mis à jour par Romain H. il y a plus de 2 ans

  • Statut changé de En cours de traitement à Résolu
  • Assigné à mis à Romain H.
  • % réalisé changé de 0 à 100

Mis à jour en 1.8.14 depuis.

#12

Mis à jour par Quentin Gibeaux il y a plus de 2 ans

  • Statut changé de Résolu à Fermé

Formats disponibles : Atom PDF