s25a wrote: 
> Hi Philipp,
> 
> sorry to bother you again but coul have a look at the server.log. After
> a restart of the machine it does not work. There something in the path
> that is missing but I am not sure what exactly this means.
> 
> Thanks
> 
> > 
Code:
--------------------
  >   > 
  > [18-03-14 17:53:10.9829] main::init (388) Starting Logitech Media Server 
(v7.9.0, 1488878280, Wed Mar  8 14:09:34 UTC 2017) perl 5.024001 - 
x86_64-linux-gnu-thread-multi
  > [18-03-14 17:53:11.0755] Slim::Utils::IPDetect::_init (113) Warning: 
Couldn't call connect() - falling back to 127.0.0.1
  > [18-03-14 17:53:11.0936] Slim::Utils::SQLiteHelper::postConnect (374) 
Optimizing DB because of missing or empty sqlite_stat1 table
  > [18-03-14 17:53:11.0976] Slim::Schema::forceCommit (2149) Warning: Trying 
to commit transactions before DB is initialized!
  > [18-03-14 17:53:11.1343] Slim::Utils::SQLiteHelper::postConnect (374) 
Optimizing DB because of missing or empty sqlite_stat1 table
  > [18-03-14 17:53:11.1369] Slim::Schema::forceCommit (2149) Warning: Trying 
to commit transactions before DB is initialized!
  > [18-03-14 17:53:11.4573] Plugins::Spotty::Plugin::initPlugin (124) Please 
update to Logitech Media Server 7.9.1 if you want to use seeking in Spotify 
tracks.
  > [18-03-14 17:53:11.4787] Slim::Utils::SQLiteHelper::postConnect (374) 
Optimizing DB because of missing or empty sqlite_stat1 table
  > [18-03-14 17:53:11.4812] Slim::Schema::forceCommit (2149) Warning: Trying 
to commit transactions before DB is initialized!
  > [18-03-14 17:53:11.5450] Slim::Networking::Async::Socket::UDP::mcast_add 
(48) Error: While adding multicast membership, UPnP may not work properly: No 
such device
  > [18-03-14 17:53:11.6109] main::checkDataSource (1111) Warning: Schema 
updated or no media found in the database, initiating scan.
  > [18-03-14 17:53:12.4346] Slim::Utils::SQLiteHelper::postConnect (374) 
Optimizing DB because of missing or empty sqlite_stat1 table
  > [18-03-14 17:53:12.4377] Slim::Schema::forceCommit (2149) Warning: Trying 
to commit transactions before DB is initialized!
  > [18-03-14 17:53:16.8689] Plugins::ShairTunes2W::Plugin::publishPlayer (425) 
avahi-publish-player not in path
  > [18-03-14 17:53:16.8692] Plugins::ShairTunes2W::Plugin::publishPlayer (434) 
dns-sd not in path
  > [18-03-14 17:53:16.8695] Plugins::ShairTunes2W::Plugin::publishPlayer (443) 
mDNSPublish not in path
  > [18-03-14 17:53:16.8697] Plugins::ShairTunes2W::Plugin::publishPlayer (445) 
using built-in helper: 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/Bin/shairport_helper-x64-linux
  > [18-03-14 17:53:16.8740] Plugins::ShairTunes2W::Plugin::addPlayer (333) 
create client Slim::Player::SqueezePlay=ARRAY(0x562c2c87ef98) with proc 
Proc::Background=HASH(0x562c2c7fa808)
  > [18-03-14 17:53:19.7603] Plugins::ShairTunes2W::Plugin::publishPlayer (425) 
avahi-publish-player not in path
  > [18-03-14 17:53:19.7607] Plugins::ShairTunes2W::Plugin::publishPlayer (434) 
dns-sd not in path
  > [18-03-14 17:53:19.7610] Plugins::ShairTunes2W::Plugin::publishPlayer (443) 
mDNSPublish not in path
  > [18-03-14 17:53:19.7612] Plugins::ShairTunes2W::Plugin::publishPlayer (445) 
using built-in helper: 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/Bin/shairport_helper-x64-linux
  > [18-03-14 17:53:19.7673] Plugins::ShairTunes2W::Plugin::addPlayer (333) 
create client Slim::Player::SqueezePlay=ARRAY(0x562c2cb60498) with proc 
Proc::Background=HASH(0x562c2cb5af38)
  > 
--------------------
> > 
> 
> The funny thing is after a restart of the service it does work: 
> 
> > 
Code:
--------------------
  >   > 
  > sudo service logitechmediaserver restart
  > 
--------------------
> > 
> 
> > 
Code:
--------------------
  >   > 
  > [18-03-14 17:53:11.6109] main::checkDataSource (1111) Warning: Schema 
updated or no media found in the database, initiating scan.
  > [18-03-14 17:53:12.4346] Slim::Utils::SQLiteHelper::postConnect (374) 
Optimizing DB because of missing or empty sqlite_stat1 table
  > [18-03-14 17:53:12.4377] Slim::Schema::forceCommit (2149) Warning: Trying 
to commit transactions before DB is initialized!
  > [18-03-14 17:53:16.8689] Plugins::ShairTunes2W::Plugin::publishPlayer (425) 
avahi-publish-player not in path
  > [18-03-14 17:53:16.8692] Plugins::ShairTunes2W::Plugin::publishPlayer (434) 
dns-sd not in path
  > [18-03-14 17:53:16.8695] Plugins::ShairTunes2W::Plugin::publishPlayer (443) 
mDNSPublish not in path
  > [18-03-14 17:53:16.8697] Plugins::ShairTunes2W::Plugin::publishPlayer (445) 
using built-in helper: 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/Bin/shairport_helper-x64-linux
  > [18-03-14 17:53:16.8740] Plugins::ShairTunes2W::Plugin::addPlayer (333) 
create client Slim::Player::SqueezePlay=ARRAY(0x562c2c87ef98) with proc 
Proc::Background=HASH(0x562c2c7fa808)
  > [18-03-14 17:53:19.7603] Plugins::ShairTunes2W::Plugin::publishPlayer (425) 
avahi-publish-player not in path
  > [18-03-14 17:53:19.7607] Plugins::ShairTunes2W::Plugin::publishPlayer (434) 
dns-sd not in path
  > [18-03-14 17:53:19.7610] Plugins::ShairTunes2W::Plugin::publishPlayer (443) 
mDNSPublish not in path
  > [18-03-14 17:53:19.7612] Plugins::ShairTunes2W::Plugin::publishPlayer (445) 
using built-in helper: 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/Bin/shairport_helper-x64-linux
  > [18-03-14 17:53:19.7673] Plugins::ShairTunes2W::Plugin::addPlayer (333) 
create client Slim::Player::SqueezePlay=ARRAY(0x562c2cb60498) with proc 
Proc::Background=HASH(0x562c2cb5af38)
  > 2018-03-14 17:58:50 squeezeboxserver_safe stopped.
  > 2018-03-14 17:58:50 SQUEEZEBOXSERVER_SAFE STARTED.
  > [18-03-14 17:58:50.5084] 
Plugins::ShairTunes2W::Plugin::revoke_publishPlayers (395) Stop old publish 
players services:960
  > [18-03-14 17:58:50.6868] main::init (388) Starting Logitech Media Server 
(v7.9.0, 1488878280, Wed Mar  8 14:09:34 UTC 2017) perl 5.024001 - 
x86_64-linux-gnu-thread-multi
  > [18-03-14 17:58:50.7622] Slim::Networking::UDP::init (39) FATAL: There is 
already another copy of the Logitech Media Server running on this machine. 
(Address already in use)
  > [18-03-14 17:58:50.7624] Log::Log4perl::Logger::and_die (868) Warning: 
FATAL: There is already another copy of the Logitech Media Server running on 
this machine. (Address already in use) at 
/usr/share/squeezeboxserver/lib/Log/Log4perl/Logger.pm line 900
  > [18-03-14 17:58:51.0099] 
Plugins::ShairTunes2W::Plugin::revoke_publishPlayers (395) Stop old publish 
players services:955
  > [18-03-14 17:58:51.5122] Plugins::ShairTunes2W::Plugin::stop_mDNS (291) 
Killing all processes 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/Bin/shairport_helper-x64-linux
  > 2018-03-14 17:58:55 Logitech Media Server died. Restarting.
  > [18-03-14 17:58:55.7997] main::init (388) Starting Logitech Media Server 
(v7.9.0, 1488878280, Wed Mar  8 14:09:34 UTC 2017) perl 5.024001 - 
x86_64-linux-gnu-thread-multi
  > [18-03-14 17:58:55.8992] Slim::Utils::SQLiteHelper::postConnect (374) 
Optimizing DB because of missing or empty sqlite_stat1 table
  > [18-03-14 17:58:55.9017] Slim::Schema::forceCommit (2149) Warning: Trying 
to commit transactions before DB is initialized!
  > [18-03-14 17:58:55.9375] Slim::Utils::SQLiteHelper::postConnect (374) 
Optimizing DB because of missing or empty sqlite_stat1 table
  > [18-03-14 17:58:55.9403] Slim::Schema::forceCommit (2149) Warning: Trying 
to commit transactions before DB is initialized!
  > [18-03-14 17:58:56.2538] Plugins::Spotty::Plugin::initPlugin (124) Please 
update to Logitech Media Server 7.9.1 if you want to use seeking in Spotify 
tracks.
  > [18-03-14 17:58:56.2747] Slim::Utils::SQLiteHelper::postConnect (374) 
Optimizing DB because of missing or empty sqlite_stat1 table
  > [18-03-14 17:58:56.2774] Slim::Schema::forceCommit (2149) Warning: Trying 
to commit transactions before DB is initialized!
  > [18-03-14 17:58:56.4351] main::checkDataSource (1111) Warning: Schema 
updated or no media found in the database, initiating scan.
  > [18-03-14 17:58:56.7028] Plugins::ShairTunes2W::Plugin::publishPlayer (425) 
avahi-publish-player not in path
  > [18-03-14 17:58:56.7029] Plugins::ShairTunes2W::Plugin::publishPlayer (434) 
dns-sd not in path
  > [18-03-14 17:58:56.7031] Plugins::ShairTunes2W::Plugin::publishPlayer (443) 
mDNSPublish not in path
  > [18-03-14 17:58:56.7032] Plugins::ShairTunes2W::Plugin::publishPlayer (445) 
using built-in helper: 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/Bin/shairport_helper-x64-linux
  > [18-03-14 17:58:56.7062] Plugins::ShairTunes2W::Plugin::addPlayer (333) 
create client Slim::Player::SqueezePlay=ARRAY(0x5638f40ab188) with proc 
Proc::Background=HASH(0x5638f47637a0)
  > [18-03-14 17:58:56.8091] Plugins::ShairTunes2W::Plugin::publishPlayer (425) 
avahi-publish-player not in path
  > [18-03-14 17:58:56.8094] Plugins::ShairTunes2W::Plugin::publishPlayer (434) 
dns-sd not in path
  > [18-03-14 17:58:56.8096] Plugins::ShairTunes2W::Plugin::publishPlayer (443) 
mDNSPublish not in path
  > [18-03-14 17:58:56.8097] Plugins::ShairTunes2W::Plugin::publishPlayer (445) 
using built-in helper: 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/Bin/shairport_helper-x64-linux
  > [18-03-14 17:58:56.8144] Plugins::ShairTunes2W::Plugin::addPlayer (333) 
create client Slim::Player::SqueezePlay=ARRAY(0x5638f40884a8) with proc 
Proc::Background=HASH(0x5638f409cb20)
  > [18-03-14 17:58:57.7785] Slim::Utils::SQLiteHelper::postConnect (374) 
Optimizing DB because of missing or empty sqlite_stat1 table
  > [18-03-14 17:58:57.7821] Slim::Schema::forceCommit (2149) Warning: Trying 
to commit transactions before DB is initialized!
  > 
--------------------
> > 

Unfortunately that's a known problem where in some cases, after reboot,
LMS does not obtain an IP address "soon enough" and as a result, the
Shairtunes2W is using a localhost as the IP address to broadcast AirPlay
devices ... which obviously does not work well. A way to solve that is
to restart Shairtunes2W broadcast - you know have  a button for this in
the settings



LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi
B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010,
AppleTV 4, Airport Express, GGMM E5
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=106289

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to