Posts: 121
Joined: Aug 2015
Same here. SAMBA source selection renders empty on Linux & Android.
I had to reset all sources (using mysql) with zeroconfig.
Lots of standard plugins also broken on Android.
As always, every major Kodi release upsets the previously heavily time invested one for the user.
I shall survive
Posts: 121
Joined: Aug 2015
Shared libraries no longer work for me, version 19 updated from Leia where it had been working great.
I had to rebuild the libraries, it crashed midway thru. Kodi froze.Tried to kill it, didn't work. Rebooted. Kodi froze on boot screen.
Log said it couldn't open music database. It existed. Repaired it. Tried Kodi 19 again. Froze on splash screen.
Deleted databases and started again. Repeat above.
Now back to standard local library.
I think the devs are evil
Posts: 3
Joined: Feb 2021
Reputation:
0
I was able to get external library working by removing <name>kodi_video</name> from advancedsettings.xml - <videodatabase> which resulted in to building new DB instead of migrating from previous version.
The obvious downside is you are starting from scratch unless you have exported your library beforehand.
Posts: 121
Joined: Aug 2015
As I have done with every major release of XBMC/ KODI, on Linux, apt purge kodi, apt install kodi, reconfigure or restore what I can.
On linux, everything is now working using share library on mysql. On Android not so much.
I do love new Stable Releases.
Posts: 316
Joined: Jul 2015
Reputation:
22
2021-03-06, 19:08
(This post was last modified: 2021-03-06, 19:09 by jmgibson1981.)
I'm not sure I'm helping here but I can't help but notice the majority of problems people are having are with SMB, not NFS. I had a painless upgrade 18.9 > 19.? using NFS. Admittedly the first time it froze but that was because I was having wifi issues with my router. Reboot the computer and replace my AP and all was well. Took a good long time to migrate the db but it did work out.
That being said is the problem with SMB rather than the Mysql / Mariadb?
Posts: 15
Joined: Apr 2012
Reputation:
1
I found the same problem with my attempt to upgrade this morning. I focused on the following line I found my log and yours.
2021-02-22 22:27:58.385 T:30515 ERROR <general>: SQL: Can't determine list of routines to drop.
Checked the Kodi github and found the query that Kodi was trying to execute.
select routine_name from information_schema.routines where routine_type='FUNCTION' and routine_schema = '%s';
I ran that manually and MariaDB gave me the following error.
MariaDB [MyVideos116]> select routine_name from information_schema.routines where routine_type='FUNCTION';
ERROR 1558 (HY000): Column count of mysql.proc is wrong. Expected 21, found 20. Created with MariaDB 50563, now running 100317. Please use mysql_upgrade to fix this error
It looks like when I upgrade to MariaDB 10, it did not convert the databases automatically and hadn't complained until this query. I ran the mysql_upgrade on the command line and then re-ran the query which worked albeit returning no rows. Following that, I dropped the MyMusic82 and MyMusic119 databases and ran Kodi 19 again. This time the database migrated without a problem and the system is working perfectly.
I would suggest logging into whatever box is running your MySQL/MariaDB and executing the mysql_upgrade command to ensure all DBs are at the correct version for the MySQL/MariaDB engine.
Is it possible to get Kodi to log the error fault returned by MariaDB instead of the generic message? If I would have seen this message in the logs initially, it would have made the diagnostics much simpler.