Directus Map Interface requires the PostGIS extension on postgres
Solved
Directus
-
Hi Girish,
Great work bundling up Directus 9, however, I've run into a problem.While looking to implement the built in map interface, it errored because PostGIS isn't installed.
The logs files during startup also highlights this issue -
PostGIS isn't installed. Geometry type support will be limited.
A quick google suggests this is an extension that can be added to Postgres.
Is this something I can add into the postgres bundled with Cloudron?
Thanks!
-
@msbt yes. So, the expectation was that the app will do "CREATE EXTENSION postgis" if it needs it but looks like directus doesn't do this automatically. I will fix the app package but in the meantime, Web Terminal -> Postgresql ->
CREATE EXTENSION postgis
. Then restart directus.