Technomancy

How to upgrade Zine

written by rory, on Jan 11, 2009 3:03:00 PM.

When I initially installed Zine, I used the latest version, 0.1.1. There was a bug in it where you couldn't get a feed for a tag However when 0.1.2 was released, it fixed this bug, so I needed to upgrade Zine. I am using Zine through WSGI. I had configured it to be installed in /usr/local/, i.e. I had installed it with
$ unzip Zine-0.1.1.zip
$ cd Zine-0.1.1
$ ./configure --prefix=/usr/local/
Generated Makefile
type "make install" to install Zine
$ sudo make install
Installing to /usr/local
Using /usr/bin/python
All done.
In order to upgrade, I did something similar.
$ wget http://zine.pocoo.org/releases/Zine-0.1.2.zip
$ unzip Zine-0.1.2.zip
$ cd Zine-0.1.2
$ ./configure --prefix=/usr/local/
Generated Makefile
type "make install" to install Zine
Before installing the new version, I uninstalled the old version. I'm not sure if this is required, I just did it out of habit. In order to do this you need to keep the old Zine-0.1.1 directory around. i.e. don't delete that directory after installing.
$ cd ../Zine-0.1.1
$ sudo make uninstall
[: 7: ==: unexpected operator
Uninstalling Zine from /usr/local
All done.
I'm not sure what that error message is, however I was able to upgrade successfully. Then you need to install the new version.
$ cd ../Zine-0.1.2
$ sudo make install
Installing to /usr/local
Using /usr/bin/python
All done.
You then need to restart apache.
$ sudo /etc/init.d/apache2 restart
 * Restarting web server                                  [ OK ]
After that you should be using the latest version of Zine. You can check the version installed from the Admin page, through the System -> Information page.

Comments

  • "make install" works for upgrading as well, you don't have to explicitly uninstall the old one.

    Comment by Armin Ronacher — Jan 14, 2009 2:55:33 PM | # - re

    • Yeah I wasn't sure about the "make uninstall" step. I did it out of habit, so I included it in this guide.

      Comment by rory — Jan 14, 2009 6:20:31 PM | # - re

  • thanx

    Comment by bedava film izle — Dec 25, 2009 8:20:05 AM | # - re

Leave a Reply