← Back to team overview

dhis2-devs team mailing list archive

Re: [Dhis2-users] Upgrading DHIS2 from version 2.5 to 2.22

 

Try with everything first. If it doesn't work,  start with building blocks
such as categories and orgunits, depending on the types of problems you
encounter. Unfortunately, I doubt anyone has a complete recipe for how to
do this,  some experimentation and ad hoc fixes may be required. If you get
it to 2.16, you can then apply the method Bob has outlined earlier and
bring it all the way to 2.24

On 27 Jul 2016 19:01, "Knut Staring" <knutst@xxxxxxxxx> wrote:

> Gi Gerald,
>
> Please do not take my suggestion as a fully formed and fool-proof
> procedure. But since you are exporting and then importing into an empty
> instance of a newer version, you will not be messing up your existing data
> (but should still take a backup first).
>
> Piecewise going through every version with the necessary database updates
> is the safest route and to always be recommended.
>
> However, this might be difficult in this case, and certainly very
> cumbersome. So I  suggest you give it a try. 2.16 was just a rough number,
> I am not sure it will work,  but this method can help you skip a few
> versions. However, you will have to test the results thoroughly, and
> probably will run into a few obstacles. So it is not a silver bullet,  I'm
> afraid.
>
> Knut
>
> On 27 Jul 2016 14:04, "gerald thomas" <gerald17006@xxxxxxxxx> wrote:
>
>> Knut,
>> That is a very big jump and if it works, it will make my day.
>> As per your procedure, I should deploy the 2.16 war file on the newly
>> installed DHIS2 with empty database "hmis" and do metadata export of
>> everything from the old system which is running on 2.5 war file and finally
>> import to the new instance?
>> My question again Knut, what is the best method to do this export &
>> import: piecewise or everything; if it is piecewise what should I import
>> first, second,...... and last?
>>
>> Thanks for your help
>>
>> On Jul 26, 2016 15:40, "Knut Staring" <knutst@xxxxxxxxx> wrote:
>>
>>> Hi Gerald,
>>> I would try to skip a few versions by exporting metadata and data and
>>> probably try to import to an intermediate version such as 2.13 or 2.16.
>>>
>>> On 26 Jul 2016 21:02, "gerald thomas" <gerald17006@xxxxxxxxx> wrote:
>>>
>>>> Dear All,
>>>> I am inquiring for both technical guidance and materials to upgrade a
>>>> DHIS2 instance from version 2.5 to 2.22.
>>>>
>>>> I will be grateful for any help anyone can render for me to
>>>> successfully achieve this task. Also, i will like to know where i can
>>>> get all the old war files.
>>>>
>>>> --
>>>> Regards,
>>>>
>>>> Gerald
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>

References