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

UPDATE - Error glossary_pkey #175

Open
igeofr opened this issue Sep 27, 2024 · 1 comment
Open

UPDATE - Error glossary_pkey #175

igeofr opened this issue Sep 27, 2024 · 1 comment

Comments

@igeofr
Copy link

igeofr commented Sep 27, 2024

When I want to update the database, I get this error :

COMMIT; renvoyé 0 [ERROR: duplicate key value violates unique constraint "glossary_pkey" DETAIL: Key (id)=(137) already exists. ]

Current database version '1.2.2'.
La version de l'extension est 1.3.1

@Gustry
Copy link
Member

Gustry commented Oct 14, 2024

Thanks for the report.

Did you check which key it was at ID 137 ?
Did you success to update in the meantime ?

According to the docs, there are 136 keys in this table : https://docs.3liz.org/qgis-pgmetadata-plugin/database/tables/glossary.html

There is also a unittest covering "update with migrations", so from version 1.2.2 to the next one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants