Installation YunoHost sur base Buster unstable/experimental

Bonjour,

J’ai monté une VM sur la base d’une net-install Buster afin d’essayer d’aider au passage à Buster en testant l’installation de YunoHost sur cette base
Après l’installation, je suis passé en root, j’ai installé curl mais le lien d’installation ne fonctionne pas :

curl https://raw.githubusercontent.com/YunoHost/install_script/buster/install_yunohost | bash
bash: ligne 1: 404: : commande introuvable

Y-a-t’il un autre lien pour essayer de réaliser l’installation et voir ce qui fonctionne et ne fonctionne pas (encore :wink: ) ?

ppr

Je ne sais pas où tu as eu ce lien, mais si tu cliques dessus, ça dit 404 not found.

La vraie URL est la suivante (branche buster-unstable) : https://raw.githubusercontent.com/YunoHost/install_script/buster-unstable/install_yunohost

Je l’ai trouvé ici :

Je recommencerai dans la semaine avec la vrai URL :slight_smile:
Avec mes connaissances, somme toute relatives, j’espère pouvoir aider au passage à Buster (du moins à une fresh-install sur cette base).

Merci,
ppr

My bad, c’est ma faute du coup :wink: J’ai corrigé le README

Si jamais tu utilises de temps en temps XMPP, il reste encore à valider que la stack XMPP fonctionne bien sous Buster.

Bonsoir,

J’ai juste eu un peu de temps pour réaliser l’installation sur base Buster :
RAS tout s'est bien passé du premier coup.
J’ai ensuite via le web réalisé la post-installation :
RAS tout s'est bien passé du premier coup.
[edit2] RAS tout s'est bien passé du premier coup pour enregistrer un nom de domaine en *ynh.fr
J’ai poursuivi avec la création du premier utilisateur :
RAS tout s'est bien passé du premier coup.
J’ai terminé par l’acquisition d’un certificat Let’s Encrypt :
RAS tout s'est bien passé du premier coup.

Je continuerai plus tard avec l’installation des applications que j’utilise :
Custom Webapp ; Nextcloud ; phpMyAdmin ; Rainloop ; Wallabag ... et j'essaierai de regarder du côté d'XMPP (si tu peux m'en dire plus en MP sur le stack car je ne sais pas ce que c'est).

[edit] : pas mal le rassemblement des applications par thèmes :wink:

ppr

C’est un mot compliqué surtout là pour se la péter, mais ça désigne en gros l’ensemble des éléments qui permettent à un truc de tourner. Par exemple “stack web/php” = nginx + php-fpm + Let’s Encrypt, “stack mail” = postfix + dovecot + rspamd + … + eventuellement les enregistrements DNS correspondants. Dans le cas de XMPP, sur Yunohost il s’agit surtout de metronome (+ les enregistrements DNS correspondants). Du coup en terme de test il s’agit surtout de se connecter avec un client XMPP et de voir les fonctionnalités classiques fonctionnent.

Mais si tu n’as pas l’habitude d’utiliser XMPP avec Yunohost, laisse béton, déjà tester les éléments que tu mentionnes c’est cool !

Je peux aussi tenter de réaliser une installation “Neuve” sous Buster. Est-ce pertinent vu les résultats de @ppr ?
Quels autre tests pourraient aider à valider Buster? (MAJ depuis un Yunohost Jessie existant plutôt que nouvelle installation?)

Je n’utilise plus la stack XMPP depuis qu’il n’y a plus de client web (j’ai toujours une appli Converse sous le coude à packager…)

Bonsoir,

Je viens de tenter d’installer Nextcloud mais sans succès :
https://paste.yunohost.org/raw/zodiqirosu
Je reviens tout à l’heure …

… me revoilou !

J’ai essayé d’installer à la main en CLI les dépendances, mais pas mieux. D’ailleurs, php-mcrypt n’a pas d’installation candidate.

php-gd php-json php-intl php-mcrypt php-curl php-apcu php-redis php-ldap php-imagick php-zip php-mbstring php-xml imagemagick acl tar smbclient at

Résumé

L’opération ‘Installer l’application ‘nextcloud’’ a échouée ! Pour obtenir de l’aide, merci de partager le journal de l’opération en cliquant ici

Removal of nextcloud completed

Removing the dedicated system user…

‘/etc/cron.d/nextcloud’ wasn’t deleted because it doesn’t exist.

e[93me[1m[WARN]e[0m The user nextcloud was not found

‘/etc/fail2ban/filter.d/nextcloud.conf’ wasn’t deleted because it doesn’t exist.

‘/etc/fail2ban/jail.d/nextcloud.conf’ wasn’t deleted because it doesn’t exist.

Removing fail2ban configuration…

Removing logrotate configuration…

‘/etc/php/7.3/fpm/conf.d/20-nextcloud.ini’ wasn’t deleted because it doesn’t exist.

‘/etc/php/7.3/fpm/pool.d/nextcloud.conf’ wasn’t deleted because it doesn’t exist.

Removing php-fpm configuration…

‘/etc/nginx/conf.d/buster.ynh.fr.d/nextcloud.conf’ wasn’t deleted because it doesn’t exist.

Removing nginx web server configuration…

Removing app main directory…

e[93me[1m[WARN]e[0m ynh_secure_remove called with empty argument, ignoring.

Removing the MySQL database…

ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘’ at line 1

Removing dependencies…

Loading installation settings…

Supprimer l’application après l’échec de l’installation…

L’opération ‘Installer l’application ‘nextcloud’’ a échouée ! Pour obtenir de l’aide, merci de partager le journal de l’opération en cliquant ici

Impossible d’installer nextcloud: Une erreur est survenue dans le script d’installation de l’application

Unable to install dependencies

E: Les paquets doivent être enlevés, mais la désinstallation est désactivée.

Installing dependencies…

Storing installation settings…

Validating installation parameters…

Installation de l’application nextcloud …

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

J’ai pu installer et désinstaller Custom Webapp en version simple et multi.

Je n’ai pas pu installer phpmyadmin :
https://paste.yunohost.org/raw/afoveyayey

J’ai pu installer et désinstaller Rainloop, d’ailleurs il y avait bien l’email dans la boite de réception suite à l’installation de Custom Webapp.

J’ai pu installer et désinstaller Wallabag, mais il subsiste des warning.

Résumé

/!\ Packagers! This app is still using the skipped/protected/unprotected_uris/regex settings which are now obsolete and deprecated… Instead, you should use the new helpers ‘ynh_permission_{create,urls,update,delete}’ and the ‘visitors’ group to initialize the public/private access. Check out the documentation at the bottom of Users groups and permissions | Yunohost Documentation to learn how to use the new permission mechanism.

PHP Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /var/www/wallabag2/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php on line 2665

PHP Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /var/www/wallabag2/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php on line 2636

PHP Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /var/www/wallabag2/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php on line 2665

PHP Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /var/www/wallabag2/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php on line 2636

PHP Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /var/www/wallabag2/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php on line 2665

PHP Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /var/www/wallabag2/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php on line 2636

PHP Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /var/www/wallabag2/vendor/zendframework/zend-code/src/Reflection/MethodReflection.php on line 319

PHP Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /var/www/wallabag2/vendor/zendframework/zend-code/src/Reflection/MethodReflection.php on line 314

PHP Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /var/www/wallabag2/vendor/zendframework/zend-code/src/Reflection/MethodReflection.php on line 296

PHP Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /var/www/wallabag2/vendor/zendframework/zend-code/src/Reflection/MethodReflection.php on line 287

PHP Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /var/www/wallabag2/vendor/zendframework/zend-code/src/Reflection/MethodReflection.php on line 281

PHP Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /var/www/wallabag2/vendor/zendframework/zend-code/src/Reflection/MethodReflection.php on line 275

PHP Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /var/www/wallabag2/vendor/zendframework/zend-code/src/Reflection/MethodReflection.php on line 272

ppr

Bonsoir, j’utilise XMPP (avec 1 ami seulement :grin: ), mais si vous voulez je peux monter un serveur buster (de test, une clean install, pas mon serveur de prod :wink: ) pour voir si ça marche. Dites-moi !

Oui. -

Bonjour,

J’ai essayé de refaire une fresh-install mais cette fois sans succès.

Visiblement un souci de création d’utilisateur côté avahi :

INFO] Running register_debconf
[INFO] Running workarounds_because_sysadmin_sucks
[INFO] Workaround for avahi : creating avahi user with uid 762
[FAIL] Unable to run stupid workarounds

Résumé

root@debian:/home/buster# apt install curl
Lecture des listes de paquets… Fait
Construction de l’arbre des dépendances
Lecture des informations d’état… Fait
Les paquets supplémentaires suivants seront installés :
libcurl4
Les NOUVEAUX paquets suivants seront installés :
curl libcurl4
0 mis à jour, 2 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 596 ko dans les archives.
Après cette opération, 1 123 ko d’espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n]
Réception de :1 Index of /debian-security buster/updates/main amd64 libcurl4 amd64 7.64.0-4+deb10u1 [331 kB]
Réception de :2 Index of /debian-security buster/updates/main amd64 curl amd64 7.64.0-4+deb10u1 [264 kB]
596 ko réceptionnés en 1s (791 ko/s)
Sélection du paquet libcurl4:amd64 précédemment désélectionné.
(Lecture de la base de données… 27646 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de …/libcurl4_7.64.0-4+deb10u1_amd64.deb …
Dépaquetage de libcurl4:amd64 (7.64.0-4+deb10u1) …
Sélection du paquet curl précédemment désélectionné.
Préparation du dépaquetage de …/curl_7.64.0-4+deb10u1_amd64.deb …
Dépaquetage de curl (7.64.0-4+deb10u1) …
Paramétrage de libcurl4:amd64 (7.64.0-4+deb10u1) …
Paramétrage de curl (7.64.0-4+deb10u1) …
Traitement des actions différées (« triggers ») pour man-db (2.8.5-2) …
Traitement des actions différées (« triggers ») pour libc-bin (2.28-10) …
root@debian:/home/buster# curl https://raw.githubusercontent.com/YunoHost/install_script/buster-unstable/install_yunohost | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 21962 100 21962 0 0 57794 0 --:–:-- --:–:-- --:–:-- 57794
[INFO] Running upgrade_system
[INFO] Running install_script_dependencies
[INFO] Running create_custom_config
[INFO] Running confirm_installation
[INFO] Running manage_sshd_config
[INFO] Running fix_locales
main: ligne 531: locale-gen : commande introuvable
/etc/environment: ligne 1: avertissement :setlocale : LC_ALL : impossible de changer le paramètre de langue (en_US.UTF-8) : Aucun fichier ou dossier de ce type
[INFO] Running setup_package_source
[INFO] Running apt_update
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = “en_US.UTF-8”,
LANG = “fr_FR.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to a fallback locale (“fr_FR.UTF-8”).
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = “en_US.UTF-8”,
LANG = “fr_FR.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to a fallback locale (“fr_FR.UTF-8”).
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = “en_US.UTF-8”,
LANG = “fr_FR.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to a fallback locale (“fr_FR.UTF-8”).
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
[INFO] Running register_debconf
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = “en_US.UTF-8”,
LANG = “fr_FR.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to a fallback locale (“fr_FR.UTF-8”).
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
[INFO] Running workarounds_because_sysadmin_sucks
[INFO] Workaround for avahi : creating avahi user with uid 762
main: ligne 480: adduser : commande introuvable
[FAIL] Unable to run stupid workarounds
[INFO] Installation logs are available in /var/log/yunohost-installation_20200307_143948.log
root@debian:/home/buster#

https://paste.yunohost.org/topalezasu.erl

[edit 2 : 20200308_103455]

J’ai essayé de refaire une fresh-install sans succès.
Visiblement il manque la commande adduser dans le script pour créer un utilisateur côté avahi :

[INFO] Running workarounds_because_sysadmin_sucks
[INFO] Workaround for avahi : creating avahi user with uid 837
main: ligne 480: adduser : commande introuvable
[FAIL] Unable to run stupid workarounds
[INFO] Installation logs are available in /var/log/yunohost-installation_20200308_103455.log

Résumé

root@debian:/home/buster# curl https://raw.githubusercontent.com/YunoHost/install_script/buster-unstable/install_yunohost | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 21962 100 21962 0 0 42479 0 --:–:-- --:–:-- --:–:-- 42479
[INFO] Running upgrade_system
[INFO] Running install_script_dependencies
[INFO] Running create_custom_config
[INFO] Running confirm_installation
[INFO] Running manage_sshd_config
[INFO] Running fix_locales
main: ligne 531: locale-gen : commande introuvable
/etc/environment: ligne 1: avertissement :setlocale : LC_ALL : impossible de changer le paramètre de langue (en_US.UTF-8) : Aucun fichier ou dossier de ce type
[INFO] Running setup_package_source
[INFO] Running apt_update
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = “en_US.UTF-8”,
LANG = “fr_FR.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to a fallback locale (“fr_FR.UTF-8”).
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = “en_US.UTF-8”,
LANG = “fr_FR.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to a fallback locale (“fr_FR.UTF-8”).
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = “en_US.UTF-8”,
LANG = “fr_FR.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to a fallback locale (“fr_FR.UTF-8”).
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
[INFO] Running register_debconf
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = “en_US.UTF-8”,
LANG = “fr_FR.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to a fallback locale (“fr_FR.UTF-8”).
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
[INFO] Running workarounds_because_sysadmin_sucks
[INFO] Workaround for avahi : creating avahi user with uid 837
main: ligne 480: adduser : commande introuvable
[FAIL] Unable to run stupid workarounds
[INFO] Installation logs are available in /var/log/yunohost-installation_20200308_103455.log

Log : hastebin

[edit 3 : 20200308_185311]

J’ai ré-essayé de refaire une fresh-install avec succès, ainsi que la postinstall.
Il faut être directement en root pour que ça fonctionne.
Si on passe par le user puis su ça ne fonctionne pas et il y a le soucis avec avahi.

ppr

Hello, I took a fresh VPS to try buster. I install with
curl https://raw.githubusercontent.com/YunoHost/install_script/buster-unstable/install_yunohost | bash
This worked well. After I tried to run to postinstall in Web UI and cli and it both failed :

28758 INFO The operation 'Regenerate system configurations '2_categories'' could not be completed. Please share the full log of this operation using the command 'yunohost log display 20200307-151025-regen_conf-2_categories --share' to get help

28760 INFO The operation 'Postinstall your YunoHost server' could not be completed. Please share the full log of this operation using the command 'yunohost log display 20200307-151025-tools_postinstall-buster.noho.st --share' to get help

Here are the logs :
https://paste.yunohost.org/raw/ikuserohal
https://paste.yunohost.org/raw/eqobuzomit

My bad, I pushed a fix and I’m testing it right now. If you still have your server, doing an apt update && apt dist-upgrade should do the trick (maybe you’ll have warnings about LDAP when re-running the postinstall but that should be fine)

Edit: …or not… lemme dig deeper into this.

Edit 2: should be good now.

Bonsoir,

J’ai ré-essayé de refaire une fresh-install avec succès, ainsi que la postinstall aussi.
Il faut absolument être directement en root pour que ça fonctionne.
Si on passe par le user puis su ça ne fonctionne pas et il y a le soucis avec avahi (cf. mon post n°11 de ce fil).

ppr

Hi all, my two cents: I successfully installed YNH on a Buster debian provided as is on a OVH VPS. I got no issues with the web postinstall. :white_check_mark:

I got two warning from the Diagnostics section:

Impossible d'extraire le résultat du diagnostic pour la catégorie 'systemresources': unmatched '{' in format
This one appears in the logs at the top of the page.

La résolution DNS semble fonctionner, mais soyer prudent en utilisant un fichier /etc/resolv.conf personnalisé.
I did not alter in any way resolv.conf file. I have just submitted a fix for the horrendous typo on “soyez”. :innocent:

1 Like

Bonjour @anonyme27 et @Greg75 ,

Voici 2 liens pour suivre le travail sur Buster.


https://dash.yunohost.org/appci/branch/buster

Plutôt que de poster sur le forum tant que YunoHost n’est pas officiellement porté sur Buster ainsi que les applications, le mieux est de suivre le conseil d’ @Aleks : faire remonter les éventuels soucis sur le repo GitHub en pensant à bien typer le titre tel que [buster] voire y associer l’application et/ou l’architecture [buster-yunohost-arm] ou [buster-nextcloud-amd64] par exemple.

ppr