Jump to content

tjohansson

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by tjohansson

  1. On 1/22/2020 at 4:11 PM, zoggy said:

    found this docker last night: https://hub.docker.com/r/celedhrim/kodi-server

    he used to be one of the guys that did the kodi-headless patch.  

    he complained about how it wasnt fun to maintain the patch and that the increasing build times was exceeding the allowed time on dockerhub which was causing its own problems.  he switched to doing fake Xorg ( with XPRA) and pulseaudio ( kodi complain is no sound card/daemon)

    no more patch to maintain, uses kodi ppa ubuntu image, which is much faster to build. but does result in more cpu/memory (as it has to waste cycles to do the full interface) and does rely on the ppa images (which only matters if kodi removed old images and you wanted to build an older version)

     

    so far its working just fine for me.

    sonarr talks to it and I see it updates everything as a normal linux box.

     

    to set it up I just installed the docker via CA docker (search for: kodi-server)

    since I wanted to get latest leia: celedhrim/kodi-server:leia

    added path 'data' and set it to my old kodi-headless dir: /mnt/cache/appdata/.kodi

    added 'port': 8089 (he exposes this one instead of the default 8080 --- so update advancedsettings webserver port to 8089 (or change mapping))

    added 'port': 9090 (so websocket to the docker works)

     

    Trying to get this solution to work, but im a total noob so doing something wrong. I have not added a 'data' path, do I need to?

    I have managed to get and install the docker image adding port 8089 and 9090, copied over my advancedsettings.xml to the following path

     

    docker cp /mnt/user/upload/advancedsettings.xml b393c2965ef9:/usr/share/kodi/userdata/advancedsettings.xml

     

    only getting connection refused trying to connect to the server on port 8089, also tried copying the file to another path but then the docker wont start anymore

     

    docker cp /mnt/user/upload/advancedsettings.xml b393c2965ef9:/usr/share/kodi/portable_data/userdata/advancedsettings.xml

     

    My advancedsettings.xml looks like this

     

    <advancedsettings>
      <videodatabase>
        <type>mysql</type>
        <host>192.168.0.250</host>
        <port>3306</port>
        <user>kodi</user>
        <pass>kodi</pass>
      </videodatabase> 
      <musicdatabase>
        <type>mysql</type>
        <host>192.168.0.250</host>
        <port>3306</port>
        <user>kodi</user>
        <pass>kodi</pass>
      </musicdatabase>
      <videolibrary>
        <importwatchedstate>true</importwatchedstate>
        <importresumepoint>true</importresumepoint>
      </videolibrary>
      <services>
        <esallinterfaces>true</esallinterfaces>
        <webserver>true</webserver>
        <zeroconf>true</zeroconf>
        <port>8089</port>
       </services>
    </advancedsettings>

     

    Also should the docker be running in bridged or host mode? I have tried both but not working in either.

  2. I have got this mostly working but when setting up a smarthost to use (my isp requires this) the mailserver just ignores the setting and still try to send the mails out on port 25 instead of 465 that I have specified. Anyone know how to fix this?

     

    Also when trying to fix this issue I read on poste.io page that there should be logs for the smtp stuff in the following location, but there is no qpsmtpd folder in the logs dir.

    /your-data-dir/logs/qpsmtpd - logs from all smtpd communications

    Any help would be greatly appreciated.

×
×
  • Create New...