Échec de la post-installation Yunohost sur Lime2

Bonjour,

Je m’intéresse beaucoup votre projet que je suis depuis quelques années. Je me suis procuré une carte A20-OLinuXino-Lime2 en 2017 pour me créer un serveur perso à l’aide de Yunohost, mais j’avais abandonné à l’époque après plusieurs tentatives infructueuses. Je retente le coup 3 ans plus tard, mais sans davantage de succès. Cette fois-ci j’ai décidé de demander de l’aide.

Mon serveur YunoHost

Matériel: A20-OLinuXino-Lime2 avec carte microSD 8GB
Version de YunoHost: ? La plus récente par installation manuelle (3.7.?)
J’ai accès à mon serveur : En SSH | En direct avec un clavier/écran
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : oui
Si oui, expliquer: mon FAI bloque les ports 25 et 53. Je ne compte pas me servir du serveur de courrier. Serveur branché sur un port Ethernet d’un routeur Netgear qui lui est connecté à un modem-câble Technicolor.

Description du problème

L’image disponible pour Lime2 n’offrant que la version 3.4.2,4, j’ai choisi d’installer Armbian stretch sur kernel 5.4.20-sunxi depuis l’image fournie par le projet Armbian, et d’installer manuellement la toute dernière version de Yunohost.

Donc :

  1. J’ai téléchargé l’image Armbian_20.02.1_Lime2_stretch_current_5.4.20.img, l’ai gravée sur carte microSD puis démarré sur la Lime2

  2. Via clavier/écran, mis à jour le système (sudo apt update && sudo apt upgrade)

  3. Via ssh, lancé l’installation manuelle de Yunohost avec

    root@lime2:~# curl https://install.yunohost.org | bash
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
    100 22359  100 22359    0     0  19354      0  0:00:01  0:00:01 --:--:-- 19375
    [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
    Generating locales (this might take a while)...
      en_US.UTF-8... done
    Generation complete.
    [INFO] Running setup_package_source
    [INFO] Running apt_update
    [INFO] Running register_debconf
    [INFO] Running workarounds_because_sysadmin_sucks
    [INFO] Workaround for avahi : creating avahi user with uid 836
    [INFO] Running install_yunohost_packages
    [INFO] Running restart_services
    [INFO] Installation logs are available in /var/log/yunohost-   installation_20200513_043653.log
    [ OK ] YunoHost installation completed !
    ===============================================================================
    You should now proceed with Yunohost post-installation. This is where you will
    be asked for :
      - the main domain of your server ;
      - the administration password.
    
  4. Je suis passé en post-installation via l’Interface web. La page du navigateur a affiché ces étapes :

    Vous ne pouvez pas jouer avec ip6tables ici. Vous êtes soit dans un conteneur, soit votre noyau ne le prend pas en charge

    Vous ne pouvez pas jouer avec iptables ici. Vous êtes soit dans un conteneur, soit votre noyau ne le prend pas en charge

    Le mot de passe d’administration a été modifié

    Votre mot de passe root a été remplacé par votre mot de passe administrateur.

    Le domaine principal modifié

    Le domaine a été créé

    Le certificat auto-signé est maintenant installé pour le domaine « noc.noho.st »

    La tâche cron pour le domaine DynDNS a été créée

    Domaine DynDNS enregistré

    L’autorité de certification locale créée.

    La configuration a été mise à jour pour ‘ssl’

    L’annuaire LDAP initialisé

    La configuration a été mise à jour pour ‘nslcd’

    Le fichier de configuration ‘/etc/nslcd.conf’ est maintenant géré par YunoHost (catégorie nslcd).

    La configuration a été mise à jour pour ‘nsswitch’

    Le fichier de configuration ‘/etc/nsswitch.conf’ est maintenant géré par YunoHost (catégorie nsswitch).

    L’installation de YunoHost est en cours …

  5. Et puis le bandeau supérieur dans la page a affiché le message d’erreur suivant :

    L’opération ‘Faire la post-installation de votre serveur YunoHost’ a échouée ! Pour obtenir de l’aide, merci de partager le journal de l’opération en cliquant ici

    L’ennui c’est que le lien fourni ne conduisait pas au journal de l’opération, mais retournait à la page d’accueil pour débuter la post-installation. Le lien était https://192.168.1.11/yunohost/admin/#/tools/logs/20200513-051924-tools_postinstall-noc.noho.st. J’ai tenté de le retracer, mais le seul fichier log que j’ai pu trouver est celui de l’installation initiale sous /var/log/. Je dois dire que je ne suis pas un pro de la CLI…

Je m’interroge donc sur la meilleure marche à suivre. Devrais-je retenter la post-installation ? Devrais-je plutôt repartir de zéro à partir de l’image 3.4.2.4 pour Lime2? Est-ce que je ne risque pas d’avoir un problème avec le nom de sous-domaine choisi puisqu’il a sûrement été enregistré sur vos serveurs ?

Merci de votre aide, je voudrais vraiment réussir à installer Yunohost!

Normand

Salut,

merci pour tous les détails,

il faudrait qu’on règle cette histoire de lien vers le log qui ne marche pas … mais en attendant le vrai log devrait se trouver dans /var/log/yunohost/categories/operation

Du coup tu peux faire

cd /var/log/yunohost/categories/operation
ls -thor # Pour lister par ordre de derniere modif, plus recent en bas

Puis parmis les fichiers les plus recents, tu devrais avoir un fichier '20200513-051924-tools_postinstall-noc.noho.st.log'

Il faut ensuite faire 'cat le_fichier_que_tu_as_trouvé.log'

Hé, merci pour la réponse rapide !

Je n’avais pas pensé regarder dans les sous-dossiers.

Voici le retour du log :

2020-05-13 05:19:24,239: INFO - L'installation de YunoHost est en cours …
2020-05-13 05:19:24,268: DEBUG - No custom hook for action 'conf_regen' in /etc/yunohost/hooks.d/
2020-05-13 05:19:24,350: DEBUG - Exécution de la commande 'sh -c YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpWD351r/stdinfo YNH_STDRETURN=/tmp/tmpN3XsZQ/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./09-nslcd" pre 1 0 /home/yunohost.conf/pending/nslcd 7>&1' …
2020-05-13 05:19:24,353: DEBUG - About to run the command '['sh', '-c', 'YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpWD351r/stdinfo YNH_STDRETURN=/tmp/tmpN3XsZQ/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./09-nslcd" pre 1 0 /home/yunohost.conf/pending/nslcd 7>&1']'
2020-05-13 05:19:24,460: DEBUG - + set -e
2020-05-13 05:19:24,469: DEBUG - + FORCE=1
2020-05-13 05:19:24,483: DEBUG - + DRY_RUN=0
2020-05-13 05:19:24,487: DEBUG - + case "$1" in
2020-05-13 05:19:24,490: DEBUG - + do_pre_regen /home/yunohost.conf/pending/nslcd
2020-05-13 05:19:24,493: DEBUG - + pending_dir=/home/yunohost.conf/pending/nslcd
2020-05-13 05:19:24,495: DEBUG - + cd /usr/share/yunohost/templates/nslcd
2020-05-13 05:19:24,498: DEBUG - + install -D -m 644 nslcd.conf /home/yunohost.conf/pending/nslcd/etc/nslcd.conf
2020-05-13 05:19:24,500: DEBUG - + exit 0
2020-05-13 05:19:24,661: DEBUG - Exécution de la commande 'sh -c YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpYjjSSs/stdinfo YNH_STDRETURN=/tmp/tmpXn24PY/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./46-nsswitch" pre 1 0 /home/yunohost.conf/pending/nsswitch 7>&1' …
2020-05-13 05:19:24,668: DEBUG - About to run the command '['sh', '-c', 'YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpYjjSSs/stdinfo YNH_STDRETURN=/tmp/tmpXn24PY/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./46-nsswitch" pre 1 0 /home/yunohost.conf/pending/nsswitch 7>&1']'
2020-05-13 05:19:24,785: DEBUG - + set -e
2020-05-13 05:19:24,793: DEBUG - + FORCE=1
2020-05-13 05:19:24,798: DEBUG - + DRY_RUN=0
2020-05-13 05:19:24,813: DEBUG - + case "$1" in
2020-05-13 05:19:24,816: DEBUG - + do_pre_regen /home/yunohost.conf/pending/nsswitch
2020-05-13 05:19:24,819: DEBUG - + pending_dir=/home/yunohost.conf/pending/nsswitch
2020-05-13 05:19:24,822: DEBUG - + cd /usr/share/yunohost/templates/nsswitch
2020-05-13 05:19:24,824: DEBUG - + install -D -m 644 nsswitch.conf /home/yunohost.conf/pending/nsswitch/etc/nsswitch.conf
2020-05-13 05:19:24,826: DEBUG - + exit 0
2020-05-13 05:19:24,985: DEBUG - Applique la configuration en attente pour la catégorie 'nsswitch' …
2020-05-13 05:19:24,988: DEBUG - category nsswitch is not in categories.yml yet.
2020-05-13 05:19:24,992: DEBUG - processing pending conf '/home/yunohost.conf/pending/nsswitch/etc/nsswitch.conf' to system conf '/etc/nsswitch.conf'
2020-05-13 05:19:24,996: DEBUG - > system conf is not managed yet
2020-05-13 05:19:24,998: INFO - Le fichier de configuration '/etc/nsswitch.conf' est maintenant géré par YunoHost (catégorie nsswitch).
2020-05-13 05:19:25,006: DEBUG - Le fichier de configuration '/etc/nsswitch.conf' a été sauvegardé sous '/home/yunohost.conf/backup/etc/nsswitch.conf-20200513.051925'
2020-05-13 05:19:25,010: DEBUG - Le fichier de configuration '/etc/nsswitch.conf' a été mis à jour
2020-05-13 05:19:25,013: SUCCESS - La configuration a été mise à jour pour 'nsswitch'
2020-05-13 05:19:25,017: DEBUG - updating conf hashes for 'nsswitch' with: {'/etc/nsswitch.conf': 'b3866c593dca88380ce1fe10d660298f'}
2020-05-13 05:19:25,027: DEBUG - Applique la configuration en attente pour la catégorie 'nslcd' …
2020-05-13 05:19:25,038: DEBUG - category nslcd is not in categories.yml yet.
2020-05-13 05:19:25,041: DEBUG - processing pending conf '/home/yunohost.conf/pending/nslcd/etc/nslcd.conf' to system conf '/etc/nslcd.conf'
2020-05-13 05:19:25,044: DEBUG - > system conf is not managed yet
2020-05-13 05:19:25,046: INFO - Le fichier de configuration '/etc/nslcd.conf' est maintenant géré par YunoHost (catégorie nslcd).
2020-05-13 05:19:25,052: DEBUG - Le fichier de configuration '/etc/nslcd.conf' a été sauvegardé sous '/home/yunohost.conf/backup/etc/nslcd.conf-20200513.051925'
2020-05-13 05:19:25,056: DEBUG - Le fichier de configuration '/etc/nslcd.conf' a été mis à jour
2020-05-13 05:19:25,059: SUCCESS - La configuration a été mise à jour pour 'nslcd'
2020-05-13 05:19:25,063: DEBUG - updating conf hashes for 'nslcd' with: {'/etc/nslcd.conf': '84be3019fcddb78070798ffa147a48ec'}
2020-05-13 05:19:25,084: DEBUG - No custom hook for action 'conf_regen' in /etc/yunohost/hooks.d/
2020-05-13 05:19:25,097: DEBUG - Exécution de la commande 'sh -c YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpyuS6zD/stdinfo YNH_STDRETURN=/tmp/tmppzjfOa/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./09-nslcd" post 1 0 /etc/nslcd.conf 7>&1' …
2020-05-13 05:19:25,100: DEBUG - About to run the command '['sh', '-c', 'YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpyuS6zD/stdinfo YNH_STDRETURN=/tmp/tmppzjfOa/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./09-nslcd" post 1 0 /etc/nslcd.conf 7>&1']'
2020-05-13 05:19:25,183: DEBUG - + set -e
2020-05-13 05:19:25,205: DEBUG - + FORCE=1
2020-05-13 05:19:25,208: DEBUG - + DRY_RUN=0
2020-05-13 05:19:25,211: DEBUG - + case "$1" in
2020-05-13 05:19:25,215: DEBUG - + do_post_regen /etc/nslcd.conf
2020-05-13 05:19:25,218: DEBUG - + regen_conf_files=/etc/nslcd.conf
2020-05-13 05:19:25,222: DEBUG - + [[ -z /etc/nslcd.conf ]]
2020-05-13 05:19:25,225: DEBUG - + service nslcd restart
2020-05-13 05:19:25,742: DEBUG - + exit 0
2020-05-13 05:19:25,798: DEBUG - Exécution de la commande 'sh -c YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpfkPKYG/stdinfo YNH_STDRETURN=/tmp/tmpGELcVT/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./46-nsswitch" post 1 0 /etc/nsswitch.conf 7>&1' …
2020-05-13 05:19:25,801: DEBUG - About to run the command '['sh', '-c', 'YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpfkPKYG/stdinfo YNH_STDRETURN=/tmp/tmpGELcVT/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./46-nsswitch" post 1 0 /etc/nsswitch.conf 7>&1']'
2020-05-13 05:19:26,001: DEBUG - + set -e
2020-05-13 05:19:26,034: DEBUG - + FORCE=1
2020-05-13 05:19:26,062: DEBUG - + DRY_RUN=0
2020-05-13 05:19:26,066: DEBUG - + case "$1" in
2020-05-13 05:19:26,077: DEBUG - + do_post_regen /etc/nsswitch.conf
2020-05-13 05:19:26,081: DEBUG - + regen_conf_files=/etc/nsswitch.conf
2020-05-13 05:19:26,085: DEBUG - + [[ -z /etc/nsswitch.conf ]]
2020-05-13 05:19:26,088: DEBUG - + service unscd restart
2020-05-13 05:19:26,091: DEBUG - + exit 0
2020-05-13 05:19:26,270: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20200513-051924-regen_conf-2_categories" style="text-decoration:underline"> Régénérer les configurations du système '2_categories' </a>'
2020-05-13 05:19:26,759: SUCCESS - L’annuaire LDAP initialisé
2020-05-13 05:19:26,867: DEBUG - No custom hook for action 'conf_regen' in /etc/yunohost/hooks.d/
2020-05-13 05:19:26,895: DEBUG - Exécution de la commande 'sh -c YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmp8foaMC/stdinfo YNH_STDRETURN=/tmp/tmpm8AUmI/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./02-ssl" pre 1 0 /home/yunohost.conf/pending/ssl 7>&1' …
2020-05-13 05:19:26,898: DEBUG - About to run the command '['sh', '-c', 'YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmp8foaMC/stdinfo YNH_STDRETURN=/tmp/tmpm8AUmI/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./02-ssl" pre 1 0 /home/yunohost.conf/pending/ssl 7>&1']'
2020-05-13 05:19:27,104: DEBUG - + set -e
2020-05-13 05:19:27,109: DEBUG - + ssl_dir=/usr/share/yunohost/yunohost-config/ssl/yunoCA
2020-05-13 05:19:27,112: DEBUG - + FORCE=1
2020-05-13 05:19:27,114: DEBUG - + DRY_RUN=0
2020-05-13 05:19:27,116: DEBUG - + case "$1" in
2020-05-13 05:19:27,118: DEBUG - + do_pre_regen /home/yunohost.conf/pending/ssl
2020-05-13 05:19:27,120: DEBUG - + pending_dir=/home/yunohost.conf/pending/ssl
2020-05-13 05:19:27,122: DEBUG - + cd /usr/share/yunohost/templates/ssl
2020-05-13 05:19:27,124: DEBUG - + install -D -m 644 openssl.cnf /home/yunohost.conf/pending/ssl//usr/share/yunohost/yunohost-config/ssl/yunoCA/openssl.cnf
2020-05-13 05:19:27,127: DEBUG - + exit 0
2020-05-13 05:19:27,196: DEBUG - Applique la configuration en attente pour la catégorie 'ssl' …
2020-05-13 05:19:27,213: DEBUG - category ssl is not in categories.yml yet.
2020-05-13 05:19:27,216: DEBUG - processing pending conf '/home/yunohost.conf/pending/ssl/usr/share/yunohost/yunohost-config/ssl/yunoCA/openssl.cnf' to system conf '/usr/share/yunohost/yunohost-config/ssl/yunoCA/openssl.cnf'
2020-05-13 05:19:27,219: DEBUG - > system conf has been manually removed
2020-05-13 05:19:27,223: DEBUG - Le fichier de configuration '/usr/share/yunohost/yunohost-config/ssl/yunoCA/openssl.cnf' a été mis à jour
2020-05-13 05:19:27,226: SUCCESS - La configuration a été mise à jour pour 'ssl'
2020-05-13 05:19:27,231: DEBUG - updating conf hashes for 'ssl' with: {'/usr/share/yunohost/yunohost-config/ssl/yunoCA/openssl.cnf': '0354dd165846ac350603e518653adf9e'}
2020-05-13 05:19:27,265: DEBUG - No custom hook for action 'conf_regen' in /etc/yunohost/hooks.d/
2020-05-13 05:19:27,279: DEBUG - Exécution de la commande 'sh -c YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpLr9XX7/stdinfo YNH_STDRETURN=/tmp/tmp6W1jvA/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./02-ssl" post 1 0 /usr/share/yunohost/yunohost-config/ssl/yunoCA/openssl.cnf 7>&1' …
2020-05-13 05:19:27,282: DEBUG - About to run the command '['sh', '-c', 'YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpLr9XX7/stdinfo YNH_STDRETURN=/tmp/tmp6W1jvA/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./02-ssl" post 1 0 /usr/share/yunohost/yunohost-config/ssl/yunoCA/openssl.cnf 7>&1']'
2020-05-13 05:19:27,363: DEBUG - + set -e
2020-05-13 05:19:27,379: DEBUG - + ssl_dir=/usr/share/yunohost/yunohost-config/ssl/yunoCA
2020-05-13 05:19:27,386: DEBUG - + FORCE=1
2020-05-13 05:19:27,389: DEBUG - + DRY_RUN=0
2020-05-13 05:19:27,400: DEBUG - + case "$1" in
2020-05-13 05:19:27,404: DEBUG - + do_post_regen /usr/share/yunohost/yunohost-config/ssl/yunoCA/openssl.cnf
2020-05-13 05:19:27,407: DEBUG - + regen_conf_files=/usr/share/yunohost/yunohost-config/ssl/yunoCA/openssl.cnf
2020-05-13 05:19:27,410: DEBUG - + index_txt=/usr/share/yunohost/yunohost-config/ssl/yunoCA/index.txt
2020-05-13 05:19:27,412: DEBUG - + [[ -f /usr/share/yunohost/yunohost-config/ssl/yunoCA/index.txt ]]
2020-05-13 05:19:27,415: DEBUG - + exit 0
2020-05-13 05:19:27,572: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20200513-051926-regen_conf-ssl" style="text-decoration:underline"> Régénérer les configurations du système 'ssl' </a>'
2020-05-13 05:19:27,671: DEBUG - 
2020-05-13 05:19:27,704: DEBUG - 
2020-05-13 05:19:27,741: DEBUG - 
2020-05-13 05:19:27,784: DEBUG - 
2020-05-13 05:19:29,737: DEBUG - Generating a RSA private key
.........+++++
..................................+++++
writing new private key to '/usr/share/yunohost/yunohost-config/ssl/yunoCA/ca/cakey.pem'
-----

2020-05-13 05:19:29,778: DEBUG - 
2020-05-13 05:19:34,762: DEBUG - Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.

2020-05-13 05:19:34,765: SUCCESS - L’autorité de certification locale créée.
2020-05-13 05:19:34,788: DEBUG - No custom hook for action 'conf_regen' in /etc/yunohost/hooks.d/
2020-05-13 05:19:34,802: DEBUG - Exécution de la commande 'sh -c YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpgvHW0a/stdinfo YNH_STDRETURN=/tmp/tmpzFev21/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./46-nsswitch" pre 1 0 /home/yunohost.conf/pending/nsswitch 7>&1' …
2020-05-13 05:19:34,806: DEBUG - About to run the command '['sh', '-c', 'YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpgvHW0a/stdinfo YNH_STDRETURN=/tmp/tmpzFev21/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./46-nsswitch" pre 1 0 /home/yunohost.conf/pending/nsswitch 7>&1']'
2020-05-13 05:19:34,996: DEBUG - + set -e
2020-05-13 05:19:35,002: DEBUG - + FORCE=1
2020-05-13 05:19:35,004: DEBUG - + DRY_RUN=0
2020-05-13 05:19:35,006: DEBUG - + case "$1" in
2020-05-13 05:19:35,008: DEBUG - + do_pre_regen /home/yunohost.conf/pending/nsswitch
2020-05-13 05:19:35,011: DEBUG - + pending_dir=/home/yunohost.conf/pending/nsswitch
2020-05-13 05:19:35,013: DEBUG - + cd /usr/share/yunohost/templates/nsswitch
2020-05-13 05:19:35,015: DEBUG - + install -D -m 644 nsswitch.conf /home/yunohost.conf/pending/nsswitch/etc/nsswitch.conf
2020-05-13 05:19:35,017: DEBUG - + exit 0
2020-05-13 05:19:35,042: DEBUG - Applique la configuration en attente pour la catégorie 'nsswitch' …
2020-05-13 05:19:35,065: DEBUG - processing pending conf '/home/yunohost.conf/pending/nsswitch/etc/nsswitch.conf' to system conf '/etc/nsswitch.conf'
2020-05-13 05:19:35,069: DEBUG - > system conf is already up-to-date
2020-05-13 05:19:35,072: DEBUG - La configuration est déjà à jour pour la catégorie 'nsswitch'
2020-05-13 05:19:35,075: DEBUG - No custom hook for action 'conf_regen' in /etc/yunohost/hooks.d/
2020-05-13 05:19:35,087: DEBUG - Exécution de la commande 'sh -c YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmphTIX1c/stdinfo YNH_STDRETURN=/tmp/tmppnBvv8/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./46-nsswitch" post 1 0 '' 7>&1' …
2020-05-13 05:19:35,090: DEBUG - About to run the command '['sh', '-c', 'YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmphTIX1c/stdinfo YNH_STDRETURN=/tmp/tmppnBvv8/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./46-nsswitch" post 1 0 \'\' 7>&1']'
2020-05-13 05:19:35,181: DEBUG - + set -e
2020-05-13 05:19:35,187: DEBUG - + FORCE=1
2020-05-13 05:19:35,198: DEBUG - + DRY_RUN=0
2020-05-13 05:19:35,202: DEBUG - + case "$1" in
2020-05-13 05:19:35,205: DEBUG - + do_post_regen
2020-05-13 05:19:35,208: DEBUG - + regen_conf_files=
2020-05-13 05:19:35,211: DEBUG - + [[ -z '' ]]
2020-05-13 05:19:35,213: DEBUG - + exit 0
2020-05-13 05:19:35,363: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20200513-051934-regen_conf-nsswitch" style="text-decoration:underline"> Régénérer les configurations du système 'nsswitch' </a>'
2020-05-13 05:19:35,399: DEBUG - Checking if noc.noho.st is managed by dyndns.yunohost.org ...
2020-05-13 05:19:36,004: DEBUG - Checking if noc.noho.st is managed by dyndns.yunohost.org ...
2020-05-13 05:19:36,585: DEBUG - Checking if domain noc.noho.st is available on dyndns.yunohost.org ...
2020-05-13 05:19:37,190: DEBUG - Génération de la clé DNS ... , cela peut prendre un certain temps.
2020-05-13 05:19:38,226: SUCCESS - Domaine DynDNS enregistré
2020-05-13 05:19:38,236: SUCCESS - La tâche cron pour le domaine DynDNS a été créée
2020-05-13 05:19:38,242: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20200513-051937-dyndns_subscribe-noc.noho.st" style="text-decoration:underline"> Souscrire au sous-domaine YunoHost 'noc.noho.st' </a>'
2020-05-13 05:19:46,475: DEBUG - Generating a RSA private key
.................................................................+++++
.................................................................................................................................+++++
writing new private key to '/etc/yunohost/certs//noc.noho.st-history/20200513.051938-selfsigned/key.pem'
-----

2020-05-13 05:19:46,586: DEBUG - Using configuration from /etc/yunohost/certs//noc.noho.st-history/20200513.051938-selfsigned/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number:
            51:04:be:d1:5d:b0:0f:f2:04:35:e0:ad:22:4e:b5:15:45:8a:1c
        Validity
            Not Before: May 13 05:19:46 2020 GMT
            Not After : May 11 05:19:46 2030 GMT
        Subject:
            commonName                = noc.noho.st
        X509v3 extensions:
            X509v3 Basic Constraints: 
                CA:FALSE
            Netscape Comment: 
                OpenSSL Generated Certificate
            X509v3 Subject Key Identifier: 
                EA:E8:DD:10:B7:65:DF:41:A5:29:A4:A9:42:81:CC:35:35:77:2B:0A
            X509v3 Authority Key Identifier: 
                keyid:E8:D5:F1:95:57:F5:10:96:8B:9D:8D:DC:AD:A7:CB:68:44:31:EB:2B

            X509v3 Key Usage: 
                Digital Signature, Non Repudiation, Key Encipherment
            X509v3 Subject Alternative Name: 
                DNS:noc.noho.st, DNS:www.noc.noho.st, DNS:ns.noc.noho.st
Certificate is to be certified until May 11 05:19:46 2030 GMT (3650 days)

Write out database with 1 new entries
Data Base Updated

2020-05-13 05:19:46,619: DEBUG - Enabling the certificate for domain noc.noho.st ...
2020-05-13 05:19:46,623: DEBUG - Restarting services...
2020-05-13 05:19:46,724: DEBUG - Running 'systemctl restart postfix'
2020-05-13 05:19:50,188: DEBUG - Running 'systemctl restart dovecot'
2020-05-13 05:19:51,112: DEBUG - Running 'systemctl restart metronome'
2020-05-13 05:19:52,399: DEBUG - Running 'systemctl reload nginx'
2020-05-13 05:19:53,022: DEBUG - No default hook for action 'post_cert_update' in /usr/share/yunohost/hooks/
2020-05-13 05:19:53,029: DEBUG - No custom hook for action 'post_cert_update' in /etc/yunohost/hooks.d/
2020-05-13 05:19:54,008: SUCCESS - Le certificat auto-signé est maintenant installé pour le domaine « noc.noho.st »
2020-05-13 05:19:54,015: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20200513-051938-selfsigned_cert_install-noc.noho.st" style="text-decoration:underline"> Installer le certificat auto-signé sur le domaine 'noc.noho.st' </a>'
2020-05-13 05:19:54,036: DEBUG - No default hook for action 'post_domain_add' in /usr/share/yunohost/hooks/
2020-05-13 05:19:54,038: DEBUG - No custom hook for action 'post_domain_add' in /etc/yunohost/hooks.d/
2020-05-13 05:19:54,041: SUCCESS - Le domaine a été créé
2020-05-13 05:19:54,046: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20200513-051935-domain_add-noc.noho.st" style="text-decoration:underline"> Ajouter le domaine 'noc.noho.st' dans la configuration du système </a>'
2020-05-13 05:19:54,310: DEBUG - 
2020-05-13 05:19:54,376: DEBUG - 
2020-05-13 05:19:54,438: DEBUG - 
2020-05-13 05:19:54,569: DEBUG - La configuration de SSOwat générée
2020-05-13 05:19:54,573: SUCCESS - Le domaine principal modifié
2020-05-13 05:19:54,581: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20200513-051954-tools_maindomain-noc.noho.st" style="text-decoration:underline"> Faire de 'noc.noho.st' le domaine principal </a>'
2020-05-13 05:19:54,793: INFO - Votre mot de passe root a été remplacé par votre mot de passe administrateur.
2020-05-13 05:19:54,800: SUCCESS - Le mot de passe d’administration a été modifié
2020-05-13 05:19:55,154: DEBUG - iptables seems to be not available, it outputs:
> iptables v1.6.0: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.
2020-05-13 05:19:55,158: WARNING - Vous ne pouvez pas jouer avec iptables ici. Vous êtes soit dans un conteneur, soit votre noyau ne le prend pas en charge
2020-05-13 05:19:55,204: DEBUG - ip6tables seems to be not available, it outputs:
> modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/5.4.20-sunxi/modules.dep.bin'
> modprobe: FATAL: Module ip6_tables not found in directory /lib/modules/5.4.20-sunxi
> ip6tables v1.6.0: can't initialize ip6tables table `filter': Table does not exist (do you need to insmod?)
> Perhaps ip6tables or your kernel needs to be upgraded.
2020-05-13 05:19:55,208: WARNING - Vous ne pouvez pas jouer avec ip6tables ici. Vous êtes soit dans un conteneur, soit votre noyau ne le prend pas en charge

Donc, si je comprends bien, c’est un problème avec iptables…

Merci!

P.S. (question noob) C’est prudent de poster toutes ces infos sur le certificat SSL?

Re-bonjour,

Ça pourrait être pertinent?

Je viens de vérifier, et j’ai effectivement les fichiers /lib/modules/5.4.35-sunxi/kernel/net/ipv4/netfilter/ip_tables.ko et /lib/modules/5.4.35-sunxi/kernel/net/ipv6/netfilter/ip6_tables.ko.

Je n’ai pas pris le risque de faire la procédure suggérée puisque je n’y connais rien…

AJOUT: trouvé ce lien forum avec problème identique marqué comme résolu, mais la soluce n’est pas postée. :-\

Je pige pas grand chose aux histoires de kernel etc, mais a mon avis le fait d’utiliser une image récente est surement lié au soucis d’iptables … ou en tout cas les images de Yunohost préinstallés n’ont pas ce problème car je sais qu’on les utilise pour faire plein d’install party sur lime2…

Bref, je ne comprends pas non plus pourquoi les gens sont autant perturbé par le fait que les images ne sont pas à jour … certes ça fait un an et il faut qu’on s’en occupe, mais la page qui met à dispo les images parle d’un mécanisme magique qui s’apelle … la mise à jour :astonished: :sweat_smile:

  • Tu flashe l’image pré-installée en 3.4
  • Avant de faire la postinstall tu fais un apt update && apt dist-upgrade (en fait, avant ou après la postinstall ça devrait pas changer grand chose)
  • Tu fais la postinstall
  • ???
  • Profit! (bon, en supposant que ça marche @_@)

Merci de ta rapidité!

J’ai eu énormément de problèmes avant même ce que j’ai décrit dans cette enfilade. J’ai essayé l’image de Yunohost qui ne démarrait pas, celle d’Olimex, etc. Je crois que c’était un problème de carte défectueuse, mais en y allant avec une nouvelle carte, j’ai opté pour Armbian avec noyau courant parce que je n’aime pas les mises à niveau… Disons que j’ai été échaudé il y a longtemps sous Ubuntu (bon, j’arrive même pas à faire des emoji sur ce forum!)

Ok alors, je veux bien reprendre avec l’image 3.4, mais que va-t-il arriver avec mon nom de sous-domaine noc.noho.st? Il y a 3 ans à chaque essai je ne pouvais plus réutiliser un domaine.

Merci de ta patience !

Je peux le réinitialiser sur l’infra pour que tu puisse le ré-enregister

( Edit: c’est fait )

Ah super, merci !!!

Bon, il est passé 23h30 ici, mais j’ai bien envie de tenter le coup plutôt que d’aller au lit… :stuck_out_tongue:

Uuuuh wokay beh du coup c’est pas super clair si le coup de l’image qui démarrait pas viens d’un test récent ? En tout cas l’image Lime2 est l’une des plus testée car utilisée dans le projet La Brique Internet et je serais surpris qu’elle ne démarre pas … M’enfin après ça peut toujours être un truc du genre “t’as la version 72B maudite de la carte qui fonctionne seulement les soirs de pleine lune si tu sautes à cloche pied” …

Pour être honnête, j’ai essayé tellement de trucs, flashé ma première carte tellement de fois, et sans vraiment noter mes essais (sauf pour le dernier), alors tout est un peu flou. Je soupçonne que la cause de mes échecs d’il y a 3 ans même est ma carte Lexar, j’avais des erreurs I/O sur ma dernière installation ratée. J’ai acheté une Sandisk Ultra et c’est avec celle-ci que je me suis rendu le plus loin…

Bon alors, j’y retourne :smiley:

1 Like

Je suis connecté à l’interface d’administration de Yunohost. \o/

Je continue le reste demain.

Un gros merci ! :smiley:

1 Like

Bonjour, finalement j’ai pris une pause de 2-3 jours… :slight_smile:

D’abord encore merci de ton aide @Aleks, j’ai enfin pu installer Yunohost avec succès. J’ai appliqué les mises à jour et mis à niveau à la version 3.7.1.3. Je ne douterai plus des mises à niveau, du moins en ce qui concerne Yunohost. :stuck_out_tongue:

J’ai installé les applications Airsonic et Nextcloud. Après plusieurs erreurs 502 Bad Gateway avec Airsonic, tout semble être rentré dans l’ordre - sans vraiment que j’aie compris…

Là, je reviens de ramasser une commande chez un marchand d’informatique pour un disque SSD, et je suis bien tenté par cette procédure :smiley: (pas la réponse suivante car je n’ai pas trouvé le script nand-sata-install)

Je considère ce sujet comme résolu !

1 Like

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