Posts: 10
Joined: Nov 2017
Reputation:
0
since I upgraded to Kodi 21 (I was previously on Kodi 19 then Kodi 20.5), Kodi can no longer find the covers, films and series for me
since then I have deleted all my database on my synology nas (phpmyadmin)
and i reinstalled kodi on a fresh install
and kodi never finds me the covers, films, series
However, it worked perfectly before!
I work under Windows, and Linux (coreelec)
how I could solve the problem,
Posts: 1,369
Joined: Apr 2010
Reputation:
110
CrystalP
Team-Kodi Developer
Posts: 1,369
Deleting the myvideos131 database will make Kodi attempt the data migration again in the next execution. Make sure debug log is enabled, in order to capture the migration problems.
Posts: 78
Joined: Sep 2009
Reputation:
1
2024-04-21, 11:20
(This post was last modified: 2024-04-21, 12:36 by kubax. Edited 2 times in total.)
I have exactly the same issue.
Is there any chance you are using a Galera cluster aswell?
I recently changed my MariaDB Docker Swarm container, to a MariaDB Galera Kubernetes cluster.
I migrated the database to the new cluster, and started kodi (not realizing kodi got updated since last run on my work machine), the Database got updated, and all *_views did not get migrated. I can reproduce this.
If i migrate in the old database, everything works fine. Even when i then migrate the database to the new cluster.
Edit: The debug log CrystalP suggested lead me to the solution for my problem. (Should have thought about debug logging in the first place, DUH)
In my case the Triggers were not created because of error 1419 (insufficient rights). Looks like because log_bin was enabled on my galera cluster (for replication it seems) and log_bin_trust_function_creators was disabled, the cluster refused to add triggers.
changeing the log_bin_trust_function_creators to enabled (on) in the global variables the migration works like expected.
I double checked, and found that the normal database hase log_bin disabled completely. But from what i found it is needed for my galera cluster to replicate the data.