Gutz-Pilz
did you install it in /opt?
try installing in /root and check if you still have the errors.
iirc, i installed it in /root and got no errors, but watchdog doesnt work
English Please
Gutz-Pilz
did you install it in /opt?
try installing in /root and check if you still have the errors.
iirc, i installed it in /root and got no errors, but watchdog doesnt work
English Please
service kodiserver showlog
still doesnt work
Here is the tutorial: XBMC-Server (headless/minified) Libraryscanner
@ gut-pilz:
I ment this line:
git clone https://github.com/OpenMediaVault-Plugin-Developers/docker-xbmc-server.git /opt/kodi-server
then you have the latest code from the OMV-plugin: docker-xbmc-server and the _log-error doesn't show up.
service kodiserver showlog doesn't work because it hasn't the "showlog" function anymore. Please use "kodiserver-helper showlog" instead
@Solo
why is it i have errors in watchdog scripts if i install it in /opt?
If i install it in /root, watchdog doesnt have errors but it just dont work.
weird lol
we have some problems with the watchdog-addon. Im waiting for the dev to answer, if he wants to include our changes to his main code.
@ gut-Pilz:
Du hast anscheinend noch nicht die neueste github version. Bitte der anleitung 4 posts weiter oben folgen.
Neue version in github: Jetzt sollten zumindest im script keine fehler mehr auftauchen.
Please checkout the github again. I have fixed all known errors so far, except the watchdog ones
follow this tutorial: XBMC-Server (headless/minified) Libraryscanner
Hi,
many thanks for this (Beta)Plugin. Kodi is running, but no Music or Videos found. What do i wrong?
<sources>
<programs>
<default pathversion="1"></default>
</programs>
<video>
<default pathversion="1"></default>
<source>
<name>Filme</name>
<path pathversion="1">nfs://192.168.178.10/export/VDRNFOFS/</path>
<allowsharing>true</allowsharing>
</source>
</video>
<music>
<name>Music</name>
<default pathversion="1">/media/6a6700bb-331f-4c00-ba2a-620edb61605f/Musik/</default>
<allowsharing>true</allowsharing>
</music>
<pictures>
<name>Bilder</name>
<default pathversion="1">/media/6a6700bb-331f-4c00-ba2a-620edb61605f/Bilder/</default>
<allowsharing>true</allowsharing>
</pictures>
<files>
<default pathversion="1"></default>
</files>
</sources>
Alles anzeigen
Webinterface is running, but no Data is found.
DB config in advancedsettings.xml is fine?
This "LIbrary scanner" can't create the MySQL-db. Let a "Full Kodi" (e.g. on Win/Linux) create the DB, copy the sources.xml from there to OMV and it should work.
thanks for the answers. i will try this. database settings should be o.k. Can see the databases in the MysqlWeb .
<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.178.10</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>192.168.178.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>Kodi 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>8089</webserverport>
<webserverusername>xbmc</webserverusername>
<webskin>webinterface.default</webskin>
<zeroconf>true</zeroconf>
</services>
<skinsettings>
<setting type="bool" name="skin.confluence.FirstTimeRun">false</setting>
</skinsettings>
</advancedsettings>
Alles anzeigen
Okay great. seems to work now.
except watchdog - da habt ihr mich heiß gemacht und leider funktioniert es noch nicht.
nihts desto trotz. super arbeit!
hab mir mal die freiheit genommen und ein aktuelleres tutorial gemacht, da das alte 2-3 fehler hat.
git clone https://github.com/OpenMediaVault-Plugin-Developers/docker-xbmc-server.git /opt/kodi-server
cd /opt/kodi-server
./kodiserver-helper clear
./kodiserver-helper install
Edit advancedsettings.xml to your needs.
Also supply your sources.xml to that folder!!! Otherwise the watchdog won't work!
nano kodidata/userdata/advancedsettings.xml
nano kodidata/userdata/sources.xml
Start:
service kodiserver start
If it is finished, check with service kodiserver status and kodiserver-helper showlog if there are any errors
Gutz
whats not working on watchdog, error on script PY or doesnt update/clean library?
Error on py
there shouldn't be a difference!
Please upload a DEBUG-log of Kodi for each /opt and /root and I'll have a look.
Thx
can someone help me?
root@Media-Server:/opt/kodi-server# service kodiserver start
/etc/kodiserver.conf loaded
'service kodiserver start' called
time="2015-03-15T22:56:37+01:00" level="fatal" msg="Get http:///var/run/docker.sock/v1.17/containers/json: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?"
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Kodi docker Server: 'kodiserver1' has CONTAINER-ID:
dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?
FATA[0000] Error: failed to remove one or more containers
FATA[0000] Post http:///var/run/docker.sock/v1.17/containers/create?name=kodiserver1: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?
failed!
Alles anzeigen
root@Media-Server:/opt/kodi-server# ./kodiserver-helper clear
/etc/kodiserver.conf loaded - 'clear' called
Do you really want to remove ALL docker containers? [yes|no] yes
Stopping all Containers ...
time="2015-03-15T22:56:10+01:00" level="fatal" msg="Get http:///var/run/docker.sock/v1.17/containers/json?all=1: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?"
docker: "stop" requires a minimum of 1 argument. See 'docker stop --help'.
failed!
Removing all docker-containers ...
time="2015-03-15T22:56:11+01:00" level="fatal" msg="Get http:///var/run/docker.sock/v1.17/containers/json?all=1: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?"
docker: "rm" requires a minimum of 1 argument. See 'docker rm --help'.
failed!
Removing all other docker-container files ...
/var/lib/docker/aufs/diff/*
failed!
/var/lib/docker/aufs/layers/*
failed!
/var/lib/docker/aufs/mnt/*
failed!
/var/lib/docker/graph/*
failed!
/var/lib/docker/vfs/dir/*
failed!
/var/lib/docker/volumes/*
failed!
Check the output above for errors!
root@Media-Server:/opt/kodi-server# ./kodiserver-helper install
copy the init-script and kodiserver.conf to /etc ...
successfull!
copy kodiserver-helper script to /usr/local/bin ...
successfull!
update-rc.d for kodiserver ...
update-rc.d: using dependency based boot sequencing
successfull!
Alles anzeigen
advancedsettings.xml und sources.xml hab ich von meinem Kodi vom pc eingefügt und da sind auch schon ein paar filme in der Datenbank(Datenbank läuft also)
Please delete /opt/kodiserver and start again with the tutorial: XBMC-Server (headless/minified) Libraryscanner
the tutorial from davidh2k has some faults
use this
XBMC-Server (headless/minified) Libraryscanner
a reboot helps
now this is my problem :
which port is for kodi? 8089?9777?
01:05 T:140098264598464 NOTICE: Running database version Textures13
21:01:05 T:140098264598464 NOTICE: Running database version MyMusic48
21:01:05 T:140098264598464 NOTICE: Running database version MyVideos90
21:01:05 T:140098264598464 NOTICE: Running database version TV26
21:01:05 T:140098264598464 NOTICE: Running database version Epg8
21:01:06 T:140098264598464 WARNING: JSONRPC: Could not parse type "PVR.Details.Channel"
21:01:06 T:140098264598464 WARNING: JSONRPC: Could not parse type "PVR.Details.ChannelGroup.Extended"
21:01:06 T:140098264598464 WARNING: JSONRPC: Could not parse type "GUI.Property.Value"
21:01:06 T:140098264598464 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
21:01:06 T:140098264598464 ERROR: JSONRPC: Could not parse method "Files.AddSource"
21:01:06 T:140097777133312 NOTICE: Thread LanguageInvoker start, auto delete: false
21:01:06 T:140098264598464 NOTICE: initialize done
21:01:06 T:140098264598464 NOTICE: Running the application...
21:01:06 T:140098264598464 NOTICE: Webserver: Starting...
21:01:06 T:140098264598464 ERROR: WebServer: Failed to start the webserver
21:01:06 T:140098264598464 NOTICE: starting upnp server
21:01:06 T:140097766594304 NOTICE: Thread LanguageInvoker start, auto delete: false
21:01:06 T:140098264598464 NOTICE: ES: Starting event server
21:01:06 T:140097462724352 NOTICE: Thread EventServer start, auto delete: false
21:01:06 T:140097462724352 NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
21:01:06 T:140097462724352 NOTICE: UDP: Listening on port 9777
21:01:06 T:140097454331648 NOTICE: Thread TCPServer start, auto delete: false
21:01:06 T:140097777133312 NOTICE: -->Python Interpreter Initialized<--
21:01:06 T:140097766594304 NOTICE: Previous line repeats 1 times.
21:01:06 T:140097766594304 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.RuntimeError'>
Error Contents: threads can only be started once
Traceback (most recent call last):
File "/opt/kodi-server/share/kodi/portable_data/addons/service.watchdog/service.py", line 26, in <module>
main.main()
File "/opt/kodi-server/share/kodi/portable_data/addons/service.watchdog/core/main.py", line 233, in main
xbmcif.start()
File "/usr/lib/python2.7/threading.py", line 739, in start
raise RuntimeError("threads can only be started once")
RuntimeError: threads can only be started once
-->End of Python script error report<--
21:02:43 T:140098264598464 NOTICE: Samba is idle. Closing the remaining connections
Alles anzeigen
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!