pssc / ha-addon-lms

Logitech Media Server Addon for Home Assistant
GNU General Public License v3.0
56 stars 13 forks source link

Failed to load plugin downloader #5

Closed sdvd111-bit closed 2 years ago

sdvd111-bit commented 2 years ago

Hi, I used this plugin to play some music from homepod. After I upgraded, I cannot start lms correctly. I run Hassio on Raspberry pi 4. The error message is ————- Start Logitech Media Server... [21-10-16 17:38:54.6251] main::init (390) Starting Logitech Media Server (v8.2.0, 1627922070, Tue Aug 3 11:39:20 CEST 2021) perl 5.028001 - aarch64-linux-gnu-thread-multi [21-10-16 17:38:54.6361] Slim::Utils::PluginManager::init (74) Failed to load plugin downloader: Can't locate Slim/Utils/PluginDownloader.pm: /config/lms/cache/InstalledPlugins/Slim/Utils/PluginDownloader.pm: Permission denied at /usr/share/perl5/Slim/Utils/PluginManager.pm line 69. [21-10-16 17:38:54.6803] File::Next::ANON (217) Warning: /usr/share/squeezeboxserver/Plugins: Permission denied at /usr/share/squeezeboxserver/CPAN/File/Next.pm line 217. [21-10-16 17:38:54.6817] Slim::Utils::Prefs::Namespace::savenow (337) Error: can't save /config/lms/prefs/server.prefs: Permission denied at /usr/share/perl5/Slim/Utils/Prefs/Namespace.pm line 326. —————-

I checked the folder /config/lms/cache/InstalledPlugins and cannot find Slim either. Do you know how to solve this issue?

pssc commented 2 years ago

@sdvd111-bit that one of the internal perl modules this might be related to #6 try chown 1000 /config/lms/cache/tmp on a terminal

benedictgraf commented 2 years ago

@sdvd111-bit - did you got back running LMS on home assistant?

Got into same trouble today with no changes made in the config or such.

Solution provided by @pssc (chown 1000) does not work.

How could we get the server back running?

Cheers.

pssc commented 2 years ago

Try chown -R 1000 /config/lms

pssc commented 2 years ago

@benedictgraf any luck?

benedictgraf commented 2 years ago

@pssc Chown doesn’t worked for me.

Removing the complete lms folder on home assistant os and reinstall of plugin did the trick.

thanks for caring

pssc commented 2 years ago

This should all be sorted in version 0.50