-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Automatically delete duplicate keys in filecache table #6993
Comments
And here is a real life example. #6994 |
#6994 is not a duplicate entry in the filecache table but a duplicate entry in the appconfig table |
Ups. True :-) |
#6994 Rather seems to be for the oc_preferences table. But anyway, we should probably check most of the config/preference tables for duplicates anyway. |
@icewind1991 I've raised a separate issue for the |
@icewind1991 do we have a primary key / index already on the filecache table in OC 6? |
Yes |
Just checked on OC 6.0.3 and I'm not able to add duplicate keys into the
So this is again a case of moving from OC 5 to OC 6, not OC 6 to OC 7. |
So I understand that in current versions this can´t happen because we have proper indexes/keys. Closing. |
It seems that there are still a lot of ownCloud installations out there with broken filecache entries. The often break during upgrade because of duplicate keys in the filecache table.
I think we should cleanup duplicate keys in the repair function.
What do you thing @icewind1991
The text was updated successfully, but these errors were encountered: