Welcome Guest, Not a member yet? Register   Sign In
Upgrading from 3.0.4 to 3.1.7
#1

Hi
Is there a shortcut for upgrading from 3.0.4 to 3.1.7 ?
Or should I follow each procedure as stated in the user guide and download every version, upgrade, download, upgrade, and so ?

Thanks
Reply
#2

(This post was last modified: 03-07-2018, 12:23 PM by php_rocs.)

@kabeza,

ALWAYS MAKE A BACKUP COPY BEFORE BEGINNING TO UPGRADE

Less Risk:
My first answer is to do as you stated above (just to make sure that you don't miss anything).

More Risk:
My second answer would be, do some analysis to determine if you could skip some versions. For example lets say version 3.0.5 to 3.1.0 only the core files ( in directory: /system) were modified/updated. Then I would say it would be safe to skip (versions) but if any of the versions in between 3.0.5 and 3.1.0 are moving more then just modified/updated core files ( in directory: /system) then you would need to definitely include that version in your upgrade.

Highest Risk:
My third answer would be to make a copy of your 3.0.4 and just do a full blown upgrade to 3.1.7 (of course knowing that you will need to keep a copy of all important files that were changed, such as config/config.php, config/constants and more...). You would definitely need to be familiar with what changes/modifications need to move forward.

I've been working with CI for a long time and I have successfully done the second choice but if I am new to the upgrade game. I would definitely do the first choice.

Happy upgrading.
Reply
#3

@kabeza,

Here is where you can do your analysis to determine if you can skip versions: https://www.codeigniter.com/user_guide/i...ading.html
Reply
#4

It's not difficult.
  1. Unless you're using GIT, backup your files. If you're using GIT do commit before proceeding.
  2. Replace all files and directories in your system/ directory with the 3.1.7 system directory.
  3. Follow steps 2 and greater on the following pages when the instructions pertain to your code
    1. https://www.codeigniter.com/user_guide/i...e_306.html
    2. https://www.codeigniter.com/user_guide/i...e_310.html
    3. https://www.codeigniter.com/user_guide/i...e_312.html
    4. https://www.codeigniter.com/user_guide/i...e_313.html
    5. https://www.codeigniter.com/user_guide/i...e_316.html
    6. https://www.codeigniter.com/user_guide/i...e_317.html
Reply
#5

Don't download each separate version, you can directly go with the 3.1.7 download.

But do all the steps in between. It's not as much work as it looks like; most of them are to check/remove usage of obscure features that you very likely don't use.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB