How to upgrade askbot without crashing the existing instance?
I tried to upgrade to the version that fixes the Facebook error. From my askbot directory is did pip install -U askbot. There were a lot of warnings like "warning: no previously-included files mathing "*" found under directory docs/_build", etc.
When I try to go to our askbot, the error is:
TemplateAssertionError at /questions/
no filter named 'clean_login_url'
Request Method: GET Request URL: http://answers.ssdt-ohio.org/questions/ Django Version: 1.3.1 Exception Type: TemplateAssertionError Exception Value:
no filter named 'clean_login_url'
Exception Location: /usr/local/lib/python2.6/dist-packages/askbot/skins/default/templates/widgets/user_navigation.html in template, line 12 Python Executable: /usr/bin/python Python Version: 2.6.5 Python Path:
['/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', '/usr/local/lib/python2.6/dist-packages', '/', '/forum', '/usr/local/lib/python2.6/dist-packages/askbot/deps']
What else do I need to do to update Askbot? There are no concise directions anywhere that I could find.
Comments
I can't seem to edit this question without getting an "Internal Service" error. I wanted to add: I then did python manage.py migrate askbot and it said there was nothing to migrate.
Yes, I have damaged a template when hotfixing the xss issue discovered a few days ago.
Your site appears to be down btw. Also I recommend you to always use staging environment to test new software, don't just write over your existing setup. Sounds easy, but you are potentially might be getting into much harder to solve problems - e.g. repair a damaged database.
Edited the title to make it a little more informative.
It's not down, just not publicly available. And we don't really have a staging environment right now, as this is still being evaluated by our staff to see if it fits their needs.