Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
murcoil opened this issue Dec 4, 2024 · 9 comments

Comments

@murcoil
Copy link

murcoil commented Dec 4, 2024

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.

@scbash
Copy link

scbash commented Dec 22, 2024

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...

@murcoil
Copy link
Author

murcoil commented Dec 25, 2024 via email

@thenktor
Copy link

Same issue here.

@wlau2929
Copy link

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

@murcoil
Copy link
Author

murcoil commented Feb 1, 2025 via email

@wlau2929
Copy link

wlau2929 commented Feb 1, 2025

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.

@murcoil
Copy link
Author

murcoil commented Feb 1, 2025 via email

@wlau2929
Copy link

wlau2929 commented Feb 1, 2025

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?

@murcoil
Copy link
Author

murcoil commented Feb 1, 2025

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants