Upgrading Mihalism Multi Host

<  Upgrading Mihalism Multi Host

mihalismI have been running a small hosting solution for my projects for a while using the Mihalism Multi Host software. I really like this little piece of software and I was surprised to hear that development had been halted after version 4. Luckily the developers are back in action and have just released version 5, which is available here.

The trouble is, for people like me who need to upgrade from version 3, there is no upgrade script from v 3.1 to 5.0. One needs to first upgrade to version 4. This is what I just did and I thought I would share how to do it as the developers are providing support for version 4 users but not currently to version 3 users.

First step

As a first step I did a backup of the whole folder where the Mihalism and the images reside.  In my case it was the /hosting folder:

tar -czvf images_backup.tar.gz hosting/

Then I did a backup of my whole sql database, using MyPhpAdmin.

Second step

I downloaded the v 3 to v 4 upgrade script, which is available here. I am also hosting a copy here:  multihost_3_1_0.

I unzipped the file, which gave me a folder called “upgrade”.

I downloaded version 4.0.2 of Mihalism Multi Host from their official website.  I unzipped it and uploaded the resulting folder on my server.  I called this new folder “hosting2″.

I then uploaded the upgrade folder into hosting2.

Third step

I copied the following from my old Mihalism version 3 (folder hosting) in my new Mihalism version 4 (folder hosting2):

- the files folder and its contents;

- the config.php file.

I then ran the upgrader by accessing /hosting2/upgrade/ from my web browser.  The upgrade went smoothly except for the upgrader’s inability to overwrite my config.php file:

mihalism upgrader process

Now that was not much of a problem, as the upgrader gave me instructions on how to update the file.  Or so I thought.  Actually, the file it was attempting to write was not hosting2/config.php (the one I had moved over from my previous version) but hosting2/source/includes/config.php.

I edited that file as per the instructions, I changed the name of my new version from hosting2 to hosting so that links to my legacy  files would not be lost.  I then deleted the upgrade folder and the install.php file and I was done!

I just did it and it seems to be working all right!

M

Update: I have now updated from v3 to v5. Everything works perfectly!

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Reddit
  • Technorati
  • LinkedIn
  • Slashdot

Related posts:

  1. New version of Mihalism image hosting system adds useful features
  2. Adding a forum to your website
  3. Yet another way to simply put your latest Flickr pictures on your website
  4. RapidWeaver and Wordpress compared | Part I: the 5 minutes setup promise
  5. Wordpress 2.7 is here with autoupdate feature

Posted in Web development ~ Tags: , , ~ You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.


One Response to “Upgrading Mihalism Multi Host”

George Jacobs

This is why I love blogs. Wouldn’t have know this otherwise.

[Reply]

Leave a Reply

Name (required)
Mail (will not be published) (required)
Website

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


« Cool site: WooThemes | Premium WordPress Themes

 
Countries in Colors 2006-2008 Some rights reserved | Hosted by GoDaddy |
Powered by WordPress // Template by Mike Lothar // Updated by CiC