Logitech Media Server now unable to rescan media library

Issues related to applications and software problems
Post Reply
mphelpsmd
Posts: 52
Joined: 2013/06/09 18:42:22

Logitech Media Server now unable to rescan media library

Post by mphelpsmd » 2018/10/22 21:43:59

I'm using Centos 6.10 (kernel 2.6.32-754.6.3.el6.x86_64) and after a recent system update I'm unable to rescan the media for recent changes with Logitech Media Server.

The error message from LMS's web interface is "Media scan terminated unexpectedly (Scanning Progress)"

From cat /var/log/messages:

Code: Select all

Oct 22 04:05:18 ares kernel: perl[3552]: segfault at 7797000 ip 000000380be89d8d sp 00007ffc78a6ab68 error 4 in libc-2.12.so[380be00000+18b000]
Oct 22 04:05:32 ares abrt[4497]: Saved core dump of pid 3552 (/usr/bin/perl) to /var/spool/abrt/ccpp-2018-10-22-04:05:19-3552 (1048576000 bytes)
Oct 22 04:05:32 ares abrtd: Directory 'ccpp-2018-10-22-04:05:19-3552' creation detected
Oct 22 04:05:39 ares abrtd: Package 'logitechmediaserver' isn't signed with proper key
Oct 22 04:05:39 ares abrtd: 'post-create' on '/var/spool/abrt/ccpp-2018-10-22-04:05:19-3552' exited with 1
Oct 22 04:05:39 ares abrtd: Deleting problem directory '/var/spool/abrt/ccpp-2018-10-22-04:05:19-3552'
From /var/log/squeezeboxserver/server.log-20181022:

Code: Select all

[18-10-22 04:05:34.4604] Slim::Utils::Misc::msg (1252) Warning: [04:05:34.4600] DBIx::Class::ResultSet::update_or_create(): Query returned more than one row.  SQL that returns multiple rows is DEPRECATED for ->find and ->single at /usr/share/perl5/vendor_perl/Slim/Schema.pm line 1875
[18-10-22 04:05:34.6504] Slim::Plugin::FullTextSearch::Plugin::_initPopularTerms (525) Fulltext index missing or outdated - re-building
[18-10-22 04:05:34.6507] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::SQLite::db selectcol_arrayref failed: no such table: fulltext_terms [for Statement "
		SELECT term, d FROM (
			SELECT term, SUM(documents) d
			FROM fulltext_terms
			WHERE NOT col IN ('*', 1, 0) AND LENGTH(term) > 1
			GROUP BY term
			ORDER BY d DESC
		)
		WHERE d > 500
	"]
[18-10-22 04:05:34.6508] Slim::Schema::Storage::throw_exception (122) Backtrace:

   frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/vendor_perl/Slim/Schema/Storage.pm line 122)
   frame 1: Slim::Schema::Storage::throw_exception (/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 1006)
   frame 2: DBIx::Class::Storage::DBI::__ANON__ (/usr/share/perl5/vendor_perl/Slim/Plugin/FullTextSearch/Plugin.pm line 532)
   frame 3: Slim::Plugin::FullTextSearch::Plugin::_initPopularTerms (/usr/share/perl5/vendor_perl/Slim/Plugin/FullTextSearch/Plugin.pm line 118)
   frame 4: Slim::Plugin::FullTextSearch::Plugin::__ANON__ (/usr/share/perl5/vendor_perl/Slim/Control/Request.pm line 2058)
   frame 5: (eval) (/usr/share/perl5/vendor_perl/Slim/Control/Request.pm line 2058)
   frame 6: Slim::Control::Request::notify (/usr/share/perl5/vendor_perl/Slim/Control/Request.pm line 859)
   frame 7: Slim::Control::Request::checkNotifications (/usr/libexec/squeezeboxserver line 708)
   frame 8: main::idle (/usr/libexec/squeezeboxserver line 677)
   frame 9: main::main (/usr/libexec/squeezeboxserver line 1213)

[18-10-22 04:05:34.6510] Slim::Control::Request::notify (2060) Error: Failed notify: Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db selectcol_arrayref failed: no such table: fulltext_terms [for Statement "
		SELECT term, d FROM (
			SELECT term, SUM(documents) d
			FROM fulltext_terms
			WHERE NOT col IN ('*', 1, 0) AND LENGTH(term) > 1
			GROUP BY term
			ORDER BY d DESC
		)
		WHERE d > 500
	"] at /usr/share/perl5/vendor_perl/Slim/Schema/Storage.pm line 126

I tried restarting the service, rebooting the system, and updating to the latest nightly build of Logitech Media Server without success.

Any suggestions on how to proceed from here?

Mike

lightman47
Posts: 1521
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: Logitech Media Server now unable to rescan media library

Post by lightman47 » 2018/10/22 21:57:51

I am of little help except your first snapshot included:

Package 'logitechmediaserver' isn't signed with proper key

mphelpsmd
Posts: 52
Joined: 2013/06/09 18:42:22

Re: Logitech Media Server now unable to rescan media library

Post by mphelpsmd » 2018/10/23 23:42:34

Lightman,

I, too, saw that message about not being signed.

The problem is that this application pre-dated any problems with the system, and never had any issues before. I've updated to more recent RPM's over the years, but until I tried updating it in an attempt to solve this problem, it hasn't been updated in months.

Here is the information from the logs of the most recent system update, which represents about the time that this problem started:

Code: Select all

Oct 16 21:21:19 ares yum[31087]: Updated: nss-3.36.0-9.el6_10.x86_64
Oct 16 21:21:20 ares yum[31087]: Updated: nss-sysinit-3.36.0-9.el6_10.x86_64
Oct 16 21:21:21 ares yum[31087]: Updated: 12:dhcp-common-4.1.1-63.P1.el6.centos.x86_64
Oct 16 21:21:25 ares yum[31087]: Updated: kernel-firmware-2.6.32-754.6.3.el6.noarch
Oct 16 21:21:31 ares yum[31087]: Installed: kernel-2.6.32-754.6.3.el6.x86_64
Oct 16 21:21:32 ares yum[31087]: Updated: 12:dhclient-4.1.1-63.P1.el6.centos.x86_64
Oct 16 21:21:33 ares yum[31087]: Updated: nss-tools-3.36.0-9.el6_10.x86_64
Oct 16 21:21:34 ares yum[31087]: Updated: mailx-12.4-10.el6_10.x86_64
Oct 16 21:21:38 ares yum[31087]: Updated: perf-2.6.32-754.6.3.el6.x86_64
Oct 16 21:21:40 ares yum[31087]: Updated: 1:nfs-utils-1.2.3-78.el6_10.1.x86_64
Oct 16 21:21:41 ares yum[31087]: Updated: yum-3.2.29-81.el6.centos.0.1.noarch
Oct 16 21:21:42 ares yum[31087]: Updated: distribution-gpg-keys-1.23-1.el6.noarch
Oct 16 21:21:43 ares yum[31087]: Updated: libcgroup-0.40.rc1-27.el6_10.x86_64
Oct 16 21:21:45 ares yum[31087]: Updated: kernel-headers-2.6.32-754.6.3.el6.x86_64
Oct 16 21:21:46 ares yum[31087]: Updated: openblas-0.3.3-2.el6.x86_64
Oct 16 21:21:46 ares yum[31087]: Updated: kpartx-0.4.9-106.el6_10.1.x86_64
Oct 16 21:21:48 ares yum[31087]: Updated: zsh-4.3.11-9.el6_10.x86_64
Oct 16 21:21:58 ares yum[31087]: Installed: kernel-devel-2.6.32-754.6.3.el6.x86_64

mphelpsmd
Posts: 52
Joined: 2013/06/09 18:42:22

Re: Logitech Media Server now unable to rescan media library

Post by mphelpsmd » 2019/06/09 05:08:31

As a follow-up, I finally put some more effort into this and came up with the fix for Logitech Media Server in CentOS 6.10, which failed to function properly after a system update last fall:

Code: Select all

[root@ares ~]# ln -s /usr/share/perl5/vendor_perl/Slim /usr/lib/perl5/vendor_perl/Slim
Apparently this is required on CentOS 7 given the different location (/usr/share/perl5 vs /usr/lib/perl5), but I didn't think it would have been needed on CentOS 6 since everything that worked fine for years.

Mike

Post Reply