First time here? Check out the FAQ!

Revision history  [back]

Table 'askbotdev.group_messaging_unreadinboxcounter' doesn't exist

I'm trying to update from an older version. Without login, everything seems to work fine. Logging in as an existing user gives me:

DatabaseError at /questions/
(1146, "Table 'partkeepr_askbot.group_messaging_unreadinboxcounter' doesn't exist")
Request Method: GET
Request URL:    
Django Version: 1.5.12
Exception Type: DatabaseError
Exception Value:    
(1146, "Table 'partkeepr_askbot.group_messaging_unreadinboxcounter' doesn't exist")
Exception Location: /usr/local/lib/python2.7/dist-packages/MySQLdb/connections.py in defaulterrorhandler, line 36
Python Executable:  /usr/bin/python
Python Version: 2.7.9
Python Path:    
['/var/www/askbot-partkeepr',
 '/usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/usr/lib/pymodules/python2.7',
 '/usr/local/lib/python2.7/dist-packages/askbot/deps']
Server time:    Sun, 4 Oct 2015 12:04:12 -0500

I already issued python manage.py migrate and python manage.py syncdb --migrate. Both commands did execute successfully:

python manage.py syncdb --migrate
WARNING!!! You are using a 'locmem' (local memory) caching backend,
which is OK for a low volume site running on a single-process server.
For a multi-process configuration it is neccessary to have a production
cache system, such as redis or memcached.

With local memory caching and multi-process setup you might intermittently
see outdated content on your site.

Syncing...
Creating tables ...
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
Migrating...
Running migrations for longerusername:
- Nothing to migrate.
 - Loading initial data for longerusername.
Installed 0 object(s) from 0 fixture(s)
Running migrations for django_authopenid:
- Nothing to migrate.
 - Loading initial data for django_authopenid.
Installed 0 object(s) from 0 fixture(s)
Running migrations for robots:
- Nothing to migrate.
 - Loading initial data for robots.
Installed 0 object(s) from 0 fixture(s)
Running migrations for djcelery:
- Nothing to migrate.
 - Loading initial data for djcelery.
Installed 0 object(s) from 0 fixture(s)
Running migrations for group_messaging:
- Nothing to migrate.
 - Loading initial data for group_messaging.
Installed 0 object(s) from 0 fixture(s)
Running migrations for askbot:
- Nothing to migrate.
 - Loading initial data for askbot.
Installed 0 object(s) from 0 fixture(s)

Synced:
 > django.contrib.auth
 > django.contrib.contenttypes
 > django.contrib.sessions
 > django.contrib.sites
 > django.contrib.staticfiles
 > django.contrib.admin
 > django.contrib.humanize
 > django.contrib.sitemaps
 > django.contrib.messages
 > compressor
 > south
 > askbot.deps.livesettings
 > keyedcache
 > django_countries
 > djkombu
 > followit
 > tinymce

Migrated:
 - longerusername
 - askbot.deps.django_authopenid
 - robots
 - djcelery
 - group_messaging
 - askbot
python manage.py migrate
WARNING!!! You are using a 'locmem' (local memory) caching backend,
which is OK for a low volume site running on a single-process server.
For a multi-process configuration it is neccessary to have a production
cache system, such as redis or memcached.

With local memory caching and multi-process setup you might intermittently
see outdated content on your site.

Running migrations for longerusername:
- Nothing to migrate.
 - Loading initial data for longerusername.
Installed 0 object(s) from 0 fixture(s)
Running migrations for django_authopenid:
- Nothing to migrate.
 - Loading initial data for django_authopenid.
Installed 0 object(s) from 0 fixture(s)
Running migrations for robots:
- Nothing to migrate.
 - Loading initial data for robots.
Installed 0 object(s) from 0 fixture(s)
Running migrations for djcelery:
- Nothing to migrate.
 - Loading initial data for djcelery.
Installed 0 object(s) from 0 fixture(s)
Running migrations for group_messaging:
- Nothing to migrate.
 - Loading initial data for group_messaging.
Installed 0 object(s) from 0 fixture(s)
Running migrations for askbot:
- Nothing to migrate.
 - Loading initial data for askbot.
Installed 0 object(s) from 0 fixture(s)
 python manage.py migrate askbot
WARNING!!! You are using a 'locmem' (local memory) caching backend,
which is OK for a low volume site running on a single-process server.
For a multi-process configuration it is neccessary to have a production
cache system, such as redis or memcached.

With local memory caching and multi-process setup you might intermittently
see outdated content on your site.

Running migrations for askbot:
- Nothing to migrate.
 - Loading initial data for askbot.
Installed 0 object(s) from 0 fixture(s)