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

Can not install : Index name "id" for table "oc_bookmarks" collides with the constraint on table "oc_e2e_encryption_lock" #587

Open
GillesMocellin opened this issue Mar 8, 2024 · 8 comments
Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working

Comments

@GillesMocellin
Copy link

Steps to reproduce

  1. I'm using Nextcloud 28.0.3 via Docker image stable-fpm tag
  2. Try to install Tables app
  3. I have the error Index name "id" for table "oc_bookmarks" collides with the constraint on table "oc_e2e_encryption_lock"

Expected behavior

Application is installed an active

Actual behavior

Application is installed but inactive, cannot activate

Tables app version

0.6.6

Browser

Firefox 123

Client operating system

Linux (Ubuntu 22.04)

Operating system

Debian 12

Web server

Nginx

PHP engine version

PHP 8.2

Database

MariaDB

Additional info

Nextcloud Community Docker image, tag stable-fpm, from https://hub.docker.com/_/nextcloud/

@GillesMocellin GillesMocellin added 0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working labels Mar 8, 2024
@juliushaertl
Copy link
Member

This doesn't look related to the tables app. I'll move it to the e2e encryption app for checking.

@szaimen I thought this should have been softened with 28.0.3 already by nextcloud/server#43357

@juliushaertl juliushaertl transferred this issue from nextcloud/tables Mar 8, 2024
@juliushaertl
Copy link
Member

Also FYI @marcelklehr for bookmarks

@szaimen
Copy link

szaimen commented Mar 8, 2024

This doesn't look related to the tables app. I'll move it to the e2e encryption app for checking.

@szaimen I thought this should have been softened with 28.0.3 already by nextcloud/server#43357

I cant tell if this is also the case with app installs... Cc @nickvergessen

@nickvergessen
Copy link
Member

Ah, any install will trigger the failure at the moment it seems 🙈
Should only check "new" identifiers, not all identifiers in the new schema :/

@marcelklehr
Copy link
Member

@nickvergessen
Copy link
Member

Well for autoincrement like the id it should have a different name anyway. I will check again on Monday

@nickvergessen
Copy link
Member

At least for e2ee the index is not autoincrement, so it should have a better name...

@GillesMocellin
Copy link
Author

Still present in today upgrade from 28.0.? to 29.0.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants