edx-platform - Error when deleting users from django admin interface
I got this error when trying to delete users from the django admin interface of the edx platform:
DatabaseError: (1146, "Table 'edxapp.social_auth_usersocialauth' doesn't exist")
This bug can be reproduced on edx-platform master (commit: 04376e0) according to William Daly (will@edx.org).
I reported this issue at https://github.com/edx/edx-platform/issues/3639
A quick fix is to:
1. Add 'social.apps.django_app.default' to INSTALLED_APPS in /edx/app/edxapp/edx-platform/lms/envs/common.py
2. Then run the db migration:
$ cd /edx/app/edxapp/edx-platform
$ sudo -u www-data /edx/bin/python.edxapp ./manage.py lms syncdb --migrate --settings aws
DatabaseError: (1146, "Table 'edxapp.social_auth_usersocialauth' doesn't exist")
This bug can be reproduced on edx-platform master (commit: 04376e0) according to William Daly (will@edx.org).
I reported this issue at https://github.com/edx/edx-platform/issues/3639
A quick fix is to:
1. Add 'social.apps.django_app.default' to INSTALLED_APPS in /edx/app/edxapp/edx-platform/lms/envs/common.py
2. Then run the db migration:
$ cd /edx/app/edxapp/edx-platform
$ sudo -u www-data /edx/bin/python.edxapp ./manage.py lms syncdb --migrate --settings aws
Comments
Post a Comment