2014-04-01, 12:19
(2014-03-31, 18:59)sankaman82 Wrote:(2014-03-31, 15:08)sankaman82 Wrote:(2014-03-30, 12:43)wernerb Wrote: If you are having trouble compiling, use the pre-compiled version with Docker that I posted a few posts back. If only you need to update the library that is the quickest way to get there.
ok, so,
after having had some trouble to compile xbmc-server, not being satisfied with Minidlna (for one or another reason, he's not taking the .nfo's and fanart into consideration), and thinking of the Ubuntu's next big release, I'll follow your advice and go for the docker but it will be with the bridge setting since it should be working serving the xbmc clients continuously
Thanks for the work already performed and you'll probably hear from me very soon.
Hi wernerb,
guess what? I got a problem...
after having installed docker and prepared the conf files, I went for the:
(of course with my settings)Code:$ sudo docker run -d --networking=false \
-v /directory/with/xbmcdata:/opt/xbmc-server/portable_data \
--lxc-conf="lxc.network.type = veth" \
--lxc-conf="lxc.network.flags = up" \
--lxc-conf="lxc.network.link = br0" \
--lxc-conf="lxc.network.ipv4 = 192.168.1.49" \
--lxc-conf="lxc.network.ipv4.gateway=192.168.1.1" \
wernerb/docker-xbmc-server
and after pulling the complete repository, I got the error below:
Code:2014/03/31 18:36:19 Error: Cannot start container 9b0bf3ca19bdebbbe897fffe76d79ec6614db3fba865f44a427dc00ce61366c0: lxc.network.type = veth is not supported by the native driver
Thus, I suppose this is linked to my poor ethernet card...?
Anyhow, first, I'll fetch the wife and make some cooking stuffs and hopefully, she'll be so kind to give me some more time with the container's story...
If you have any suggestions, please do not hesitate.
Fortunately I anticipated your problem Look at the end, at the FAQ concerning veth problems
See: https://github.com/wernerb/docker-xbmc-server
This is because you are running the latest docker which has created its own lxc driver without implementing all its features.
(2014-03-31, 18:13)3agle3ye Wrote:(2014-03-17, 12:51)wernerb Wrote: I created a docker container that contains xbmcLibraryScan and xbmc headless for frodo 12.3 (as of yesterday).
Best of all you do not need to compile it yourself anymore.
Steps to undertake:
1. Install docker for your linux distro
2. download https://github.com/wernerb/docker-xbmc-s...ttings.xml and adjust the mysql settings.
3. set up a folder somewhere you would like to have the xbmc library stored. for example: mkdir -p /home/$(whoami)/.xbmc/userdata and put advancedsettings.xml there.
You are basicly done! The following command will download the container and run the xbmcVideoLibraryScan!
Code:sudo docker run -v /home/$(whoami)/.xbmc:/opt/xbmc-server/portable_data --entrypoint=/opt/xbmc-server/xbmcVideoLibraryScan wernerb/docker-xbmc-server:latest --no-test --nolirc -p
Subsequent runs will obviously not re-download the container
* Change /home/$(whoami)/.xbmc to the folder you use, this can be anywhere you'd like. But remember that advancedsettings.xml is needed to run correctly.
If you guys like to comment or to contribute (make a branch supporting gotham) do it at my github repository: https://github.com/wernerb/docker-xbmc-server
Tell me what you guys think
Just tried the Docker solution on openSuSE 13.1. It's working ... however the advancesettings.xml is full of errors.
Could you please take a look into that wernerb?
I'am getting errors like:
Code:15:53:53 T:139711820830592 ERROR: Error loading special://profile/advancedsettings.xml, Line 31
Error reading Attributes.
Code:16:02:59 T:139769716037504 ERROR: Error loading special://profile/advancedsettings.xml, Line 60
Error reading end tag.
already tried to fix it myself ... but the formatting of that xml is horrible.
Looking forward to hear from you
EDIT: forgot to say that i took the "Frodo" one!
Hi! That's weird, its working fine with that file at my end (and I haven't heard any problems thus far)
Maybe something went wrong during copy-paste? Did you try downloading the raw file at:
https://github.com/wernerb/docker-xbmc-s...ttings.xml and using it directly?
I've taken a look but there is nothing wrong with the advancedsettings.xml (even pulled it through an xml validator to be sure)
Also note that the instructions you quoted are old, see https://github.com/wernerb/docker-xbmc-server for full and better instructions!