Logitec Media Server plugin for Volumio

Dear Sayeto,

Just installed the LMS plugin succesfuly. It is active, but when I click on settings and then the Logitec Media Server button. Nothing happen, the screen is hanging for some time and come back to Volumio home page…

Best regards,

Dominique

Hi Dominique,

Which version of Volumio are you using? The button only works from 2.260 and higher :wink:
The LMS webconsole is reachable on: http://{YOUR PI IP-ADDRESS}:9000 (i.e. the IP-address of your pi over port 9000)

UPDATE: I see I made a typo in the Plugin annoucement, mea culpa. The Volumio version must be 2.260+ (this one is not yet downloadable).

This explains! I have 2.246, so I have to wait…

Thank you!

Dominique

I have installed the plugin, but for those interested, please note the pre-requisite to have Volumio 2.26 or + installed to make it works.

Dominique

Hiya Dominque, thanks for the feedback & comments. Does the plugin fulfil your expectations? It sounds a very good one to have on board.

Only the opening of the webpage should require version 2.260 or higher. The rest should work regardless, can you confirm this?
You can connect to the webconsole by using the IP-address of your Pi and port 9000.

Hi Saiyato,

No. My Rpi IP address is 192.168.2.142 and when I add :9000, I get the message “site is not accessible”.

Best regards,

Dominique

I have found that in some occasions the LMS service doesn’t start fashionably the first time, can you try to reboot?

After reboot, the plugin is shown as active,

I get this messgae:

"Ce site est inaccessible

192.168.2.142 n’autorise pas la connexion.
Effectuez une recherche Google sur 192 168 142 9000.
ERR_CONNECTION_REFUSED"

It says that the server refuses the connection…

Thank you for your support!

Dominique

Is the process running? Can you check with patterns please?

Maybe installation was not successful. I have not built in checks for the process.

Will do.

I am not a Linux specialist. What command should I enter?

It might be that the installation went wrong. I can also try to reinstall the plugin…

Edit: done, de-installed, resintalled (much quicker than first time), reboot, no change.

Dominique

What version of the Raspberry Pi are you using? 1, 2, 3 or zero?

1 Like

This is a Raspberry 3.

Dominique

Can you post the output of

cat /var/log/squeezeboxserver/server.log

That should output the logging of LMS, maybe you have some directory rights problem…

The most important ones are:

volumio@volumio:~$ ls -al /var/log/squeezeboxserver/ total 8 drwxr-xr-x 2 volumio volumio 100 Sep 10 19:54 . drwxr-xr-x 3 volumio adm 160 Sep 10 19:52 .. -rw-r--r-- 1 volumio volumio 0 Sep 10 19:53 perfmon.log -rw-r--r-- 1 volumio volumio 2084 Sep 10 19:54 scanner.log -rw-r--r-- 1 volumio volumio 1594 Sep 10 19:54 server.log volumio@volumio:~$ ls -al /var/lib/squeezeboxserver/ total 20 drwxr-xr-x 5 volumio volumio 4096 Sep 10 19:52 . drwxr-xr-x 1 root root 4096 Sep 10 19:52 .. drwxr-xr-x 2 volumio volumio 4096 Mar 8 2017 Plugins drwxr-xr-x 7 volumio volumio 4096 Sep 10 19:54 cache drwxr-xr-x 3 volumio volumio 4096 Sep 10 19:56 prefs

You could try to over-allow the prefs directory:

chmod 664 -R /var/lib/squeezeboxserver

That might help, but the logging will probably tell us more.

I have entered the command and I get:

“No such file or directory”

Concerning the rights issue, my Volumio configuration is totally out of the box, so I will probably not be the only one facing the issue…

Best regards,

Dominique

Then I’m affraid the dpkg failed, because it runs under root it should have privileges and create the initial log(s). It’s not that I don’t believe you, but I can’t reproduce the problem, which makes it very hard to fix it for you.

Can you execute ls -al /var/log please?

Also can you check whether you have a deb-package in /home/volumio/logitechmediaserver?
You can manually install it using sudo dpkg -i logitechmediaserver_7.9.0_arm.deb .
If there’s no directory logitechmediaserver and/or no deb-package, your installation failed for some reason. Maybe the wget ran into an error because of network limitations, or something else went wrong.

Depending on the outcome of the above we can analyze the impact, because I’m not sure how many people will actually have the same problem. Maybe the SD-card needs to be reflashed because of corruption in the file-system, causing the download/installation to fail.

So ls -al /var/log returns:

Total 32
drwxr-xr-x 2 volumio adm 140 Sep 12 17:18 .
drwxr-xr-x 1 root root 4096 Jun 3 00:06 …
-rw-r–r-- 1 root root 6027 Sep 10 16:48 boot.log
-rw------ 1 root utmp 0 Sep 10 16:47 btmp
-rw-r–r-- 1 root root 292292 Sep 12 17:18 lastlog
-rw-r–r-- 1 volumio volumio 10854 Sep 12 17:19 volumio.log
-rw-r–r-- 1 root utmp 1920 Sep 12 17:18 utmp

Dominique

Hi Dominique,

And the dpkg part?

For example, my log folder before installation:

volumio@volumio:~$ ls -al /var/log total 28 drwxr-xr-x 2 volumio adm 120 Sep 12 06:25 . drwxr-xr-x 1 root root 4096 Aug 27 20:34 .. -rw-r--r-- 1 root root 5748 Sep 8 11:34 boot.log -rw------- 1 root utmp 0 Sep 8 11:34 btmp -rw-r--r-- 1 volumio volumio 10093 Sep 12 15:38 volumio.log -rw-rw-r-- 1 root utmp 2688 Sep 12 17:32 wtmp

and after installation:

volumio@volumio:~$ ls -al /var/log total 32 drwxr-xr-x 3 volumio adm 140 Sep 12 17:32 . drwxr-xr-x 1 root root 4096 Aug 27 20:34 .. -rw-r--r-- 1 root root 5748 Sep 8 11:34 boot.log -rw------- 1 root utmp 0 Sep 8 11:34 btmp drwxr-xr-x 2 volumio volumio 40 Sep 12 17:32 squeezeboxserver -rw-r--r-- 1 volumio volumio 12513 Sep 12 17:32 volumio.log -rw-rw-r-- 1 root utmp 2688 Sep 12 17:32 wtmp volumio@volumio:~$

I.e. the LMS installation creates the squeezeboxserver directory and my script chowns it. So again, I think your dpkg failed.

And for the install, I got the “no such file or directory”.

So I will do a fresh install of Volumio on a new SD card next weekend and restart from scratch…

Dominique

Some news… new installation of Volumio on a new SD card. Plugin installation. I followed the log. No error message. Confirmation that installation was successful.

Activated the plugin and type 192.168.2.142:9000 first, get same error message as before.

Second attenpt. I read this in the explorer bar: “http://192.168.2.142:9000/settings/server/wizard.html

But I get a blank page…

Something new, now the squeezboxserver directory is visible when I enter the ls command. I am moving in the right direction…

Dominique