Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"PostGIS isn't installed. Geometry type support will be limited." despite using postgis/postgis #13502

Closed
sangdth opened this issue May 24, 2022 · 3 comments

Comments

@sangdth
Copy link

sangdth commented May 24, 2022

Describe the Bug

I'm following the tutorial here https://docs.directus.io/getting-started/installation/docker/#docker-compose using Docker compose, it works but with warning at startup:

PostGIS isn't installed. Geometry type support will be limited.

To Reproduce

Errors Shown

Screenshot 2022-05-24 at 9 09 40

Screenshot 2022-05-24 at 9 11 11

What version of Directus are you using?

9.11.0

What version of Node.js are you using?

16.14.2

What database are you using?

PostgresQL

What browser are you using?

Firefox

How are you deploying Directus?

Docker

@azrikahar
Copy link
Contributor

I can't seem to reproduce this with the same docker-compose file, so I believe this is (somehow) a localized issue on your end, at least with the current information at hand.

PostgreSQL Database directory appears to contain a database; Skipping initialization

Curious on why is this appearing in your logs. Were you by any chance wasn't using the docker compose file or postgis/postgis initially? Would you mind making sure to delete the ./data directory (the volume mounted in database service in compose file), assuming there is no critical data in the existing database of course, and try again?

I'll close this for now, but happy to debug/discuss further on what could be the differentiator in your current setup.

@azrikahar azrikahar closed this as not planned Won't fix, can't repro, duplicate, stale May 24, 2022
@sangdth
Copy link
Author

sangdth commented May 24, 2022

Thank you @azrikahar, I removed the old images, also deleted the ./data folder, started fresh again and it works fine now.

Sorry for the false alarm.

@sangdth sangdth closed this as completed May 24, 2022
@azrikahar
Copy link
Contributor

Thanks for the prompt update! Cheers

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants