Not running 15 yet, heck I'm still on 14.0... so I haven't looked at updating yet.
Greetings
David
Not running 15 yet, heck I'm still on 14.0... so I haven't looked at updating yet.
Greetings
David
Hello,
i still getting this python error from watchdog:
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
How can i solve this?
Greez just.RooT
Did you point in watchdog what sources to use ?
Yes i did. For example in my sources.xml is an entry like
<source>
<name>Serien</name>
<path pathversion="1">smb://192.168.178.200/Daten/Serien/</path>
<allowsharing>true</allowsharing>
</source>
So i add the Name in settings.xml from watchdog:
Is that correct? Any other solutions?
Thanks a lot.
Best regards
just.RooT
Ich bekomme folgenden Fehler:
Webserver is enabled, but can't find the Webserver-Port or the Port has no valid number in
'/opt/kodi-server/kodidata/userdata/advancedsettings.xml'. Please check your config!
bzw
20:40:31 T:139799259830208 NOTICE: Webserver: Starting...
20:40:31 T:139799259830208 ERROR: WebServer: Failed to start the webserver
20:40:31 T:139799259830208 NOTICE: starting upnp server
20:40:31 T:139799259830208 NOTICE: ES: Starting event server
20:40:31 T:139798599628544 NOTICE: Thread EventServer start, auto delete: false
20:40:31 T:139798599628544 NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
20:40:31 T:139798599628544 NOTICE: UDP: Listening on port 9777
20:40:31 T:139798591235840 NOTICE: Thread TCPServer start, auto delete: false
20:40:31 T:139798845331200 NOTICE: -->Python Interpreter Initialized<--
20:40:31 T:139798633199360 NOTICE: Previous line repeats 1 times.
20:40:31 T:139798633199360 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<--
20:40:46 T:139798845331200 ERROR: EXCEPTION: Error: Window is NULL, this is not possible :-)
20:40:46 T:139798845331200 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: Error: Window is NULL, this is not possible :-)
Traceback (most recent call last):
File "/opt/kodi-server/share/kodi/portable_data/addons/service.xbmc.versioncheck/service.py", line 104, in <module>
Main()
File "/opt/kodi-server/share/kodi/portable_data/addons/service.xbmc.versioncheck/service.py", line 45, in __init__
_upgrademessage2( version_installed, version_available, version_stable, oldversion, False)
File "/opt/kodi-server/share/kodi/portable_data/addons/service.xbmc.versioncheck/lib/common.py", line 139, in upgrade_message2
localise(32033))
RuntimeError: Error: Window is NULL, this is not possible :-)
-->End of Python script error report<--
20:42:07 T:139799259830208 NOTICE: NFS is idle. Closing the remaining connections.
Alles anzeigen
Der Fehler wurde hier schonmal gepostet, allerdings konnt eich ihn nicht beheben.
Don't set a watch folder in watchdog. Use auto detect sources. If you don't know how set the settings in a graphical kodi then move the settings to the docker folder.
Hm now i broke my installation.
I am not able to reinstall.
I removed docker and evething else and startet with the tutorial from the beginning.
But when I do "service kodiserver start" it is not loading.
How can i remove everything, also the downloaded packages?
You could post the error that you got and we might be able to help you solve that specific problem.
Greetings
David
root@pepe-omv:~# service kodiserver start
/etc/kodiserver.conf loaded
'service kodiserver start' called
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Kodi docker Server: 'kodiserver1' has CONTAINER-ID:
successfull!
root@pepe-omv:~# service kodiserver status
/etc/kodiserver.conf loaded
Kodi docker Server is not running!
service kodiserver status called
root@pepe-omv:~# kodiserver-helper showlog
/etc/kodiserver.conf loaded - 'showlog' called
cat: /opt/kodi-server/kodidata/temp/kodi.log: Datei oder Verzeichnis nicht gefunden
Alles anzeigen
I´ve copied the Userdata/addon_data/service.watchdog/settings.xml from a graphical Kodi.
i still get the same error after a restart.
Here is my settings.xml
<settings>
<setting id="clean" value="false" />
<setting id="cleanonstart" value="false" />
<setting id="delay" value="1" />
<setting id="forceglobalscan" value="false" />
<setting id="hideprogress" value="true" />
<setting id="method" value="0" />
<setting id="musicsource1" value="" />
<setting id="musicsource2" value="" />
<setting id="musicsource3" value="" />
<setting id="musicsource4" value="" />
<setting id="musicsource5" value="" />
<setting id="pauseonplayback" value="true" />
<setting id="pollinginterval" value="4" />
<setting id="recursivepolling" value="true" />
<setting id="removalmethod" value="0" />
<setting id="scanonstart" value="false" />
<setting id="showstatusdialog" value="false" />
<setting id="startupdelay" value="0" />
<setting id="videosource1" value="" />
<setting id="videosource2" value="" />
<setting id="videosource3" value="" />
<setting id="videosource4" value="" />
<setting id="videosource5" value="" />
<setting id="watchmusic" value="true" />
<setting id="watchvideo" value="true" />
</settings>
Alles anzeigen
Greetings
just.RooT
You're watching music also?. Try turn it off music watch.
Now it's
root@pepe-omv:/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
insserv: Service docker has to be enabled to start service kodiserver
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
failed!
Alles anzeigen
I don't follow or i am lost. Since when the kodiserver docker is working as init script? why?
I don't follow or i am lost. Since when the kodiserver docker is working as init script? why?
Its an easy way to start it on boot. Also you are able to use "service kodiserver start|stop|restart"
The init.d scribt does nothing other than executing "docker run ..." And writing in the log file..
Its an easy way to start it on boot
Is totally unnecessary, docker already can daemonize and force restart in the initial command. Look at my posted command.
If you need to stop it docker stop name, docker restart name and with the flag restart always it will come at boot also.
Is totally unnecessary, docker already can daemonize and force restart in the initial command. Look at my posted command.
If you need to stop it docker stop name, docker restart name and with the flag restart always it will come at boot also.
Its not the best way but its easier for peaple to understand who dont know docker.. (Just a guess why its there)
I didnt make it and also i dont use it anymore (im on a isengard build now)
And i already use the built in docker restart
I don't know. I'll have to take a look at my watchdog code, if there is any difference. I don't use Werner I use sparklyballs rebuilt with rar support. But it should be the same
I use this build of sparklyballs: https://registry.hub.docker.co…alls/headless-kodi-helix/
I think that's the same I use. Just took the non-free line out. The watchdog must still have a graphical output that hasn't been silenced. I'll look later
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!