Ask Your Question
2

Deploying to Heroku

asked 2011-12-09 20:25:39 -0500

rnschmidt gravatar image rnschmidt
21 1 1 3

I am trying to deploy askbot to Heroku and I am getting the following error when I run ./manage.py migrate:

Running migrations for askbot: - Migrating forwards to 0051proxifyqarevmodels.

askbot:0022initpostgresqlfulltext_search Traceback (most recent call last): django.db.utils.DatabaseError: must be owner of database qkdxugtyqz

When I contacted Heroku support they said this:

"Hi, it looks like you app is running

CREATE LANGUAGE plpgsql

which is restricted to superusers on the database - you will need to remove this from your migration."

Is there any way around this, or is deploying askbot to heroku not possible?

delete close flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2011-12-09 20:27:41 -0500

Evgeny gravatar image Evgeny flag of Chile
11074 50 84 182
http://askbot.org/

Hello, that means you cannot use postgresql on heroku with askbot, try MySQL, but make sure to use MyISAM tables.

You can also use sqlite3 for the database.

link publish delete flag offensive edit
1

answered 2012-08-24 15:01:10 -0500

ignacio_parada gravatar image ignacio_parada
11 1 1

It did work for me, but I had to comment the logging that goes into askbot.log

link publish delete flag offensive edit

Comments

can you please create a separate post for - A step by step procedure for installing askbot(any issues if any) in Heroku? It will be very helpful for others. Thanks. :)

pajju ( 2012-08-26 01:45:18 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow
3 followers

subscribe to rss feed

Stats

Asked: 2011-12-09 20:25:39 -0500

Seen: 197 times

Last updated: Aug 24 '12