-
Notifications
You must be signed in to change notification settings - Fork 40
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
Failed to detect the target database version when loading collection and items #290
Comments
Update: I tried to use pypgstac from a Windows local computer not running in docker. I tried to use
|
What permissions does the role that you are using with pypgstac migrate have? Is it the same role that was used to install pypgstac in the first place? Those first errors that you are getting just look like you are trying to migrate with a role that does not have the right permissions. I think that As to the Windows issue, I don't have a Windows environment that I can debug with, so I can't replicate that issue to track down. |
I'm also running into this issue, my database (also running on Google Cloud, within CloudSQL) is running 0.7.10 currently. Using I'm also running into My user, I'm certain this is the user that created these tables as well. Reporting the above findings here while I'm currently looking into fixing this, hopefully will report back with a fix shortly! |
Managed to fix it! Although my user had I think Anyways, TL;DR, fix for me was: GRANT pgstac_ingest TO postgres And upgraded to 0.9.1 without any more issues :) |
Was there a pgstac issue here then? Should we move this to discussion (with a more explicit name) ? |
I am trying to create/migrate and utilize a PostreSQL in a Google Cloud Platform. I want to load my STAC items and collections into the database. However, I am confronted with error when loading the collections. Below is the traceback error. It says it failed to detect the target database version.
I am using the pypgstac v0.9.0. Besides the error, I think there are also other errors when migrating such as permission denied to set role "pgstac_ingest". I thought it was similar to this issue: #239. But I think its different.
The text was updated successfully, but these errors were encountered: