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.

  3. Hi

    New user of unraid (version 6.2.4) only been running my server for about a week and have already had 2 crashes of the web gui. In both instances I was changeing passwords for user accounts when the gui stopped working for me. Looking through the logs I found the following lines.

     

    Nov 27 15:33:34 unraidstation emhttp: shcmd (1136): cp /etc/passwd /etc/shadow /var/lib/samba/private/smbpasswd /boot/config

    Nov 27 15:33:44 unraidstation emhttp: userPasswordConf not found

    Nov 27 15:33:44 unraidstation kernel: emhttp[3577]: segfault at 0 ip 00002b31cf61de2e sp 00007ffe394e6258 error 4 in libc-2.23.so[2b31cf57f000+1c0000]

     

    Havent found many other users with this problem, I found one post where someone suggested that the USB drive could be corrupt, anyone have any suggestions about what could be wrong and how to fix it?

     

    The server is running along fine without the web ui and all my docker (sonarr, plex, transmission, nzbget) containers and 1 virtual machine (sophos UTM 9) is still ok but its a pain to restart the server when I do need to be able to use the ui again (need to buy a license before my trial runs out :)

     

    // Tobias

    unraidstation-diagnostics-20161127-1557.zip