[Bug 250362] mail/mailman3: zope.interface>=5.0 is required
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Dec 26 12:23:07 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250362
--- Comment #29 from Henri Hennebert <hlh at restart.be> ---
(In reply to Henri Hennebert from comment #23)
To mimic the the configuration at https://lists.mailman3.org/
I rename /usr/local/mailman/postorius to /usr/local/mailman/mailman3
my config of apache24 is now:
<VirtualHost x.x.x.x:80>
ServerName <server fqdn>
LogFormat combined
TransferLog "| /usr/local/sbin/cronolog
/var/log/httpd/lists/%Y/%m/access-%d.log"
ErrorLog "| /usr/local/sbin/cronolog /var/log/httpd/lists/error-%Y-%m.log"
DocumentRoot "/usr/local/mailman/mailman3"
Alias /static /usr/local/mailman/mailman3/static
<Directory "/usr/local/mailman/mailman3/static">
Require all granted
</Directory>
WSGIScriptAlias / /usr/local/mailman/mailman3/wsgi.py
<Directory "/usr/local/mailman/mailman3">
<Files wsgi.py>
Require all granted
</Files>
</Directory>
</VirtualHost>
Then I add textproc/rubygem-sass and textproc/py-cmarkgfm
Next I install hyperkitty (there is no ports so I use pip):
pip install hyperkitty
After some try and errors I have my settings.py updated (see attachment)
then:
[root at tignes ~]# su -l mailman
[mailman at tignes ~]$ cd mailman3
[mailman at tignes mailman3]$ django-admin migrate --pythonpath
/usr/local/mailman/mailman3 --settings settings
Operations to perform:
Apply all migrations: account, admin, auth, contenttypes, django_mailman3,
django_q, hyperkitty, openid, postorius, sessions, sites, socialaccount
Running migrations:
...
Then I MUST install the /usr/local/mailman/mailman3/static directory to avoid
problems with the css:
[mailman at tignes mailman3]$ python manage.py collectstatic
and then I restart apache24 and all is running well: archives are updated.
NOTE: I try to recollect everything from my last 2 weeks :-/
so maybe I forget a step or two...
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list