On 11/29/19 7:37 AM, actionmystique@gmail.com wrote:
mark.van.holsteijnï¼ gmail.com I stumbled across the same issue as Brian Carpenter within a slightly different environment: Ubuntu focal 20.04 PostgreSQL 12.1-1
I tried to replace the following line in
/usr/lib/python3/dist-packages/hyperkitty/migrations/0007_allauth_20160808_1604.py
frompython3-django-hyperkitty
(1.3.0-1ubuntu1):cursor.execute("SELECT 1 from social_auth_usersocialauth")
with
cursor.execute("SELECT 1 from information_schema.tables where table_name ='social_auth_usersocialauth' and to_regclass('social_auth_usersocialauth') is not null")
then
python3 manage.py makemigrations
leads to a different issue:
We are working on a proper fix for this issue. See <https://gitlab.com/mailman/hyperkitty/merge_requests/200>.
In the mean time, to work around this issue on a new install, the simplest change is to just delete the second to last line
migrations.RunPython(migrate_social_users),
from hyperkitty/migrations/0007_allauth_20160808_1604.py
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan