First time here? Check out the FAQ!
1

Askbot version upgrade
 

Does anyone know how to update askbot version 0.7.50 to 0.7.51? Even though there is clear documentation for askbot installation, I could not find any proper documentation for askbot upgrade.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
anuradhaw's avatar
11
anuradhaw
asked 9 years ago

Comments

see more comments

1 Answer

0
  • back up your database
  • uninstall askbot app and install the later version (e.g. pip install -U askbot) the actual command will depend on how you've deployed the application.
  • python manage.py syncdb --migrate
  • python manage.py collectstatic --noinput

If during the running of above commands there is an error - the output should follow instructions. Usually they advise to make some changes in the settings.py file.

Other issues may be due to changed dependency libraries whose versions were not hardcoded in Askbot. One known example is django-robots.

For django robots the solution is pip uninstall django-robots & pip install django-robots==1.0

Future releases of askbot (> 0.7.53) will have fixed version requirements for the dependencies.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 9 years ago
link

Comments

see more comments