YunoHost-Apps / mailman_ynh

Mailman packaging for YunoHost
http://www.list.org/
GNU Affero General Public License v3.0
10 stars 1 forks source link

mailman won't work after install #36

Closed Ternoc closed 2 years ago

Ternoc commented 3 years ago

After initial install, mailman won't work and show this error page

Capture d’écran 2021-11-21 à 06 07 01

Yunohost version : 4.3.3

Ternoc commented 2 years ago

When accessing to services pannel in Yunohost, it shows that the mailman status is X auto restart.

There is the logs :

https://gist.github.com/Ternoc/26fd32a07cff68891f2482dac9270c3b

Aeris1One commented 2 years ago

Same, seems to be since either commit 289bf408d57bf564d6cdaa9324b4f0152eee379a or Yunohost 4.3 release according to CI : (last successful run without this error) https://ci-apps.yunohost.org/ci/job/3804

After manually sudo /usr/lib/mailman/bin/mailmanctl -s start (command which is done by the service), /var/log/mailman/error shows

Dec 09 13:34:06 2021 mailmanctl(6153): Site list is missing: mailman
Dec 09 13:34:06 2021 (6153) Site list is missing: mailman
Aeris1One commented 2 years ago

Sooo... Here's my log gathering plan :

  1. rm /var/log/mailman
  2. Install Yunohost app
  3. Wait 5 mins
  4. Upload content of /var/log/error and /var/log/qrunner

Install logs : https://paste.yunohost.org/raw/mirojuxibu /var/log/error : https://paste.yunohost.org/raw/okibetodef /var/log/qrunner : https://paste.yunohost.org/raw/faqiyepevo

Nothing strange in install logs, and mailman list is correctly created :

admin@vivaldi:~$ sudo /usr/lib/mailman/bin/list_lists 
1 matching mailing lists found:
    Mailman - [no description available]
admin@vivaldi:~$ sudo /usr/lib/mailman/bin/list_admins 
admin@vivaldi:~$ sudo /usr/lib/mailman/bin/list_members mailman
admin@vivaldi:~$ sudo /usr/lib/mailman/bin/list_owners
root@lists.aeris-one.fr
Aeris1One commented 2 years ago

Well, seems it's not related to 4.3 release as I thought, but may well be related to a commit, because when package_check checks "upgrading from old commit" it works at least for a second... So, it broke somewhere between commit 289bf408d57bf564d6cdaa9324b4f0152eee379a and commit 74754abc96057eec8f9a4c8902ad43299950c8b3, let's figure out where exactly :)