Re: [SlimDevices: Unix] Xubuntu 14.04 & startup sequence of LMS
A final post ons this subject for reference purposes: since LMS version 8.2.0 a systemd service file for logitechmediaserver was introduced which solves this issue in an elegant way. The /etc/rc.local workaound is not needed anymore. My own attempts to create such a file where useless, so many thanks to the people who developed there service files for this LMS version! *Living Room:* RPI2+HifiBerry DAC+ Pro & piCorePlayer *Attic:* RPI2+HifiBerry DAC+ RCA & piCorePlayer *Other rooms:* 6x SB Radio *LMS*: Version 8.2.0 on Xubuntu 21.04 zordaz's Profile: http://forums.slimdevices.com/member.php?userid=61726 View this thread: http://forums.slimdevices.com/showthread.php?t=102220 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Xubuntu 14.04 & startup sequence of LMS
Fiddling with links in /etc/rc?.d doesn't work, already tried that long ago. I will look into LSB tags and systemd unit files when I have some spare time for it, but that route feels like a manual workaround. I still think this should be solved within the default config and packaging of LMS. I will of course post my findings here. *Living Room:* HifiBerry DAC+ Pro & piCorePlayer *Attic:* HifiBerry DAC+ RCA & piCorePlayer *Kitchen:* SB Radio *Other rooms:* 4x SB Radio zordaz's Profile: http://forums.slimdevices.com/member.php?userid=61726 View this thread: http://forums.slimdevices.com/showthread.php?t=102220 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Xubuntu 14.04 & startup sequence of LMS
Add LSB tags to the init.d script, or fix the links in /etc/rc?.d so it comes up last, or write a systemd unit file for it that explicitly says "requires: network". -Transcoded from Matt's brain by Tapatalk- -- Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with Debian+LMS 7.9.0 Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k albums.. drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498 View this thread: http://forums.slimdevices.com/showthread.php?t=102220 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Xubuntu 14.04 & startup sequence of LMS
drmatt wrote: > The correct solution is to tell systemd that LMS requires network. It > will then start it after it starts the network successfully. > > Presumably you have the init script linked into the wrong rc?.d > directory. > > -Transcoded from Matt's brain by Tapatalk- The problem also was there when Upstart was the standard in Ubuntu. On my former system (Debian with classic sysvinit) it worked OK. LMS and Xubuntu are running with default configs here, so this seems more like a bug or missing feature than a config error. Do you have a suggestion were to look in more detail? *Living Room:* HifiBerry DAC+ Pro & piCorePlayer *Attic:* HifiBerry DAC+ RCA & piCorePlayer *Kitchen:* SB Radio *Other rooms:* 4x SB Radio zordaz's Profile: http://forums.slimdevices.com/member.php?userid=61726 View this thread: http://forums.slimdevices.com/showthread.php?t=102220 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Xubuntu 14.04 & startup sequence of LMS
Mnyb wrote: > Btw Triodes spotify plugin is dead and so is the oficial spotify app . > > Remove thoose and start using spotty. Yeah I know that, Spotty is running fine here since the very beginning. *Living Room:* HifiBerry DAC+ Pro & piCorePlayer *Attic:* HifiBerry DAC+ RCA & piCorePlayer *Kitchen:* SB Radio *Other rooms:* 4x SB Radio zordaz's Profile: http://forums.slimdevices.com/member.php?userid=61726 View this thread: http://forums.slimdevices.com/showthread.php?t=102220 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Xubuntu 14.04 & startup sequence of LMS
Btw Triodes spotify plugin is dead and so is the oficial spotify app . Remove thoose and start using spotty. Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub. Bedroom/Office: Boom Kitchen: Touch + powered Fostex PM0.4 Misc use: Radio (with battery) iPad1 with iPengHD & SqueezePad (spares Touch, SB3, reciever ,controller ) server HP proliant micro server N36L with ClearOS Linux http://people.xiph.org/~xiphmont/demo/neil-young.html Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143 View this thread: http://forums.slimdevices.com/showthread.php?t=102220 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Xubuntu 14.04 & startup sequence of LMS
The correct solution is to tell systemd that LMS requires network. It will then start it after it starts the network successfully. -Transcoded from Matt's brain by Tapatalk- -- Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with Debian+LMS 7.9.0 Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k albums.. drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498 View this thread: http://forums.slimdevices.com/showthread.php?t=102220 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Xubuntu 14.04 & startup sequence of LMS
Yes, this is an old one but... Today I decided to test if it was possible to remove the Q&D /etc/rc.local workaround command, because I am running Ubuntu 16.04 now with systemd and LMS 7.9.x The test was unsuccessful, the /etc/rc.local workaround is still needed when running LMS on a system where the network is started later than LMS. I have not tweaked with the systemd-config or whatsoever, it is running with default Ubuntu settings. I can't believe I am still the only one over here having this problem. I am still interested in a structural solution or nicer workaround! *Living Room:* HifiBerry DAC+ Pro & piCorePlayer *Attic:* HifiBerry DAC+ RCA & piCorePlayer *Kitchen:* SB Radio *Other rooms:* 4x SB Radio zordaz's Profile: http://forums.slimdevices.com/member.php?userid=61726 View this thread: http://forums.slimdevices.com/showthread.php?t=102220 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Xubuntu 14.04 & startup sequence of LMS
After a few months of experience with the solution above, I have to resurrect this post :p In the end the boot sequence tweak only solved part of the problem: Internet Radio indeed worked fine this way, but Triode's Spotify plugin didn't. After a regular reboot or startup of the system Logitech Media Server still needed a manual restart before Spotify worked. So I'm back to the /etc/rc.local workaround. The issue must have something to do with the combination of: - Startup sequence of several services / processes of the system: the network by default is started AFTER Logitech Media Server. - The startup scrips of Logitech Media Server. - Upstart compatibility (in the future: Systemd). - Network Manager Question: Is there a more elegant solution possible than /etc/rc.local? In the end I still think a more fundamental change in the startup scripts of Logitech Media Server is needed for Debian/Ubuntu based systems. zordaz's Profile: http://forums.slimdevices.com/member.php?userid=61726 View this thread: http://forums.slimdevices.com/showthread.php?t=102220 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Xubuntu 14.04 & startup sequence of LMS
Tnx. Fiddling around with the Boot Up Manager did the trick; I changed the start / stop priority of LMS to 98. It seems to work, although the network itself is managed by Upstart and cannot be configured via this tool. zordaz's Profile: http://forums.slimdevices.com/member.php?userid=61726 View this thread: http://forums.slimdevices.com/showthread.php?t=102220 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Xubuntu 14.04 & startup sequence of LMS
Not sure if this is the correct solution but you could install Boot Up Manager and change the delay setting for LMS Take a look at this link towards the bottom of the page http://www.havetheknowhow.com/Install-the-software/Install-MusicIP.html I know the instructions are for MusicIp but may be applicable here too Logitech Media Server Version: 7.9.0 - 1411484033 @ Wed Sep 24 04:01:28 UTC 2014 Operating system: Debian - EN - utf8Platform Architecture: x86_64-linux Perl Version: 5.18.2 - x86_64-linux-gnu-thread-multi Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1) One SB Touch connected by ethernet - Denon AVR -1912 Receiver, Paradigm 4.1 speakers Two SB Radio wireless SlimChances's Profile: http://forums.slimdevices.com/member.php?userid=165 View this thread: http://forums.slimdevices.com/showthread.php?t=102220 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix