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

**URL:** https://forum.yunohost.org/t/peertube-mise-a-jour-foiree-et-impossible-de-restaurer-larchive-erreur-502/15233
**Category:** Support apps
**Tags:** peertube, french
**Created:** [April 3, 2021, 5:22pm UTC](https://forum.yunohost.org/t/peertube-mise-a-jour-foiree-et-impossible-de-restaurer-larchive-erreur-502/15233 "2021-04-03T17:22:24Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![alexandre75](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/a/cc9497/32.png) [@alexandre75](https://forum.yunohost.org/u/alexandre75)
#### Post date: [April 3, 2021, 5:22pm UTC](https://forum.yunohost.org/t/peertube-mise-a-jour-foiree-et-impossible-de-restaurer-larchive-erreur-502/15233/1 "2021-04-03T17:22:24Z")

</div>

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](https://paste.yunohost.org/raw/ehedacerit)

---

<div class="post-metadata">

### Author: ![alexandre75](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/a/cc9497/32.png) [@alexandre75](https://forum.yunohost.org/u/alexandre75)
#### Post date: [April 4, 2021, 12:11pm UTC](https://forum.yunohost.org/t/peertube-mise-a-jour-foiree-et-impossible-de-restaurer-larchive-erreur-502/15233/2 "2021-04-04T12:11:07Z")

</div>

Personne ne peut m’aider ?

---

<div class="post-metadata">

### Author: ![alexandre75](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/a/cc9497/32.png) [@alexandre75](https://forum.yunohost.org/u/alexandre75)
#### Post date: [April 4, 2021, 12:50pm UTC](https://forum.yunohost.org/t/peertube-mise-a-jour-foiree-et-impossible-de-restaurer-larchive-erreur-502/15233/3 "2021-04-04T12:50:07Z")

</div>

> [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:](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](https://yarnpkg.com/en/docs/cli/add) 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:](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…

---

<div class="post-metadata">

### Author: ![zephir](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/z/e95f7d/32.png) [@zephir](https://forum.yunohost.org/u/zephir)
#### Post date: [April 5, 2021, 10:21am UTC](https://forum.yunohost.org/t/peertube-mise-a-jour-foiree-et-impossible-de-restaurer-larchive-erreur-502/15233/4 "2021-04-05T10:21:46Z")

</div>

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

---

<div class="post-metadata">

### Author: ![zephir](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/z/e95f7d/32.png) [@zephir](https://forum.yunohost.org/u/zephir)
#### Post date: [April 5, 2021, 10:27am UTC](https://forum.yunohost.org/t/peertube-mise-a-jour-foiree-et-impossible-de-restaurer-larchive-erreur-502/15233/5 "2021-04-05T10:27:02Z")

</div>

Ou éventuellement  
sudo yunohost app upgrade peertube -u [GitHub - YunoHost-Apps/peertube\_ynh: Federated (ActivityPub) video streaming platform using P2P for YunoHost](https://github.com/YunoHost-Apps/peertube_ynh) -F

---

<div class="post-metadata">

### Author: ![zephir](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/z/e95f7d/32.png) [@zephir](https://forum.yunohost.org/u/zephir)
#### Post date: [April 5, 2021, 10:29am UTC](https://forum.yunohost.org/t/peertube-mise-a-jour-foiree-et-impossible-de-restaurer-larchive-erreur-502/15233/6 "2021-04-05T10:29:54Z")

</div>

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](https://github.com/YunoHost-Apps/peertube_ynh) -F’

---

<div class="post-metadata">

### Author: ![zephir](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/z/e95f7d/32.png) [@zephir](https://forum.yunohost.org/u/zephir)
#### Post date: [April 5, 2021, 10:30am UTC](https://forum.yunohost.org/t/peertube-mise-a-jour-foiree-et-impossible-de-restaurer-larchive-erreur-502/15233/7 "2021-04-05T10:30:54Z")

</div>

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

---

<div class="post-metadata">

### Author: ![alexandre75](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/a/cc9497/32.png) [@alexandre75](https://forum.yunohost.org/u/alexandre75)
#### Post date: [April 5, 2021, 12:36pm UTC](https://forum.yunohost.org/t/peertube-mise-a-jour-foiree-et-impossible-de-restaurer-larchive-erreur-502/15233/8 "2021-04-05T12:36:51Z")

</div>

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](https://github.com/YunoHost-Apps/peertube_ynh) -F

Je te tiens au courant !

---

<div class="post-metadata">

### Author: ![alexandre75](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/a/cc9497/32.png) [@alexandre75](https://forum.yunohost.org/u/alexandre75)
#### Post date: [April 5, 2021, 12:44pm UTC](https://forum.yunohost.org/t/peertube-mise-a-jour-foiree-et-impossible-de-restaurer-larchive-erreur-502/15233/9 "2021-04-05T12:44:03Z")

</div>

**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:](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](https://yarnpkg.com/en/docs/cli/add) 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:](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.

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [April 5, 2021, 12:50pm UTC](https://forum.yunohost.org/t/peertube-mise-a-jour-foiree-et-impossible-de-restaurer-larchive-erreur-502/15233/10 "2021-04-05T12:50:32Z")

</div>

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

> [@alexandre75](#):
>
> An unexpected error occurred: “[https://registry.yarnpkg.com/peertube-plugin-slides/-/peertube-plugin-slides-0.0.2.tgz:](https://registry.yarnpkg.com/peertube-plugin-slides/-/peertube-plugin-slides-0.0.2.tgz:) Request failed \“404 Not Found\””.\n’

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

---

<div class="post-metadata">

### Author: ![alexandre75](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/a/cc9497/32.png) [@alexandre75](https://forum.yunohost.org/u/alexandre75)
#### Post date: [April 5, 2021, 1:08pm UTC](https://forum.yunohost.org/t/peertube-mise-a-jour-foiree-et-impossible-de-restaurer-larchive-erreur-502/15233/11 "2021-04-05T13:08:22Z")

</div>

À 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 ?

---

<div class="post-metadata">

### Author: ![alexandre75](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/a/cc9497/32.png) [@alexandre75](https://forum.yunohost.org/u/alexandre75)
#### Post date: [April 6, 2021, 1:00pm UTC](https://forum.yunohost.org/t/peertube-mise-a-jour-foiree-et-impossible-de-restaurer-larchive-erreur-502/15233/12 "2021-04-06T13:00:40Z")

</div>

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

---

<div class="post-metadata">

### Author: ![alexandre75](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/a/cc9497/32.png) [@alexandre75](https://forum.yunohost.org/u/alexandre75)
#### Post date: [April 7, 2021, 2:25pm UTC](https://forum.yunohost.org/t/peertube-mise-a-jour-foiree-et-impossible-de-restaurer-larchive-erreur-502/15233/13 "2021-04-07T14:25:49Z")

</div>

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 !

---

<div class="post-metadata">

### Author: ![ljf](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ljf/32/58_2.png) [@ljf](https://forum.yunohost.org/u/ljf)
#### Post date: [June 26, 2021, 10:08pm UTC](https://forum.yunohost.org/t/peertube-mise-a-jour-foiree-et-impossible-de-restaurer-larchive-erreur-502/15233/15 "2021-06-26T22:08:28Z")

</div>


