Published by Niels on 28 Jan 2006
Upgrade time
A new day a new look. NanoBlogger version 3.3-RC4 has been released yesterday. Always ready to try out new things I upgraded this site to that version as well. I followed the steps mentioned at the NanoBlogger User Manual and some extra steps and now everything seems to be working fine again. Steps taken:
- Renamed the directory where this site is stored to something else. In my case:
mv ~/Projects/www ~/Projects/www.org. - Downloaded the new release, unpacked it and set my
PATHto the new NanoBlogger directory. Tested withnb --versionif that went well. - Created a new weblog using
nb -a. This assumes that$BLOG_DIRis set of course. - Deleted the default entry from NanoBlogger:
nb -d 1. - Copied the
data/directory from the original directory to the new directory. - I have a local copy of my plugins. So the
plugins/directory from the distribution have been copied to$BLOG_DIR. - Copied some personal plugins (google.sh, gallery.sh and code.sh) to the correct places in the local plugin directory (
$BLOG_DIR/plugins). - The stylesheet for this site is base on the
nb_clean.cssstylesheet. So that stylesheet was copied to toheirbaut_nl.css. From the original’s site stylesheet the additions for the gallery and code plugin were added. See the result here. - GViM was started in diff-mode with the original and the new
blog.conffiles. All personal settings were also put it the newblog.conf. - GViM was started in diff-mode with the original
templates/main_index.htm. All personal settings (navigation menu) were put in the newtemplates/main_index.htm. - Same for
templates/main_links.htm. - Run
DirDiffon the old and the new directory and checked if anything was missing. There was:images/galleries. So that directory was copied to the new location as well. Other diffing tools would do as well, of course. I just like ViM :). - Ran
nb -u all. Checked that everything was fine. - Added this entry and uploaded the site using sl (which can expect some additions in the near future).
And now I am going to have some coffee…