Enabling the AirPlay plugin causes LMS to stop running.
I've started playing with LMS v8.2.0 running under pCP v8.0.0 on an old 512M Pi1 B+, with a 4GB uSD with pCP file system expanded to 2GB. It is mostly working well, having scanned my media, and is playing to a USB DAC. However, if I enable the AirPlay 3rd party plugin, and restart LMS, I can see it startup, but it then stops before the web UI appears. I can see it start in the pCP UI, or using top logged in via SSH. Using the pCP Diagnostics/Logs page, I can see a message from LMS that it can't find the RaopBridge.zip file [21-10-16 18:17:54.0171] Slim::Utils::PluginDownloader::extract (87) unable to install RaopBridge - /usr/local/slimserver/Cache/DownloadedPlugins/RaopBridge.zip does not exist However, if I look in /usr/local/slimserver/Cache/InstalledPlugins/Plugins/ the RaopBridge folder is present, and it looks okay. I managed to get LMS to run again by deleting this folder (I found a hint in a thread here that this wouldn't cause trouble; I gambled successfully...) If I try to enable the plugin again, but delay the restart, I can go into /usr/local/slimserver/Cache/DownloadedPlugins and see that RaopBridge.zip downloads successfully, and I can copy it to my mounted NAS and inspect it; it looks fine. If I enable Debug logging on the Plugin process, I can see that it seems to unpack the download okay [21-10-16 17:52:08.2561] Slim::Utils::PluginDownloader::install (181) install - downloading RaopBridge from [redacted link]://downloads.sourceforge.net/project/lms-plugins-philippe44/RaopBridge-0.4.62.2.zip [21-10-16 17:52:26.4903] Slim::Utils::PluginDownloader::_downloadDone (197) downloaded RaopBridge to /usr/local/slimserver/Cache/DownloadedPlugins/RaopBridge.zip [21-10-16 17:52:29.3294] Slim::Utils::PluginDownloader::_installDownload (233) digest matches - scheduling RaopBridge for install on restart [21-10-16 17:52:35.8730] Slim::Utils::PluginManager::shutdownPlugins (410) Shutting down plugins... [21-10-16 17:53:06.4871] main::init (390) Starting Logitech Media Server (v8.2.0, 1627922070, Tue Aug 3 11:43:18 CEST 2021) perl 5.032001 - arm-linux-gnueabihf-thread-multi-64int [21-10-16 17:53:27.2292] Slim::Utils::PluginDownloader::extract (134) extracted RaopBridge to /usr/local/slimserver/Cache/InstalledPlugins/Plugins/RaopBridge [21-10-16 17:53:30.8397] Slim::Utils::PluginManager::_parseInstallManifest (788) RaopBridge [Plugins::RaopBridge::Plugin] INSTALLERROR_SUCCESS I can see that it finds the RaopBridge folder, and seems to install the bin and html folders [21-10-16 17:53:55.5179] Slim::Utils::PluginManager::load (241) Loading plugin: RaopBridge [21-10-16 17:53:55.7690] Slim::Utils::PluginManager::load (343) Adding Bin directory: [/usr/local/slimserver/Cache/InstalledPlugins/Plugins/RaopBridge/Bin] [21-10-16 17:53:55.7754] Slim::Utils::PluginManager::load (374) Adding HTML directory: [/usr/local/slimserver/Cache/InstalledPlugins/Plugins/RaopBridge/HTML] The last lines of server.log are: [21-10-16 17:53:56.9533] Slim::Utils::PluginManager::load (230) Skipping plugin: YALP - disabled [21-10-16 17:53:56.9575] Slim::Utils::PluginManager::load (230) Skipping plugin: iTunes - disabled [21-10-16 17:53:56.9619] Slim::Utils::PluginManager::load (230) Skipping plugin: xPL - disabled and then the server process disappears from top, and shows as not running in pCP. The web UI never appears. If I restart LMS in pCP, it seems to be confused: [21-10-16 18:04:34.6498] main::init (390) Starting Logitech Media Server (v8.2.0, 1627922070, Tue Aug 3 11:43:18 CEST 2021) perl 5.032001 - arm-linux-gnueabihf-thread-multi-64int [21-10-16 18:04:35.7010] Slim::Utils::PluginManager::_loadPluginCache (621) RaopBridge [21-10-16 18:04:35.8844] Slim::Utils::PluginDownloader::extract (87) unable to install RaopBridge - /usr/local/slimserver/Cache/DownloadedPlugins/RaopBridge.zip does not exist [21-10-16 18:04:40.5800] Slim::Utils::PluginManager::_parseInstallManifest (788) RaopBridge [Plugins::RaopBridge::Plugin] INSTALLERROR_SUCCESS [21-10-16 18:04:57.9129] Slim::Utils::PluginManager::load (241) Loading plugin: RaopBridge [21-10-16 18:04:58.0904] Slim::Utils::PluginManager::load (343) Adding Bin directory: [/usr/local/slimserver/Cache/InstalledPlugins/Plugins/RaopBridge/Bin] [21-10-16 18:04:58.0962] Slim::Utils::PluginManager::load (374) Adding HTML directory: [/usr/local/slimserver/Cache/InstalledPlugins/Plugins/RaopBridge/HTML] again, the last line of server.log is [21-10-16 18:04:59.3153] Slim::Utils::PluginManager::load (230) Skipping plugin: xPL - disabled If I then delete the RaopBridge folder, and restart LMS, I see this: [21-10-16 18:17:53.8387] Slim::Utils::PluginManager::_loadPluginCache (621) RaopBridge [21-10-16 18:17:54.0171] Slim::Utils::PluginDownloader::extract (87) unable to install RaopBridge - /usr/local/slimserver/Cache/DownloadedPlugins/RaopBridge.zip does not exist and then no further mention of RaopBridge. The server.log file shows LMS getting past the Plugin management, and completes its init: [21-10-16 18:18:24.9567] Slim::Utils::PluginManager::load (230) Skipping plugin: xPL - disabled [21-10-16 18:18:28.5038] Slim::Utils::PluginDownloader::checkForUpdates (290) generating apps query to find latest plugin state [21-10-16 18:18:28.5279] main::init (602) Server Jive init... [21-10-16 18:18:29.8895] main::init (611) Server checkDataSource... [21-10-16 18:18:29.8987] main::init (621) Library Browser init... [21-10-16 18:18:29.9453] main::init (625) Server persist playlists... [21-10-16 18:18:30.0340] main::init (661) Server HTTP enable... [21-10-16 18:18:30.0507] main::init (669) Server done init... The web UI appears, and all seems happy. The AirPlay bridge plugin shows as disabled. I'm not sure if this is an issue with the Plugin Manager of LMS, or the AirPlay bridge plugin. I have the same plugin (same version) running successfully in another instance of LMS running on an Atom/Win7 single board computer. I thought I might have confused the Plugin Manager as I played with various plugin enables, but I tried an earlier pCP/LMS installation I'd done on a 32GB uSD, and that exhibited exactly the same behaviour. That has the full 32GB available to pCP/LMS, so it's not a space problem, either. I'm new to this level of use and debugging of LMS. I can do without AirPlay, but I thought it was worth logging the issue I'd had, in case anyone else is having it; google wasn't very forthcoming on 'RaopBridge.zip'... ------------------------------------------------------------------------ cpt_paranoia's Profile: http://forums.slimdevices.com/member.php?userid=72178 View this thread: http://forums.slimdevices.com/showthread.php?t=115281 _______________________________________________ Squeezecenter mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/squeezecenter
