Ask Your Question

How do I get an instance of askbot working on Fedora?

asked 2013-02-19 09:35:02 -0600

ryanlerch gravatar image

updated 2017-01-13 15:40:02 -0600

mattdm gravatar image

I have just installed askbot on Fedora 18 using the command,

sudo yum install askbot

And have restarted Apache with

sudo service httpd restart

And apache is working perfectly, (the testpage shows at http://localhost/)

However, where does the default configuration of askbot put the askbot URL? From what i can gather from the config files, a sqlite database is used by default, but i cant seem to be able to access my local instance of askbot.

Is there any further configuration that i need to set up? Do I need to start the askbot server?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-02-19 11:52:31 -0600

ralph gravatar image

About a year ago (at the beginning of 2012) we updated python-django in Fedora and broke askbot along the way and no one had yet find the time to fix it. askbot-0.7.48-8 should work much better for you. It hasn't made it into Fedora yet, but you can find some rpms for it here:

It also has a new dependency which you can find here (there's a koji build linked to from this bug that you can download rpms from):

After installing, (as root) you'll need to do something like the following set of things to configure askbot:

First jump into the config dir. expects to be in cwd

pushd /etc/askbot/sites/ask/config/

Gather up dynamic resources and put them in a static/ dir

mkdir -p /usr/lib/python2.7/site-packages/askbot/static

echo "yes" | python collectstatic

Make db schema updates

echo "no" | python syncdb

python migrate askbot

python migrate django_authopenid


Symlink the default skin into the skins directory

ln -s /usr/lib/python2.7/site-packages/askbot/static/default /usr/lib/python2.7/site-packages/askbot/skins/default

Set perm mask for httpd

chown -R apache:apache /var/log/askbot/

chown -R apache:apache /var/cache/askbot/

edit flag offensive delete link more


Just a little testing for fedmsg.

ralph gravatar imageralph ( 2013-02-20 14:48:33 -0600 )edit

Question Tools


Asked: 2013-02-19 09:35:02 -0600

Seen: 58,189 times

Last updated: Feb 19 '13