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 Standalone Library Updater for UnRAID

Featured Replies

I had/have the problem with couchpotato also.  And I'm running python 2.7.  Didn't know that might be the cause.  My work around has just been to have XBMC auto library updater installed.  It's been working fine for me.

 

Sent from my SM-N900W8 using Tapatalk

 

 

  • Replies 640
  • Views 166.1k
  • Created
  • Last Reply
  • Author

version 1.3 up since no issues were reported with the beta.

  • 2 weeks later...

I tried 1.3 and I can't get SickBeard to talk to XBMCSalud.

 

When I test the connection I get the following:

 

Test XBMC notice failed to 192.168.1.10:9091

 

In the Sick Beard Error log I get the following:

 

2013-12-31 12:36:44 CP Server Thread-8 :: Failed to detect XBMC version for '192.168.1.10:9091', check configuration and try again.

 

When I re install the old version of the plugin it all works fine.  What info can I post for you ?  What can I look for ?  This is the latest 5.04 of UnRaid

  • Author

i'll try to take a look tomorrow.

First and foremost, thank you for the work you've done on this.

 

Second, I really need to run Gotham as I had already updated to Gotham on my primary and secondary HTPC's.  Now I would love to be able to run Gotham as SaLUD.  I know you're busy, you did the poll and decided to stay with production, but would you be willing to show me a possible path?

 

Thanks!

James

I'm getting a failure to update the XBMC addons database. Anyone seen this before? Any clue what could be wrong? The database is there and permissions are good to go.

 

05:50:53 T:1118154848  NOTICE: Attempting to update the database Addons15 from version 0 to 15
05:50:53 T:1118154848   ERROR: SQL: SQL error or missing database
                                            Query: ALTER TABLE addon add minversion text
05:50:53 T:1118154848   ERROR: Exception updating database Addons15 from version 0 to 15
05:50:53 T:1118154848   ERROR: Error updating database Addons15 from version 0 to 15
05:50:53 T:1118154848   ERROR: HAL: Failed to initialize hal context: (null)
05:50:53 T:1118154848   ERROR: HAL: no Hal context
05:50:53 T:1118154848  NOTICE: Attempting to update the database Addons15 from version 0 to 15
05:50:53 T:1118154848   ERROR: SQL: SQL error or missing database
                                            Query: ALTER TABLE addon add minversion text
05:50:53 T:1118154848   ERROR: Exception updating database Addons15 from version 0 to 15

 

 

  • Author

I'm getting a failure to update the XBMC addons database. Anyone seen this before? Any clue what could be wrong? The database is there and permissions are good to go.

 

05:50:53 T:1118154848  NOTICE: Attempting to update the database Addons15 from version 0 to 15
05:50:53 T:1118154848   ERROR: SQL: SQL error or missing database
                                            Query: ALTER TABLE addon add minversion text
05:50:53 T:1118154848   ERROR: Exception updating database Addons15 from version 0 to 15
05:50:53 T:1118154848   ERROR: Error updating database Addons15 from version 0 to 15
05:50:53 T:1118154848   ERROR: HAL: Failed to initialize hal context: (null)
05:50:53 T:1118154848   ERROR: HAL: no Hal context
05:50:53 T:1118154848  NOTICE: Attempting to update the database Addons15 from version 0 to 15
05:50:53 T:1118154848   ERROR: SQL: SQL error or missing database
                                            Query: ALTER TABLE addon add minversion text
05:50:53 T:1118154848   ERROR: Exception updating database Addons15 from version 0 to 15

 

what version of the plugin are you using?

It might be. I have never been able to recreate the issue but it is possible one of the recent changes will fix it. Exist2resist says couchpotato has issues pushing xbmc updates with python 2.7. While I have never had any problems with it, this version uses 2.6 so it may be fixed. If you try it let me know.

 

This is what I got from digging around on the Couchpotato forum. I stumbled upon a post where someone mentions this.

Having said this I'll be testing v1.3 shortly.

 

Thanks for the recompile with older version of Python.

So I just installed v1.3, same as dalben, notification fails from SickBeard and Couch.

When I go over to the processes in the Main Web interface it does not list the xbmcsalud process.

Doing more testing when I get home.

  • Author

well i just suffered a motherboard failure so i will be preoccupied with that for a while but i will get to it as soon as i can.

Oh man, that sucks, sorry to hear that.

  • Author

so, because of the motherboard issue, i had to wait on fixing 1.3 but i am looking at it again. for those having the notification issue, are you getting it when updating or when doing a test notification? i see dalben is getting it in a test notification but what about others?

 

i get a test notification to go through just fine but on update got the issue. i did not get a chance to even see if it updated regardless of the error though.

I get it on test notification.

 

Also for me, I noticed that when I start salud it does not appear in processes under the Utils tab.

 

xbmc.log:

16:12:23 T:3036735248  NOTICE: -----------------------------------------------------------------------
16:12:23 T:3036735248  NOTICE: Starting XBMC (12.2 Git:20130502-32b1a5e), Platform: Linux (Slackware 13.1.0, 2.6.33.4-smp i686). Built on Nov 19 2013
16:12:23 T:3036735248  NOTICE: special://xbmc/ is mapped to: /usr/local/share/xbmc/
16:12:23 T:3036735248  NOTICE: special://xbmcbin/ is mapped to: /usr/local/lib/xbmc
16:12:23 T:3036735248  NOTICE: special://masterprofile/ is mapped to: /usr/local/share/xbmc/portable_data/userdata
16:12:23 T:3036735248  NOTICE: special://home/ is mapped to: /usr/local/share/xbmc/portable_data
16:12:23 T:3036735248  NOTICE: special://temp/ is mapped to: /usr/local/share/xbmc/portable_data/temp
16:12:23 T:3036735248  NOTICE: The executable running is: /usr/local/lib/xbmc/xbmc-server.bin
16:12:23 T:3036735248  NOTICE: Local hostname: user
16:12:23 T:3036735248  NOTICE: Log File is located: /usr/local/share/xbmc/portable_data/temp/xbmc.log
16:12:23 T:3036735248  NOTICE: -----------------------------------------------------------------------
16:12:24 T:3036735248  NOTICE: No Devices found - retry: 5
16:12:26 T:3036735248  NOTICE: No Devices found - retry: 4
16:12:28 T:3036735248  NOTICE: No Devices found - retry: 3
16:12:30 T:3036735248  NOTICE: No Devices found - retry: 2
16:12:32 T:3036735248  NOTICE: No Devices found - retry: 1
16:12:34 T:3036735248  NOTICE: Found 0 Lists of Devices
16:12:34 T:3036735248  NOTICE: load settings...
16:12:34 T:3036735248  NOTICE: special://profile/ is mapped to: special://masterprofile/
16:12:34 T:3036735248  NOTICE: loading special://masterprofile/guisettings.xml
16:12:34 T:3036735248   ERROR: special://masterprofile/guisettings.xml, Line 0
                                            Failed to open file
16:12:34 T:3036735248   ERROR: Unable to load special://masterprofile/guisettings.xml, creating new special://masterprofile/guisettings.xml with default values
16:12:34 T:3036735248   ERROR: DeleteFile - cant delete file </usr/local/share/xbmc/portable_data/userdata/guisettings.xml>. trying lower case </usr/local/share/xbmc/portable_data/userdata/guisettings.xml>
16:12:34 T:3036735248  NOTICE: Getting hardware information now...
16:12:34 T:3036735248  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
16:12:34 T:3036735248  NOTICE: Loaded playercorefactory configuration
16:12:34 T:3036735248  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
16:12:34 T:3036735248  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
16:12:34 T:3036735248  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
16:12:34 T:3036735248  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
16:12:34 T:3036735248  NOTICE: Default DVD Player: dvdplayer
16:12:34 T:3036735248  NOTICE: Default Video Player: dvdplayer
16:12:34 T:3036735248  NOTICE: Default Audio Player: paplayer
16:12:34 T:3036735248  NOTICE: Disabled debug logging due to GUI setting. Level 0.
16:12:34 T:3036735248  NOTICE: Log level changed to 0
16:12:34 T:3036735248  NOTICE: Loading media sources from special://masterprofile/sources.xml
16:12:35 T:3035306864  NOTICE: Thread CSoftAE start, auto delete: false

  • Author

exist2resist, do you mean it is not showed as a running process anywhere? so it isn't running then?

Under the plugin tab it shows it as running, but it does not show up in the processes.

If I hit start it shows it executing the start up but it never starts.

 

I'm rebooting my server right now, I just removed a couple plugins.

I will attempt starting it again after reboot.

 

EDIT: After reboot still the same thing. If I attempt to start it it fails to start.

Noticed these two lines in the log.

16:12:34 T:3036735248  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
16:12:34 T:3036735248  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)

 

I put advancedsettings in the '/boot/config/plugins/xbmcsalud' directory.

Looks like it's not finding it.

  • Author

doublecheck the naming of it and location. the plugin will check to make sure the file "/boot/config/plugins/xbmcsalud/advancedsettings.xml" exists and copies it to the right place. it doesnt make sure it is valid or not and it will not start if it does not exist.

It is all there, advancedsettings.xml and sources.xml.

 

Where does it copy the file to?

salud.png.77ebd8dc286be319032e0ac524929ca9.png

  • Author

It is all there, advancedsettings.xml and sources.xml.

 

Where does it copy the file to?

 

cp /boot/config/plugins/xbmcsalud/sources.xml $DATADIR/portable_data/userdata/sources.xml
cp /boot/config/plugins/xbmcsalud/advancedsettings.xml $DATADIR/portable_data/userdata/advancedsettings.xml

 

it copies them so that the user can just keep the files in the plugin config folder instead of trying to track them down if they want to make changes. xbmc itself can start without them but the plugin is written so it will not invoke the command to start xbmc if those two files are not found. first it checks for sources.xml then advancedsettings.xml

 

when you try to start xbmc from the webui do you get this message?:

 

Needed file does not exist: advancedsettings.xml

 

check to make sure those files got copied to the right place. i'm not sure why it wouldnt copy them. ive never had any reported issues and it is a simple copy command. maybe a permissions issue is preventing it.

Yup, it copied the files in there.

 

When I start it from WebGUI everything goes fine, it gives me a ...OK at the end of the line.

Starting XBMC SaLUd:  sudo -u nobody XBMC_BIN_HOME=/mnt/system/xbmcsalud/install XBMC_HOME=/mnt/system/xbmcsalud/data /mnt/system/xbmcsalud/install/xbmc-server.bin --no-test --headless -n -p... OK

 

Should I be running this as 'root'?

It happened at test and manually click update xbmc,  it would pop up with the red box saying it failed.

  • Author

Yup, it copied the files in there.

 

When I start it from WebGUI everything goes fine, it gives me a ...OK at the end of the line.

Starting XBMC SaLUd:  sudo -u nobody XBMC_BIN_HOME=/mnt/system/xbmcsalud/install XBMC_HOME=/mnt/system/xbmcsalud/data /mnt/system/xbmcsalud/install/xbmc-server.bin --no-test --headless -n -p... OK

 

Should I be running this as 'root'?

 

if memory serves, it shouldnt matter. i dont even recall if i run it as root or nobody.

  • Author

dalben, could you check your advancedsettings.xml in you plugins folder and the guisettings.xml in $DATADIR/portable_data/userdata/ and see what the values are for <backgroundupdate> or if it doesnt exist at all?

 

there should be one for the video library and one for the audio library.

On the way to work now so I'll update after I have a look later today.

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.