← Back to team overview

dhis2-users team mailing list archive

Re: Upgrade from DHIS2 2.19 to DHIS2 2.22

 

Dear Tantely,

I am travelling so hopefully others can chip in, but a couple of quick
pointers for googling below.

Perhaps it would be best if you comment on the parts of Bob's link that
causes difficulty?

Here are the main steps:

1) You need to log in remotely to your server via ssh.
2) Then you can download the upgrade script like this:
wget
https://github.com/dhis2/dhis2-utils/blob/master/resources/sql/upgrade-220.sql
3) Then run cat upgrade-220.sql |psql dhis2



On Thu, Mar 31, 2016 at 1:51 AM, Raminosoa Rabemanantsoa, Tantely <
traminosoa@xxxxxxxxxx> wrote:

> Dear Knut,
>
> In order to launch the SQL script mentionned here (
> https://github.com/dhis2/dhis2-utils/blob/master/resources/sql/upgrade-220.sql) to
> run against the database to perform necessary upgrades, could you please
> mention a tutorial link illustrating about how to run the script? Our
> postgreSQL database is installed on an Amazon web services with Linux
> operating system.
>
> Thanks,
>
> Tantely.
>
> On Fri, Mar 25, 2016 at 11:21 AM, Knut Staring <knutst@xxxxxxxxx> wrote:
>
>> Hi,
>>  Bob wrote a nice step-by-step here:
>> https://lists.launchpad.net/dhis2-users/msg08793.html
>>
>> I think the most tricky point may be around the shift in encryption
>> mechanisms for passwords in 2.21, as described in the notes.
>>
>> With systematic  backups in the beginning and along the way, and starting
>> and stopping of Tomcat etc, and checking that things are ok, it may take
>> few hours.
>>
>> Good luck,
>> Knut
>>
>> On Fri, Mar 25, 2016 at 7:26 AM, Raminosoa Rabemanantsoa, Tantely <
>> traminosoa@xxxxxxxxxx> wrote:
>>
>>> Hello everyone,
>>>
>>>
>>> We are using DHIS2 2.19 and we are planning to upgrade to the 2.22
>>> version. We have been informed about the upgrade script like the one
>>> mentioned here
>>> https://github.com/dhis2/dhis2-utils/blob/master/resources/sql/upgrade-220.sql
>>> and we would like to ask if there is an upgrade procedure for us to follow
>>> in order to keep all the components for the new version (data values, data
>>> elements, data sets, indicators…). Do you have some idea on how long this
>>> procedure may take?
>>>
>>>
>>> Regards,
>>>
>>>
>>> Tantely
>>>
>>> *This message and its attachments are confidential and solely for the
>>> intended recipients. If received in error, please delete them and notify
>>> the sender via reply e-mail immediately.*
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>>
>> --
>> Knut Staring
>> Dept. of Informatics, University of Oslo
>> Norway: +4791880522
>> Skype: knutstar
>> http://dhis2.org
>>
>
>
>
> --
> *Tantely Raminosoa*
> *Data Officer*
> Management Sciences for Health
> Madagascar-Antananarivo Madagascar
> Mobile: 0321180040
> E-mail: traminosoa@xxxxxxxxxx
> Skype: traminosoa
> <http://www.msh.org/>
> Stronger health systems. Greater health impact.
> <https://www.facebook.com/ManagementSciencesForHealth>
> <https://twitter.com/MSHHealthImpact>
> <https://www.youtube.com/user/MSHHealthImpact>
> www.msh.org
>
> *This message and its attachments are confidential and solely for the
> intended recipients. If received in error, please delete them and notify
> the sender via reply e-mail immediately.*
>



-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org

References