Upgrade Listmonk from 3.0.0~ynh1 to 4.1.0~ynh2 failed

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.0.10
How are you able to access your server: The webadmin
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: no

Describe your issue

I tried to upgrade my Listmonk installation to a new version, but it did not complete and failed with an error. Complete log available on Yunopaste.

What can I do to complete the upgrade?

Share relevant logs or error messages

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

Extra data point: fresh install of Listmonk 4.1.0 works just fine.

2025/01/16 12:07:42.505028 v4.0.0.go:118: admin_username should be min 3 chars and admin_password should be min 8 chars in the TOML config

Hmmm that’s weird, according to listmonk_ynh/conf/config.toml at master · YunoHost-Apps/listmonk_ynh · GitHub the values should be empty and it should be fine …?

Can you check the content of /var/www/listmonk/config.toml and confirm that the values are empty ?

I can’t get to the directory without being kicked out by a firewall or something. Sites not working from my IP…

According to GitHub · Where software is built
you have to comment “admin_username” and “admin_password” in /var/www/listmonk/config.toml.
It works for me, I hope it’ll work for you.