[Mailman3] install app failure on yunohost 12

What type of hardware are you using: Virtual machine
What YunoHost version are you running: 12.0.11
What app is this about: Mailman3

Describe your issue

Coucou,

The migration to yunohost 12 left me with a mailman3 app in failure. I tried to remove it and install it from scratch without success. I get a very strange error: cannot touch '/etc/mailman3/mailman.cfg': No such file or directory.
If I manually create the directory and file before the install, I get an error with a not existing /usr/share/mailman3-web directory.

Do you have a clue why the folder is not created?

d’avance merci,
Thibaut

Share relevant logs or error messages

yunohost:~# LANG=C yunohost app install mailman3 -l ListeDeDiffusion -a "domain=mailman.tribu-ml.fr&password=abcdefghij&init_main_permission=visitors&admin=thibaut"
Info: Installing mailman3…
Info: Provisioning system_user...
Info: Provisioning install_dir...
Info: Provisioning permissions...
Info: Provisioning ports...
Info: Provisioning apt...
Info: [++..................] > Creating a PostgreSQL database...
Info: [##++................] > Adding mailman3's configuration files...
Warning: touch: cannot touch '/etc/mailman3/mailman.cfg': No such file or directory
Error: Unable to install mailman3: An error occurred inside the app installation script
Info: The operation 'Install the 'mailman3' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20250123-150142-app_install-mailman3' to get help
Warning: Here's an extract of the logs before the crash. It might help debugging the error:
Info: DEBUG - + ynh_psql_connect_as --user=postgres --password=**********
Info: DEBUG - + database=
Info: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql ''
Info: DEBUG - CREATE DATABASE
Info: DEBUG - ALTER DATABASE
Info: DEBUG - GRANT
Info: DEBUG - + ynh_app_setting_set --app=mailman3 --key=psqlpwd --value=**********
Info: INFO - [##++................] > Adding mailman3's configuration files...
Info: DEBUG - + ynh_add_config --template=mailman.cfg --destination=/etc/mailman3/mailman.cfg
Info: DEBUG - + jinja=0
Info: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_cdwfjqhp/conf/mailman.cfg ']'
Info: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_cdwfjqhp/conf/mailman.cfg
Info: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/mailman3/mailman.cfg
Info: DEBUG - ++ ynh_app_setting_get --app=mailman3 --key=checksum__etc_mailman3_mailman.cfg
Info: DEBUG - + local checksum_value=
Info: DEBUG - + backup_file_checksum=
Info: DEBUG - + '[' -n '' ']'
Info: DEBUG - + touch /etc/mailman3/mailman.cfg
Info: WARNING - touch: cannot touch '/etc/mailman3/mailman.cfg': No such file or directory
Info: DEBUG - + ynh_exit_properly
Warning: Removing the app after installation failure…
Info: [+++++...............] > Removing system configurations related to mailman3...
Warning: insserv: warning: current start runlevel(s) (empty) of script `mailman3' overrides LSB defaults (2 3 4 5).
Warning: insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `mailman3' overrides LSB defaults (0 1 6).
Warning: insserv: warning: current start runlevel(s) (empty) of script `mailman3' overrides LSB defaults (2 3 4 5).
Warning: insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `mailman3' overrides LSB defaults (0 1 6).
Warning: insserv: warning: current start runlevel(s) (empty) of script `mailman3-web' overrides LSB defaults (2 3 4 5).
Warning: insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `mailman3-web' overrides LSB defaults (0 1 6).
Warning: insserv: warning: current start runlevel(s) (empty) of script `mailman3-web' overrides LSB defaults (2 3 4 5).
Warning: insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `mailman3-web' overrides LSB defaults (0 1 6).
Info: '/etc/nginx/conf.d/mailman.tribu-ml.fr.d/mailman3.conf' wasn't deleted because it doesn't exist.
Info: [#####+++++..........] > Removing various files...
Info: '/usr/share/mailman3-web' wasn't deleted because it doesn't exist.
Info: '/etc/mailman3' wasn't deleted because it doesn't exist.
Info: '/usr/share/yunohost/hooks/conf_regen/98-postfix_mailman3' wasn't deleted because it doesn't exist.
Warning: WARNING WARNING Could not identify correctly the dns zone for domain yunohost.valinor.ea, returning valinor.ea
Warning: WARNING WARNING Could not identify correctly the dns zone for domain yunohost.valinor.ea, returning valinor.ea
Info: [##########+++++.....] > Removing the PostgreSQL database...
Info: [###############+++++] > Removal of mailman3 completed
Info: Deprovisioning apt...
Info: Deprovisioning ports...
Info: Deprovisioning permissions...
Info: Deprovisioning install_dir...
Info: Deprovisioning system_user...
Error: The operation 'Install the 'mailman3' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20250123-150142-app_install-mailman3' to get help