Ask Your Question

Revision history [back]

I was able to find a solution. When downgrading to 0.9, I used "pip install 'askbot==0.9.1'" instead of "pip install 'askbot==0.9'", which I was using before. That installed version 0.9.1 specifically. I didn't have pytz2013b0 problem anymore, and it also worked with my current database. So the key here was to say explicitly 0.9.1 when downgrading askbot.

I was able to find a solution. When downgrading to 0.9, I used "pip install 'askbot==0.9.1'" instead of "pip install 'askbot==0.9'", which I was using before. That installed Installing version 0.9.1 specifically. I didn't have removed pytz2013b0 problem anymore, problem, and it version 0.9.1 also worked with my current database. So the key here was to say explicitly 0.9.1 when downgrading askbot.

I was able to find a solution. When downgrading to 0.9, I used "pip install 'askbot==0.9.1'" instead of "pip install 'askbot==0.9'", which I was using before. Installing version 0.9.1 removed pytz2013b0 problem, and version 0.9.1 also worked with my current database. So the key here was to say explicitly 0.9.1 when downgrading askbot.

Here are all the steps I did:

  • To make sure my Django version is at least 1.5 or 1.6:

    pip uninstall django pip install 'django<1.7'

    • Upgrade askbot to the latest version of 0.8 series:

    pip uninstall askbot pip install 'askbot<0.9'

    • Modify the settings.py file. Directions were given when I ran the database migrations. Then, run the database migrations:

    python manage.py migrate

    • Upgrade Askbot again to 0.9.1

    pip uninstall askbot pip install 'askbot==0.9.1'

    • Modify settings.py and finally run the database migration:

    python manage.py migrate

Now you should have Askbot 0.9.1 running on Django 1.7.

I was able to find a solution. When downgrading to 0.9, 0.9 series, I used "pip install 'askbot==0.9.1'" pip install 'askbot==0.9.1' instead of "pip install 'askbot==0.9'", pip install 'askbot==0.9', which I was using before. Installing version 0.9.1 0.9.1 removed pytz2013b0 problem, and version 0.9.1 also worked with my current database. So the key here was to say explicitly 0.9.1 0.9.1 when downgrading askbot.

Here are all the steps I did:

  • To make Make sure my Django version is was at least 1.5 or 1.6:

    pip uninstall django
    pip install 'django<1.7'

    • 'django<1.7'
  • Upgrade askbot to the latest version of 0.8 series:

pip uninstall askbot
pip install 'askbot<0.9'

  • 'askbot<0.9'
  • Modify the settings.py settings.py file. Directions were given when I ran the database migrations. Then, run the database migrations:

  • python manage.py migrate

    • migrate
  • Upgrade Askbot again to 0.9.1

  • pip uninstall askbot
    pip install 'askbot==0.9.1'

    • 'askbot==0.9.1'
  • Modify settings.py settings.py and finally run the database migration:

  • python manage.py migrate

    migrate

    Now you should have Askbot 0.9.1 0.9.1 running on Django 1.7.

    1.7.

    I was able to find a solution. When downgrading to 0.9 series, I used pip install 'askbot==0.9.1' instead of pip install 'askbot==0.9', which I was using before. Installing version 0.9.1 removed pytz2013b0 problem, and version 0.9.1 also worked with my current database. So the key here was to say explicitly 0.9.1 when downgrading askbot.

    Here are all the steps I did:

    • Make sure my Django version was at least 1.5 or 1.6:

      pip uninstall django
      pip install 'django<1.7'
      
    • Upgrade askbot to the latest version of 0.8 series:

      pip uninstall askbot
      pip install 'askbot<0.9'
      
    • Modify the settings.py file. Directions were given when I ran the database migrations. Then, run the The database migrations:

      python manage.py migrate
      
    • Upgrade Askbot again to 0.9.1

      pip uninstall askbot
      pip install 'askbot==0.9.1'
      
    • Modify settings.py and finally run the database migration:

      python manage.py migrate
      

    Now you should have Askbot 0.9.1 running on Django 1.7.

    I was able to find a solution. When downgrading to 0.9 series, I used pip install 'askbot==0.9.1' instead of pip install 'askbot==0.9', which I was using before. Installing version 0.9.1 removed pytz2013b0 problem, and version 0.9.1 also worked with my current database. So the key here was to say explicitly 0.9.1 when downgrading askbot.

    Here are all the steps I did:

    • Make sure my Django version was at least 1.5 or 1.6:

      pip uninstall django
      pip install 'django<1.7'
      
    • Upgrade askbot to the latest version of 0.8 series:

      pip uninstall askbot
      pip install 'askbot<0.9'
      
    • Modify the settings.py file. Directions were given when I ran the database migrations. The database migrations:

      python manage.py migrate
      
    • Upgrade Askbot again to 0.9.1

      pip uninstall askbot
      pip install 'askbot==0.9.1'
      
    • Modify settings.py and finally run the database migration:

      python manage.py migrate
      

    Now you should have Askbot 0.9.1 running on Django 1.7.

    . Please note that I decided to stay with 0.9.1 instead of going to 0.10.1.

    I was able to find a solution. When downgrading to 0.9 series, I used pip install pip install 'askbot==0.9.1' instead of pip install 'askbot==0.9', which I was using before. Installing version 0.9.1 removed pytz2013b0 problem, and version 0.9.1 also worked with my current database. So the key here was to say explicitly 0.9.1 when downgrading askbot.

    Here are all the steps I did:

    • Make sure my Django version was at least 1.5 or 1.6:

      pip uninstall django
      pip install 'django<1.7'
      
    • Upgrade askbot to the latest version of 0.8 series:

      pip uninstall askbot
      pip install 'askbot<0.9'
      
    • Modify the settings.py file. Directions were given when I ran the database migrations. The database migrations:

      python manage.py migrate
      
    • Upgrade Askbot again to 0.9.1

      pip uninstall askbot
      pip install 'askbot==0.9.1'
      
    • Modify settings.py and finally run the database migration:

      python manage.py migrate
      

    Now you should have Askbot 0.9.1 running on Django 1.7. Please note that I decided to stay with 0.9.1 instead of going to 0.10.1.

    I was able to find a solution. When downgrading to 0.9 series, I used pip install 'askbot==0.9.1' instead of pip install 'askbot==0.9', which I was using before. Installing version 0.9.1 removed pytz2013b0 problem, and version 0.9.1 also worked with my current database. So the key here was to say explicitly 0.9.1 when downgrading askbot.

    Here are all the steps I did:

    • Make sure my Django version was at least 1.5 or 1.6:

      pip uninstall django
      pip install 'django<1.7'
      
    • Upgrade askbot to the latest version of 0.8 series:

      pip uninstall askbot
      pip install 'askbot<0.9'
      
    • Modify the settings.py file. Directions were given when I ran the database migrations. The database migrations:

      python manage.py migrate
      
    • Upgrade Askbot again to 0.9.1

      pip uninstall askbot
      pip install 'askbot==0.9.1'
      
    • Modify settings.py and finally run the database migration:

      python manage.py migrate
      

    Now you should I have Askbot 0.9.1 running on Django 1.7. Please note that I decided to stay with 0.9.1 instead of going to 0.10.1.

    I was able to find a solution. When downgrading to 0.9 series, I used pip install 'askbot==0.9.1' instead of pip install 'askbot==0.9', which I was using before. Installing version 0.9.1 removed pytz2013b0 problem, and version 0.9.1 also worked with my current database. So the key here was to say explicitly 0.9.1 when downgrading askbot.

    Here are all the steps I did:

    • Make sure my Django version was at least 1.5 or 1.6:

      pip uninstall django
      pip install 'django<1.7'
      
    • Upgrade askbot to the latest version of 0.8 series:

      pip uninstall askbot
      pip install 'askbot<0.9'
      
    • Modify the settings.py file. Directions were given when I ran the database migrations. The database migrations:

      python manage.py migrate
      
    • Upgrade Askbot again to 0.9.1

      pip uninstall askbot
      pip install 'askbot==0.9.1'
      
    • Modify settings.py and finally run the database migration:

      python manage.py migrate
      

    Now I have Askbot 0.9.1 running on Django 1.7. Please note that I decided to stay with 0.9.1 instead of going to 0.10.1.

    Note: Just to follow up. Based on @Evgeny's answer above, I followed the instructions from https://github.com/ASKBOT/askbot-devel/blob/master/askbot/doc/source/upgrade.rst and was able to upgrade to 0.10.2 with no problems.

    Here is what I did:

        virtualenv env --no-site-packages
        source env/bin/activate
        pip install 'askbot<0.11'
        askbot-setup #answer questions - use the same database as before
        python manage.py migrate --fake-initial --noinput
        python manage.py collectstatic --noinput
    

    I was able to find a solution. When downgrading to 0.9 series, I used pip install 'askbot==0.9.1' instead of pip install 'askbot==0.9', which I was using before. Installing version 0.9.1 removed pytz2013b0 problem, and version 0.9.1 also worked with my current database. So the key here was to say explicitly 0.9.1 when downgrading askbot.

    Here are all the steps I did:

    • Make sure my Django version was at least 1.5 or 1.6:

      pip uninstall django
      pip install 'django<1.7'
      
    • Upgrade askbot to the latest version of 0.8 series:

      pip uninstall askbot
      pip install 'askbot<0.9'
      
    • Modify the settings.py file. Directions were given when I ran the database migrations. The database migrations:

      python manage.py migrate
      
    • Upgrade Askbot again to 0.9.1

      pip uninstall askbot
      pip install 'askbot==0.9.1'
      
    • Modify settings.py and finally run the database migration:

      python manage.py migrate
      

    Now I have Askbot 0.9.1 running on Django 1.7. Please note that I decided to stay with 0.9.1 instead of going to 0.10.1.

    Note: Just to follow up. Based on @Evgeny's answer above, I followed the instructions from https://github.com/ASKBOT/askbot-devel/blob/master/askbot/doc/source/upgrade.rst and was able to upgrade to 0.10.2 0.10.2 with no problems.

    Here is what I did:

        virtualenv env --no-site-packages
        source env/bin/activate
        pip install 'askbot<0.11'
        askbot-setup #answer questions - use the same database as before
        python manage.py migrate --fake-initial --noinput
        python manage.py collectstatic --noinput