Ask Your Question

column askbot_thread.title_search_vector does not exist?

asked 2016-09-25 15:24:37 -0600

I am running a couple small Askbot sites. I installed version 0.10.0 and I keep receiving errors such as

Internal Server Error: /api/get_questions/ Traceback (most recent call last): File "/opt/askbot_virtualenv/local/lib/python2.7/site-packages/django/core/handlers/", line 132, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/opt/askbot_virtualenv/local/lib/python2.7/site-packages/askbot/utils/", line 67, in wrapper return view_func(request, *args, **kwargs) File "/opt/askbot_virtualenv/local/lib/python2.7/site-packages/askbot/views/", line 649, in api_get_questions for thread in threads:#todo: this is a temp hack until thread model is fixed File "/opt/askbot_virtualenv/local/lib/python2.7/site-packages/django/db/models/", line 162, in __iter__ self._fetch_all() File "/opt/askbot_virtualenv/local/lib/python2.7/site-packages/django/db/models/", line 965, in _fetch_all self._result_cache = list(self.iterator()) File "/opt/askbot_virtualenv/local/lib/python2.7/site-packages/django/db/models/", line 238, in iterator results = compiler.execute_sql() File "/opt/askbot_virtualenv/local/lib/python2.7/site-packages/django/db/models/sql/", line 840, in execute_sql cursor.execute(sql, params) File "/opt/askbot_virtualenv/local/lib/python2.7/site-packages/django/db/backends/", line 64, in execute return self.cursor.execute(sql, params) File "/opt/askbot_virtualenv/local/lib/python2.7/site-packages/django/db/", line 98, in __exit__ six.reraise(dj_exc_type, dj_exc_value, traceback) File "/opt/askbot_virtualenv/local/lib/python2.7/site-packages/django/db/backends/", line 64, in execute return self.cursor.execute(sql, params) ProgrammingError: column askbot_thread.title_search_vector does not exist LINE 1: SELECT DISTINCT (ts_rank(askbot_thread.title_search_vector, ...

when users interact with the platform. Looking for this errors, I found a discussion where the problem was reported for a previous version and a patch was promised.

Am I doing anything wrong?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-09-30 06:08:25 -0600

gopalraha's avatar

These 500 error that is Internal Server Error are caused due to incorrect permissions provided to NGINX or Apache Web Server.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-09-25 15:24:37 -0600

Seen: 253 times

Last updated: Sep 30 '16