La mise a jour de l'app ntfy écrase la configuration

What app is this about, and its version: ntfy 2.37.2~ynh1
What YunoHost version are you running: 12.1.41.2
What type of hardware are you using: Old laptop or computer

Describe your issue

Bonjour,
J’ai configuré ntfy en modifiant directement le fichier /var/www/ntfy/server.yml

Je n’ai pas trouvé d’autre moyen de modifier le mode d’acces par défault, la durée du cache, les clés web-push.

Or, à chaque mise a jour de l’app ntfy via l’interface d’update de yunohost, ce fichier de configuration se retrouve écrasé et seule la base-url est conservée. Le processus d’update note que le fichier a été modifié à la main et en fait une sauvegarde mais je suis donc contraint systématiquement d’aller le restorer, via un login ssh, et de relancer le service ntfy pour retrouver ma configuration fonctionnelle.

Quelqu’un a-t-il le meme problème et une facon plus ergonomique de le résoudre?

Merci

Share relevant logs or error messages

Je ne partage pas le log via paste car il contient mon fichier de configuration et la cle privee des web-push, en voici une copie “nettoyée”:

2026-11-08 23:25:37,582: DEBUG - + '[' -n /var/www/ntfy ']'
2026-11-08 23:25:37,582: DEBUG - ++ realpath /var/www/ntfy/server.yml
2026-11-08 23:25:37,584: DEBUG - + local child=/var/www/ntfy/server.yml
2026-11-08 23:25:37,584: DEBUG - ++ realpath /var/www/ntfy
2026-11-08 23:25:37,585: DEBUG - + local parent=/var/www/ntfy
2026-11-08 23:25:37,586: DEBUG - + [[ /var/www/ntfy/server.yml =~ ^/var/www/ntfy ]]
2026-11-08 23:25:37,586: DEBUG - + chmod 600 /var/www/ntfy/server.yml
2026-11-08 23:25:37,586: DEBUG - + chown ntfy:ntfy /var/www/ntfy/server.yml
2026-11-08 23:25:37,587: DEBUG - + return
2026-11-08 23:25:37,588: DEBUG - + [[ 0 == 1 ]]
2026-11-08 23:25:37,588: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_49ui87h5/conf/server.yml /var/www/ntfy/server.yml
2026-11-08 23:25:37,589: DEBUG - + _ynh_replace_vars /var/www/ntfy/server.yml
2026-11-08 23:25:37,589: DEBUG - + local file=/var/www/ntfy/server.yml
2026-11-08 23:25:37,589: DEBUG - + local -a uniques_vars
2026-11-08 23:25:37,590: DEBUG - + mapfile -t uniques_vars
2026-11-08 23:25:37,590: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /var/www/ntfy/server.yml
2026-11-08 23:25:37,590: DEBUG - ++ sort --unique
2026-11-08 23:25:37,590: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2026-11-08 23:25:37,597: DEBUG - + ynh_store_file_checksum /var/www/ntfy/server.yml
2026-11-08 23:25:37,667: WARNING - --- /var/cache/yunohost/appconfbackup//var/www/ntfy/server.yml.backup.20261108.232537	2026-10-26 17:31:14.065317826 +0100
2026-11-08 23:25:37,668: DEBUG - + ynh_config_add_fail2ban --logpath=/var/log/nginx/XXXXX-error.log '--failregex=limiting requests, excess:.* by zone.*client: <HOST>'
2026-11-08 23:25:37,668: WARNING - +++ /var/www/ntfy/server.yml	2026-11-08 23:25:37.595644103 +0100
XXXXX
2026-11-08 23:25:37,697: DEBUG - + [[ -n limiting requests, excess:.* by zone.*client: <HOST> ]]
2026-11-08 23:25:37,697: DEBUG - + test -n /var/log/nginx/XXXXX-error.log
2026-11-08 23:25:37,697: DEBUG - [__APP__]
2026-11-08 23:25:37,698: DEBUG - enabled = true
2026-11-08 23:25:37,698: DEBUG - port = http,https
2026-11-08 23:25:37,698: DEBUG - filter = __APP__
2026-11-08 23:25:37,699: DEBUG - logpath = __LOGPATH__
2026-11-08 23:25:37,699: DEBUG - maxretry = 5
2026-11-08 23:25:37,699: DEBUG - '
2026-11-08 23:25:37,700: DEBUG - [INCLUDES]
2026-11-08 23:25:37,700: DEBUG - before = common.conf
2026-11-08 23:25:37,700: DEBUG - [Definition]
2026-11-08 23:25:37,700: DEBUG - failregex = __FAILREGEX__
2026-11-08 23:25:37,700: DEBUG - ignoreregex =
2026-11-08 23:25:37,701: DEBUG - '
2026-11-08 23:25:37,701: DEBUG - + ynh_config_add --template=f2b_jail.conf --destination=/etc/fail2ban/jail.d/ntfy.conf
2026-11-08 23:25:37,727: DEBUG - + jinja=0
2026-11-08 23:25:37,728: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_49ui87h5/conf/f2b_jail.conf ']'
2026-11-08 23:25:37,728: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_49ui87h5/conf/f2b_jail.conf
2026-11-08 23:25:37,728: DEBUG - + ynh_backup_if_checksum_is_different /etc/fail2ban/jail.d/ntfy.conf
2026-11-08 23:25:37,777: DEBUG - + touch /etc/fail2ban/jail.d/ntfy.conf
2026-11-08 23:25:37,778: DEBUG - + chmod 640 /etc/fail2ban/jail.d/ntfy.conf
2026-11-08 23:25:37,778: DEBUG - + _ynh_apply_default_permissions /etc/fail2ban/jail.d/ntfy.conf
2026-11-08 23:25:37,779: DEBUG - + local target=/etc/fail2ban/jail.d/ntfy.conf
2026-11-08 23:25:37,779: DEBUG - + ynh_system_user_exists --username=ntfy
2026-11-08 23:25:37,787: DEBUG - + getent passwd ntfy
2026-11-08 23:25:37,788: DEBUG - + '[' -f /etc/fail2ban/jail.d/ntfy.conf ']'
2026-11-08 23:25:37,789: DEBUG - + is_in_dir /etc/fail2ban/jail.d/ntfy.conf /var/www/ntfy
2026-11-08 23:25:37,789: DEBUG - + '[' -n /var/www/ntfy ']'
2026-11-08 23:25:37,789: DEBUG - ++ realpath /etc/fail2ban/jail.d/ntfy.conf
2026-11-08 23:25:37,790: DEBUG - + local child=/etc/fail2ban/jail.d/ntfy.conf
2026-11-08 23:25:37,791: DEBUG - ++ realpath /var/www/ntfy
2026-11-08 23:25:37,792: DEBUG - + local parent=/var/www/ntfy
2026-11-08 23:25:37,792: DEBUG - + [[ /etc/fail2ban/jail.d/ntfy.conf =~ ^/var/www/ntfy ]]
2026-11-08 23:25:37,792: DEBUG - + is_in_dir /etc/fail2ban/jail.d/ntfy.conf ''
2026-11-08 23:25:37,793: DEBUG - + '[' -n '' ']'
2026-11-08 23:25:37,793: DEBUG - + return 1
2026-11-08 23:25:37,793: DEBUG - + is_in_dir /etc/fail2ban/jail.d/ntfy.conf /etc/ntfy
2026-11-08 23:25:37,793: DEBUG - + '[' -n /etc/ntfy ']'
2026-11-08 23:25:37,793: DEBUG - ++ realpath /etc/fail2ban/jail.d/ntfy.conf
2026-11-08 23:25:37,794: DEBUG - + local child=/etc/fail2ban/jail.d/ntfy.conf
2026-11-08 23:25:37,794: DEBUG - ++ realpath /etc/ntfy
2026-11-08 23:25:37,795: DEBUG - + local parent=/etc/ntfy
2026-11-08 23:25:37,795: DEBUG - + [[ /etc/fail2ban/jail.d/ntfy.conf =~ ^/etc/ntfy ]]
2026-11-08 23:25:37,796: DEBUG - + '[' /etc/fail2ban/jail.d/ntfy.conf == /var/www/ntfy ']'
2026-11-08 23:25:37,796: DEBUG - + '[' /etc/fail2ban/jail.d/ntfy.conf == '' ']'
2026-11-08 23:25:37,796: DEBUG - + '[' /etc/fail2ban/jail.d/ntfy.conf == /var/log/ntfy ']'
2026-11-08 23:25:37,796: DEBUG - + chmod 400 /etc/fail2ban/jail.d/ntfy.conf
2026-11-08 23:25:37,797: DEBUG - + chown root:root /etc/fail2ban/jail.d/ntfy.conf
2026-11-08 23:25:37,797: DEBUG - + [[ 0 == 1 ]]
2026-11-08 23:25:37,798: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_49ui87h5/conf/f2b_jail.conf /etc/fail2ban/jail.d/ntfy.conf
2026-11-08 23:25:37,799: DEBUG - + _ynh_replace_vars /etc/fail2ban/jail.d/ntfy.conf
2026-11-08 23:25:37,799: DEBUG - + local file=/etc/fail2ban/jail.d/ntfy.conf
2026-11-08 23:25:37,799: DEBUG - + local -a uniques_vars
2026-11-08 23:25:37,799: DEBUG - + mapfile -t uniques_vars
2026-11-08 23:25:37,800: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/fail2ban/jail.d/ntfy.conf
2026-11-08 23:25:37,800: DEBUG - ++ sort --unique
2026-11-08 23:25:37,800: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2026-11-08 23:25:37,806: DEBUG - + ynh_store_file_checksum /etc/fail2ban/jail.d/ntfy.conf
2026-11-08 23:25:37,873: DEBUG - + ynh_config_add --template=f2b_filter.conf --destination=/etc/fail2ban/filter.d/ntfy.conf
2026-11-08 23:25:37,903: DEBUG - + jinja=0
2026-11-08 23:25:37,904: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_49ui87h5/conf/f2b_filter.conf ']'
2026-11-08 23:25:37,904: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_49ui87h5/conf/f2b_filter.conf
2026-11-08 23:25:37,904: DEBUG - + ynh_backup_if_checksum_is_different /etc/fail2ban/filter.d/ntfy.conf
2026-11-08 23:25:37,952: DEBUG - + touch /etc/fail2ban/filter.d/ntfy.conf
2026-11-08 23:25:37,953: DEBUG - + chmod 640 /etc/fail2ban/filter.d/ntfy.conf
2026-11-08 23:25:37,954: DEBUG - + _ynh_apply_default_permissions /etc/fail2ban/filter.d/ntfy.conf
2026-11-08 23:25:37,954: DEBUG - + local target=/etc/fail2ban/filter.d/ntfy.conf
2026-11-08 23:25:37,954: DEBUG - + ynh_system_user_exists --username=ntfy
2026-11-08 23:25:37,963: DEBUG - + getent passwd ntfy
2026-11-08 23:25:37,964: DEBUG - + '[' -f /etc/fail2ban/filter.d/ntfy.conf ']'
2026-11-08 23:25:37,964: DEBUG - + is_in_dir /etc/fail2ban/filter.d/ntfy.conf /var/www/ntfy
2026-11-08 23:25:37,964: DEBUG - + '[' -n /var/www/ntfy ']'
2026-11-08 23:25:37,964: DEBUG - ++ realpath /etc/fail2ban/filter.d/ntfy.conf
2026-11-08 23:25:37,965: DEBUG - + local child=/etc/fail2ban/filter.d/ntfy.conf
2026-11-08 23:25:37,966: DEBUG - ++ realpath /var/www/ntfy
2026-11-08 23:25:37,967: DEBUG - + local parent=/var/www/ntfy
2026-11-08 23:25:37,967: DEBUG - + [[ /etc/fail2ban/filter.d/ntfy.conf =~ ^/var/www/ntfy ]]
2026-11-08 23:25:37,967: DEBUG - + is_in_dir /etc/fail2ban/filter.d/ntfy.conf ''
2026-11-08 23:25:37,967: DEBUG - + '[' -n '' ']'
2026-11-08 23:25:37,968: DEBUG - + return 1
2026-11-08 23:25:37,968: DEBUG - + is_in_dir /etc/fail2ban/filter.d/ntfy.conf /etc/ntfy
2026-11-08 23:25:37,968: DEBUG - + '[' -n /etc/ntfy ']'
2026-11-08 23:25:37,968: DEBUG - ++ realpath /etc/fail2ban/filter.d/ntfy.conf
2026-11-08 23:25:37,969: DEBUG - + local child=/etc/fail2ban/filter.d/ntfy.conf
2026-11-08 23:25:37,969: DEBUG - ++ realpath /etc/ntfy
2026-11-08 23:25:37,970: DEBUG - + local parent=/etc/ntfy
2026-11-08 23:25:37,970: DEBUG - + [[ /etc/fail2ban/filter.d/ntfy.conf =~ ^/etc/ntfy ]]
2026-11-08 23:25:37,970: DEBUG - + '[' /etc/fail2ban/filter.d/ntfy.conf == /var/www/ntfy ']'
2026-11-08 23:25:37,970: DEBUG - + '[' /etc/fail2ban/filter.d/ntfy.conf == '' ']'
2026-11-08 23:25:37,971: DEBUG - + '[' /etc/fail2ban/filter.d/ntfy.conf == /var/log/ntfy ']'
2026-11-08 23:25:37,971: DEBUG - + chmod 400 /etc/fail2ban/filter.d/ntfy.conf
2026-11-08 23:25:37,971: DEBUG - + chown root:root /etc/fail2ban/filter.d/ntfy.conf
2026-11-08 23:25:37,972: DEBUG - + [[ 0 == 1 ]]
2026-11-08 23:25:37,972: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_49ui87h5/conf/f2b_filter.conf /etc/fail2ban/filter.d/ntfy.conf
2026-11-08 23:25:37,973: DEBUG - + _ynh_replace_vars /etc/fail2ban/filter.d/ntfy.conf
2026-11-08 23:25:37,974: DEBUG - + local file=/etc/fail2ban/filter.d/ntfy.conf
2026-11-08 23:25:37,974: DEBUG - + local -a uniques_vars
2026-11-08 23:25:37,974: DEBUG - + mapfile -t uniques_vars
2026-11-08 23:25:37,974: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/fail2ban/filter.d/ntfy.conf
2026-11-08 23:25:37,975: DEBUG - ++ sort --unique
2026-11-08 23:25:37,975: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2026-11-08 23:25:37,980: DEBUG - + ynh_store_file_checksum /etc/fail2ban/filter.d/ntfy.conf
2026-11-08 23:25:38,048: DEBUG - ++ dirname /var/log/nginx/XXXXX-error.log
2026-11-08 23:25:38,049: DEBUG - + local logdir=/var/log/nginx
2026-11-08 23:25:38,049: DEBUG - + '[' '!' -d /var/log/nginx ']'
2026-11-08 23:25:38,049: DEBUG - + '[' '!' -f /var/log/nginx/XXXXX-error.log ']'
2026-11-08 23:25:38,050: DEBUG - + ynh_systemctl --service=fail2ban --action=reload '--wait_until=(Started|Reloaded) fail2ban.service' --log_path=systemd
2026-11-08 23:25:38,162: DEBUG - + service=fail2ban
2026-11-08 23:25:38,162: DEBUG - + mount=
2026-11-08 23:25:38,163: DEBUG - + action=reload
2026-11-08 23:25:38,163: DEBUG - + wait_until='(Started|Reloaded) fail2ban.service'
2026-11-08 23:25:38,163: DEBUG - + length=20
2026-11-08 23:25:38,163: DEBUG - + log_path=systemd
2026-11-08 23:25:38,164: DEBUG - + '[' -n '' ']'
2026-11-08 23:25:38,164: DEBUG - + ynh_in_ci_tests
2026-11-08 23:25:38,164: DEBUG - + timeout=300
2026-11-08 23:25:38,165: DEBUG - + '[' reload == stop ']'
2026-11-08 23:25:38,165: DEBUG - + [[ -n (Started|Reloaded) fail2ban.service ]]
2026-11-08 23:25:38,165: DEBUG - ++ mktemp
2026-11-08 23:25:38,166: DEBUG - + local templog=/tmp/tmp.XGSlrzBkIe
2026-11-08 23:25:38,166: DEBUG - + '[' systemd == systemd ']'
2026-11-08 23:25:38,166: DEBUG - + local pid_tail=731434
2026-11-08 23:25:38,167: DEBUG - + '[' reload == reload ']'
2026-11-08 23:25:38,167: DEBUG - + journalctl --unit=fail2ban --follow --since=-0 --quiet
2026-11-08 23:25:38,167: DEBUG - + action=reload-or-restart
2026-11-08 23:25:38,167: DEBUG - ++ date --utc --rfc-3339=seconds
2026-11-08 23:25:38,168: DEBUG - ++ cut -d+ -f1
2026-11-08 23:25:38,168: DEBUG - + local 'time_start=2026-11-08 22:25:38 UTC'
2026-11-08 23:25:38,168: DEBUG - + systemctl reload-or-restart fail2ban
2026-11-08 23:25:38,333: DEBUG - + [[ -n (Started|Reloaded) fail2ban.service ]]
2026-11-08 23:25:38,341: INFO - The service fail2ban has correctly executed the action reload-or-restart.
2026-11-08 23:25:38,342: DEBUG - + '[' 1 -ge 3 ']'
2026-11-08 23:25:38,343: DEBUG - + '[' 1 -eq 300 ']'
2026-11-08 23:25:38,343: DEBUG - + _ynh_clean_check_starting
2026-11-08 23:25:38,343: DEBUG - + '[' -n 731434 ']'
2026-11-08 23:25:38,344: DEBUG - + kill -SIGTERM 731434
2026-11-08 23:25:38,344: DEBUG - + '[' -n /tmp/tmp.XGSlrzBkIe ']'
2026-11-08 23:25:38,344: DEBUG - + ynh_safe_rm /tmp/tmp.XGSlrzBkIe
2026-11-08 23:25:38,344: DEBUG - + local target=/tmp/tmp.XGSlrzBkIe
2026-11-08 23:25:38,350: DEBUG - ++ journalctl --no-hostname --unit=fail2ban
2026-11-08 23:25:38,350: DEBUG - ++ tail --lines=50
2026-11-08 23:25:38,351: DEBUG - ++ grep 'WARNING.*ntfy.*'
2026-11-08 23:25:38,406: DEBUG - + local fail2ban_error=
2026-11-08 23:25:38,409: INFO - [###########+++......] > Updating simple command wrapper...
2026-11-08 23:25:38,410: DEBUG - + ynh_config_add --template=ntfy.sh --destination=/var/www/ntfy/ntfy.sh
2026-11-08 23:25:38,455: DEBUG - + jinja=0
2026-11-08 23:25:38,455: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_49ui87h5/conf/ntfy.sh ']'
2026-11-08 23:25:38,456: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_49ui87h5/conf/ntfy.sh
2026-11-08 23:25:38,456: DEBUG - + ynh_backup_if_checksum_is_different /var/www/ntfy/ntfy.sh
2026-11-08 23:25:38,506: DEBUG - + touch /var/www/ntfy/ntfy.sh
2026-11-08 23:25:38,507: DEBUG - + chmod 640 /var/www/ntfy/ntfy.sh
2026-11-08 23:25:38,507: DEBUG - + _ynh_apply_default_permissions /var/www/ntfy/ntfy.sh
2026-11-08 23:25:38,508: DEBUG - + local target=/var/www/ntfy/ntfy.sh
2026-11-08 23:25:38,508: DEBUG - + ynh_system_user_exists --username=ntfy
2026-11-08 23:25:38,517: DEBUG - + getent passwd ntfy
2026-11-08 23:25:38,518: DEBUG - + '[' -f /var/www/ntfy/ntfy.sh ']'
2026-11-08 23:25:38,518: DEBUG - + is_in_dir /var/www/ntfy/ntfy.sh /var/www/ntfy
2026-11-08 23:25:38,518: DEBUG - + '[' -n /var/www/ntfy ']'
2026-11-08 23:25:38,519: DEBUG - ++ realpath /var/www/ntfy/ntfy.sh
2026-11-08 23:25:38,520: DEBUG - + local child=/var/www/ntfy/ntfy.sh
2026-11-08 23:25:38,520: DEBUG - ++ realpath /var/www/ntfy
2026-11-08 23:25:38,521: DEBUG - + local parent=/var/www/ntfy
2026-11-08 23:25:38,522: DEBUG - + [[ /var/www/ntfy/ntfy.sh =~ ^/var/www/ntfy ]]
2026-11-08 23:25:38,522: DEBUG - + chmod 600 /var/www/ntfy/ntfy.sh
2026-11-08 23:25:38,523: DEBUG - + chown ntfy:ntfy /var/www/ntfy/ntfy.sh
2026-11-08 23:25:38,524: DEBUG - + return
2026-11-08 23:25:38,524: DEBUG - + [[ 0 == 1 ]]
2026-11-08 23:25:38,524: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_49ui87h5/conf/ntfy.sh /var/www/ntfy/ntfy.sh
2026-11-08 23:25:38,525: DEBUG - + _ynh_replace_vars /var/www/ntfy/ntfy.sh
2026-11-08 23:25:38,525: DEBUG - + local file=/var/www/ntfy/ntfy.sh
2026-11-08 23:25:38,526: DEBUG - + local -a uniques_vars
2026-11-08 23:25:38,526: DEBUG - + mapfile -t uniques_vars
2026-11-08 23:25:38,526: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /var/www/ntfy/ntfy.sh
2026-11-08 23:25:38,527: DEBUG - ++ sort --unique
2026-11-08 23:25:38,527: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2026-11-08 23:25:38,531: DEBUG - + ynh_store_file_checksum /var/www/ntfy/ntfy.sh
2026-11-08 23:25:38,599: DEBUG - + chown ntfy:ntfy /var/www/ntfy/ntfy.sh
2026-11-08 23:25:38,600: DEBUG - + chmod u+x /var/www/ntfy/ntfy.sh
2026-11-08 23:25:38,602: INFO - [##############+++...] > Starting ntfy's systemd service...
2026-11-08 23:25:38,602: DEBUG - + ynh_systemctl --service=ntfy --action=start
2026-11-08 23:25:38,664: DEBUG - + service=ntfy
2026-11-08 23:25:38,664: DEBUG - + mount=
2026-11-08 23:25:38,665: DEBUG - + action=start
2026-11-08 23:25:38,665: DEBUG - + wait_until=
2026-11-08 23:25:38,665: DEBUG - + length=20
2026-11-08 23:25:38,665: DEBUG - + log_path=/var/log/ntfy/ntfy.log
2026-11-08 23:25:38,666: DEBUG - + '[' -n '' ']'
2026-11-08 23:25:38,666: DEBUG - + ynh_in_ci_tests
2026-11-08 23:25:38,666: DEBUG - + timeout=300
2026-11-08 23:25:38,667: DEBUG - + '[' start == stop ']'
2026-11-08 23:25:38,667: DEBUG - + '[' start == reload ']'
2026-11-08 23:25:38,667: DEBUG - ++ date --utc --rfc-3339=seconds
2026-11-08 23:25:38,668: DEBUG - ++ cut -d+ -f1
2026-11-08 23:25:38,668: DEBUG - + local 'time_start=2026-11-08 22:25:38 UTC'
2026-11-08 23:25:38,668: DEBUG - + systemctl start ntfy
2026-11-08 23:25:38,725: INFO - [####################] > Upgrade of ntfy completed
2026-11-08 23:25:38,725: DEBUG - + ynh_exit_properly
2026-11-08 23:25:38,727: DEBUG - + [[ upgrade =~ ^install$|^upgrade$|^restore$ ]]
2026-11-08 23:25:38,829: DEBUG - Checking that required services are up and running...
2026-11-08 23:25:39,566: SUCCESS - ntfy upgraded

Bonsoir,

Tel que le paquet est constitué, il écrase la configuration (qui n’est donc pas pensée pour être personnalisée) à chaque mise à jour: ntfy_ynh/scripts/upgrade at 274d85754a8c337ff54a46bd46f2b1c7787735f3 · YunoHost-Apps/ntfy_ynh · GitHub

Il y a au moins trois façons de procéder: les deux premières impliquent de proposer une modification du paquet qui semble légitime et la troisième est à faire en local.

  1. [modif paquet] Ajouter un panneau de configuration à l’application. Cela semble la méthode la plus confortable à utiliser comme il semble n’y avoir que quelques valeurs à proposer de faire personnaliser par les admins d’instances.
  2. [modif paquet] Utiliser des variables d’environnement pour la configuration de l’app plutôt qu’un fichier yaml, et créer un fichier local.env qu’on fera en sorte de conserver au travers des mises à jour et dont le contenu écrasera les parties correspondantes du fichier de configuration par défaut.
  3. [local] Créer un script qui remet le fichier personnalisé après chaque mise à jour via le hook post_app_upgrade.