Ask Your Question
2

Deploying to Heroku

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

rnschmidt gravatar image

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?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

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

ignacio_parada gravatar image

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

edit flag offensive delete link more

Comments

1

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 gravatar imagepajju ( 2012-08-26 01:45:18 -0500 )edit
1

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

Evgeny gravatar image

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.

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

3 followers

Stats

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

Seen: 533 times

Last updated: Aug 24 '12