Upgrade from 2.20 to 2.22

Hi,

I already installed dhis 2.22 and want to migrate all my data from dhis 2.20, how the best way to do it, I already tried import the metadata from 2.20 to 2.22 but failed. Any suggestion ?

Thanks

···

Regards,
Furqonuddin Ramdhani

Boss,

I think you should upgrade the data structures of postgresql database 2.20 before migrating them to 2.22. Please read the upgrade procedures again because there are steps you should have done. I think it will always fail if your want to move them directly from 2.20 to 2.22

Regards,

Gerald

···

On Feb 18, 2016 2:38 AM, “Furqonuddin Ramdhani” furqon17@gmail.com wrote:

Hi,

I already installed dhis 2.22 and want to migrate all my data from dhis 2.20, how the best way to do it, I already tried import the metadata from 2.20 to 2.22 but failed. Any suggestion ?

Thanks


Regards,
Furqonuddin Ramdhani


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

I didn’t find any upgrade procedures documents for dhis 2.22, maybe someone can send me the link or explain a little bit about the procedures.

I’m aware there are some changes in table structures but how to migrate it properly I still doing trial and error here. In previous version usually have upgrade scripts like this one :

https://github.com/dhis2/dhis2-utils/blob/master/resources/sql/upgrade-220.sql

Thanks

Regards,

Dhani

···

On Thu, Feb 18, 2016 at 11:50 AM, gerald thomas gerald17006@gmail.com wrote:

Boss,

I think you should upgrade the data structures of postgresql database 2.20 before migrating them to 2.22. Please read the upgrade procedures again because there are steps you should have done. I think it will always fail if your want to move them directly from 2.20 to 2.22

Regards,

Gerald

On Feb 18, 2016 2:38 AM, “Furqonuddin Ramdhani” furqon17@gmail.com wrote:

Hi,

I already installed dhis 2.22 and want to migrate all my data from dhis 2.20, how the best way to do it, I already tried import the metadata from 2.20 to 2.22 but failed. Any suggestion ?

Thanks


Regards,
Furqonuddin Ramdhani


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Salam
Furqonuddin Ramdhani

Hi Dhani,

Basically you should stop DHIS, take a backup of your 2.20 database, then replace the 2.20 .war file with 2.21 and start DHIS. Then stop, put in the 2.22 war file and start again. Theoretically that should be it. You do not have to run scripts for these upgrades, otherwise it would have been listed here:

https://www.dhis2.org/221-upgrade

https://www.dhis2.org/222-upgrade

Knut

···

On Thu, Feb 18, 2016 at 6:51 AM, Furqonuddin Ramdhani furqon17@gmail.com wrote:

I didn’t find any upgrade procedures documents for dhis 2.22, maybe someone can send me the link or explain a little bit about the procedures.

I’m aware there are some changes in table structures but how to migrate it properly I still doing trial and error here. In previous version usually have upgrade scripts like this one :

https://github.com/dhis2/dhis2-utils/blob/master/resources/sql/upgrade-220.sql

Thanks

Regards,

Dhani


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

On Thu, Feb 18, 2016 at 11:50 AM, gerald thomas gerald17006@gmail.com wrote:

Boss,

I think you should upgrade the data structures of postgresql database 2.20 before migrating them to 2.22. Please read the upgrade procedures again because there are steps you should have done. I think it will always fail if your want to move them directly from 2.20 to 2.22

Regards,

Gerald

On Feb 18, 2016 2:38 AM, “Furqonuddin Ramdhani” furqon17@gmail.com wrote:

Hi,

I already installed dhis 2.22 and want to migrate all my data from dhis 2.20, how the best way to do it, I already tried import the metadata from 2.20 to 2.22 but failed. Any suggestion ?

Thanks


Regards,
Furqonuddin Ramdhani


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Salam
Furqonuddin Ramdhani

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

A few people have had issues with systemsettings and sms config, if you have any issues… you should try and run:
delete from systemsetting where name=‘SMS_CONFIG’ or name=‘keySmsConfig’;

···

On Thu, Feb 18, 2016 at 12:58 PM, Knut Staring knutst@gmail.com wrote:

Hi Dhani,

Basically you should stop DHIS, take a backup of your 2.20 database, then replace the 2.20 .war file with 2.21 and start DHIS. Then stop, put in the 2.22 war file and start again. Theoretically that should be it. You do not have to run scripts for these upgrades, otherwise it would have been listed here:

https://www.dhis2.org/221-upgrade

https://www.dhis2.org/222-upgrade

Knut


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

On Thu, Feb 18, 2016 at 6:51 AM, Furqonuddin Ramdhani furqon17@gmail.com wrote:

I didn’t find any upgrade procedures documents for dhis 2.22, maybe someone can send me the link or explain a little bit about the procedures.

I’m aware there are some changes in table structures but how to migrate it properly I still doing trial and error here. In previous version usually have upgrade scripts like this one :

https://github.com/dhis2/dhis2-utils/blob/master/resources/sql/upgrade-220.sql

Thanks

Regards,

Dhani


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Thu, Feb 18, 2016 at 11:50 AM, gerald thomas gerald17006@gmail.com wrote:

Boss,

I think you should upgrade the data structures of postgresql database 2.20 before migrating them to 2.22. Please read the upgrade procedures again because there are steps you should have done. I think it will always fail if your want to move them directly from 2.20 to 2.22

Regards,

Gerald

On Feb 18, 2016 2:38 AM, “Furqonuddin Ramdhani” furqon17@gmail.com wrote:

Hi,

I already installed dhis 2.22 and want to migrate all my data from dhis 2.20, how the best way to do it, I already tried import the metadata from 2.20 to 2.22 but failed. Any suggestion ?

Thanks


Regards,
Furqonuddin Ramdhani


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Salam
Furqonuddin Ramdhani

Morten

Boss

https://www.dhis2.org/220-upgrade

https://www.dhis2.org/221-upgrade

https://www.dhis2.org/222-upgrade

Did you run the script:

https://github.com/dhis2/dhis2-utils/blob/master/resources/sql/upgrade-220.sql

When upgrading to 2.20?

There is not too much for version 2.21 but you need pay attention to the changes for version 2.22. Kindly go through the links again.

···

On Thu, Feb 18, 2016 at 11:50 AM, gerald thomas gerald17006@gmail.com wrote:

Boss,

I think you should upgrade the data structures of postgresql database 2.20 before migrating them to 2.22. Please read the upgrade procedures again because there are steps you should have done. I think it will always fail if your want to move them directly from 2.20 to 2.22

Regards,

Gerald

On Feb 18, 2016 2:38 AM, “Furqonuddin Ramdhani” furqon17@gmail.com wrote:

Hi,

I already installed dhis 2.22 and want to migrate all my data from dhis 2.20, how the best way to do it, I already tried import the metadata from 2.20 to 2.22 but failed. Any suggestion ?

Thanks


Regards,
Furqonuddin Ramdhani


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Salam
Furqonuddin Ramdhani