Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

XBMC server mode in unraid

Featured Replies

  • Author

apologies, i left out a few important details. ive had an exhausting last few days. the port is for the xbmc webserver but at the moment it is not functional as far as the plugin is concerned. it doesnt do anything. advancedsettings.xml and guisettings.xml will need to be created manually for the time being and placed in '/portable_data/userdata/' within wherever you install xbmc. as for the segfaults, this has to be included in the guisettings.xml:

 

  <videolibrary>
      <backgroundupdate>true</backgroundupdate>
  </videolibrary>

 

i also copied the shares.xml from my htpc as im sure it will need it. xbmc is supposed to create everything in the portable_data folder but it doesnt seem to. probably because of something i disabled during compiling to lower the memory usage. which is fine, i will just have to include the defaults in the package. for the time being just copying it from another installation should be ok for testing.

also if your shares are on nfs the library wont update unless libnfs is install. i have a version made for slackware 13.37 on my github:

 

https://github.com/bobbintb/Slackware-13.37-libs

 

i plan on including it by default sice im sure there are a lot of people using unraid that have their shares on nfs, myself included.

  • Replies 80
  • Views 22.8k
  • Created
  • Last Reply

No worries. I understand about crazy days. You've gotten this pretty far along in what I would consider a short time.

 

This goes in guisettings.xml not advancedsettings.xml? I put it in advancedsettings.xml. I'll change it and see what happens.

 

...as for the segfaults, this has to be included in the guisettings.xml:

 

  <videolibrary>
      <backgroundupdate>true</backgroundupdate>
  </videolibrary>

 

 

  • Author

hmmm. now that you mention it, i did notice two separate posts in the xbmc forum about the segfault issue. one says to put it in guisettings.xml and the other says advancedsettings.xml. im almost certain i put it in the guisettings.xml. i wonder if it works either way. regardless, i will have this setting in advancedsettings.xml when the plugin is complete. but without that setting it will try to output the 'updating library' notification to the gui. since there is none it crashes. i should have another test version up shortly that will fix the port setting and add the settings files.

 

EDIT:

https://mega.co.nz/#!n5gBURgJ!ZDciuhdUaL8_IweJg1Zva1ANlANXozVEZL7j3s_fZRs

hmmm. now that you mention it, i did notice two separate posts in the xbmc forum about the segfault issue. one says to put it in guisettings.xml and the other says advancedsettings.xml. im almost certain i put it in the guisettings.xml. i wonder if it works either way. regardless, i will have this setting in advancedsettings.xml when the plugin is complete. but without that setting it will try to output the 'updating library' notification to the gui...

Sounds plausible as to why I get a response from the Sickbeard test, but then it crashes. I'll try it in the guisettings.xml.

 

EDIT:

I moved those to guisettings.xml and then I removed the notification from Sickbeard and left the update command. The test noticed wroked and XBMC did not crash. From what I understand you can put anything from guisettings.xml into advancedsettings.xml. Whatever is in advancedsettings.xml bascially overrides guisettings.xml when it loads. Theoretically then you could put the setting in either file, but advancedsettings.xml "should" be the better file as then you only have to edit that one file.

 

EDIT2:

I moved the background update settings back into advancedsettings.xml and as long as I keep the notification setting in SB off, XBMC does not crash. So it definitely must be anything that sends a notification cause it to crash. I can also crash it by accessing the webserver in a browser and then try to view my TV library.

The segfaults seem pretty consistent. I mostly see this one:

May 21 17:35:01 Tower crond[1092]: exit status 1 from user root /usr/lib/sa/sa1 2 1 & >/dev/null 
May 21 17:35:01 Tower kernel: crond[23285]: segfault at b77ea51c ip b77ea51c sp bf88af34 error 15 in ld-2.11.1.so[b77ea000+1000]

I get this every minute now, with or without XBMC running.

 

and less often this one:

May 21 17:15:56 Tower kernel: xbmc-server[17117]: segfault at b1f00ffc ip b64bb373 sp b1f01000 error 6 in libc-2.13.so[b644e000+15c000]

  • Author

From what I understand you can put anything from guisettings.xml into advancedsettings.xml. Whatever is in advancedsettings.xml bascially overrides guisettings.xml when it loads.

 

that's right, now i remember. but, yea, advanced setting is where is should go.

 

are you able to update the library without it crashing? i'll have to look at the sickbeard notification stuff. im not too familiar with it. probably a similar issue. running xbmc is headless mode is still very rudimentary. it will probably be a while before it is out of a it-will-work-as-long-as-you-don't-do-this sort of state.

I haven't tried to update the library as of yet. I wasn't sure if keeping XBMC running is okay if it is causing the segfaults.

 

Sent from my SPH-D710 using Tapatalk 2

 

 

guys libs from slackware 13.37 are not ok - core of unraid is on Slackware 13.1 (glibc and other important stuffs) this happens segfaults, use from Slackware 13.1 ;)

 

This

exit status 1 from user root /usr/lib/sa/sa1 2 1 & >/dev/null

segfault at b1f00ffc ip b64bb373 sp b1f01000 error 6 in libc-2.13.so[b644e000+15c000]

 

Becuase you replace glibc !!!! many apps after that will be alwayes crash like service in system example. cron ;)

  • Author

i thought unraid was built on 13.37. is it on 13.1? if so i could just rebuild it on 13.1. i dont know if that is the cause of the segfault issue but regardless, i would rather compile it on the proper version.

no, still is on 13.1 (they just update kernel) maybe when provide 64bit version will be on 14.0 but for now is on 13.1

 

im not read all topic, im not sure what you want make it, XBMC-server - just for keeping updated libraries ?

  • Author

yea, the sole purpose is keep the library updated. many people dont have an instance of xbmc on all the time to receive updates from sickbeard immediately. this can run along side sickbeard and keep the library constantly updated.

  • Author

this is how i have mine set up and i havent had any crashes. does anyone know what "notify on download" does? how is it different from "update library"? if all it does is send a message to the gui then i bet that is why there are segfault errors. the gui is disabled to make it headless. however if this is the case, i will try to find a way to get xbmc to ignore it so that it will not crash.

captureesu.png

You are correct, it only sends a notification that a download has happened. That is how I set mine up, but I still get those segfaults. It appears we know why now based on the previous posts.

  • Author

anyone getting this error?

 

May 22 07:25:23 Tower kernel: Jobworker[12159]: segfault at 0 ip   (null) sp b41c560c error 14 in xbmc-server[8048000+6000]
May 22 07:25:45 Tower sudo:     root : TTY=unknown ; PWD=/usr/local/xbmcsalud ; USER=root ; COMMAND=/usr/local/xbmcsalud/xbmc-server --no-test --nolirc -p

 

everything was fine but now i am getting this consistently after a few seconds of starting it. even after rolling things back.

 

if not try this and see if you get them:

 

https://mega.co.nz/#!bw4VlRCT!QzVYWGDiWkWTLmlezw8wkToq1VZ9_jj_2tl63rHTkRk

Is that link built from the same Slackware as Unraid now? I can give it a test tonight.

  • Author

no, it is the same one. i havent finished recompiling it for slackware 13.1 and i wasnt sure if i was going to since it was working fine. now im not so sure. hopefully it is just something wrong with my setup.

 

the one i just posted is a more complete plugin. it fixes a few dependency issues and bugs.

I'll give it a test tonight and let you know.

Thanks for the work on this guys. If you get this running, then it will be worth for me to just transition the DB to mysql on my unraid box.

Thanks for the work on this guys. If you get this running, then it will be worth for me to just transition the DB to mysql on my unraid box.

 

Worth is alwayes ;) because normal sql in XBMC is Sloooowwwwww :), on mysql library works much more faster, scraping, browsing etc. - everything ;)

so i good use not only for centralize ;)

 

btw. im also compile xbmc-server on my environment :)

Check your free memory.

  • Author

i checked the free memory and it seemed a little low. i increased it from 1gb to 2 gb. a lot more free but still the same issue. i have 2 test systems and it is only happening on the virtual one. and this is just recently, after i decided to test it on a fresh system. i wonder if there is a dependency issue, even though it doesnt report it.

 

EDIT: im pretty sure it is a dependency issue. on a vanilla system with only xbmc and mysql installed i get that segfault. when i install all of the unplugged plugins (but dont enable any of them) it runs fine. i think there is a package in one of those plugins i need to add. that being said, i think i am close to an initial beta release. this issue will be easier to solve if more people are using it.

ok i have ready XBMC compiled under slack 13.1 :)

 

-----------------------

XBMC built successfully

-----------------------

 

but later i will be test

(also im recomlied some depends packages for 13.1)

 

 

...this issue will be easier to solve if more people are using it.

I run a lot of the unplugged plugins as well. My test last night got delayed as I just ran out of time. I am getting ready to test .6 of your plugin in a few moments. I'm looking forward to what piotrasd has compiled as well. Hopefully you two can combine your efforts.

question to other guys wich compiling xbmc-server:

do you use for get source xbmc: git clone https://github.com/xbmc/xbmc.git ???

 

because if after that you dont make

git checkout Frodo

you will be have Gotham version ;)

  • Author

...this issue will be easier to solve if more people are using it.

I run a lot of the unplugged plugins as well. My test last night got delayed as I just ran out of time. I am getting ready to test .6 of your plugin in a few moments. I'm looking forward to what piotrasd has compiled as well. Hopefully you two can combine your efforts.

 

If you want to wait a bit, I am just about to post a new one. I am definitely interested in what piotrasd is working on. Although I haven't had any issue related to using 13.37 packages on UnRAID. I did notice most of the packages in Influencer's plug-ins use 13.37 packages.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.