On Thu, Mar 30, 2017 at 1:06 AM, Mark Sapiro <mark@msapiro.net> wrote:
To be more specific, the projects that are required for a fully functioning Mailman installation with Postorius and Hyperkitty are
Mailman (the core)
Hyperkitty (the archiver)
Postorius (the web list management UI)
django-mailman3 (common django things used by Postorius and Hyperkitty)
MailmanClient (python bindings for the core REST API used by Postorius and Hyperkitty)
HyperKitty - Mailman plugin (plugin for the core to communicate with Hyperkitty)
I tried to upgrade today. The result is a broken install which fails when trying to upgrade the database.
$> ./bin/mailman-post-update [...] File "/opt/mailman/mailman-bundler/eggs/Django-1.8.17-py2.7.egg/django/db/backends/base/base.py", line 236, in _commit return self.connection.commit() File "/opt/mailman/mailman-bundler/eggs/Django-1.8.17-py2.7.egg/django/db/utils.py", line 94, in __exit__ six.reraise(dj_exc_type, dj_exc_value, traceback) File "/opt/mailman/mailman-bundler/eggs/Django-1.8.17-py2.7.egg/django/db/backends/base/base.py", line 236, in _commit return self.connection.commit() django.db.utils.IntegrityError: update or delete on table "auth_user" violates foreign key constraint "social_auth_usersocial_user_id_193b2d80880502b2_fk_auth_user_id" on table "social_auth_usersocialauth" DETAIL: Key (id)=(3) is still referenced from table "social_auth_usersocialauth".
I have tried to drop and recreate the databases but I get the above result anyway.
The description in https://wiki.list.org/DOC/Mailman%203%20installation%20experience is very hazy. The process of symlinking in libraries is fiddly to say the least. I get mailman to start but not any web interface. I have not tested mailman so if it works rather than just start I do not know.
There is a description for a clean install for development at http://docs.mailman3.org/en/latest/devsetup.html, but I suspect that it isn't usable for anything other than development. I have read it parallell to try to interpret the installation experience description which in turn describes more of what I am trying to do. No luck though.
regards // David