Home > kalkun, Tips 'n trick > Upgrading Kalkun 0.1.4 to 0.2

Upgrading Kalkun 0.1.4 to 0.2

On Kalkun 0.2 current release, there’s no way to upgrade from previous version (0.1.4).
Because there is lots of change, and my file management is really bad :(, i can’t remember what changes on it.

But, somehow, i need to upgrade my previous Kalkun installation on the client side. And some users (including me) really need this upgrade feature, so i’ve create patch based on 0.2 version. But it’s not highly tested, need your feedback, if everything goes fine, i’ll add it to current release.

So, here it is.

WARNING: I suggest to backup kalkun app and database before do this upgrade in case something bad happen.

Download Upgrade-0.1.4-to-0.2 patch file, place it on the top of your Kalkun folder.

Then, go to Kalkun root folder, and run the patch:

$ patch -p1 < Upgrade-0.1.4-to-0.2.patch

If, everything goes fine, you should see this message:

patching file media/db/upgrade.sql
patching file system/application/controllers/install.php
patching file system/application/views/main/install/database_setup.php
patching file system/application/controllers/install.php

Finally, open up your browser and go to Kalkun, install as usual, but on Database setup phase you should see like this one, choose Upgrading from 0.1.4 button:

That’s it, have fun with Kalkun šŸ™‚

Advertisements
Categories: kalkun, Tips 'n trick Tags:
  1. July 30, 2010 at 1:22 pm

    akan sy coba dulu…

  2. August 2, 2010 at 3:55 am

    patching file media/db/upgrade.sql
    patching file system/application/controllers/install.php
    Hunk #1 FAILED at 29.
    Hunk #2 FAILED at 50.
    2 out of 2 hunks FAILED — saving rejects to file system/application/controllers/install.php.rej
    patching file system/application/views/main/install/database_setup.php
    Hunk #1 FAILED at 1.
    1 out of 1 hunk FAILED — saving rejects to file system/application/views/main/install/database_setup.php.rej
    patching file system/application/controllers/install.php
    Hunk #1 FAILED at 69.
    Hunk #2 FAILED at 88.
    2 out of 2 hunks FAILED — saving rejects to file system/application/controllers/install.php.rej

  3. August 2, 2010 at 8:34 am

    Apakah sebelum upgrade sudah di backup terlebih dahulu?
    Ini nge-patch dari yang mana pak?

  4. August 3, 2010 at 7:00 am

    langkah yg saya lakukan :
    1. Menggunakan Kalkun v0.1.4a (tentunya sdh backup)
    2. Download patch
    3. Copy patch ke direktori /var/www/kalkun/
    4. Eksekusi patch, hasilnya seperti diatas.

    Trims.

  5. August 4, 2010 at 2:50 am

    Apakah databasenya sudah di backup juga?

    Patch ini diperuntukkan untuk yang versi 0.2, dan sudah ditambahkan untuk versi 0.2.1, jadi tidak perlu patch ini lagi.

  6. August 5, 2010 at 5:42 am

    OK akan sy coba ke v0.2.1 lagi šŸ™‚

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: