[DOCKER] Headless XBMC Server


Recommended Posts

Well I thought I had this working but I cant seem to get it update my library. I have started over with fresh library and it still will not update it. I can update from a stand alone box just fine but not from the xbmc-server headless docker!  I have the MariaDB docker with user and password both xbmc set with full permissions. It creates the databases fine but will not update them.

Anyone having this problem?

 

 

 

 

Link to comment

Well I thought I had this working but I cant seem to get it update my library. I have started over with fresh library and it still will not update it. I can update from a stand alone box just fine but not from the xbmc-server headless docker!  I have the MariaDB docker with user and password both xbmc set with full permissions. It creates the databases fine but will not update them.

Anyone having this problem?

 

I got this working this way:

 

1) run your XBMC in portable mode: http://wiki.xbmc.org/index.php?title=Windows_FAQ#Portable_mode

2) tweak the advancedsettings.xml  to meet your MariaDB settings;

3) create your library;

4) install the XBMC Library Update program and configure it to run each x hours;

5) stop XBMC and copy the contents of the created portable_data folder to the path you set in unRAID;

6) start your xbmc-server.

Link to comment

Well I thought I had this working but I cant seem to get it update my library. I have started over with fresh library and it still will not update it. I can update from a stand alone box just fine but not from the xbmc-server headless docker!  I have the MariaDB docker with user and password both xbmc set with full permissions. It creates the databases fine but will not update them.

Anyone having this problem?

 

I got this working this way:

 

1) run your XBMC in portable mode: http://wiki.xbmc.org/index.php?title=Windows_FAQ#Portable_mode

2) tweak the advancedsettings.xml  to meet your MariaDB settings;

3) create your library;

4) install the XBMC Library Update program and configure it to run each x hours;

5) stop XBMC and copy the contents of the created portable_data folder to the path you set in unRAID;

6) start your xbmc-server.

 

I was hoping to use sickbeard to update it each time?  That's the way I used to have it running.  I will give this a try.

 

Thanks

Link to comment

Well I thought I had this working but I cant seem to get it update my library. I have started over with fresh library and it still will not update it. I can update from a stand alone box just fine but not from the xbmc-server headless docker!  I have the MariaDB docker with user and password both xbmc set with full permissions. It creates the databases fine but will not update them.

Anyone having this problem?

 

I got this working this way:

 

1) run your XBMC in portable mode: http://wiki.xbmc.org/index.php?title=Windows_FAQ#Portable_mode

2) tweak the advancedsettings.xml  to meet your MariaDB settings;

3) create your library;

4) install the XBMC Library Update program and configure it to run each x hours;

5) stop XBMC and copy the contents of the created portable_data folder to the path you set in unRAID;

6) start your xbmc-server.

 

I was hoping to use sickbeard to update it each time?  That's the way I used to have it running.  I will give this a try.

 

Thanks

 

So skip the Xbmc Library update part, I guess. You have to set your mediasources.xml anyway.

Link to comment

That's odd then.  If it shows success it's connected to the xbmc server.  If the xbmc server is using the same DB as your other XBMC installs then it should be updating.

 

If you fire up the xbmc server webgui, do you see the new shows ?

 

If you don't mind maybe you could send your advancedsetting.xml file so I could compare it to mine?

 

Thanks

Link to comment

That's odd then.  If it shows success it's connected to the xbmc server.  If the xbmc server is using the same DB as your other XBMC installs then it should be updating.

 

If you fire up the xbmc server webgui, do you see the new shows ?

 

If you don't mind maybe you could send your advancedsetting.xml file so I could compare it to mine?

 

Thanks

 

Happy too, when I get home, which wont be for another 10 or so hours.

Link to comment

That's odd then.  If it shows success it's connected to the xbmc server.  If the xbmc server is using the same DB as your other XBMC installs then it should be updating.

 

If you fire up the xbmc server webgui, do you see the new shows ?

 

If you don't mind maybe you could send your advancedsetting.xml file so I could compare it to mine?

 

Thanks

 

Here it is:

 

<advancedsettings>
<videolibrary>
	<actorthumbs>false</actorthumbs>
	<importwatchedstate>true</importwatchedstate>
	<dateadded>0</dateadded>
	<backgroundupdate>true</backgroundupdate>
	<updateonstartup>true</updateonstartup>
</videolibrary>
<musiclibrary>
	<backgroundupdate>true</backgroundupdate>
</musiclibrary>
<videodatabase>
	<type>mysql</type>
	<host>192.168.1.10</host>
	<port>3306</port>
	<user>xbmc</user>
	<pass>xbmc</pass>
</videodatabase>
<musicdatabase>
	<type>mysql</type>
	<host>192.168.1.10</host>
	<port>3306</port>
	<user>xbmc</user>
	<pass>xbmc</pass>
</musicdatabase>
<videoscanner>
	<ignoreerrors>true</ignoreerrors> <!-- Set to true to silently ignore errors while scanning videos. This prevents the error dialogue box, so you don't have to keep hitting "yes" to keep scanning.-->
</videoscanner>
<splash>false</splash>
<bginfoloadermaxthreads>2</bginfoloadermaxthreads>
<myvideos>
	<extractflags>false</extractflags>
	<extractthumb>false</extractthumb>
</myvideos>
<lookandfeel>
	<enablerssfeeds>false</enablerssfeeds>
</lookandfeel>
<audiooutput>
	<guisoundmode>0</guisoundmode>
	<ac3passthrough>false</ac3passthrough>
	<dtspassthrough>false</dtspassthrough>
	<multichannellpcm>false</multichannellpcm>
	<truehdpassthrough>false></truehdpassthrough>
	<dtshdpassthrough>false</dtshdpassthrough>
	<mode>2</mode>
</audiooutput>
<videoscreen>
	<vsync>2</vsync>
</videoscreen>
<input>
	<enablemouse>false</enablemouse>
	<remoteaskeyboard>false</remoteaskeyboard>
</input>
<general>
	<addonnotifications>false</addonnotifications>
</general>
<services>
	<devicename>XBMC Server</devicename>
	<esallinterfaces>false</esallinterfaces>
	<escontinuousdelay>25</escontinuousdelay>
	<esenabled>true</esenabled>
	<esinitialdelay>750</esinitialdelay>
	<esmaxclients>20</esmaxclients>
	<esport>9777</esport>
	<esportrange>10</esportrange>
	<upnpannounce>true</upnpannounce>
	<upnprenderer>false</upnprenderer>
	<upnpserver>true</upnpserver>
	<webserver>true</webserver>
	<webserverpassword>xbmc</webserverpassword>
	<webserverport>8090</webserverport>
	<webserverusername>xbmc</webserverusername>
	<webskin>webinterface.default</webskin>
	<zeroconf>true</zeroconf>
</services>
<skinsettings>
	<setting type="bool" name="skin.confluence.FirstTimeRun">false</setting>
</skinsettings>

</advancedsettings>

Link to comment

That's odd then.  If it shows success it's connected to the xbmc server.  If the xbmc server is using the same DB as your other XBMC installs then it should be updating.

 

If you fire up the xbmc server webgui, do you see the new shows ?

 

If you don't mind maybe you could send your advancedsetting.xml file so I could compare it to mine?

 

Thanks

 

Here it is:

 

<advancedsettings>
<videolibrary>
	<actorthumbs>false</actorthumbs>
	<importwatchedstate>true</importwatchedstate>
	<dateadded>0</dateadded>
	<backgroundupdate>true</backgroundupdate>
	<updateonstartup>true</updateonstartup>
</videolibrary>
<musiclibrary>
	<backgroundupdate>true</backgroundupdate>
</musiclibrary>
<videodatabase>
	<type>mysql</type>
	<host>192.168.1.10</host>
	<port>3306</port>
	<user>xbmc</user>
	<pass>xbmc</pass>
</videodatabase>
<musicdatabase>
	<type>mysql</type>
	<host>192.168.1.10</host>
	<port>3306</port>
	<user>xbmc</user>
	<pass>xbmc</pass>
</musicdatabase>
<videoscanner>
	<ignoreerrors>true</ignoreerrors> <!-- Set to true to silently ignore errors while scanning videos. This prevents the error dialogue box, so you don't have to keep hitting "yes" to keep scanning.-->
</videoscanner>
<splash>false</splash>
<bginfoloadermaxthreads>2</bginfoloadermaxthreads>
<myvideos>
	<extractflags>false</extractflags>
	<extractthumb>false</extractthumb>
</myvideos>
<lookandfeel>
	<enablerssfeeds>false</enablerssfeeds>
</lookandfeel>
<audiooutput>
	<guisoundmode>0</guisoundmode>
	<ac3passthrough>false</ac3passthrough>
	<dtspassthrough>false</dtspassthrough>
	<multichannellpcm>false</multichannellpcm>
	<truehdpassthrough>false></truehdpassthrough>
	<dtshdpassthrough>false</dtshdpassthrough>
	<mode>2</mode>
</audiooutput>
<videoscreen>
	<vsync>2</vsync>
</videoscreen>
<input>
	<enablemouse>false</enablemouse>
	<remoteaskeyboard>false</remoteaskeyboard>
</input>
<general>
	<addonnotifications>false</addonnotifications>
</general>
<services>
	<devicename>XBMC Server</devicename>
	<esallinterfaces>false</esallinterfaces>
	<escontinuousdelay>25</escontinuousdelay>
	<esenabled>true</esenabled>
	<esinitialdelay>750</esinitialdelay>
	<esmaxclients>20</esmaxclients>
	<esport>9777</esport>
	<esportrange>10</esportrange>
	<upnpannounce>true</upnpannounce>
	<upnprenderer>false</upnprenderer>
	<upnpserver>true</upnpserver>
	<webserver>true</webserver>
	<webserverpassword>xbmc</webserverpassword>
	<webserverport>8090</webserverport>
	<webserverusername>xbmc</webserverusername>
	<webskin>webinterface.default</webskin>
	<zeroconf>true</zeroconf>
</services>
<skinsettings>
	<setting type="bool" name="skin.confluence.FirstTimeRun">false</setting>
</skinsettings>

</advancedsettings>

 

Are you using a MySQL docker or  MariaDB docker ?  My advanced xml look same as yours.  Thanks for posting yours.

Link to comment

What did you change between 18:10 and 19:14 ?  Sickbeard is trying a different port number between those times:

 

2014-07-14 18:10:11 ERROR    CP Server Thread-5 :: XBMC: Failed to detect XBMC version for '192.168.2.75:8089', check configuration and try again.
2014-07-14 19:14:53 WARNING  CP Server Thread-2 :: XBMC: Error while trying to retrieve XBMC API version for 192.168.2.40:8585: error timed out

 

Also different errors there.  Once is connection refused, one is failed to detect.  Connection refused could be login/password related.  Failed to detect points to XBMC not running on that port.

Link to comment

What did you change between 18:10 and 19:14 ?  Sickbeard is trying a different port number between those times:

 

2014-07-14 18:10:11 ERROR    CP Server Thread-5 :: XBMC: Failed to detect XBMC version for '192.168.2.75:8089', check configuration and try again.
2014-07-14 19:14:53 WARNING  CP Server Thread-2 :: XBMC: Error while trying to retrieve XBMC API version for 192.168.2.40:8585: error timed out

 

Also different errors there.  Once is connection refused, one is failed to detect.  Connection refused could be login/password related.  Failed to detect points to XBMC not running on that port.

 

Yeah I removed that post  that was wrong info.  sorry..  still trying to get  it work.

Link to comment

Congrats.  What was the issue ?  It might help others.

 

I started over fresh and used another pc to scan in my library. After I had library just like i wanted it i copied the Texture13.db from my pc over to the xbmc docker database folder and started up xbmc docker. After that it started working just fine. My library updates fine.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.