# Dnsmasq ne fonctionne plus suite à une tentative de mise à jour yunohost

**URL:** https://forum.yunohost.org/t/dnsmasq-ne-fonctionne-plus-suite-a-une-tentative-de-mise-a-jour-yunohost/20644
**Category:** Support
**Tags:** brique\_internet, french
**Created:** [August 12, 2022, 6:19am UTC](https://forum.yunohost.org/t/dnsmasq-ne-fonctionne-plus-suite-a-une-tentative-de-mise-a-jour-yunohost/20644 "2022-08-12T06:19:08Z")
**Posts on this page:** 20
**Page:** 3

<div class="post-metadata">

### Author: ![xnx](https://forum.yunohost.org/user_avatar/forum.yunohost.org/xnx/32/5104_2.png) [@xnx](https://forum.yunohost.org/u/xnx)
#### Post date: [August 16, 2022, 5:23pm UTC](https://forum.yunohost.org/t/dnsmasq-ne-fonctionne-plus-suite-a-une-tentative-de-mise-a-jour-yunohost/20644/41 "2022-08-16T17:23:16Z")

</div>

je lance un :  
`yunohost app upgrade -F nextcloud`

---

<div class="post-metadata">

### Author: ![xnx](https://forum.yunohost.org/user_avatar/forum.yunohost.org/xnx/32/5104_2.png) [@xnx](https://forum.yunohost.org/u/xnx)
#### Post date: [August 16, 2022, 5:30pm UTC](https://forum.yunohost.org/t/dnsmasq-ne-fonctionne-plus-suite-a-une-tentative-de-mise-a-jour-yunohost/20644/42 "2022-08-16T17:30:44Z")

</div>

```auto
Info : Mise à jour de nextcloud...
Info : [....................] > Loading installation settings...
Info : [+...................] > Ensuring downward compatibility...
Info : [#+++++++++..........] > Backing up the app before upgrading (may take a while)...
Attention : grep: /var/www/nextcloud/version.php: Aucun fichier ou dossier de ce type
Attention : ./upgrade: ligne 102 : [: -gt : opérateur unaire attendu
Info : [##########++........] > Upgrading dependencies...
Attention : Load smb config files from /etc/samba/smb.conf
Attention : Loaded services file OK.
Attention : Weak crypto is allowed
Attention : Server role: ROLE_STANDALONE
Info : [############........] > Making sure dedicated system user exists...
Info : [############........] > Upgrading PHP-FPM configuration...
Attention : /usr/share/yunohost/helpers.d/php: ligne 410: / 2 / 50 : erreur de syntaxe : opérande attendu (le symbole erroné est « / 2 / 50 »)
Info : [############+.......] > Upgrading NGINX web server configuration...
Info : '/etc/nginx/conf.d/home.freegum.fr.d/nextcloud.conf' wasn't deleted because it doesn't exist.
Info : The service nginx has correctly executed the action reload-or-restart.
Info : [#############+......] > Upgrading Nextcloud...
Attention : chown: impossible d'accéder à '/var/www/nextcloud': Aucun fichier ou dossier de ce type
Erreur : Impossible de mettre à jour nextcloud : Une erreur s'est produite durant l'exécution du script de mise à niveau de l'application
Info : L'opération 'Mettre à jour l'application 'nextcloud'' a échoué ! Pour obtenir de l'aide, merci de partager le journal de l'opération en utilisant la commande 'yunohost log share 20220816-172304-app_upgrade-nextcloud'
Attention : Here's an extract of the logs before the crash. It might help debugging the error:
Info : DEBUG - + action=reload
Info : DEBUG - + line_match=
Info : DEBUG - + length=20
Info : DEBUG - + log_path=/var/log/nginx/nginx.log
Info : DEBUG - + timeout=300
Info : DEBUG - + '[' reload == stop ']'
Info : DEBUG - + '[' reload == reload ']'
Info : DEBUG - + action=reload-or-restart
Info : DEBUG - + systemctl reload-or-restart nginx
Info : DEBUG - + datadir=/home/yunohost.app/nextcloud/data
Info : DEBUG - + '[' UPGRADE_APP == UPGRADE_APP ']'
Info : INFO - [#############+......] > Upgrading Nextcloud...
Info : DEBUG - + source upgrade.d/upgrade.last.sh
Info : DEBUG - ++ next_version=22.2.10
Info : DEBUG - ++ nextcloud_source_sha256=8de167bfcfcaa661245a00a5ac36628e7961951b9fe2dfaf4f8a5aac6907ccdb
Info : DEBUG - + last_version=22.2.10
Info : DEBUG - + last_major_version=22
Info : DEBUG - + chown -R nextcloud: /var/www/nextcloud /home/yunohost.app/nextcloud/data
Info : WARNING - chown: impossible d'accéder à '/var/www/nextcloud': Aucun fichier ou dossier de ce type
Info : DEBUG - + ynh_exit_properly
Erreur : L'opération 'Mettre à jour l'application 'nextcloud'' a échoué ! Pour obtenir de l'aide, merci de partager le journal de l'opération en utilisant la commande 'yunohost log share 20220816-172304-app_upgrade-nextcloud'

```

---

<div class="post-metadata">

### Author: ![xnx](https://forum.yunohost.org/user_avatar/forum.yunohost.org/xnx/32/5104_2.png) [@xnx](https://forum.yunohost.org/u/xnx)
#### Post date: [August 16, 2022, 5:49pm UTC](https://forum.yunohost.org/t/dnsmasq-ne-fonctionne-plus-suite-a-une-tentative-de-mise-a-jour-yunohost/20644/43 "2022-08-16T17:49:02Z")

</div>

j’ai renommé le répertoire nextcloud.svg en nextcloud j’ai relancé la commande  
mais j’ai toujours des erreurs :

```auto
Info : Mise à jour de nextcloud...
Info : [....................] > Loading installation settings...
Info : [+...................] > Ensuring downward compatibility...
Info : [#+++++++++..........] > Backing up the app before upgrading (may take a while)...
Attention : 12807 Source path '/etc/php/7.4/fpm/pool.d/nextcloud.conf' does not exist
Attention : 14448 Impossible de sauvegarder nextcloud
Attention : 14571 Il n'y a rien à sauvegarder
Attention : Backup failed, the upgrade process was aborted.
Erreur : Impossible de mettre à jour nextcloud : Une erreur s'est produite durant l'exécution du script de mise à niveau de l'application
Info : L'opération 'Mettre à jour l'application 'nextcloud'' a échoué ! Pour obtenir de l'aide, merci de partager le journal de l'opération en utilisant la commande 'yunohost log share 20220816-174333-app_upgrade-nextcloud'
Attention : Here's an extract of the logs before the crash. It might help debugging the error:
Info : DEBUG - 11085 ++ realpath /etc/nginx/conf.d/home.freegum.fr.d/nextcloud.conf
Info : DEBUG - 11161 ++ echo /etc/nginx/conf.d/home.freegum.fr.d/nextcloud.conf
Info : DEBUG - 11164 ++ sed --regexp-extended 's/"/\"\"/g'
Info : DEBUG - 11169 ++ sed --regexp-extended 's/"/\"\"/g'
Info : DEBUG - 11171 ++ echo apps/nextcloud/backup/etc/nginx/conf.d/home.freegum.fr.d/nextcloud.conf
Info : DEBUG - 11178 ++ dirname /home/yunohost.backup/tmp/nextcloud-pre-upgrade1/apps/nextcloud/backup/etc/nginx/conf.d/home.freegum.fr.d/nextcloud.conf
Info : DEBUG - 11534 ++ ynh_app_setting_get --app=nextcloud --key=do_not_backup_data
Info : DEBUG - 11537 ++ local _globalapp=nextcloud
Info : DEBUG - 11905 ++ app=nextcloud
Info : DEBUG - 11915 ++ [[do_not_backup_data =~ (unprotected|protected|skipped)_]]
Info : DEBUG - 11919 ++ ynh_app_setting get nextcloud do_not_backup_data
Info : WARNING - 12807 Source path '/etc/php/7.4/fpm/pool.d/nextcloud.conf' does not exist
Info : DEBUG - 14372 Échec de l'exécution du script : /var/cache/yunohost/app_tmp_work_dirs/app_uk9ofu02/scripts/backup
Info : WARNING - 14448 Impossible de sauvegarder nextcloud
Info : DEBUG - 14510 L'opération 'Créer une archive de sauvegarde' a échoué ! Pour obtenir de l'aide, merci de partager le journal de l'opération en utilisant la commande 'yunohost log share 20220816-174409-backup_create'
Info : DEBUG - 14568 action [32683.1] executed in 12.890s
Info : WARNING - 14571 Il n'y a rien à sauvegarder
Info : DEBUG - + ynh_die '--message=Backup failed, the upgrade process was aborted.'
Info : WARNING - Backup failed, the upgrade process was aborted.
Info : ERROR - Impossible de mettre à jour nextcloud : Une erreur s'est produite durant l'exécution du script de mise à niveau de l'application
Erreur : L'opération 'Mettre à jour l'application 'nextcloud'' a échoué ! Pour obtenir de l'aide, merci de partager le journal de l'opération en utilisant la commande 'yunohost log share 20220816-174333-app_upgrade-nextcloud'

```

---

<div class="post-metadata">

### Author: ![xnx](https://forum.yunohost.org/user_avatar/forum.yunohost.org/xnx/32/5104_2.png) [@xnx](https://forum.yunohost.org/u/xnx)
#### Post date: [August 16, 2022, 5:49pm UTC](https://forum.yunohost.org/t/dnsmasq-ne-fonctionne-plus-suite-a-une-tentative-de-mise-a-jour-yunohost/20644/44 "2022-08-16T17:49:52Z")

</div>

le log complet : [https://paste.yunohost.org/raw/roxobuqema](https://paste.yunohost.org/raw/roxobuqema)

---

<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: [August 16, 2022, 6:31pm UTC](https://forum.yunohost.org/t/dnsmasq-ne-fonctionne-plus-suite-a-une-tentative-de-mise-a-jour-yunohost/20644/45 "2022-08-16T18:31:43Z")

</div>

> [@xnx](#):
>
> le répertoire nextcloud.svg

Quel répertoir “nextcloud.svg” ? D’où viens ce répertoire ?

---

<div class="post-metadata">

### Author: ![xnx](https://forum.yunohost.org/user_avatar/forum.yunohost.org/xnx/32/5104_2.png) [@xnx](https://forum.yunohost.org/u/xnx)
#### Post date: [August 16, 2022, 7:41pm UTC](https://forum.yunohost.org/t/dnsmasq-ne-fonctionne-plus-suite-a-une-tentative-de-mise-a-jour-yunohost/20644/46 "2022-08-16T19:41:59Z")

</div>

Je ne sais pas j’avais du faire une bidouille il y a longtemps, mais il vaut mieux que je réinstalle tout nextcloud de zero si c’est possible, puis restaurer les sauvegarde (le calendrier principalement) ensuite. Est-ce que tu aurais des commandes particulières pour réinstaller nextcloud ?

---

<div class="post-metadata">

### Author: ![xnx](https://forum.yunohost.org/user_avatar/forum.yunohost.org/xnx/32/5104_2.png) [@xnx](https://forum.yunohost.org/u/xnx)
#### Post date: [August 16, 2022, 7:45pm UTC](https://forum.yunohost.org/t/dnsmasq-ne-fonctionne-plus-suite-a-une-tentative-de-mise-a-jour-yunohost/20644/47 "2022-08-16T19:45:26Z")

</div>

c’est /var/www/nextcloud.svg (que j’ai renommé en /var/www/nextcloud/ )

---

<div class="post-metadata">

### Author: ![xnx](https://forum.yunohost.org/user_avatar/forum.yunohost.org/xnx/32/5104_2.png) [@xnx](https://forum.yunohost.org/u/xnx)
#### Post date: [August 16, 2022, 7:59pm UTC](https://forum.yunohost.org/t/dnsmasq-ne-fonctionne-plus-suite-a-une-tentative-de-mise-a-jour-yunohost/20644/49 "2022-08-16T19:59:20Z")

</div>

actuellement je n’ai plus de connexion VPN ni de nextcloud.

---

<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: [August 16, 2022, 7:59pm UTC](https://forum.yunohost.org/t/dnsmasq-ne-fonctionne-plus-suite-a-une-tentative-de-mise-a-jour-yunohost/20644/50 "2022-08-16T19:59:26Z")

</div>

> [@xnx](#):
>
> `mysqlpwd: xxxxxxxxxxxxxxxxxxxx`

Ben du coup bien joué tu viens de partager le mot de passe de la DB SQL de Nextcloud …

---

<div class="post-metadata">

### Author: ![xnx](https://forum.yunohost.org/user_avatar/forum.yunohost.org/xnx/32/5104_2.png) [@xnx](https://forum.yunohost.org/u/xnx)
#### Post date: [August 16, 2022, 8:01pm UTC](https://forum.yunohost.org/t/dnsmasq-ne-fonctionne-plus-suite-a-une-tentative-de-mise-a-jour-yunohost/20644/51 "2022-08-16T20:01:53Z")

</div>

pff je suis nul je vais supprimer le message merci pour l’info

---

<div class="post-metadata">

### Author: ![xnx](https://forum.yunohost.org/user_avatar/forum.yunohost.org/xnx/32/5104_2.png) [@xnx](https://forum.yunohost.org/u/xnx)
#### Post date: [August 16, 2022, 8:03pm UTC](https://forum.yunohost.org/t/dnsmasq-ne-fonctionne-plus-suite-a-une-tentative-de-mise-a-jour-yunohost/20644/52 "2022-08-16T20:03:31Z")

</div>

je relance : NO\_BACKUP\_UPGRADE=1 yunohost app install nextcloud

est-ce une bonne idée ?

---

<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: [August 16, 2022, 8:05pm UTC](https://forum.yunohost.org/t/dnsmasq-ne-fonctionne-plus-suite-a-une-tentative-de-mise-a-jour-yunohost/20644/53 "2022-08-16T20:05:45Z")

</div>

Ce qui serait une bonne idée c’est d’arrêter d’essayer de brute-forcer le problème et expliquer clairement ce qu’il se passe.

En administration système lorsqu’on brute force les problèmes ça a tendance au mieu à ne rien résoudre, ou au pire à multiplier les problèmes.

Il y a quinze messages plus haut, tu parlais d’une “migration qui n’a pas terminé”, sauf que tu n’as fourni aucun log et info précise pour qu’on puisse étudier ce qu’il se passe.

---

<div class="post-metadata">

### Author: ![xnx](https://forum.yunohost.org/user_avatar/forum.yunohost.org/xnx/32/5104_2.png) [@xnx](https://forum.yunohost.org/u/xnx)
#### Post date: [August 16, 2022, 8:10pm UTC](https://forum.yunohost.org/t/dnsmasq-ne-fonctionne-plus-suite-a-une-tentative-de-mise-a-jour-yunohost/20644/54 "2022-08-16T20:10:13Z")

</div>

Oui tu as raison.  
ok je vais essayer de te montrer des logs, je relance “mettre à jour le système” via l’interface graphique. J’ai le message :

> Certaines migrations en suspens attendent d’être exécutées. Veuillez aller dans [Outils \> Migrations](https://home.freegum.fr/yunohost/admin/#/tools/migrations) pour les exécuter.

quand je clique sur Migrations/outils j’ai :

```auto
## Migrations en attente

24. Réparer l'application Python après la migration Bullseye

23. Migration des bases de données de PostgreSQL 11 vers 13

22. Migration des fichiers de configuration php7.3-fpm 'pool' vers php7.4

21. Mise à niveau du système vers Debian Bullseye et YunoHost 11.x

```

il y a un bouton “Executer” en face de “Migration en attente” et des boutons jaunes “Passer” sur les autres lignes 21, … 24

quand je clique sur Executer, il se passe un truc tres rapide et en bas dans la barre de logs j’ai :

```auto

**Exécuter les migrations**

4

22:09:09

Exécution de la migration 0021_migrate_to_bullseye...

La migration 0021_migrate_to_bullseye a échoué avec l'exception La distribution Debian actuelle n'est pas Buster ! : annulation

**L'opération 'Exécuter les migrations' a échoué ! Pour obtenir de l'aide, merci de partager le journal de l'opération en [cliquant ici](yunohost/admin/#/tools/logs/20220816-200910-tools_migrations_migrate_forward)**

Exécutez ces migrations : '0021_migrate_to_bullseye', avant migration 0022_php73_to_php74_pools.

Exécutez ces migrations : '0021_migrate_to_bullseye', avant migration 0023_postgresql_11_to_13.

Exécutez ces migrations : '0021_migrate_to_bullseye', avant migration 0024_rebuild_python_venv.

```

---

<div class="post-metadata">

### Author: ![xnx](https://forum.yunohost.org/user_avatar/forum.yunohost.org/xnx/32/5104_2.png) [@xnx](https://forum.yunohost.org/u/xnx)
#### Post date: [August 16, 2022, 8:14pm UTC](https://forum.yunohost.org/t/dnsmasq-ne-fonctionne-plus-suite-a-une-tentative-de-mise-a-jour-yunohost/20644/55 "2022-08-16T20:14:56Z")

</div>

le paste :

```auto

ended_at: 2022-08-16 20:09:10.389795
error: "La migration 0021_migrate_to_bullseye a \xE9chou\xE9 avec l'exception La distribution\
  \ Debian actuelle n'est pas Buster ! : annulation"
interface: api
operation: tools_migrations_migrate_forward
parent: null
started_at: 2022-08-16 20:09:10.201583
success: false
yunohost_version: 11.0.9.5

============

2022-08-16 22:09:10,264: INFO - Exécution de la migration 0021_migrate_to_bullseye...
2022-08-16 22:09:10,378: ERROR - La migration 0021_migrate_to_bullseye a échoué avec l'exception La distribution Debian actuelle n'est pas Buster ! : annulation
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/yunohost/tools.py", line 782, in tools_migrations_run
    migration.run()
  File "/usr/lib/python3/dist-packages/yunohost/migrations/0021_migrate_to_bullseye.py", line 80, in run
    self.check_assertions()
  File "/usr/lib/python3/dist-packages/yunohost/migrations/0021_migrate_to_bullseye.py", line 376, in check_assertions
    raise YunohostError("migration_0021_not_buster")
yunohost.utils.error.YunohostError: La distribution Debian actuelle n'est pas Buster !

```

---

<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: [August 16, 2022, 8:16pm UTC](https://forum.yunohost.org/t/dnsmasq-ne-fonctionne-plus-suite-a-une-tentative-de-mise-a-jour-yunohost/20644/56 "2022-08-16T20:16:18Z")

</div>

Du coup c’est symptomatique du fait que la migration 0021 n’est pas réellement allé jusqu’au bout … Peut-être que maintenant tu es bien en Bullseye parce que tu a lancé un `apt (dist-)upgrade` à la main sauf que la bonne marche à suivre était de relancer la migration et pas de lancer apt à la main.

Du coup ce qui serait cool c’est de partager le log de la migration 0021 lorsque tu l’avais lancé pour de vrai la première fois où elle avait réellement tourné. Soit le log est dispo dans Outils \> Journaux, mais si il s’est passé trop de truc depuis, il faut le chercher avec `yunohost log list --limit 300 | grep migr`, et utiliser `yunohost log share <identifiant_du_log>` pour partager le log.

Avec ça on devrait déjà comprendre pourquoi la migration n’est pas allé jusqu’au bout, histoire d’essayer de corriger le bug pour les autres personnes, et ensuite on pourra parler de comment proprement finir la migration “à la main” pour pouvoir faire les autres. En attendant, oui, pas surprenant que les install/upgrade/whatever des apps PHP comme Nextcloud ne fonctionnent pas puisque tout le setup PHP est dans un état intermédiaire.

---

<div class="post-metadata">

### Author: ![xnx](https://forum.yunohost.org/user_avatar/forum.yunohost.org/xnx/32/5104_2.png) [@xnx](https://forum.yunohost.org/u/xnx)
#### Post date: [August 16, 2022, 8:17pm UTC](https://forum.yunohost.org/t/dnsmasq-ne-fonctionne-plus-suite-a-une-tentative-de-mise-a-jour-yunohost/20644/57 "2022-08-16T20:17:31Z")

</div>

ok donc c’est une migration qui ne s’est pas bien terminée je vais essayer de partager le log proprement.

---

<div class="post-metadata">

### Author: ![xnx](https://forum.yunohost.org/user_avatar/forum.yunohost.org/xnx/32/5104_2.png) [@xnx](https://forum.yunohost.org/u/xnx)
#### Post date: [August 16, 2022, 8:25pm UTC](https://forum.yunohost.org/t/dnsmasq-ne-fonctionne-plus-suite-a-une-tentative-de-mise-a-jour-yunohost/20644/58 "2022-08-16T20:25:46Z")

</div>

> [@Aleks](#):
>
> `yunohost log list --limit 300 | grep migr`

j’ai d’abord lancé :

```auto
yunohost log list --limit 300 | grep migr |grep 0021
Attention : unable to retrieve string to translate with key 'log_app_addaccess' for default locale 'locales/en.json' file (don't panic this is just a warning)
Attention : unable to retrieve string to translate with key 'log_app_clearaccess' for default locale 'locales/en.json' file (don't panic this is just a warning)
Attention : unable to retrieve string to translate with key 'log_app_addaccess' for default locale 'locales/en.json' file (don't panic this is just a warning)
Attention : unable to retrieve string to translate with key 'log_app_addaccess' for default locale 'locales/en.json' file (don't panic this is just a warning)
Attention : unable to retrieve string to translate with key 'log_app_addaccess' for default locale 'locales/en.json' file (don't panic this is just a warning)
Attention : unable to retrieve string to translate with key 'log_app_addaccess' for default locale 'locales/en.json' file (don't panic this is just a warning)
Erreur : Le fichier YAML de métadonnées associé aux logs est corrompu : '/var/log/yunohost/categories/operation/20190727-145258-app_install-hotspot.yml'
Erreur : Fichier YAML corrompu en lecture depuis /var/log/yunohost/categories/operation/20190727-145258-app_install-hotspot.yml (raison : while scanning an alias
  in "<unicode string>", line 12, column 32:
      YNH_APP_ARG_WIFI_PASSPHRASE: **********
                                   ^
expected alphabetic or numeric character, but found '*'
  in "<unicode string>", line 12, column 33:
      YNH_APP_ARG_WIFI_PASSPHRASE: **********
                                    ^)
Attention : unable to retrieve string to translate with key 'log_service_enable' for default locale 'locales/en.json' file (don't panic this is just a warning)
Attention : unable to retrieve string to translate with key 'log_service_enable' for default locale 'locales/en.json' file (don't panic this is just a warning)
Attention : unable to retrieve string to translate with key 'log_app_removelist' for default locale 'locales/en.json' file (don't panic this is just a warning)
Attention : unable to retrieve string to translate with key 'log_app_fetchlist' for default locale 'locales/en.json' file (don't panic this is just a warning)
Attention : unable to retrieve string to translate with key 'log_app_addaccess' for default locale 'locales/en.json' file (don't panic this is just a warning)
Attention : unable to retrieve string to translate with key 'log_service_regen_conf' for default locale 'locales/en.json' file (don't panic this is just a warning)
Attention : unable to retrieve string to translate with key 'log_service_regen_conf' for default locale 'locales/en.json' file (don't panic this is just a warning)
Attention : unable to retrieve string to translate with key 'log_service_regen_conf' for default locale 'locales/en.json' file (don't panic this is just a warning)
Attention : unable to retrieve string to translate with key 'log_service_regen_conf' for default locale 'locales/en.json' file (don't panic this is just a warning)
Attention : unable to retrieve string to translate with key 'log_service_regen_conf' for default locale 'locales/en.json' file (don't panic this is just a warning)
Attention : unable to retrieve string to translate with key 'log_service_regen_conf' for default locale 'locales/en.json' file (don't panic this is just a warning)
Attention : unable to retrieve string to translate with key 'log_service_regen_conf' for default locale 'locales/en.json' file (don't panic this is just a warning)
Attention : unable to retrieve string to translate with key 'log_service_regen_conf' for default locale 'locales/en.json' file (don't panic this is just a warning)
Attention : unable to retrieve string to translate with key 'log_service_regen_conf' for default locale 'locales/en.json' file (don't panic this is just a warning)
Attention : unable to retrieve string to translate with key 'log_service_regen_conf' for default locale 'locales/en.json' file (don't panic this is just a warning)
Attention : unable to retrieve string to translate with key 'log_service_regen_conf' for default locale 'locales/en.json' file (don't panic this is just a warning)

```

puis j’ai lancé la commande :  
yunohost log list --limit 300 | grep migr

j’ai une liste de ce type :

```auto
   name: 20220816-081147-tools_migrations_migrate_forward
    path: /var/log/yunohost/categories/operation/20220816-081147-tools_migrations_migrate_forward.yml
    description: Exécuter les migrations
    name: 20220816-081731-tools_migrations_migrate_forward
    path: /var/log/yunohost/categories/operation/20220816-081731-tools_migrations_migrate_forward.yml
    description: Exécuter les migrations
    name: 20220816-082324-tools_migrations_migrate_forward
    path: /var/log/yunohost/categories/operation/20220816-082324-tools_migrations_migrate_forward.yml
    description: Exécuter les migrations
    name: 20220816-082513-tools_migrations_migrate_forward
    path: /var/log/yunohost/categories/operation/20220816-082513-tools_migrations_migrate_forward.yml
    description: Exécuter les migrations
    name: 20220816-123814-tools_migrations_migrate_forward
    path: /var/log/yunohost/categories/operation/20220816-123814-tools_migrations_migrate_forward.yml
    description: Exécuter les migrations
    name: 20220816-132611-tools_migrations_migrate_forward
    path: /var/log/yunohost/categories/operation/20220816-132611-tools_migrations_migrate_forward.yml
    description: Exécuter les migrations
    name: 20220816-161225-tools_migrations_migrate_forward
    path: /var/log/yunohost/categories/operation/20220816-161225-tools_migrations_migrate_forward.yml
    description: Exécuter les migrations
    name: 20220816-165906-tools_migrations_migrate_forward
    path: /var/log/yunohost/categories/operation/20220816-165906-tools_migrations_migrate_forward.yml
    description: Exécuter les migrations
    name: 20220816-170007-tools_migrations_migrate_forward
    path: /var/log/yunohost/categories/operation/20220816-170007-tools_migrations_migrate_forward.yml
    description: Exécuter les migrations
    name: 20220816-200910-tools_migrations_migrate_forward
    path: /var/log/yunohost/categories/operation/20220816-200910-tools_migrations_migrate_forward.yml

```

Mais je ne sais pas comment utiliser la commande `yunohost log share <identifiant_du_log>`

---

<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: [August 16, 2022, 8:27pm UTC](https://forum.yunohost.org/t/dnsmasq-ne-fonctionne-plus-suite-a-une-tentative-de-mise-a-jour-yunohost/20644/59 "2022-08-16T20:27:44Z")

</div>

Hmf bon l’historique ne semble pas remonter assez loin

On peut faire autrement et faire:

```auto
ls -l /var/log/yunohost/categories/operation/202208*-tools_migrations_migrate_forward.log

```

---

<div class="post-metadata">

### Author: ![xnx](https://forum.yunohost.org/user_avatar/forum.yunohost.org/xnx/32/5104_2.png) [@xnx](https://forum.yunohost.org/u/xnx)
#### Post date: [August 16, 2022, 8:28pm UTC](https://forum.yunohost.org/t/dnsmasq-ne-fonctionne-plus-suite-a-une-tentative-de-mise-a-jour-yunohost/20644/60 "2022-08-16T20:28:31Z")

</div>

> [@Aleks](#):
>
> ```auto
> ls -l /var/log/yunohost/categories/operation/202208*-tools_migrations_migrate_forward.log
> 
> ```

```auto
ls -l /var/log/yunohost/categories/operation/202208*-tools_migrations_migrate_forward.log
-rw-r--r-- 1 root root 734489 11 août 03:33 /var/log/yunohost/categories/operation/20220810-222233-tools_migrations_migrate_forward.log
-rw-r--r-- 1 root root 1204 11 août 07:04 /var/log/yunohost/categories/operation/20220811-050457-tools_migrations_migrate_forward.log
-rw-r--r-- 1 root root 1204 11 août 07:05 /var/log/yunohost/categories/operation/20220811-050519-tools_migrations_migrate_forward.log
-rw-r--r-- 1 root root 1270 11 août 08:09 /var/log/yunohost/categories/operation/20220811-060935-tools_migrations_migrate_forward.log
-rw-r--r-- 1 root root 1270 11 août 09:53 /var/log/yunohost/categories/operation/20220811-075304-tools_migrations_migrate_forward.log
-rw-r--r-- 1 root root 790 16 août 09:27 /var/log/yunohost/categories/operation/20220816-072733-tools_migrations_migrate_forward.log
-rw-r--r-- 1 root root 790 16 août 09:28 /var/log/yunohost/categories/operation/20220816-072846-tools_migrations_migrate_forward.log
-rw-r--r-- 1 root root 790 16 août 10:11 /var/log/yunohost/categories/operation/20220816-081147-tools_migrations_migrate_forward.log
-rw-r--r-- 1 root root 790 16 août 10:17 /var/log/yunohost/categories/operation/20220816-081731-tools_migrations_migrate_forward.log
-rw-r--r-- 1 root root 790 16 août 10:23 /var/log/yunohost/categories/operation/20220816-082324-tools_migrations_migrate_forward.log
-rw-r--r-- 1 root root 790 16 août 10:25 /var/log/yunohost/categories/operation/20220816-082513-tools_migrations_migrate_forward.log
-rw-rw-rw- 1 root root 790 16 août 14:38 /var/log/yunohost/categories/operation/20220816-123814-tools_migrations_migrate_forward.log
-rw-rw-rw- 1 root root 790 16 août 15:26 /var/log/yunohost/categories/operation/20220816-132611-tools_migrations_migrate_forward.log
-rw-rw-rw- 1 root root 790 16 août 18:12 /var/log/yunohost/categories/operation/20220816-161225-tools_migrations_migrate_forward.log
-rw-rw-rw- 1 root root 790 16 août 18:59 /var/log/yunohost/categories/operation/20220816-165906-tools_migrations_migrate_forward.log
-rw-rw-rw- 1 root root 790 16 août 19:00 /var/log/yunohost/categories/operation/20220816-170007-tools_migrations_migrate_forward.log
-rw-rw-rw- 1 root root 790 16 août 22:09 /var/log/yunohost/categories/operation/20220816-200910-tools_migrations_migrate_forward.log

```

---

<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: [August 16, 2022, 8:29pm UTC](https://forum.yunohost.org/t/dnsmasq-ne-fonctionne-plus-suite-a-une-tentative-de-mise-a-jour-yunohost/20644/61 "2022-08-16T20:29:35Z")

</div>

Du coup j’imagine que le bon log est `20220810-222233-tools_migrations_migrate_forward`

Du coup: `yunohost tools share 20220810-222233-tools_migrations_migrate_forward`

[Previous page](https://forum.yunohost.org/t/dnsmasq-ne-fonctionne-plus-suite-a-une-tentative-de-mise-a-jour-yunohost/20644.md?page=2)

[Next page](https://forum.yunohost.org/t/dnsmasq-ne-fonctionne-plus-suite-a-une-tentative-de-mise-a-jour-yunohost/20644.md?page=4)
