Currently I'm successfully running a askbot instance site.com. When I try to install the second instance at site2.com, site2.com and site.com gets content from each other randomly despite having a different databases and configs. I use virtualenv for setting up askbot on both sites using pip.
Server Environment: Nginx, Mysql, uWSGI, Python 2.6
I use this script for starting uwsgi as service, http://goo.gl/nI7Em
I use this config in nginx, https://gist.github.com/427eace448b71461755c
site.com = http://goo.gl/GN3Fv
site2.com = http://goo.gl/VgWpe
Difference beetween the two sites is, site2.com doesn't have any question whereas site.com have one question "How're you today?". If you refresh them both randomly, my issue can be regenerated, i.e the question will randomly appear on both sites.
The issue is due to cache "mixups" between the sites.
edited: with Django 1.3 you could try setting up CACHES settings variable and add distinct KEY_PREFIX value to all of your sites.
For example:
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': 'unix:/tmp/memcached.sock',
'KEY_PREFIX': 'siteA',
}
}
That way caches will be differentiated between sites and you can host several on the same server.
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 siteAsked: 2012-06-23 16:49:21 -0500
Seen: 118 times
Last updated: Jul 21 '12
Internal Server Error when trying to edit personal pro
Where are the badges in a fresh install? [fixed]
HTML Tags in titles getting eaten <fixed/>
Unknown column 'auth_user.is_approved' in 'field list' [fixed]
email for comments: link missing a href [fixed]
Bug: Horizontal Rule in Comment breaks stylesheet [fixed]
"Related questions" section shows deleted questions?
error on upvote: "Sorry, something is not right here..." [fixed]
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.