Install PostGis to postgress

sabriobiblio
PRO

5 months ago

I am trying to install PostGis on Postgress via psql terminal, but I get the error

extension "postgis" is not available

DETAIL: Could not open extension control file "/usr/share/postgresql/16/extension/postgis.control": No such file or directory.

HINT: The extension must first be installed on the system where PostgreSQL is running.

What should I do to install post gis?

Solved

5 Replies

5 months ago

Hello,

The default Postgres database does not come with PostGIS installed, if you need PostGIS you must deploy the PostGIS template -

https://railway.com/template/postgis

Best,
Brody


Status changed to Awaiting User Response railway[bot] 5 months ago


Status changed to Solved brody 5 months ago


Status changed to Awaiting Railway Response sabriobiblio 5 months ago


brody

Hello,The default Postgres database does not come with PostGIS installed, if you need PostGIS you must deploy the PostGIS template -https://railway.com/template/postgisBest,Brody

sabriobiblio
PRO

5 months ago

yes, and I used this template... But I don't understand what it's all about when I see an error in it. What and where should I enter it to make it work? I didn't find any proper documentation on this matter


5 months ago

The PostGIS extension should already be installed.

Please use a proper database client, the data tab is unlikely to be what you are looking for.


Status changed to Awaiting User Response railway[bot] 5 months ago


brody

The PostGIS extension should already be installed.Please use a proper database client, the data tab is unlikely to be what you are looking for.

sabriobiblio
PRO

5 months ago

Figured out, thanks for the help


Status changed to Awaiting Railway Response railway[bot] 5 months ago


5 months ago

Awsome!


Status changed to Awaiting User Response railway[bot] 5 months ago


Status changed to Solved brody 5 months ago


Install PostGis to postgress - Railway Help Station