← Back to team overview

dhis2-users team mailing list archive

Re: [Dhis2-devs] dhis 2.23 upgrade

 

Thanks Lars
I tried the command above, it looks like it can't find the package. Below is the message 

"Reading state information... Done
E: Unable to locate package postgis-2.2
E: Couldn't find any package by regex 'postgis-2.2'"
Do you think, we need to add Repository to sources.list?
Best Regards
Sele
 

    On Monday, May 2, 2016 2:49 PM, Lars Helge Øverland <lars@xxxxxxxxx> wrote:
 

 Hi Sele,
did you try running installing from the repositories like this?

sudo apt-get install postgis-2.2 postgresql-contrib-9.3
On Mon, May 2, 2016 at 1:03 PM, Seleman Ally <seleman_ally@xxxxxxxxx> wrote:

Hi Lars, Bob and Everybody
I wonder if there is anyone installed postgis-2.2 on postgresql-9.3. If so, could you share the best practice instructions. 

Best Regards
Sele
 

    On Tuesday, April 26, 2016 2:22 PM, Lars Helge Øverland <lars@xxxxxxxxx> wrote:
 

 Hi Bob,
I have not tested all combinations of postgresql and postgis versions. 
However, according to the docs, PostGIS 2.2 works against PostgreSQL 9.1 and later:
http://postgis.net/docs/manual-2.2/postgis_installation.html#install_requirements

We have of course tested DHIS 2 against PostGIS 2.2, so this should be safe.
Lars
 



On Tue, Apr 26, 2016 at 11:35 AM, Bob Jolliffe <bobjolliffe@xxxxxxxxx> wrote:

Hi Lars

I know that a lot of production servers are running postgres 9.3
(default with ubuntu 14.04).

The instructions assume postgres 9.4 is used.  I know they could
upgrade, but I wonder has anybody tested the gis extensions with 9.3?

Regards
Bob

On 25 April 2016 at 18:38, Lars Helge Øverland <lars@xxxxxxxxx> wrote:
> Hi all,
>
> a few things to be aware of when upgrading to DHIS 2.23 (click on the link
> below or continue reading this email):
>
> https://www.dhis2.org/223-upgrade
>
>
>
> Database
>
> Run the database SQL upgrade script once before updating the WAR file. It
> only applies if you have set up program rules for your system.
>
>
> Server
>
> In order to take advantage of the GIS clustering functionality introduced in
> DHIS 2.23 you must install the PostGIS extender on the server. After
> installing the extender, PostGIS will be installed in the database
> automatically when DHIS 2 is started. Please read the installation guide.
> Basically you can invoke:
>
> sudo apt-get install postgresql-9.4 postgresql-9.4-postgis-2.2
> postgresql-contrib-9.4
>
> User Interface
>
> The Organisation unit module has been merged into the Maintenance app.
>
> The Data elements and Indicators module has been merged into the Maintenance
> app.
>
> The schedule program messages function has been moved from the Program app
> to the Data administration app under Scheduling.
>
> The local SMS modem functionality which could be configured under the Mobile
> Configuration app has been removed from the system.
>
>
>
> regards,
>
> Lars
>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> http://www.dhis2.org
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>




-- 
Lars Helge Øverland
Lead developer, DHIS 2University of OsloSkype: larshelgeoverland
http://www.dhis2.org

_______________________________________________
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


   



-- 
Lars Helge Øverland
Lead developer, DHIS 2University of OsloSkype: larshelgeoverland
http://www.dhis2.org


  

References