Posts: 449
Joined: May 2015
Reputation:
10
2015-11-18, 04:02
(This post was last modified: 2015-11-18, 04:03 by Redwingsfansfc.)
There may have been an error in the db conversion. No biggie.
Open your MySQL command line client
Use:
Show Databases; (note the colon)
Then (only on the new databases)
Drop database kodi_videoXX; (note colon, and XX is the database from the appropriate version)
(and music if needed)
Do NOT drop the previous version database.
Restart kodi. The new databases will access the previous version and convert. Should have you sorted without incident.
I really have no idea what I am talking about. Proceed with caution. I confuse easily. And drink. A lot.
Posts: 27
Joined: Sep 2008
Reputation:
0
Thanks for your help, but the same thing happens each time I drop kodi_video99. Not sure if this matters, but I have six different video databases, all xbmc_videoXX. Might have to nuke the library and start from scratch. I had an old NAS die on me a few weeks ago, my home entertainment system is falling apart!
Posts: 268
Joined: Sep 2014
Reputation:
6
menakite
Retired Team-Kodi Member
Posts: 268
Can you enable debug logging, quit Kodi, drop column "name" in the seasons table in xbmc_video97 and retry?
Drop newer databases (98, 99).
A debug log is only needed if the upgrade still fails.
Posts: 449
Joined: May 2015
Reputation:
10
Maybe its me: The page you are looking for does not exist.
So flying blind:
Froze? I have seen cases where the DB conversion takes a tad bit of time. Somtimes you just have to let it brew.
You will be able to tell if it worked or not - if you can set content on your video sources. If the content doesn't stay - bad DB.
I really have no idea what I am talking about. Proceed with caution. I confuse easily. And drink. A lot.
Posts: 27
Joined: Sep 2008
Reputation:
0
Thanks guys! Got it working.
I think I know what happened. I added a new harddrive to my NAS, so it was in the lengthy process of expanding the volume. While that process runs, reading and writing to the discs is painfully slow. I didn't realize that the Jarvis beta was going to update the database, so when Kodi sat at the logo screen for 15-20 minutes, I just thought it froze. It doesn't help that task manager says Kodi was "Not Responding". The next time I started it, the unfinished and probably corrupt database was there, so Kodi started and just didn't load any library. When I deleted the corrupt library and Kodi "froze" again to try to build it, I just assumed it was stuck again so I kept killing the process. Eventually it dawned on me that my NAS was slowing things down. Waited for the expansion to finish, then let Kodi build the new database. Who would have thought it takes a while to build a database with several terabytes worth of videos?
Posts: 449
Joined: May 2015
Reputation:
10
Awesome to hear. Glad you got it sorted!
I really have no idea what I am talking about. Proceed with caution. I confuse easily. And drink. A lot.