Re: [SlimDevices: SqueezeCenter] Raspberry Pi mit volumio & LMS -> LMS is di
B) volumio 2.246 Distro (based on Rasbian) runs stable Most likely the log folder being volatile is a Volumio specific customization of Raspbian. It's documented how to do this in many places, as people try to prevent wearing out the SD card. But it's not Raspbian default behaviour. -- Michael ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Raspberry Pi mit volumio & LMS -> LMS is di
After months of unsuccessful testing of different solution strategies, I have now received quite unexpectedly a 'solution' (https://volumio.org/forum/#p36626) in the volumio forum. Thanks Karl! "The basic problem ... that LMS will fail to start if it cannot open its log files at startup. It uses the location /var/log/squeezeboxserver which is a directory created at installation time. Unfortunately on Raspbian this directory is in a temporary in-memory space (to save wear and tear on your sd card) so is wiped out after each reboot. To fix this we need to tell raspbian to re-create the directory after each reboot." "...we need to re-create the temp directory each time:"# Code: sudo nano /etc/rc.local "Now insert the next three lines just before the 'exit 0' line" Code: mkdir /var/log/squeezeboxserver/ chown squeezeboxserver /var/log/squeezeboxserver/ chmod 775 /var/log/squeezeboxserver/ exit 0 "Once the system is back up Logitech Media Server should start normally." And yes - that it! Black Senator Black Senator's Profile: http://forums.slimdevices.com/member.php?userid=66799 View this thread: http://forums.slimdevices.com/showthread.php?t=107359 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Raspberry Pi mit volumio & LMS -> LMS is di
Since good advice did not solve a problem, I helped myself. My last question was: do you need additional patches for an LMS installation on Rasbian, as recommended in several older descriptions*. I would have liked to have a statement from a skilled expert. I still had a RasbPi in stock and therefore simply installed the current version Rasbian. After the necessary basic configuration (language, time, memory usage, keyboard and fixed IP**) I installed LMS 7.9.0 and ... it runs stably and cleanly without the I still PHP etc. had to patch. After some attempts I have also integrated my music library on the NAS via mount e.g. fstab entry and on top an additional cache directory on the NAS. The LMS music database moves to this cache next, so that read/write operations on the SD card remain as low as possible. Thus, I have created a reference system and can now compare this to the corrupt LMS installation on Volumio-Distro after restart/reboot a succesful installation. Regards Black Senator *> ... recommendations ... a post-processing of the LMS installation on > RasbPi (e.g. 'here' > (http://raspberry-at-home.com/logitech-media-server/), 'here' > (http://blog.johjoh.de/squeezebox-auf-den-raspberry-pi/) and 'here' > (http://c64-online.com/?page_id=154)). The main advice is to install an > additional file (lms-rpi-raspbian.tar.gz or lms-patches.tgz) as a patch. > What exactly this patch does (with PHP?) is nowhere really explained. > Apart from this, these instructions are two to three years old and so > refer to old releases. > ** I prefer static IP for non-mobil devices (TV, NAS, Media Server, Radio etc.) Black Senator's Profile: http://forums.slimdevices.com/member.php?userid=66799 View this thread: http://forums.slimdevices.com/showthread.php?t=107359 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Raspberry Pi mit volumio & LMS -> LMS is di
bpa wrote: > Since you don't know Linux - I would advise choose a ready to go version > with simplified admin such as Max2play or piCorepplayer > > edit: > > The main reason for this advice is that there is a large number of user > who can offer advice with Max2play or pCP. Your problem about volumio & > LMS couldnt' be answered easily as there are not that many users of that > combination online. > If you expect to need more help - use the combination which has a good > number of users online and willing to provide real hard experience. I think this is very good advice. I have noticed that the popularity of a SB/LMS solution is dependant on the forum you are on. So you need to pick the right solution or right forum. Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=107359 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Raspberry Pi mit volumio & LMS -> LMS is di
Black Senator wrote: > Can anyone of the experts give a reliable statement on this issue? Since you don't know Linux - I would advise choose a ready to go version with simplified admin such as Max2play or piCorepplayer bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=107359 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Raspberry Pi mit volumio & LMS -> LMS is di
Thanks for the recommendations. Before I blame others (volumio), ask wether I made a mistake during the implementation (after more than 20 installations and despite the initial running LMS) or just ignore the problem (switch to another MPD product) ... ... maybe we can just solve the problem. To do this, lets ignore the volumio instance and clarify the prerequisites of LMS on RasbPi: I found some recommendations in the www which recommend a post-processing of the LMS installation on RasbPi (e.g. 'here' (http://raspberry-at-home.com/logitech-media-server/), 'here' (http://blog.johjoh.de/squeezebox-auf-den-raspberry-pi/) and 'here' (http://c64-online.com/?page_id=154)). The main advice is to install an additional file (lms-rpi-raspbian.tar.gz or lms-patches.tgz) as a patch. What exactly this patch does (with PHP?) is nowhere really explained. Apart from this, these instructions are two to three years old and so refer to old releases. The question arises therefore, whether with the current releases Debian Jessie and LMS 7.9.0 is necessary or possibly even counterproductiv? Or in other words, what is the correct way to install a stable LMS on Debian Jessie? Can anyone of the experts give a reliable statement on this issue? Regards Black Senator Black Senator's Profile: http://forums.slimdevices.com/member.php?userid=66799 View this thread: http://forums.slimdevices.com/showthread.php?t=107359 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Raspberry Pi mit volumio & LMS -> LMS is di
Black Senator wrote: > To be honest, I had been thinking about users and rights for some time. > 1. volumio 2 has no log in user >root<, but only the user >volumio< > 2. the installation and start/stop of the server can only be done with > >sudo ...< (unlike the previous installation on the NAS) > > > > As I said, I am a LINUX Newbie. In the area user, rights and > permissions, I am actually inexperienced. Or in other words, I can not > answer your question. > > Best wishes > > > Black Senator Hi if you are willing to try another distro you could give piCorePlayer a try. It is very simple to install LMS on pCP - you only have to press a button than it will install LMS and it should be running. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://sites.google.com/site/picoreplayer/home *Please 'donate' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) if you like the piCorePlayer* sbp's Profile: http://forums.slimdevices.com/member.php?userid=37237 View this thread: http://forums.slimdevices.com/showthread.php?t=107359 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Raspberry Pi mit volumio & LMS -> LMS is di
Black Senator wrote: > To be honest, I had been thinking about users and rights for some time. > 1. volumio 2 has no log in user >root<, but only the user >volumio< > 2. the installation and start/stop of the server can only be done with > >sudo ...< (unlike the previous installation on the NAS) > > > > As I said, I am a LINUX Newbie. In the area user, rights and > permissions, I am actually inexperienced. Or in other words, I can not > answer your question. No root and using "sudo" is normal for many distro - there are plenty of post regarding the security rationale for this approach. I don't know volumio distro and it seems to have done something weird or else you have done LMS installation incorrectly 1. Get back onto volumnio message boards as it seems to be a volumio issue. 2. Learn more Linux. Permissision basics - read onling there are plenty of tutorials. Each userid is a member of a group. Files and directories have basically 3 perrmissions - Read, Write and Execute/List Files and Directories are owned by a user (who is in a group) - so each file has an owning User and Group and so to control access to a file/duirec - permissions on the file / directory are set for the Owner, The owning Group and Others So to check if squeeze+ can write to /var/log 1. Check the gorup to which squeeze+ belong 2. Check the ownership of the /var/log directory 3. Compare permission of /var /log for User, Group and Others against squeeze+ bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=107359 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Raspberry Pi mit volumio & LMS -> LMS is di
To be honest, I had been thinking about users and rights for some time. 1. volumio 2 has no log in user >root<, but only the user >volumio< 2. the installation and start/stop of the server can only be done with >sudo ...< (unlike the previous installation on the NAS) bpa wrote: > Does the user squeeze+ (which seesmot be running squeezeboxserver_safe ) > have write permission to the log directory (and all higher) ? As I said, I am a LINUX Newbie. In the area user, rights and permissions, I am actually inexperienced. Or in other words, I can not answer your question. Best wishes Black Senator Black Senator's Profile: http://forums.slimdevices.com/member.php?userid=66799 View this thread: http://forums.slimdevices.com/showthread.php?t=107359 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Raspberry Pi mit volumio & LMS -> LMS is di
Black Senator wrote: > 22660 > > Tonight I will re-install volumio from the BackUpimage and install LMS > again. And - before any reboot/restart - I will see what results the > queries with netstat etc. and folder contents (log files) deliver. > > Regards > > Black Senator Does the user squeeze+ (which seesmot be running squeezeboxserver_safe ) have write permission to the log directory (and all higher) ? bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=107359 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Raspberry Pi mit volumio & LMS -> LMS is di
22660 Tonight I will re-install volumio from the BackUpimage and install LMS again. And - before any reboot/restart - I will see what results the queries with netstat etc. and folder contents (log files) deliver. Regards Black Senator +---+ |Filename: content of var_log.JPG | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=22660| +---+ Black Senator's Profile: http://forums.slimdevices.com/member.php?userid=66799 View this thread: http://forums.slimdevices.com/showthread.php?t=107359 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Raspberry Pi mit volumio & LMS -> LMS is di
No port 3483 open so I think LMS is not really running - possibly squeezeboxserver_safe keeps trying to start it and each time LMS fails (from ps output LMS has small CPU usage). Anything in this log file ? - which should be produced by squeezeboxserver_safe /var/log/squeezeboxserver/server.log bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=107359 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Raspberry Pi mit volumio & LMS -> LMS is di
pippin wrote: > Oh, and how do you know none of the ports is in use? Maybe I´m wrong - but I can´t see anything... Code: volumio@volumio:/$ ps aux | grep squeeze squeeze+ 535 0.0 0.5 3500 2640 ?SMay02 0:44 /bin/bash /usr/ sbin/squeezeboxserver_safe /usr/sbin/squeezeboxserver --prefsdir /var/lib/squeez eboxserver/prefs --logdir /var/log/squeezeboxserver/ --cachedir /var/lib/squeeze boxserver/cache --charset=utf8 squeeze+ 32704 99.5 3.4 20780 17204 ?R09:07 0:05 /usr/bin/perl / usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir /v ar/log/squeezeboxserver/ --cachedir /var/lib/squeezeboxserver/cache --charset=ut f8 --norestart volumio 32707 0.0 0.3 2584 1572 pts/0S+ 09:08 0:00 grep squeeze volumio@volumio:/$ netstat -l -e -p (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp0 0 raspberrypi.fritz:49152 *:* LISTEN volumio14154 503/upmpdcli tcp0 0 *:5000 *:* LISTEN volumio17677 1267/shairport-sync tcp0 0 *:netbios-ssn *:* LISTEN root 13989 - tcp0 0 *:34414 *:* LISTEN statd 9068- tcp0 0 *:sunrpc*:* LISTEN root 8909- tcp0 0 *:ssh *:* LISTEN root 10615 - tcp0 0 *:microsoft-ds *:* LISTEN root 13988 - tcp0 0 *:3006 *:* LISTEN volumio15237 505/volumio-remote- tcp6 0 0 [::]:54239 [::]:* LISTEN statd 9074- tcp6 0 0 [::]:49152 [::]:* LISTEN volumio14155 503/upmpdcli tcp6 0 0 [::]:5000 [::]:* LISTEN volumio17678 1267/shairport-sync tcp6 0 0 [::]:6600 [::]:* LISTEN root 9208- tcp6 0 0 [::]:netbios-ssn[::]:* LISTEN root 13987 - tcp6 0 0 [::]:sunrpc [::]:* LISTEN root 8912- tcp6 0 0 [::]:ssh[::]:* LISTEN root 10639 - tcp6 0 0 [::]:3000 [::]:* LISTEN volumio15740 1033/node tcp6 0 0 [::]:3001 [::]:* LISTEN volumio17882 1141/node tcp6 0 0 [::]:3005 [::]:* LISTEN volumio16906 1033/node tcp6 0 0 [::]:microsoft-ds [::]:* LISTEN root 13986 - udp0 0 *:mdns *:* avahi 10881 - udp0 0 *:40169 *:* statd 9065- udp0 0 *:1023 *:* root 8908- udp0 0 localhost:51252 *:* volumio14156 503/upmpdcli udp0 0 *:54629 *:* avahi 10883 - udp0 0 *:1900 *:* volumio14158 503/upmpdcli
Re: [SlimDevices: SqueezeCenter] Raspberry Pi mit volumio & LMS -> LMS is di
How did you install LMS? --- learn more about iPeng, the iPhone and iPad remote for the Squeezebox and Logitech UE Smart Radio as well as iPeng Party, the free Party-App, at penguinlovesmusic.com *New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch* pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777 View this thread: http://forums.slimdevices.com/showthread.php?t=107359 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Raspberry Pi mit volumio & LMS -> LMS is di
I already know this thread - as far as I see this is about volumio 1.5. I tried to transmit this - but with no success. But I'm Linux/UNIX newbie and still learning Regards Black Senator Black Senator's Profile: http://forums.slimdevices.com/member.php?userid=66799 View this thread: http://forums.slimdevices.com/showthread.php?t=107359 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Raspberry Pi mit volumio & LMS -> LMS is di
Black Senator wrote: > Okay, sorry! I was imprecise: > A) none of the 9k ports are in use > B) can't find any log files - nowhere > > I'm using WinSCP and PuTTy for browsing and operations > > Regards > > Black Senator C) https://volumio.org/forum/running-volumio-and-logitech-media-server-parallel-t587.html DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516 View this thread: http://forums.slimdevices.com/showthread.php?t=107359 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Raspberry Pi mit volumio & LMS -> LMS is di
Okay, sorry! I was imprecise: A) none of the 9k ports are in use B) can't find any log files - nowhere I'm using WinSCP and PuTTy for browsing and operations Regards Black Senator Black Senator's Profile: http://forums.slimdevices.com/member.php?userid=66799 View this thread: http://forums.slimdevices.com/showthread.php?t=107359 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Raspberry Pi mit volumio & LMS -> LMS is di
Black Senator wrote: > The server is definitely running (ps aux | grep squeeze). Port 9000 is > "dead" (netstat) If port 9000 is already in use LMS will try to use the next huigher 9001, 9002, 9003 etc until it find a free port. Use "netstat -l -e -p" see what processes are listening and look to see which of 9001, 9002 etc is in use (if LMS is running properly then port 3483 will also be open for Listening) ? bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=107359 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Raspberry Pi mit volumio & LMS -> LMS is di
Black Senator wrote: > Black Senator Please take a look in the logfiles! DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516 View this thread: http://forums.slimdevices.com/showthread.php?t=107359 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Raspberry Pi mit volumio & LMS -> LMS is di
Yes - you'r right. Befor that I had LMS, Twonky runing on a MBLD - so three server in parallel. So I gave the RasPi a try. Regards Black Senator Black Senator's Profile: http://forums.slimdevices.com/member.php?userid=66799 View this thread: http://forums.slimdevices.com/showthread.php?t=107359 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Raspberry Pi mit volumio & LMS -> LMS is di
Sorry, i don't understand, where are you running LMS? On the same RPi where you also run Volumio? --- learn more about iPeng, the iPhone and iPad remote for the Squeezebox and Logitech UE Smart Radio as well as iPeng Party, the free Party-App, at penguinlovesmusic.com *New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch* pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777 View this thread: http://forums.slimdevices.com/showthread.php?t=107359 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter