On Sun, 2019-02-17 at 07:17 +0100, Michael Herger wrote:
> 
> I'd still bet it's a permissions issue. Make sure the Squeezebox
> user has access to all levels of that path (not only the Albums
> folder, but /home, /home/music etc., every level).
> 
I found one - thanks - /home/music wasn't world readable, but now it is
and is also now part of the 'squeezeboxserver' and 'users' groups. All
music files and directories are world readable. 

I'll stay with leaving the music collection in /home/music/albums,
though since there were no problems with having it in
/home/av/public_html/music. Besides, that better suits my system
upgrade and backup scheme: /home is its own very large partition. 

Anyway, I cleaned out every file/directory containing
'squeezeboxserver' as part or all of its name and reinstalled LMs from 
logitechmediaserver-7.9.2-0.1.1549869508.noarch.rpm

which apparently set up OK and ran well enough to be configured to talk
to logitech.com, but then hung with a plain blank turquoise page with a
spinner and 'Loading Logitech Media Server...' on it.

/var/log/squeezeboxserver/scanner.log show it has songs with m3U
playlists and none of the others, but then hung after reporting, in
server.log, that

[19-02-17 13:41:18.8836] Slim::Utils::PluginManager::load (323) Error:
Couldn't load Slim::Plugin::PresetsEditor::Plugin

Where does/should that come from? 

In any case installing it will be difficult if that requires access to
the LMS web pages because, regardless of stopping/starting LMS or
disconnecting/reconnecting Firefox to it, I always end up with the
blank turquoise screen displayed.

> This tells me that you've been doing more than you should ever have.
> You mentioned installing the RPM file. What else?
> 
Nothing - I've always assumed that the LMS RPM file is complete and
should run once installed. That was the case with
logitechmediaserver-7.9.2-0.1.1536072399.noarch.rpm
Which installed and ran without any problems on a laptop (used to help
catalogue a friend's music collection). There have, however, been quite
a lot of recent Fedora updates to perl5 - could this be a side effect?
I'm running fully updated copies of Fedora 28 and am planing to move to
Fedora 29 fairly soon.

OK, I'm now running logitechmediaserver-7.9.20.1.1536072399.noarch.rpm
on my house server and LMS is (partly) running.

It is successfully playing anything I ask it to over my Touch from
/home/music/albums - complete with the folder.jpg as artwork - provided
that I select albums and tracks directly from the 'Music folder'. I
think this shows that file permissions etc are now A-OK. And is useful
progress. I can't test direct access to LMS from Firefox because LMS
will only display a blank turquoise page with a rotating spinner
and "Loading Logitech Media Server..." in the centre. I'm running
Firefox 65.0. The logs look like this:

Scanner.log - is only attempting to scan tracks which appear in a
              playlist. I don't use playlists.

Server.log -  is complaining about a few things:
              1) can't find Slim/Plugin/PresetsEditor/Plugin.pm
              2) Couldn't load Slim::Plugin::PresetsEditor::Plugin
              3) (374) Optimizing DB because of missing or empty
                 sqlite_stat1 table
              4) Trying to commit transactions before DB is
                 initialized!
              5) Schema updated or no media found in the database,
                 initiating scan.
              6) ininitialised variables $name and $shortname in
                 /usr/share/squeezeboxserver/CPAN/Template/Context.pm
              7) Slim::Web::Template::SkinManager::_fillTemplate (337)
                 is missing

(1) and (2) are odd since 'locate' says it is in 
/usr/lib/perl5/vendor_perl/Slim/Plugin/PresetsEditor/Plugin.pm

(3) and (4) hare constants that I've been seeing ever since this thread
started.

(5),(6) and (7)are new since putting 7.9.2 on this machine.

I've attached a cpy of server.log to this e-mail.  


Martin

[19-02-17 15:14:47.0143] main::init (387) Starting Logitech Media Server (v7.9.2, 1536072399, Tue Sep  4 17:14:43 CEST 2018) perl 5.026003 - x86_64-linux-thread-multi
[19-02-17 15:14:51.1661] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
[19-02-17 15:14:51.7568] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
[19-02-17 15:14:52.4446] Slim::bootstrap::tryModuleLoad (286) Warning: Module [Slim::Plugin::PresetsEditor::Plugin] failed to load:
Can't locate Slim/Plugin/PresetsEditor/Plugin.pm in @INC (you may need to install the Slim::Plugin::PresetsEditor::Plugin module) (@INC contains: /var/lib/squeezeboxserver/cache/InstalledPlugins /usr/share/squeezeboxserver/CPAN/arch/5.26/x86_64-linux-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.26/x86_64-linux-thread-multi/auto /usr/share/squeezeboxserver/CPAN/arch/5.26.3/x86_64-linux-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.26.3/x86_64-linux-thread-multi/auto /usr/share/squeezeboxserver/CPAN/arch/5.26/x86_64-linux-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.26/x86_64-linux-thread-multi/auto /usr/share/squeezeboxserver/CPAN/arch/x86_64-linux-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.26 /usr/share/squeezeboxserver/lib /usr/share/squeezeboxserver/CPAN /usr/share/squeezeboxserver /usr/libexec /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at (eval 794) line 1.
BEGIN failed--compilation aborted at (eval 794) line 1.

[19-02-17 15:14:52.4451] Slim::Utils::PluginManager::load (323) Error: Couldn't load Slim::Plugin::PresetsEditor::Plugin
[19-02-17 15:14:52.7137] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
[19-02-17 15:14:52.8150] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
[19-02-17 15:14:53.1301] main::checkDataSource (1110) Warning: Schema updated or no media found in the database, initiating scan.
[19-02-17 15:15:00.6596] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
[19-02-17 15:15:00.8584] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
[19-02-17 15:16:21.7529] Slim::Utils::Misc::msg (1250) Warning: [15:16:21.7525] Use of uninitialized value $name in hash element at /usr/share/squeezeboxserver/CPAN/Template/Context.pm line 100.
[19-02-17 15:16:21.7532] Slim::Utils::Misc::msg (1250) Warning: [15:16:21.7531] Use of uninitialized value $shortname in substitution (s///) at /usr/share/squeezeboxserver/CPAN/Template/Context.pm line 116.
[19-02-17 15:16:21.7535] Slim::Utils::Misc::msg (1250) Warning: [15:16:21.7533] Use of uninitialized value $name in concatenation (.) or string at /usr/share/squeezeboxserver/CPAN/Template/Context.pm line 168.
[19-02-17 15:16:21.7539] Slim::Web::Template::SkinManager::_fillTemplate (337) Error: file error - : not found
[19-02-17 15:16:23.9982] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
[19-02-17 15:16:24.1096] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
[19-02-17 15:28:08.4481] Slim::Utils::Misc::msg (1250) Warning: [15:28:08.4477] Use of uninitialized value $name in hash element at /usr/share/squeezeboxserver/CPAN/Template/Context.pm line 100.
[19-02-17 15:28:08.4485] Slim::Utils::Misc::msg (1250) Warning: [15:28:08.4483] Use of uninitialized value $shortname in substitution (s///) at /usr/share/squeezeboxserver/CPAN/Template/Context.pm line 116.
[19-02-17 15:28:08.4488] Slim::Utils::Misc::msg (1250) Warning: [15:28:08.4486] Use of uninitialized value $name in concatenation (.) or string at /usr/share/squeezeboxserver/CPAN/Template/Context.pm line 168.
[19-02-17 15:28:08.4492] Slim::Web::Template::SkinManager::_fillTemplate (337) Error: file error - : not found
_______________________________________________
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to