sparklyballs Posted September 19, 2016 Share Posted September 19, 2016 I updated this today and still get the following in the log: ------------------------------------- _ _ _ | |___| (_) ___ | / __| | |/ _ \ | \__ \ | | (_) | |_|___/ |_|\___/ |_| Brought to you by linuxserver.io We gratefully accept donations at: https://www.linuxserver.io/index.php/donations/ ------------------------------------- GID/UID ------------------------------------- User uid: 99 User gid: 100 ------------------------------------- [cont-init.d] 10-adduser: exited 0. [cont-init.d] 30-config: executing... [cont-init.d] 30-config: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. mkdir failed on directory /var/cache/samba: Permission denied mkdir failed on directory /var/cache/samba: Permission denied That permission denied error keeps going on and on and on... Anyone else seeing this or is it just my system ? Are you by any chance using protected shares ? Quote Link to comment
dalben Posted September 20, 2016 Share Posted September 20, 2016 I updated this today and still get the following in the log: ------------------------------------- _ _ _ | |___| (_) ___ | / __| | |/ _ \ | \__ \ | | (_) | |_|___/ |_|\___/ |_| Brought to you by linuxserver.io We gratefully accept donations at: https://www.linuxserver.io/index.php/donations/ ------------------------------------- GID/UID ------------------------------------- User uid: 99 User gid: 100 ------------------------------------- [cont-init.d] 10-adduser: exited 0. [cont-init.d] 30-config: executing... [cont-init.d] 30-config: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. mkdir failed on directory /var/cache/samba: Permission denied mkdir failed on directory /var/cache/samba: Permission denied That permission denied error keeps going on and on and on... Anyone else seeing this or is it just my system ? Are you by any chance using protected shares ? Don't think so Though I'm not too sure what you mean. Quote Link to comment
zoggy Posted September 20, 2016 Share Posted September 20, 2016 fix had work, saw it seg fault again kodi just restarts over and over and crashing.. really annoying as I used this as my main instance to update media.. looking at the kodi forums I see they posted about this: http://forum.kodi.tv/showthread.php?tid=290259&pid=2411449#pid2411449 Looks like alpine linux(new default docker image) in that docker, which uses the musl libc. Musl is not supported for kodi, so I suggest rebuilding that docker container against an ubuntu image or switch to glib that doesn't explain exactly the same issue on an ubuntu based image of kodi-headless Jarvis. http://lime-technology.com/forum/index.php?topic=42439.msg493789#msg493789 ^^^ that image is ubuntu based, the only thing keeping it up is the --restart=always option in the run command. take that out and the whole container crashes with the same problem. any update? per kodi dev.. ask does it segfault without the headless 'hack' ? Quote Link to comment
sparklyballs Posted September 20, 2016 Share Posted September 20, 2016 fix had work, saw it seg fault again kodi just restarts over and over and crashing.. really annoying as I used this as my main instance to update media.. looking at the kodi forums I see they posted about this: http://forum.kodi.tv/showthread.php?tid=290259&pid=2411449#pid2411449 Looks like alpine linux(new default docker image) in that docker, which uses the musl libc. Musl is not supported for kodi, so I suggest rebuilding that docker container against an ubuntu image or switch to glib that doesn't explain exactly the same issue on an ubuntu based image of kodi-headless Jarvis. http://lime-technology.com/forum/index.php?topic=42439.msg493789#msg493789 ^^^ that image is ubuntu based, the only thing keeping it up is the --restart=always option in the run command. take that out and the whole container crashes with the same problem. any update? per kodi dev.. ask does it segfault without the headless 'hack' ? it won't run in the docker environment without the headless "hack" or a frame buffer etc. someone in the linuxserver.io irc channel is running a container with xvfb Quote Link to comment
talkto_menow Posted September 28, 2016 Share Posted September 28, 2016 I'm having problem with this docker. It shows that is running, but I cannot access it in browser. It seems to be installed properly and it is running. I specified Version = 16 in Environment Variables. I edited advancedsettings and copied sources. Kodi headless stopped updating at some point [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 10-adduser: executing... ------------------------------------- _ _ _ | |___| (_) ___ | / __| | |/ _ \ | \__ \ | | (_) | |_|___/ |_|\___/ |_| Brought to you by linuxserver.io We gratefully accept donations at: https://www.linuxserver.io/index.php/donations/ ------------------------------------- GID/UID ------------------------------------- User uid: 99 User gid: 100 ------------------------------------- [cont-init.d] 10-adduser: exited 0. [cont-init.d] 30-config: executing... [cont-init.d] 30-config: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] syncing disks. [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 10-adduser: executing... ------------------------------------- _ _ _ | |___| (_) ___ | / __| | |/ _ \ | \__ \ | | (_) | |_|___/ |_|\___/ |_| Brought to you by linuxserver.io We gratefully accept donations at: https://www.linuxserver.io/index.php/donations/ ------------------------------------- GID/UID ------------------------------------- User uid: 99 User gid: 100 ------------------------------------- [cont-init.d] 10-adduser: exited 0. [cont-init.d] 30-config: executing... [cont-init.d] 30-config: exited 0. [cont-init.d] done. [services.d] starting services I do not think is browser related. I tried opening webUI in IE and Firefox and it was not successful. I changed permissions too. Quote Link to comment
CHBMB Posted September 28, 2016 Share Posted September 28, 2016 As far as I'm aware due to a bug causing segfaults that affects ALL docker containers of kodi-headless (not just our versions) this currently isn't working. The posts above explain. Quote Link to comment
mac4685 Posted September 28, 2016 Share Posted September 28, 2016 I'm get this spammed in the log. Any ideas? mkdir failed on directory /var/cache/samba: Permission denied mkdir failed on directory /var/cache/samba: Permission denied mkdir failed on directory /var/cache/samba: Permission denied mkdir failed on directory /var/cache/samba: Permission denied mkdir failed on directory /var/cache/samba: Permission denied mkdir failed on directory /var/cache/samba: Permission denied mkdir failed on directory /var/cache/samba: Permission denied mkdir failed on directory /var/cache/samba: Permission denied mkdir failed on directory /var/cache/samba: Permission denied mkdir failed on directory /var/cache/samba: Permission denied mkdir failed on directory /var/cache/samba: Permission denied mkdir failed on directory /var/cache/samba: Permission denied mkdir failed on directory /var/cache/samba: Permission denied Quote Link to comment
CHBMB Posted September 28, 2016 Share Posted September 28, 2016 Well you could read the post above... EDIT: But specific to those messages, are you using protected samba shares? Quote Link to comment
CHBMB Posted September 28, 2016 Share Posted September 28, 2016 I'm having problem with this docker. It shows that is running, but I cannot access it in browser. It seems to be installed properly and it is running. I specified Version = 16 in Environment Variables. I edited advancedsettings and copied sources. [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 10-adduser: executing... ------------------------------------- _ _ _ | |___| (_) ___ | / __| | |/ _ \ | \__ \ | | (_) | |_|___/ |_|\___/ |_| Brought to you by linuxserver.io We gratefully accept donations at: https://www.linuxserver.io/index.php/donations/ ------------------------------------- GID/UID ------------------------------------- User uid: 99 User gid: 100 ------------------------------------- [cont-init.d] 10-adduser: exited 0. [cont-init.d] 30-config: executing... [cont-init.d] 30-config: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] syncing disks. [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 10-adduser: executing... ------------------------------------- _ _ _ | |___| (_) ___ | / __| | |/ _ \ | \__ \ | | (_) | |_|___/ |_|\___/ |_| Brought to you by linuxserver.io We gratefully accept donations at: https://www.linuxserver.io/index.php/donations/ ------------------------------------- GID/UID ------------------------------------- User uid: 99 User gid: 100 ------------------------------------- [cont-init.d] 10-adduser: exited 0. [cont-init.d] 30-config: executing... [cont-init.d] 30-config: exited 0. [cont-init.d] done. [services.d] starting services I do not think is browser related. I tried opening webgui in IE and Firefox and it was not successful. I changed permissions too. Regardless of the segfault problem, read the first post regarding versioning, and how to pull specific versions. Quote Link to comment
mac4685 Posted September 28, 2016 Share Posted September 28, 2016 Well you could read the post above... EDIT: But specific to those messages, are you using protected samba shares? I'm not using protected samba shares but I tried directing the version to Jarvis by using "linuxserver/kodi-headless:Jarvis" in the repository directory and that seems to have fixed the log spamming. Quote Link to comment
chem Posted September 29, 2016 Share Posted September 29, 2016 Before I post my little problem I'd like to thank nearly everyone in this thread for all the knowledge and information that has been shared! Im running a few HTPC's with either Android & Kodi or OpenELEC installed. I tried to "centralise" the libraries using Emby but it just didn't work right. So I've literally spent the guts of 24 hours of the past couple of days getting mysql working and I think I've just about got it nailed but It seems i'm falling at the last hurdle. I'm trying to get Sonarr to notify Kodi-headless when it downloads a show but I can't seem to get it working, I get the error Unable to send test message when hitting test or save (see attachments) This is the advancedsettings.xml (that I have both on my cache drive in the kodi folder and in the userdata folder of my kodi HTPC). I've also copied the sources.xml and passwords.xml over to the config folder. <videodatabase> <type>mysql</type> <!-- don't change this value --> <host>192.168.0.123</host> <!-- change this to the IP address of your mysql/mariadb server --> <port>3306</port> <!-- change this to the port of your mysql/mariadb server --> <user>kodi</user> <!-- change this to the user for your database, not root --> <pass>kodi</pass> <!-- change this to the password for your database --> </videodatabase> <musicdatabase> <type>mysql</type> <!-- don't change this value --> <host>192.168.0.123</host> <!-- change this to the IP address of your mysql/mariadb server --> <port>3306</port> <!-- change this to the port of your mysql/mariadb server --> <user>kodi</user> <!-- change this to the user for your database, not root --> <pass>kodi</pass> <!-- change this to the password for your database --> </musicdatabase> Can some kind soul please point me in the right direction before I literally go insane?! Cheers! Quote Link to comment
CHBMB Posted September 29, 2016 Share Posted September 29, 2016 If you read some of the previous posts you'll realise that this isn't currently working with any degree of reliability. Quote Link to comment
chem Posted September 29, 2016 Share Posted September 29, 2016 Haha I've read through all 18 pages here, and any other page with anything to do with MariaDB/mysql/kodi/headless etc etc. Just seems strange that my Kodi HTPC is now using the headless database but Sonarr can't connect. If Sonarr won't update it then this has all been for naught! Quote Link to comment
Squid Posted September 29, 2016 Share Posted September 29, 2016 With Kodi continually having problems running headless (kodi's issue, not LSIO's), the easiest solution by far is to simply run a libreelec VM with 512M memory, and no passthrough. It works perfectly with VNC, and then you also have the additional bonus of being able to easily run other scrapers instead of the stock ones. Quote Link to comment
CHBMB Posted September 29, 2016 Share Posted September 29, 2016 Haha I've read through all 18 pages here, and any other page with anything to do with MariaDB/mysql/kodi/headless etc etc. Just seems strange that my Kodi HTPC is now using the headless database but Sonarr can't connect. If Sonarr won't update it then this has all been for naught! If you've read all 18 pages how in the name of all that is holy did you miss all the talk on the seg fault issue? Quote Link to comment
chem Posted September 29, 2016 Share Posted September 29, 2016 Soz CHBMB. In my haste to get mysqyl/mariadb running i glanced over those seg fault posts once I saw my Kodi HTPC was working, my bad! Thanks Squid, that sounds like a great alternative! Going to look into it now Quote Link to comment
CHBMB Posted September 29, 2016 Share Posted September 29, 2016 Soz CHBMB. In my haste to get mysqyl/mariadb running i glanced over those seg fault posts once I saw my Kodi HTPC was working, my bad! Thanks Squid, that sounds like a great alternative! Going to look into it now To be honest it made me laugh, no need to apologise... Quote Link to comment
joelones Posted September 29, 2016 Share Posted September 29, 2016 Haha I've read through all 18 pages here, and any other page with anything to do with MariaDB/mysql/kodi/headless etc etc. Just seems strange that my Kodi HTPC is now using the headless database but Sonarr can't connect. If Sonarr won't update it then this has all been for naught! Maybe I'm missing something, but it seems you are inputting "kodi" as a username in sonarr, correct? First off, the default user/pass in the advancedsettings.xml is xbmc: <webserverpassword>xbmc</webserverpassword> <webserverusername>xbmc</webserverusername> Secondly, concerning the seg faults, I got the docker to stop crashing by copying Addons20.db from my 16.1 Mac OS X box (perhaps you can get it from another build) and set the below to 2 in guisettings.xml to prevent addon updates: <addonupdates>2</addonupdates> It's worth a try before exploring other alternatives. However, I do like the VM option as well. Quote Link to comment
CHBMB Posted September 29, 2016 Share Posted September 29, 2016 Haha I've read through all 18 pages here, and any other page with anything to do with MariaDB/mysql/kodi/headless etc etc. Just seems strange that my Kodi HTPC is now using the headless database but Sonarr can't connect. If Sonarr won't update it then this has all been for naught! Maybe I'm missing something, but it seems you are inputting "kodi" as a username in sonarr, correct? First off, the default user/pass in the advancedsettings.xml is xbmc: <webserverpassword>xbmc</webserverpassword> <webserverusername>xbmc</webserverusername> Secondly, concerning the seg faults, I got the docker to stop crashing by copying Addons20.db from my 16.1 Mac OS X box (perhaps you can get it from another build) and set the below to 2 in guisettings.xml to prevent addon updates: <addonupdates>2</addonupdates> It's worth a try before exploring other alternatives. However, I do like the VM option as well. He posted his advancedsettings.xml and he's changed it to kodi.... Quote Link to comment
chem Posted September 29, 2016 Share Posted September 29, 2016 Yeah. Have been using XBMC for years now but since the name change I decided to keep it simple and keep everything Kodi. Have LibreElec VM up and running already and can see my videos over UPNP! I was a little concerned that using UPNP would just lump all the video into a folder (accessible thru videos, or so I had read) but I can see all my movies/tv shows/recently added episodes exactly as if I had added the shares directly. All achieved within about an hour! Thanks again Squid, my sanity has now returned. Quote Link to comment
johnodon Posted September 30, 2016 Share Posted September 30, 2016 With Kodi continually having problems running headless (kodi's issue, not LSIO's), the easiest solution by far is to simply run a libreelec VM with 512M memory, and no passthrough. It works perfectly with VNC, and then you also have the additional bonus of being able to easily run other scrapers instead of the stock ones. +1 Squid...are you using Kodi (addon) to scrape? I currently use Emby but wouldn't be opposed to moving this function back to Kodi. Is there one on particular you like? John Quote Link to comment
Squid Posted September 30, 2016 Share Posted September 30, 2016 Nope. Just use universal movie scraper. But any additional scrapers are a pita as I recall to get working with a headless install. IMO much easier to set up a libreelec VM and have zero issues rather than banging my head against the wall. Just some more overhead in RAM required (512M) Now if Kodi ever officially supported headless than the situation might be different. Sent from my LG-D852 using Tapatalk Quote Link to comment
snuffy47 Posted October 1, 2016 Share Posted October 1, 2016 Hello Going through some hicups with my setup and noticed an Error in the log after start up Its repeating every few seconds Oct 1 08:07:30 Tower kernel: kodi.bin[12111]: segfault at 7a8 ip 000055e25a7dc277 sp 00002b5c95e9f750 error 4 in kodi.bin[55e25a060000+201c000] Just wondering if I need to action this or not. Quote Link to comment
CHBMB Posted October 1, 2016 Share Posted October 1, 2016 Hello Going through some hicups with my setup and noticed an Error in the log after start up Its repeating every few seconds Oct 1 08:07:30 Tower kernel: kodi.bin[12111]: segfault at 7a8 ip 000055e25a7dc277 sp 00002b5c95e9f750 error 4 in kodi.bin[55e25a060000+201c000] Just wondering if I need to action this or not. Read the previous posts. Quote Link to comment
johnodon Posted October 1, 2016 Share Posted October 1, 2016 Maybe a not should be put at the top of the OP until this gets fixed. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.