Closed mkono87 closed 1 year ago
Please give an ls -lR of /config/lms on your restored box and original if possible.
Phill
On Wed, 20 Apr 2022, 21:10 mkono87, @.***> wrote:
Start Logitech Media Server... [22-04-20 16:04:23.5502] main::init (390) Starting Logitech Media Server (v8.2.0, 1627922070, Tue Aug 3 11:37:35 CEST 2021) perl 5.028001 - x86_64-linux-gnu-thread-multi [22-04-20 16:04:23.5525] 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. [22-04-20 16:04:23.5599] File::Next::ANON (217) Warning: /usr/share/squeezeboxserver/Plugins: Permission denied at /usr/share/squeezeboxserver/CPAN/File/Next.pm line 217. [22-04-20 16:04:23.5602] 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 restored my HA after migrating it from proxmox to Unraid. For some reason this addon fails to start.
— Reply to this email directly, view it on GitHub https://github.com/pssc/ha-addon-lms/issues/12, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANORYMFIEWUFN45I7JVSX3VGBQBXANCNFSM5T5EEEBQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I had the same Problem: As you requested here is the output with denied permission after the restored backup: config-lms-denied-permissions-after-backup-restore.txt
And here is an output after deleting the /config/lms/ directory and reinstalling the LMS: config-lms-after-new-installation.txt
@mhenlo thankyou most useful.
So I would say that the restore is not restoring the permissions of the original files (they have changed user ownership) on the restored system from the original restore.
I will have a think, to see if we can work round this though deleting /config/lms/addon/fixed_owner may be enough
I have the same problem. After restore from backup, addon can't started with permission denied errors. If I delete /config/lms/addon/fixed_owner I got errors:
Slim::Networking::IO::Select::__ANON__ (130) Error: Select task failed calling Slim::Networking::Async::HTTP::_http_read_body: DBD::SQLite::st execute failed: attempt to write a readonly database at /usr/share/perl5/Slim/Utils/DbCache.pm line 77.
[22-11-25 19:34:21.0846] Slim::Networking::IO::Select::__ANON__ (130) Error: Select task failed calling Slim::Networking::Async::HTTP::_http_read_body: DBD::SQLite::st execute failed: attempt to write a readonly database at /usr/share/perl5/Slim/Utils/DbCache.pm line 77.
And many more errors about " write a readonly database".
Start Logitech Media Server... [22-04-20 16:04:23.5502] main::init (390) Starting Logitech Media Server (v8.2.0, 1627922070, Tue Aug 3 11:37:35 CEST 2021) perl 5.028001 - x86_64-linux-gnu-thread-multi [22-04-20 16:04:23.5525] 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. [22-04-20 16:04:23.5599] File::Next::__ANON__ (217) Warning: /usr/share/squeezeboxserver/Plugins: Permission denied at /usr/share/squeezeboxserver/CPAN/File/Next.pm line 217. [22-04-20 16:04:23.5602] 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 restored my HA after migrating it from proxmox to Unraid. For some reason this addon fails to start.