XBMCbuntu - mysql issue
#1
Hello all,

I just installed XBMCbuntu and put my advancedsettings.xml file into /home/scott/.xbmc/userdata. If I go to the XBMCbuntu desktop and open from the menu, all of my files are found. If I try to start directly in XBMC, my files are not found. I only have one user on this system... Does XBMC start from another user I don't know about? Should my advancedsettings.xml be in another directory? Should I quit and put Windows on? Just kidding.

Thanks for any help you can give!

Scott
Reply
#2
Please check your kodi.log if the databases are up... or post a log here...
Maybe you xbmc starts to fast an your network is not conected.
If it is so you can try to change you network settings from dhcp to statc ip...
Board: B85M-ITX
CPU: i3 4330
GPU: Geforce GTX 750ti
Reply
#3
debug log (wiki)
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#4
http://pastebin.com/4Lpj7R8T

This is booting directly into XBMC.

Again, when I go to the desktop in XBMCbuntu, it can find the sql database no problem. I will try to change my network settings so I have a static IP. Worth a try!
Reply
#5
Or delay your xbmc startup until networking is up.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#6
http://forum.kodi.tv/showthread.php?tid=...pid1034757

Edited /etc/network/interfaces and added:

auto eth0
iface eth0 inet dhcp

Did this and it worked like a charm. Thanks for the help!
Reply
#7
That won't really help as it is a race condition between xbmc starting and network being up.

There are two real solutions:
a) Let the upstart script really wait until network is up
b) http://kodi.wiki/view/Wake_on_lan <- use this as a workaround, that will wait until it can detect the network server (ignore the wake on lan)
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#8
(2014-11-07, 09:13)fritsch Wrote: That won't really help as it is a race condition between xbmc starting and network being up.

There are two real solutions:
a) Let the upstart script really wait until network is up
b) http://kodi.wiki/view/Wake_on_lan <- use this as a workaround, that will wait until it can detect the network server (ignore the wake on lan)

I think the correct way is for Kodi to wait for the LAN to come up, or at least retry. Is there a bug raised for this since it is easily replicatable in XBMCbuntu?
Reply
#9
No, that's not the correct way.

Not every user has a network cable attached. This way it would wait forever. Even on a laptop, when you are sitting on the airport without network ... kodi would stop starting at all. It's really not kodi's job to wait for your network environment when not explicitely told.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#10
I didn't say that kodi should not run until a network exists, just that it should not try and access it until the network is up. I understand that not every user will have a network, but on the other hand if everyone who has an ssd and uses the network could end up with issues then surely this should be something to be looked at? Even if it is simply a case that if kodi has enabled the advanced settings, then it enables netinittimeout and netsettletime from the WOL stuff.
Reply

Logout Mark Read Team Forum Stats Members Help
XBMCbuntu - mysql issue0