First time here? Check out the FAQ!

Login problems after clean setup

I've installed Askbot 0.7.48 from the RPM package provided in Centos 6. After a few fixes I had it running but with one problem. I can't login in any way from the main login form, even after deactivating all the social logins and leaving the local login alone.

When I submit the form, two different errors appear, the first one is related with the database, the message is:

DatabaseError at /account/signin/ no existe la relación «django_authopenid_userassociation» LINE 1: ...penid_userassociation"."last_used_timestamp" FROM "django_au...

(Translation: The relationship django_auth... doesn't exist). I leave here a screenshot:

The second error is this:

Exception happened during processing of request from ('', 48937)
Traceback (most recent call last):
  File "/usr/lib64/python2.6/", line 560, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib64/python2.6/", line 322, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.6/site-packages/django/core/servers/", line 139, in __init__
    super(WSGIRequestHandler, self).__init__(*args, **kwargs)
  File "/usr/lib64/python2.6/", line 617, in __init__
  File "/usr/lib64/python2.6/wsgiref/", line 130, in handle
    self.raw_requestline = self.rfile.readline()
  File "/usr/lib64/python2.6/", line 450, in readline
    data = self._sock.recv(self._rbufsize)
timeout: timed out

I can login perfectly from the admin dashboard login though.

My setup is this:

  • Centos 6 standard (core and EPEL repositories alone)
  • PostgreSQL 8.4.13
  • python-psycopg2 2.0.14
  • Askbot 0.7.48

How can I solve this problem?

Oscar Carballal's avatar
Oscar Carballal
asked 2013-07-31 04:30:51 -0500, updated 2013-07-31 04:32:39 -0500
edit flag offensive 0 remove flag close merge delete


add a comment see more comments

1 Answer


You have missed database migrations, so some tables are absent. Upon install run:

python syncdb --migrate --noinput

This will build all the necessary tables and columns within.

Evgeny's avatar
answered 2013-07-31 12:25:59 -0500
edit flag offensive 0 remove flag delete link


add a comment see more comments