[Solved] LMS Plugin don't work (Package damaged?)

Hi, I’m fiddling around with the LMS installation.
Starting the installation it ends with no errors and successful installation, but opening port 9000 giving access denied.
In system log I found an error.

● dhcpcd.service - LSB: IPv4 DHCP client with IPv4LL support
   Loaded: loaded (/etc/init.d/dhcpcd)
   Active: failed (Result: exit-code) since Tue 2018-12-25 11:13:17 UTC; 13min ago
  Process: 584 ExecStart=/etc/init.d/dhcpcd start (code=exited, status=6)

Dec 25 11:13:16 volumio dhcpcd[584]: Not running dhcpcd because there is aleady an interface specific instance ... failed!
Dec 25 11:13:16 volumio dhcpcd[584]: /var/run/dhcpcd-eth0.pid ... failed!
Dec 25 11:13:17 volumio systemd[1]: dhcpcd.service: control process exited, code=exited status=6
Dec 25 11:13:17 volumio systemd[1]: Failed to start LSB: IPv4 DHCP client with IPv4LL support.
Dec 25 11:13:17 volumio systemd[1]: Unit dhcpcd.service entered failed state.

It was fixed by removing the LAN in Network Configuration

The server is not available in the task list

After a couple install and remove, I found this

volumio@volumio:~/logitechmediaserver$ ls -l
total 16724
-rw-r--r-- 1 root root 17123807 Dec 25 12:12 CPAN_PERL_ALL.tar.gz
-rw-r--r-- 1 root root        0 Dec 25 12:12 logitechmediaserver_7.9.1_arm.deb
volumio@volumio:~/logitechmediaserver$

It seems the package is damaged?

I’m not that big Linux Hero, so I would ask for your friendly help

TIA

EDIT:
Can I Do it manually, like this?

wget -O logitechmediaserver_all.deb $(wget -q -O - "http://www.mysqueezebox.com/update/?version=7.9.0&revision=1&geturl=1&os=deb")

sudo dpkg -i logitechmediaserver_all.deb

I found out that the download link in the script was ok, but starting the script in volumio by pushing the button was giving always an empty archive, as above.
I have done another of, I don’t know how much, factory reset and new Images and found this posting …

lms-plugin-err-connection-refused-t11170.html

Follow these commands:

  1. Download the new script
wget -O install-lms.sh https://raw.githubusercontent.com/Saiyato/volumio-lms-plugin/master/install.sh
  1. Execute the script (fill in the passwd when prompted)
sudo sh install-lms.sh force

but that didn’t work too … :neutral_face:

My next try was to push the button inside volumio, because it was a clean install … there was an error message but after reboot LMS was running :smiley:

This for reference @Saiyato


volumio@volumio:~$ wget -O install-lms.sh https://raw.githubusercontent.com/Saiyato/volumio-lms-plugin/master/install.sh
converted 'https://raw.githubusercontent.com/Saiyato/volumio-lms-plugin/master/install.sh' (ANSI_X3.4-1968) -> 'https://raw.githubusercontent.com/Saiyato/volumio-lms-plugin/master/install.sh' (UTF-8)
--2018-12-26 11:04:26--  https://raw.githubusercontent.com/Saiyato/volumio-lms-plugin/master/install.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5280 (5.2K) [text/plain]
Saving to: 'install-lms.sh'

install-lms.sh                            100%[=======================================================================================>]   5.16K  --.-KB/s   in 0.001s

2018-12-26 11:04:27 (8.84 MB/s) - 'install-lms.sh' saved [5280/5280]

volumio@volumio:~$ sudo sh install-lms.sh force
[sudo] password for volumio:
Installing LMS and its dependencies...
cpu:  armv7l
Hit http://archive.volumio.org jessie InRelease
Hit http://archive.volumio.org jessie InRelease
Hit http://archive.volumio.org jessie/main Sources
Hit http://archive.volumio.org jessie/contrib Sources
Hit http://archive.volumio.org jessie/non-free Sources
Hit http://archive.volumio.org jessie/rpi Sources
Hit http://archive.volumio.org jessie/main armhf Packages
Hit http://archive.volumio.org jessie/contrib armhf Packages
Hit http://archive.volumio.org jessie/non-free armhf Packages
Hit http://archive.volumio.org jessie/rpi armhf Packages
Hit http://archive.volumio.org jessie/main Sources
Hit http://archive.volumio.org jessie/ui Sources
Hit http://archive.volumio.org jessie/main armhf Packages
Hit http://archive.volumio.org jessie/ui armhf Packages
Ign http://archive.volumio.org jessie/contrib Translation-en
Ign http://archive.volumio.org jessie/main Translation-en
Ign http://archive.volumio.org jessie/non-free Translation-en
Ign http://archive.volumio.org jessie/rpi Translation-en
Ign http://archive.volumio.org jessie/main Translation-en
Ign http://archive.volumio.org jessie/ui Translation-en
Reading package lists... Done
Downloading installation package...
converted 'http://downloads.slimdevices.com/LogitechMediaServer_v7.9.1/logitechmediaserver_7.9.1_arm.deb' (ANSI_X3.4-1968) -> 'http://downloads.slimdevices.com/LogitechMediaServer_v7.9.1/logitechmediaserver_7.9.1_arm.deb' (UTF-8)
--2018-12-26 11:05:49--  http://downloads.slimdevices.com/LogitechMediaServer_v7.9.1/logitechmediaserver_7.9.1_arm.deb
Resolving downloads.slimdevices.com (downloads.slimdevices.com)... 13.32.2.254, 13.32.2.31, 13.32.2.71, ...
Connecting to downloads.slimdevices.com (downloads.slimdevices.com)|13.32.2.254|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 41508634 (40M) [text/plain]
Saving to: '/home/volumio/logitechmediaserver/logitechmediaserver_7.9.1_arm.deb'

/home/volumio/logitechmediaserver/logitec 100%[=======================================================================================>]  39.58M  5.78MB/s   in 6.9s

2018-12-26 11:05:56 (5.73 MB/s) - '/home/volumio/logitechmediaserver/logitechmediaserver_7.9.1_arm.deb' saved [41508634/41508634]

Installing downloaded package
Selecting previously unselected package logitechmediaserver.
(Reading database ... 20919 files and directories currently installed.)
Preparing to unpack .../logitechmediaserver_7.9.1_arm.deb ...
Unpacking logitechmediaserver (7.9.1) ...
dpkg: dependency problems prevent configuration of logitechmediaserver:
 logitechmediaserver depends on libio-socket-ssl-perl; however:
  Package libio-socket-ssl-perl is not installed.

dpkg: error processing package logitechmediaserver (--install):
 dependency problems - leaving unconfigured
Processing triggers for systemd (215-17+deb8u8) ...
Errors were encountered while processing:
 logitechmediaserver
Reading package lists... Done
Building dependency tree
Reading state information... Done
unzip is already the newest version.
unzip set to manually installed.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libio-socket-ssl-perl : Depends: libnet-ssleay-perl (>= 1.59) but it is not going to be installed
                         Recommends: libnet-libidn-perl but it is not going to be installed or
                                     libnet-idn-encode-perl but it is not going to be installed or
                                     liburi-perl but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libio-socket-ssl-perl libnet-libidn-perl libnet-ssleay-perl
The following NEW packages will be installed:
  libio-socket-ssl-perl libnet-libidn-perl libnet-ssleay-perl
0 upgraded, 3 newly installed, 0 to remove and 24 not upgraded.
1 not fully installed or removed.
Need to get 449 kB of archives.
After this operation, 1491 kB of additional disk space will be used.
Get:1 http://archive.volumio.org/raspbian/ jessie/main libnet-ssleay-perl armhf 1.65-1+deb8u1 [259 kB]
Get:2 http://archive.volumio.org/raspbian/ jessie/main libio-socket-ssl-perl all 2.002-2+deb8u3 [172 kB]
Get:3 http://archive.volumio.org/raspbian/ jessie/main libnet-libidn-perl armhf 0.12.ds-2+b1 [17.6 kB]
Fetched 449 kB in 0s (663 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libnet-ssleay-perl.
(Reading database ... 24669 files and directories currently installed.)
Preparing to unpack .../libnet-ssleay-perl_1.65-1+deb8u1_armhf.deb ...
Unpacking libnet-ssleay-perl (1.65-1+deb8u1) ...
Selecting previously unselected package libio-socket-ssl-perl.
Preparing to unpack .../libio-socket-ssl-perl_2.002-2+deb8u3_all.deb ...
Unpacking libio-socket-ssl-perl (2.002-2+deb8u3) ...
Selecting previously unselected package libnet-libidn-perl.
Preparing to unpack .../libnet-libidn-perl_0.12.ds-2+b1_armhf.deb ...
Unpacking libnet-libidn-perl (0.12.ds-2+b1) ...
Setting up libnet-ssleay-perl (1.65-1+deb8u1) ...
Setting up libio-socket-ssl-perl (2.002-2+deb8u3) ...
Setting up logitechmediaserver (7.9.1) ...
Adding system user `squeezeboxserver' (UID 112) ...
Adding new user `squeezeboxserver' (UID 112) with group `nogroup' ...
Not creating home directory `/usr/share/squeezeboxserver'.
Setting up libnet-libidn-perl (0.12.ds-2+b1) ...
Processing triggers for systemd (215-17+deb8u8) ...
Linking CPAN to Latest
Fixing directory rights
mkdir: cannot create directory '/var/lib/squeezeboxserver': File exists
Adding the systemd unit
rm: cannot remove '/etc/systemd/system/logitechmediaserver.service': No such file or directory
converted 'https://raw.githubusercontent.com/Saiyato/volumio-lms-plugin/master/unit/logitechmediaserver.service' (ANSI_X3.4-1968) -> 'https://raw.githubusercontent.com/Saiyato/volumio-lms-plugin/master/unit/logitechmediaserver.service' (UTF-8)
--2018-12-26 11:06:41--  https://raw.githubusercontent.com/Saiyato/volumio-lms-plugin/master/unit/logitechmediaserver.service
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 636 [text/plain]
Saving to: '/etc/systemd/system/logitechmediaserver.service'

/etc/systemd/system/logitechmediaserver.s 100%[=======================================================================================>]     636  --.-KB/s   in 0s

2018-12-26 11:06:41 (2.11 MB/s) - '/etc/systemd/system/logitechmediaserver.service' saved [636/636]

Fixing CPAN Image::Scale...
converted 'https://github.com/Saiyato/volumio-lms-plugin/raw/master/known_working_versions/CPAN_FIX_IMAGE.zip' (ANSI_X3.4-1968) -> 'https://github.com/Saiyato/volumio-lms-plugin/raw/master/known_working_versions/CPAN_FIX_IMAGE.zip' (UTF-8)
--2018-12-26 11:06:41--  https://github.com/Saiyato/volumio-lms-plugin/raw/master/known_working_versions/CPAN_FIX_IMAGE.zip
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/Saiyato/volumio-lms-plugin/master/known_working_versions/CPAN_FIX_IMAGE.zip [following]
converted 'https://raw.githubusercontent.com/Saiyato/volumio-lms-plugin/master/known_working_versions/CPAN_FIX_IMAGE.zip' (ANSI_X3.4-1968) -> 'https://raw.githubusercontent.com/Saiyato/volumio-lms-plugin/master/known_working_versions/CPAN_FIX_IMAGE.zip' (UTF-8)
--2018-12-26 11:06:42--  https://raw.githubusercontent.com/Saiyato/volumio-lms-plugin/master/known_working_versions/CPAN_FIX_IMAGE.zip
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 166044 (162K) [application/zip]
Saving to: '/opt/CPAN_FIX_IMAGE.zip'

/opt/CPAN_FIX_IMAGE.zip                   100%[=======================================================================================>] 162.15K  --.-KB/s   in 0.06s

2018-12-26 11:06:42 (2.55 MB/s) - '/opt/CPAN_FIX_IMAGE.zip' saved [166044/166044]

Archive:  /opt/CPAN_FIX_IMAGE.zip
checkdir:  cannot create extraction directory: /opt/CPAN/arm-linux-gnueabihf-thread-multi-64int
           No such file or directory
chmod: cannot access '/opt/CPAN/arm-linux-gnueabihf-thread-multi-64int/auto/Image/Scale/Scale.so': No such file or directory
CPAN image fix completed
Fixing CPAN DSD playback...
converted 'https://github.com/Saiyato/volumio-lms-plugin/raw/master/known_working_versions/CPAN_AUDIO_DSD_7.9.tar' (ANSI_X3.4-1968) -> 'https://github.com/Saiyato/volumio-lms-plugin/raw/master/known_working_versions/CPAN_AUDIO_DSD_7.9.tar' (UTF-8)
--2018-12-26 11:06:42--  https://github.com/Saiyato/volumio-lms-plugin/raw/master/known_working_versions/CPAN_AUDIO_DSD_7.9.tar
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/Saiyato/volumio-lms-plugin/master/known_working_versions/CPAN_AUDIO_DSD_7.9.tar [following]
converted 'https://raw.githubusercontent.com/Saiyato/volumio-lms-plugin/master/known_working_versions/CPAN_AUDIO_DSD_7.9.tar' (ANSI_X3.4-1968) -> 'https://raw.githubusercontent.com/Saiyato/volumio-lms-plugin/master/known_working_versions/CPAN_AUDIO_DSD_7.9.tar' (UTF-8)
--2018-12-26 11:06:43--  https://raw.githubusercontent.com/Saiyato/volumio-lms-plugin/master/known_working_versions/CPAN_AUDIO_DSD_7.9.tar
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 194560 (190K) [application/octet-stream]
Saving to: '/opt/CPAN_AUDIO_DSD_7.9.tar'

/opt/CPAN_AUDIO_DSD_7.9.tar               100%[=======================================================================================>] 190.00K  --.-KB/s   in 0.08s

2018-12-26 11:06:43 (2.40 MB/s) - '/opt/CPAN_AUDIO_DSD_7.9.tar' saved [194560/194560]

converted 'https://github.com/Saiyato/volumio-lms-plugin/raw/master/known_working_versions/DSDPLAYER-BIN.zip' (ANSI_X3.4-1968) -> 'https://github.com/Saiyato/volumio-lms-plugin/raw/master/known_working_versions/DSDPLAYER-BIN.zip' (UTF-8)
--2018-12-26 11:06:43--  https://github.com/Saiyato/volumio-lms-plugin/raw/master/known_working_versions/DSDPLAYER-BIN.zip
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/Saiyato/volumio-lms-plugin/master/known_working_versions/DSDPLAYER-BIN.zip [following]
converted 'https://raw.githubusercontent.com/Saiyato/volumio-lms-plugin/master/known_working_versions/DSDPLAYER-BIN.zip' (ANSI_X3.4-1968) -> 'https://raw.githubusercontent.com/Saiyato/volumio-lms-plugin/master/known_working_versions/DSDPLAYER-BIN.zip' (UTF-8)
--2018-12-26 11:06:44--  https://raw.githubusercontent.com/Saiyato/volumio-lms-plugin/master/known_working_versions/DSDPLAYER-BIN.zip
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 84325 (82K) [application/zip]
Saving to: '/opt/DSDPLAYER-BIN.zip'

/opt/DSDPLAYER-BIN.zip                    100%[=======================================================================================>]  82.35K  --.-KB/s   in 0.04s

2018-12-26 11:06:44 (2.06 MB/s) - '/opt/DSDPLAYER-BIN.zip' saved [84325/84325]

Archive:  /opt/DSDPLAYER-BIN.zip
  inflating: /usr/share/squeezeboxserver/Bin/arm-linux/libsoxr.so.0
  inflating: /usr/share/squeezeboxserver/Bin/arm-linux/dsdplay
CPAN DSD playback fix completed
plugininstallend