Peertube installation error on raspberry

Bonjour,

**Matériel: Raspberry Pi à la maison
Version de YunoHost: 3.8.3
J’ai accès à mon serveur : En SSH | Par la webadmin | En direct avec un clavier/écran | …
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non

Description du problème

Je lance l’installation de peertube sur yunohost 3.8.3. C’est la première application que j’installe. Plusieurs messages de warning et d’erreur apparaissent. Je précise qu’il n’y a plus de mises à jour disponible pour le 3.8.3. Pourtant, il y a des erreurs sur des dependencies.
Merci pour votre aide.

L’installation échoue avec ces messages d’erreur :
«
error Command failed with exit code 1.

error An unexpected error occurred: “https://registry.yarnpkg.com/rxjs/-/rxjs-6.4.0.tgz: ESOCKETTIMEDOUT”.

warning " > mocha-parallel-tests@2.2.2" has incorrect peer dependency “mocha@3.0.0 - 6.x.x”.

warning " > marked-man@0.7.0" has incorrect peer dependency “marked@^0.7.0”.
»

Voici une copie des détails :«
2020-05-24 14:11:46,515: DEBUG - + node_PATH=/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2020-05-24 14:11:46,517: DEBUG - + ynh_node_load_PATH=PATH=/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2020-05-24 14:11:46,518: DEBUG - + sudo -u peertube env PATH=/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn install --production --pure-lockfile
2020-05-24 14:12:01,170: DEBUG - yarn install v1.22.4
2020-05-24 14:12:01,773: DEBUG - [1/5] Validating package.json...
2020-05-24 14:12:01,875: DEBUG - [2/5] Resolving packages...
2020-05-24 14:12:04,083: DEBUG - [3/5] Fetching packages...
2020-05-24 14:13:35,966: DEBUG - info There appears to be trouble with your network connection. Retrying...
2020-05-24 14:14:09,670: DEBUG - info There appears to be trouble with your network connection. Retrying...
2020-05-24 14:14:35,143: DEBUG - info fsevents@2.1.2: The platform "linux" is incompatible with this module.
2020-05-24 14:14:35,145: WARNING - warning " > marked-man@0.7.0" has incorrect peer dependency "marked@^0.7.0".
2020-05-24 14:14:35,147: DEBUG - info "fsevents@2.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
2020-05-24 14:14:35,148: WARNING - warning " > mocha-parallel-tests@2.2.2" has incorrect peer dependency "mocha@3.0.0 - 6.x.x".
2020-05-24 14:14:35,149: DEBUG - [4/5] Linking dependencies...
2020-05-24 14:15:46,167: DEBUG - [5/5] Building fresh packages...
2020-05-24 14:17:35,113: DEBUG - $ test -n "$NOCLIENT" || (cd client && yarn install --pure-lockfile)
2020-05-24 14:17:37,421: DEBUG - yarn install v1.22.4
2020-05-24 14:17:40,145: DEBUG - [1/4] Resolving packages...
2020-05-24 14:17:43,758: DEBUG - [2/4] Fetching packages...
2020-05-24 14:18:41,138: DEBUG - info There appears to be trouble with your network connection. Retrying...
2020-05-24 14:19:38,320: DEBUG - info There appears to be trouble with your network connection. Retrying...
2020-05-24 14:20:00,216: DEBUG - info There appears to be trouble with your network connection. Retrying...
2020-05-24 14:20:12,358: DEBUG - info There appears to be trouble with your network connection. Retrying...
2020-05-24 14:20:41,347: DEBUG - info There appears to be trouble with your network connection. Retrying...
2020-05-24 14:20:54,189: DEBUG - info There appears to be trouble with your network connection. Retrying...
2020-05-24 14:21:02,214: DEBUG - info There appears to be trouble with your network connection. Retrying...
2020-05-24 14:21:42,838: DEBUG - info There appears to be trouble with your network connection. Retrying...
2020-05-24 14:21:52,870: DEBUG - info There appears to be trouble with your network connection. Retrying...
2020-05-24 14:22:15,941: DEBUG - info There appears to be trouble with your network connection. Retrying...
2020-05-24 14:22:17,849: DEBUG - info If you think this is a bug, please open a bug report with the information provided in "/var/www/peertube/client/yarn-error.log".
2020-05-24 14:22:17,850: WARNING - error An unexpected error occurred: "https://registry.yarnpkg.com/rxjs/-/rxjs-6.4.0.tgz: ESOCKETTIMEDOUT".
2020-05-24 14:22:17,852: DEBUG - info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
2020-05-24 14:22:50,249: DEBUG - info There appears to be trouble with your network connection. Retrying...
2020-05-24 14:23:15,898: DEBUG - info There appears to be trouble with your network connection. Retrying...
2020-05-24 14:23:37,470: DEBUG - info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
2020-05-24 14:23:37,471: WARNING - error Command failed with exit code 1.
2020-05-24 14:23:37,875: DEBUG - + ynh_exit_properly
2020-05-24 14:23:37,876: DEBUG - + local exit_code=1
2020-05-24 14:23:37,876: DEBUG - + '[' 1 -eq 0 ']'
2020-05-24 14:23:37,877: DEBUG - + trap '' EXIT
2020-05-24 14:23:37,878: DEBUG - + set +o errexit
2020-05-24 14:23:37,878: DEBUG - + set +o nounset
2020-05-24 14:23:37,879: DEBUG - + sleep 0.5
2020-05-24 14:23:38,381: DEBUG - + type -t ynh_clean_setup
2020-05-24 14:23:38,383: DEBUG - + ynh_clean_setup
2020-05-24 14:23:38,384: DEBUG - + ynh_clean_check_starting
2020-05-24 14:23:38,386: DEBUG - + '[' -n '' ']'
2020-05-24 14:23:38,387: DEBUG - + '[' -n '' ']'
2020-05-24 14:23:38,388: DEBUG - + exit 1
2020-05-24 14:23:38,519: ERROR - Impossible d’installer peertube : Une erreur est survenue dans le script d’installation de l’application
»

Hello,

hmmmm ben on dirait qu’il a a moitié perdu la connecitivé internet en chemin … c’est chelou mais bon … Naivement je tenterais de relancer une install pour voir si le problème persiste

Bonjour,
J’avais déjà tenté trois fois. Je viens de le relancer mais le résultat est strictement le même.
Merci,

Mokay alors par exemple si tu fais manuellement

wget https://registry.yarnpkg.com/rxjs/-/rxjs-6.4.0.tgz

est-ce que ça marche ?

Oui. Il s’est bien connecté et récupéré en 0,2s.

C’est pas inhabituel de voir yarn déconner… Dés fois il faut juste attendre et retenter un peu plus tard…

internallyscreaming

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.