But "daily" will execute it daily (like anacron), even if the Server is not running at your selected time.It will run the script, when the Server is running again.
Posts by Solo0815
-
-
So guys, I'm testing a big change in docker-xbmc-server:
- xbmcdata is now kodidata
- new helper-script: kodiserver-helper with options:
* showlog
* showoldlog
* install
* clear (removes ALL docker containers) execute only, if you know, what you are doing!. Will be improved in a next version.
- kodiserver.conf (OMV can create it, when we have a GUI)
- revomed "--disable-non-free" in Dockerfile
- option to name containers (NAME="kodiserver" by default, you can change it by editing /etc/kodiserver.conf)
- logging to /var/log/kodiserver.logReady for testing! Please report any issues
Tutorial for installing this version here: XBMC-Server (headless/minified) Libraryscanner
@ David:
multi-server support is not in this version. Lets discuss this per Whatsapp or PM, please. -
The same for me:
Code18:29:10 T:140614987769600 DEBUG: [service.watchdog] not watching <smb://192.168.178.21/HD-Dokus/Doku-Serien/>. does not exist 18:29:10 T:140614987769600 DEBUG: [service.watchdog] not watching <smb://192.168.178.21/HD-Dokus/Doku-Filme/>. does not exist 18:29:10 T:140614987769600 DEBUG: [service.watchdog] not watching <smb://HOPPETZ/SerienPool/>. does not exist 18:29:10 T:140614987769600 DEBUG: [service.watchdog] not watching <smb://HOPPETZ/FilmPool-HD/>. does not exist 18:29:10 T:140614987769600 DEBUG: [service.watchdog] not watching <smb://HOPPETZ/Music/test/>. does not exist
You can try it by yourself:
add <loglevel hide="false">1</loglevel> to advancedsettings.xml and view the log with service kodiserver showlog | grep watchdogIt seems, that it is a Kodi-Bug: http://forum.kodi.tv/showthrea…96&pid=1937805#pid1937805 and below
Can this Patch be integrated in Kodi 14.0
https://github.com/xbmc/xbmc/pull/6439/files -
I'll try using "-p 127.0.0.1:$HOSTPORT:$CONTAINERPORT" on the start-command
Ah, OK, missed that one with $KODIPATH
-
-
You mean sources.xml
Haha, I just copied David's Text.Of course sources.xml
docker-xbmc-server/xbmcdata/userdata/addon_data/service.watchdog/settings.xml
docker-xbmc-server/xbmcdata/addons/service.watchdog/service.watchdog/settings.xmlthere are 2 settings.xml file. both should be edited?
Use the one in "userdata" -
Please test this (Beta-)Tutorial here:
XBMC-Server (headless/minified) Libraryscanner -
git clone https://github.com/OpenMediaVault-Plugin-Developers/docker-xbmc-server.git /opt/kodi-server
clones the repo to /opt/kodi-server, so no more "docker-xbmc-server" and it is easier to use in a install script.portable_data is only for internal use IN the docker container, right? This folder will not be created on the Hosts FS?
Edit:
I pushed a new version of the init.d-script to github.Beta-Tutorial to make kodi-server work:
- git clone https://github.com/OpenMediaVault-Plugin-Developers/docker-xbmc-server.git /opt/kodiserver
make sure, it is the same path as above - cd /opt/kodiserver
- Install all files
.kodiserver-helper install - Edit docker-xbmc-server/kodidata/userdata/advancedsettings.xml to your needs. Also supply your sources.xml to that folder!!! Otherwise the watchdog won't work!
Maybe also edit Watchdog Settings: kodidata/userdata/userdata/addon_data/service.watchdog/settings.xml (Those are my settings, they should work for you guys too, so only edit them if you know what you do)
- start container
-
- The DL of packages should start
- If it is finished, check with service kodiserver status and kodiserver-helper showlog if there are any errors
- git clone https://github.com/OpenMediaVault-Plugin-Developers/docker-xbmc-server.git /opt/kodiserver
-
I think there is something like "-P" or so which automatically exposes the ports. (your "--expose $WEBSERVERPORT $UPNPPORT" seems to be more complicated, where would it get those ports?)
These ports are read in the new init.d script. They can easily be used in the "kodistart" functionI also thought about on creating a "Dockerfile" from a "Dockerfile.default". The create-script can use variables to replace the existing Paths in Dockerfile.default and write it as Dockerfile. This can be used with the docker run command to start the container.
-
my kodi.bin is @ 0,3% CPU and 1,7% MEM
check your kodi-log whats going on
service kodiserver showlog should do it -
Ralf, later.
OK, I have pushed the latest changes in "status" to github. should work now.
I'll PM you my Whatsapp6. the Webserver "User" and "PW" should be "kodi" too by default
-
It should output the Webserver Port
Here are a few questions:
- Shouldn't we rename "xbmc" to "kodi"? There is no XBMC anymore but we have KODI now
- My $portable_data is always empty. Can you double-check it please? I think we should set $portable_data to /path/to/docker-xbmc-server/xbmcdata/
- Where should the default installation go to?
- We should remove "EXPOSE" from Dockerfile and use "--expose $WEBSERVERPORT $UPNPPORT" at the command to start the container. Because the user can change the Portnumber in advancedsettings.xml
more info: https://docs.docker.com/reference/run/#expose-incoming-ports (if I read correctly) - Can Dockerfile be used with variables? Then we can remove hardcoded paths:
Code.. --prefix=/opt/kodi-server && \ .. mkdir -p /opt/kodi-server/share/kodi/portable_data/ && \ ..
What do you guys think? -
es ist im Moment noch kein Plugin, wir haben noch keine GUI, aber hier ist eine Anleitung:
XBMC-Server (headless/minified) Libraryscannerbitte dann auch die Datei /etc/init.d/kodiserver anpassen:
-
Shouldn't we rename "xbmc" to "kodi"?
There is no XBMC anymorebut we have KODI now
-
Ich check morgen die Änderungen ein. Dazu noch ein kleines script, mit dem man den Server einfach starten und stoppen kann.
-
-
The watchdog-addon is not working:
Code
Display More16:44:04 T:140192126072576 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.UnboundLocalError'> Error Contents: local variable 'progress' referenced before assignment 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 236, in main progress.close() UnboundLocalError: local variable 'progress' referenced before assignment -->End of Python script error report<--
-
If someone else wants to know:
The docker containers are located in /var/lib/docker
To remove all docker containers and start from scratch:
source: https://coderwall.com/p/ewk0mq…ove-all-docker-containersmore commands: http://jimhoskins.com/2013/07/…tagged-docker-images.html
edit:
Hooray it works!Infos:
kodi.log: /path/to/docker-xbmc-server/xbmcdata/temp/kodi.log
docker log: /var/log/docker.log -
yes, and delete the cron job
Haven't had time to look into it -
docker service was running.
I started from (docker-)scratch yesterday and deleted every /root/docker, xbmc* or kodi* stuff. Reinstalled docker and executed the commands. Then docker starts something that looks like kodi.bin, but it didn't DL and compiled it. Where is the binary (or the whole container) located? In "ps" it is /opt/kodi-helix-headless/, but I haven't got any folders in /opt? WTF?
There must be a setting, container or file somewhere I missed :o