Release Headless Kodi Docker Container
#46
@bossanova808
how did you get on?
Reply
#47
I think maybe you mean @denogginizer ?
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply
#48
(2024-05-10, 04:17)matthuisman Wrote: @bossanova808
how did you get on?

Apologies for the delayed response. It's been a busy week here.
kodi.log can be found here: https://paste.kodi.tv/itudofodig.kodi

I disabled all addons by renaming the folder (after stopping the headless docker container), and one of the "info" tags in the log says: "Essential mysql database information is missing. Require at least host, user and pass defined." so, I added that to the "advancedsettings.xml" (as you can see in the log). I was able to start Kodi Headless and it did create the MyMusic83 database, but when I click on Music in Kodi it just crashes.
Here is the kodi.log from the Nvidia Shield that crashed: https://paste.kodi.tv/gupamapoxi.kodi

I'm ok with just dumping the music database and starting over if that is a good option. What is the best way to do that?

Thank you for all the help so far!
Reply
#49
2024-05-11 16:26:21.051 T:32624 error <general>: Can't open the database MyMusic83 as it is a NEWER version than what we were expecting?
2024-05-11 16:26:21.057 T:32624 info <general>: Old database found - updating from version 82 to 83
2024-05-11 16:26:21.059 T:32624 error <general>: SQL: Can't create database for copy: 'MyMusic82' (1007)
2024-05-11 16:26:21.061 T:32624 error <general>: Unable to copy old database MyMusic82 to new version MyMusic83

Your getting that in both headless and client.
1007 seems to say that DB already exists
So maybe it created and failed and now cant try again.

If I was you, I'd login to mysql db and delete the MyMusic83 db
then restart and let it try to migrate 82 -> 83 again
Reply
#50
(2024-05-12, 03:09)matthuisman Wrote: 2024-05-11 16:26:21.051 T:32624 error <general>: Can't open the database MyMusic83 as it is a NEWER version than what we were expecting?
2024-05-11 16:26:21.057 T:32624 info <general>: Old database found - updating from version 82 to 83
2024-05-11 16:26:21.059 T:32624 error <general>: SQL: Can't create database for copy: 'MyMusic82' (1007)
2024-05-11 16:26:21.061 T:32624 error <general>: Unable to copy old database MyMusic82 to new version MyMusic83

Your getting that in both headless and client.
1007 seems to say that DB already exists
So maybe it created and failed and now cant try again.

If I was you, I'd login to mysql db and delete the MyMusic83 db
then restart and let it try to migrate 82 -> 83 again
Thank you so much for all your help. I think at this point, I'm just going to start fresh. Maybe my db was bad before the upgrade?

These were my last steps:

- Stopped kodi-headless container
- renamed "addons" folder to "addons-bak"
- Via phpMyAdmin deleted the MyMusic83 database
- Started kodi-headless container
- MyMusic83 reappears and is filled with music data
- Kodi (on Nvidia Shield) crashes when attempting to access music library and Yatse shows it as empty.

So, I think it's probably time to start over on the database. Thank you again for the help Smile
Reply
#51
I suspect something isn't migrating correctly.
Starting fresh with latest db and scanning in is probably the best way.
Reply

Logout Mark Read Team Forum Stats Members Help
Headless Kodi Docker Container0