First time here? Check out the FAQ!
0

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: http://i.imgur.com/n9eUnog.png

The second error is this:

----------------------------------------
Exception happened during processing of request from ('192.168.122.1', 48937)
Traceback (most recent call last):
  File "/usr/lib64/python2.6/SocketServer.py", line 560, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib64/python2.6/SocketServer.py", line 322, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.6/site-packages/django/core/servers/basehttp.py", line 139, in __init__
    super(WSGIRequestHandler, self).__init__(*args, **kwargs)
  File "/usr/lib64/python2.6/SocketServer.py", line 617, in __init__
    self.handle()
  File "/usr/lib64/python2.6/wsgiref/simple_server.py", line 130, in handle
    self.raw_requestline = self.rfile.readline()
  File "/usr/lib64/python2.6/socket.py", 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
1
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

Comments

add a comment see more comments

1 Answer

0

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

python manage.py syncdb --migrate --noinput

This will build all the necessary tables and columns within.

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

Comments

add a comment see more comments