LMS-Cast icon indicating copy to clipboard operation
LMS-Cast copied to clipboard

Since upgrade to 9.0.0, Castbridge and UPnPBridge are both failing with the same message

Open murcoil opened this issue 1 year ago • 9 comments

I upgraded my server to LMS 9.0.0 on 30 Nov (previously on v8.5.2, all via docker on debian), and soon noticed that none of my Chromecast or UPnP players were showing up anymore (several Google speakers and a smart TV).

In the server settings, both plugins would show up as either started or not running depending on the moment. Logs for both are showing similar messages:

CastBridge:

Restarting Squeeze2cast after load failure or crash: /config/cache/InstalledPlugins/Plugins/CastBridge/Bin/squeeze2cast-linux-x86_64 -Z -I -f /config/logs/castbridge.log -x /config/prefs/castbridge.xml
[18:04:07.790] main:1349 Starting squeeze2cast version: v3.3.9 (Apr  2 2024 @ 16:11:59)
[18:04:07.791] Start:1047 Cannot load SSL libraries
[18:04:07.791] main:1383 Cannot start, exiting

Restarting Squeeze2cast after load failure or crash: /config/cache/InstalledPlugins/Plugins/CastBridge/Bin/squeeze2cast-linux-x86_64 -Z -I -f /config/logs/castbridge.log -x /config/prefs/castbridge.xml
[18:04:11.494] main:1349 Starting squeeze2cast version: v3.3.9 (Apr  2 2024 @ 16:11:59)
[18:04:11.495] Start:1047 Cannot load SSL libraries
[18:04:11.495] main:1383 Cannot start, exiting

[hundreds of times]

UPnPBridge:

[18:08:45.930] Start:1510 Cannot load SSL libraries
[18:08:45.930] main:1864 Cannot start, exiting

Restarting Squeeze2upnp after load failure or crash: /config/cache/InstalledPlugins/Plugins/UPnPBridge/Bin/squeeze2upnp-linux-x86_64 -Z -I -x /config/prefs/upnpbridge.xml

Restarting Squeeze2upnp after load failure or crash: /config/cache/InstalledPlugins/Plugins/UPnPBridge/Bin/squeeze2upnp-linux-x86_64 -Z -I -x /config/prefs/upnpbridge.xml

Restarting Squeeze2upnp after load failure or crash: /config/cache/InstalledPlugins/Plugins/UPnPBridge/Bin/squeeze2upnp-linux-x86_64 -Z -I -f /config/logs/upnpbridge.log -x /config/prefs/upnpbridge.xml
[18:09:15.945] main:1831 Starting squeeze2upnp version: v3.3.9 (Apr  5 2024 @ 22:09:43)
[18:09:15.945] main:1834 

!!!!!!!!!!!!!!!!!! ERROR LOADING CONFIG FILE !!!!!!!!!!!!!!!!!!!!!

[18:09:15.946] Start:1510 Cannot load SSL libraries
[18:09:15.946] main:1864 Cannot start, exiting

Restarting Squeeze2upnp after load failure or crash: /config/cache/InstalledPlugins/Plugins/UPnPBridge/Bin/squeeze2upnp-linux-x86_64 -Z -I -x /config/prefs/upnpbridge.xml

Restarting Squeeze2upnp after load failure or crash: /config/cache/InstalledPlugins/Plugins/UPnPBridge/Bin/squeeze2upnp-linux-x86_64 -Z -I -x /config/prefs/upnpbridge.xml

Restarting Squeeze2upnp after load failure or crash: /config/cache/InstalledPlugins/Plugins/UPnPBridge/Bin/squeeze2upnp-linux-x86_64 -Z -I -f /config/logs/upnpbridge.log -x /config/prefs/upnpbridge.xml
[18:09:45.953] main:1831 Starting squeeze2upnp version: v3.3.9 (Apr  5 2024 @ 22:09:43)
[18:09:45.953] main:1834 

!!!!!!!!!!!!!!!!!! ERROR LOADING CONFIG FILE !!!!!!!!!!!!!!!!!!!!!

Happy to provide whatever other diagnostics are useful.

murcoil avatar Dec 04 '24 00:12 murcoil

I ran into this message while doing some testing, and switching to the -static binary fixed it for me? Not sure the underlying cause, but that might at least help you move forward...

scbash avatar Dec 22 '24 21:12 scbash

Oh wow, that did it! Thanks for the help.

On Sun, Dec 22, 2024, 3:09 PM Stephen Bash @.***> wrote:

I ran into this message while doing some testing, and switching to the -static binary fixed it for me? Not sure the underlying cause, but that might at least help you move forward...

— Reply to this email directly, view it on GitHub https://github.com/philippe44/LMS-Cast/issues/40#issuecomment-2558600826, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVH2NBYFA2JDHD2NDDGSZT2G4TB7AVCNFSM6AAAAABS65RVAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGYYDAOBSGY . You are receiving this because you authored the thread.Message ID: @.***>

murcoil avatar Dec 25 '24 15:12 murcoil

Same issue here.

thenktor avatar Jan 31 '25 12:01 thenktor

I ran into this message while doing some testing, and switching to the -static binary fixed it for me? Not sure the underlying cause, but that might at least help you move forward...

Do you have a process for this? I'm on docker

wlau2929 avatar Jan 31 '25 23:01 wlau2929

Process for setting -static? It's just in the plugin options, not too far under the hood.

Server Settings > Plugins > Chromecast Bridge > Select Binary dropdown > pick the one that ends with -static.

On Fri, Jan 31, 2025, 5:24 PM wlau2929 @.***> wrote:

I ran into this message while doing some testing, and switching to the -static binary fixed it for me? Not sure the underlying cause, but that might at least help you move forward...

Do you have a process for this? I'm on docker

— Reply to this email directly, view it on GitHub https://github.com/philippe44/LMS-Cast/issues/40#issuecomment-2628559013, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVH2NAQKTEBBQ3IVU47MQL2NQAZ5AVCNFSM6AAAAABS65RVAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMRYGU2TSMBRGM . You are receiving this because you authored the thread.Message ID: @.***>

murcoil avatar Feb 01 '25 01:02 murcoil

Process for setting -static? It's just in the plugin options, not too far under the hood.

Server Settings > Plugins > Chromecast Bridge > Select Binary dropdown > pick the one that ends with -static.

Thanks. I was able to set up the static binary for upnp bridge, but I can't get into the settings for the Chromecast bridge to do the same.

wlau2929 avatar Feb 01 '25 02:02 wlau2929

I think maybe I caught it when it was between failures? I assume there's a config file someplace you could directly edit but I'm not sure where that would be.

On Fri, Jan 31, 2025, 8:45 PM wlau2929 @.***> wrote:

Process for setting -static? It's just in the plugin options, not too far under the hood.

Server Settings > Plugins > Chromecast Bridge > Select Binary dropdown > pick the one that ends with -static. … <#m_1903876285304019796_>

Thanks. I was able to set up the static binary for upnp bridge, but I can't get into the settings for the Chromecast bridge to do the same.

— Reply to this email directly, view it on GitHub https://github.com/philippe44/LMS-Cast/issues/40#issuecomment-2628719402, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVH2NG7YXS7QGMWY5G2WVL2NQYMBAVCNFSM6AAAAABS65RVAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMRYG4YTSNBQGI . You are receiving this because you authored the thread.Message ID: @.***>

murcoil avatar Feb 01 '25 03:02 murcoil

I think maybe I caught it when it was between failures? I assume there's a config file someplace you could directly edit but I'm not sure where that would be.

I found the config file in /data/lms/config/prefs/plugin and manually changed the binary to static, but it still isn't working. Would you be able to copy/paste the contents of your castbridge.prefs here?

wlau2929 avatar Feb 01 '25 13:02 wlau2929

This is the whole of my castbridge.prefs, with client ids obfuscated. (I'm also running in docker, on Debian):

---
_client:xxxxx
  _version: 0
_client:xxxxx
  _version: 0
_client:xxxxx
  _version: 0
_clientxxxxx
  _version: 0
_client:xxxxx
  _version: 0
_ts_autorun: 1735141765
_ts_autosave: 1728954585
_ts_baseport: 1728954585
_ts_bin: 1735141755
_ts_configfile: 1728954585
_ts_debugs: 1728954585
_ts_eraselog: 1733270497
_ts_logging: 1733270497
_ts_opts: 1728954585
_ts_profilesURL: 1738346254
_version: 0
autorun: 1
autosave: 1
baseport: ''
bin: squeeze2cast-linux-x86_64-static
configfile: castbridge.xml
debugs: ''
eraselog: 0
logging: 1
opts: ''
profilesURL: ~

For me the binary itself seems to live at /config/cache/InstalledPlugins/Plugins/CastBridge/Bin/squeeze2cast-linux-x86_64-static so you also might want to check whether you actually have it. (I'm doing this from inside the container and /config is at the root of the filesystem).

murcoil avatar Feb 01 '25 17:02 murcoil