Ask Your Question

How to install askbot on free hosting account at

asked 2010-05-12 19:55:59 -0600

Evgeny's avatar

updated 2010-09-08 17:21:49 -0600

The answer is here. It should just work, if you have any problems - please report them.

edit: please keep in mind that the free account is quite limited and probably should not be used for a real life application.

edit retag flag offensive close merge delete

6 Answers

Sort by ยป oldest newest most voted

answered 2010-05-12 20:57:31 -0600

Evgeny's avatar

As I've tested, installation fits into a the free disk quota and the application works, however some performance improving tricks are possible - will update later.

edit flag offensive delete link more


Great stuff!
Pekka's avatar Pekka  ( 2010-05-13 04:28:33 -0600 )edit

answered 2010-08-23 08:20:47 -0600

hector's avatar

The instructions in the wiki seem to be outdated. For example, there's no


and the changes that it suggests are located in the file


should I copy the former to the latter? or should I change it right where it is?

edit flag offensive delete link more


Hector, I've updated and tested instructions - on the same wiki page.
Evgeny's avatar Evgeny  ( 2010-08-23 12:39:41 -0600 )edit

answered 2010-09-08 13:31:56 -0600

marco gualtieri's avatar

updated 2010-09-08 19:04:17 -0600

The install is now running into several obstacles and doesn't work as is. First of all it renames the tar file "master" and then halts installation before creating the django_site directory. Second, more annoying, is that tries to fetch the django toolbar program dependency at a website that is down, so that also halts -- this is a problem I have even in installing it on my own system.

I am looking forward to one day using askbot but as it is now, none of the installation instructions actually work.

EDIT: the alwaysdata installation instructions now work.

edit flag offensive delete link more


Hi Marco, the script got broken, thanks for letting me know. Please try the same instructions again (but wipe out all the things you've dowloaded). I've removed the debug_toolbar from the dependencies. Also - please note that free alwaysdata is very limited and might suit your real-life needs.
Evgeny's avatar Evgeny  ( 2010-09-08 17:07:02 -0600 )edit
I wiped out all the directories which are installed before. But now the script goes over memory and we get being 0 bytes as well as and Also in the installation instructions you should remove the obsolete instructions concerning old version of Django.
marco gualtieri's avatar marco gualtieri  ( 2010-09-08 18:12:06 -0600 )edit
Also, now that you have fixed that script, does this fix also apply to the usual installation? I was getting the same problems with debug_toolbar when I attempted installation on my own computer. Marco
marco gualtieri's avatar marco gualtieri  ( 2010-09-08 18:13:02 -0600 )edit
yes, the normal installation should work, I've removed toolbar from the dependencies - it's not necessary unless you write code. The "over memory" problem will probably go away after you kill any jobs, log out and then log in again.
Evgeny's avatar Evgeny  ( 2010-09-08 18:16:57 -0600 )edit
what happens if you type `python` and then `import _mysql` into the python shell? do you see error messages?
Evgeny's avatar Evgeny  ( 2010-09-08 18:26:59 -0600 )edit

answered 2010-05-13 05:46:59 -0600

jeremy's avatar

Thanks for the help. However I'm kind of disapointed. Don't askbot warns people through email? I thought it did but I got no emails warning me about answers to my questions. Is that normal?

edit flag offensive delete link more


Askbot has a E-Mail notification function. Did you set up E-Mail notification in the file? In the block starting with "SERVER_EMAIL"?
Pekka's avatar Pekka  ( 2010-05-13 07:03:17 -0600 )edit
Automatic notification. I mean, like you answer to my question and I'm warned about it. Why didn't I received any from this site?
jeremy's avatar jeremy  ( 2010-05-13 09:56:29 -0600 )edit
hey, email updates are now running. you won't get updates on anything that you've already seen, b/c forum keeps track of that per user. Also no emails are sent about new comments (yet).
Evgeny's avatar Evgeny  ( 2010-05-13 16:20:36 -0600 )edit
Good. But are they instant or not?
jeremy's avatar jeremy  ( 2010-05-13 18:02:17 -0600 )edit
They are delayed now. I will add instant updates on responses by monday. Looks like there will be two notification systems - one instant and one delayed. Most users will want delayed once a day or once a week notification, but instant notification is a good idea for responses and most eager users.
Evgeny's avatar Evgeny  ( 2010-05-13 18:53:46 -0600 )edit

answered 2011-11-04 08:08:02 -0600

WilliamF's avatar

This is a well-written how-to - thanks. As of Nov. 2011, the setup file no longer contains the lines :

if sys.platform not in WIN_PLATFORMS

So, they can't be commented out, which was a bit confusing, but one goes on. However the install went way over the alwaysdata limits. I ended up springing for the 9e service and when the install was finished it was at 27 Mb. No worries, I can afford 9e a month.

However, when I start askbot (python runserver) I get an error message saying can't be found, which ends up being an import error, where can't find the module for djcelery (and others) even though the modules are right there.

Have to say I'm quite lost at this point. Believe I've followed the instructions but haven't got the python kung fu to debug.

edit flag offensive delete link more


William, I am sorry but the earliest we can respond is this Sunday, we are at a conference tomorrow. Looks like the issue is with the python paths.

Evgeny's avatar Evgeny  ( 2011-11-04 22:53:36 -0600 )edit

answered 2012-03-28 19:26:28 -0600

Chetan Patil's avatar


Everything was fine as given in wiki till I executed following command :

python syncdb

I get this error on alwaysdata shell :

Traceback (most recent call last):

File "", line 2, in <module>

from import execute_manager

ImportError: No module named

Please let me know how to debug this.


edit flag offensive delete link more


That means that django is not on your python path, please take a look at how to specify the python path. It is possible to add it inside the .wsgi script or in the webserver configuration.

Evgeny's avatar Evgeny  ( 2012-03-28 23:30:15 -0600 )edit

I'd like to mention that it is challenging to set up a web app like askbot in a free account of alwaysdata. You might have better time at more proper hosting. There are quite a few good and inexpensive vps offerings.

Evgeny's avatar Evgeny  ( 2012-03-28 23:38:38 -0600 )edit

@Evgeny : Please give me proper instructions which could yield some results. From so many weeks I'm trying to get Askbot up first on localhost (already asked question, however no one bothers to answer/help) and then this alwaysdata. I've no clue what to be done now. Askbot wiki was updated long back, so I don't understand whether to follow it or not.

Chetan Patil's avatar Chetan Patil  ( 2012-03-29 02:55:26 -0600 )edit

Your Answer

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

Add Answer

Question Tools



Asked: 2010-05-12 19:55:59 -0600

Seen: 4,114 times

Last updated: Mar 28 '12