PeerTube | Mise à jour foirée et impossible de restaurer l'archive (erreur 502)

Bonjour,

Suite à la tentative de mise à jour, qui a littéralement foiré, j’ai maintenant une erreur 502 qui s’affiche, et il semble impossible de restaurer l’application telle qu’elle fonctionnait auparavant.

Log ci-dessous :

https://paste.yunohost.org/raw/ehedacerit

Personne ne peut m’aider ?

[Error] Upgrade failed.

npm ERR! /root/.npm/_logs/2021-04-04T12_49_06_502Z-debug.log

npm ERR! A complete log of this run can be found in:

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! Failed at the peertube@3.1.0 plugin:install script.

npm ERR!

npm ERR! Exit status 255

npm ERR! peertube@3.1.0 plugin:install: node ./dist/scripts/plugin/install.js "--npm-name" "peertube-plugin-auth-ldap"

npm ERR! errno 255

npm ERR! code ELIFECYCLE

}

‘error An unexpected error occurred: “https://registry.yarnpkg.com/peertube-plugin-slides/-/peertube-plugin-slides-0.0.2.tgz: Request failed \“404 Not Found\””.\n’

‘warning No license field\n’ +

stderr: ‘warning package.json: No license field\n’ +

‘info Visit yarn add | Yarn for documentation about this command.\n’,

‘info If you think this is a bug, please open a bug report with the information provided in “/home/yunohost.app/peertube/storage/plugins/yarn-error.log”.\n’ +

‘[2/4] Fetching packages…\n’ +

‘[1/4] Resolving packages…\n’ +

stdout: ‘yarn add v1.22.4\n’ +

},

cmd: ‘yarn add peertube-plugin-auth-ldap’

signal: null,

code: 1,

killed: false,

at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) {

at maybeClose (internal/child_process.js:1048:16)

at ChildProcess.emit (events.js:315:20)

at ChildProcess.exithandler (child_process.js:308:12)

error An unexpected error occurred: “https://registry.yarnpkg.com/peertube-plugin-slides/-/peertube-plugin-slides-0.0.2.tgz: Request failed "404 Not Found"”.

warning No license field

warning package.json: No license field

err: Error: Command failed: yarn add peertube-plugin-auth-ldap

{

Installing LDAP plugin…

Building Yarn dependencies…

Modifying a config file…

Creating the data directory…

Making sure dedicated system user exists…

‘/usr/share/yunohost/hooks/conf_regen/15-nginx_peertube’ wasn’t deleted because it doesn’t exist.

‘/etc/apt/trusted.gpg.d/peertube.asc’ wasn’t deleted because it doesn’t exist.

Upgrading dependencies…

Upgrading NGINX web server configuration…

Upgrading source files…

Stopping a systemd service…

Backing up the app before upgrading (may take a while)…

‘/etc/apt/sources.list.d/yarn.list’ wasn’t deleted because it doesn’t exist.

‘/etc/apt/sources.list.d/jessie-backports.list’ wasn’t deleted because it doesn’t exist.

NOTICE: l’extension « pg_trgm » existe déjà, poursuite du traitement

NOTICE: l’extension « unaccent » existe déjà, poursuite du traitement

Ensuring downward compatibility…

Checking version…

L’utilisateur est inconnu

Loading installation settings…

Salut ,Essaye sudo yunohost app upgrade peertube -u https://github.com/YunoHost-Apps/peertube_ynh

Ou éventuellement
sudo yunohost app upgrade peertube -u GitHub - YunoHost-Apps/peertube_ynh: Federated (ActivityPub) video streaming platform using P2P for YunoHost -F

ou éventuellement (correction du poste d’avant) ‘sudo yunohost app upgrade peertube -u GitHub - YunoHost-Apps/peertube_ynh: Federated (ActivityPub) video streaming platform using P2P for YunoHost -F’

en gros la même ligne de commande avec -F en fin de ligne

Merci, je viens de lancer la commande =

sudo yunohost app upgrade peertube -u GitHub - YunoHost-Apps/peertube_ynh: Federated (ActivityPub) video streaming platform using P2P for YunoHost -F

Je te tiens au courant !

Echec !

Attention : {
Attention : err: Error: Command failed: yarn add peertube-plugin-auth-ldap
Attention : warning package.json: No license field
Attention : warning No license field
Attention : error An unexpected error occurred: “https://registry.yarnpkg.com/peertube-plugin-slides/-/peertube-plugin-slides-0.0.2.tgz: Request failed "404 Not Found"”.
Attention : at ChildProcess.exithandler (child_process.js:308:12)
Attention : at ChildProcess.emit (events.js:315:20)
Attention : at maybeClose (internal/child_process.js:1048:16)
Attention : at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) {
Attention : killed: false,
Attention : code: 1,
Attention : signal: null,
Attention : cmd: ‘yarn add peertube-plugin-auth-ldap’
Attention : },
Attention : stdout: ‘yarn add v1.22.4\n’ +
Attention : ‘[1/4] Resolving packages…\n’ +
Attention : ‘[2/4] Fetching packages…\n’ +
Attention : ‘info If you think this is a bug, please open a bug report with the information provided in “/home/yunohost.app/peertube/storage/plugins/yarn-error.log”.\n’ +
Attention : ‘info Visit yarn add | Yarn for documentation about this command.\n’,
Attention : stderr: ‘warning package.json: No license field\n’ +
Attention : ‘warning No license field\n’ +
Attention : ‘error An unexpected error occurred: “https://registry.yarnpkg.com/peertube-plugin-slides/-/peertube-plugin-slides-0.0.2.tgz: Request failed \“404 Not Found\””.\n’
Attention : }
Attention : npm ERR! code ELIFECYCLE
Attention : npm ERR! errno 255
Attention : npm ERR! peertube@3.1.0 plugin:install: node ./dist/scripts/plugin/install.js "--npm-name" "peertube-plugin-auth-ldap"
Attention : npm ERR! Exit status 255
Attention : npm ERR!
Attention : npm ERR! Failed at the peertube@3.1.0 plugin:install script.
Attention : npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Attention : npm ERR! A complete log of this run can be found in:
Attention : npm ERR! /root/.npm/_logs/2021-04-05T12_40_34_467Z-debug.log
Attention : [Error] Upgrade failed.

Je comprends pas pourquoi ça échoue chez toi, sur notre batterie de test automatique, l’upgrade passe bien :confused:

Est-ce que ce plugin-slide serait un truc que tu as installé à la main dans peertube ?

À vrai dire, je ne me souviens plus si je l’ai installé par la case paramètres sur l’interface PeerTube… Comment faire pour le désactiver du coup ?

Quelqu’un peut-il m’aider, svp ?

Ce serait cool si quelqu’un pouvait me dépanner car j’ai plusieurs utilisateurs, dont moi-même avec pas mal de vidéos. Je n’arrive même pas à restaurer l’application depuis la sauvegarde ! Help !