balbuze / volumio-plugins

volumio's plugins from balbuze
190 stars 60 forks source link

Can't install volspotconnect (1) #92

Closed DragRedSim closed 7 years ago

DragRedSim commented 7 years ago

RasPi 2 B+.

Downloading plugin at http://127.0.0.1:3000/plugin-serve/abf8ab98-fa24-4f33-8e70-6b4c77259f88.zip
END DOWNLOAD: http://127.0.0.1:3000/plugin-serve/abf8ab98-fa24-4f33-8e70-6b4c77259f88.zip
Creating folder on disk
Unpacking plugin
Checking for duplicate plugin
Copying Plugin into location
Installing dependencies
Installing spotify-connect-web dependencies
Hit http://archive.raspbian.org jessie InRelease
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://archive.raspbian.org jessie/main Sources
Hit http://archive.raspbian.org jessie/contrib Sources
Hit http://archive.raspberrypi.org jessie/main Sources
Hit http://archive.raspbian.org jessie/non-free Sources
Hit http://archive.raspbian.org jessie/rpi Sources
Hit http://archive.raspberrypi.org jessie/ui Sources
Hit http://archive.raspbian.org jessie/main armhf Packages
Hit http://archive.raspbian.org jessie/contrib armhf Packages
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://archive.raspbian.org jessie/non-free armhf Packages
Hit http://archive.raspbian.org jessie/rpi armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Ign http://archive.raspbian.org jessie/contrib Translation-en
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspbian.org jessie/main Translation-en
Ign http://archive.raspbian.org jessie/non-free Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://archive.raspbian.org jessie/rpi Translation-en
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
avahi-utils is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 51 not upgraded.
Detecting cpu
Cpu is armv6l, downloading required package. Be patient, it could take up to 5min...
Failed to download. Stopping installation now
The following error occurred when installing the plugin: Error
balbuze commented 7 years ago

it can be due to a dns problem. For example, in the past users with virgin britain as isp had this problem. Try to set a other dns in volumio and retry.

DragRedSim commented 7 years ago

Managed to work around the issue, unfortunately I can't change the DNS provider as the ISP intercepts upstream requests. I think it might be more of an issue with how wget handles 301 redirects.

Workaround: Download package as zip file from plugins list Open package, extract install.sh Open extracted install.sh Find appropriate section for $cpu (in my case, armv61) Replace the active line wget https://github.com/balbuze/volumio-plugins/raw/master/plugins/music_service/volspotconnect/package/Volspotconnectchroot.tar.xz with curl -L -o Volspotconnectchroot.tar.xz https://github.com/balbuze/volumio-plugins/raw/master/plugins/music_service/volspotconnect/package/Volspotconnectchroot.tar.xz -L means follow any redirects, -o to select an output file. Use the same name as is being downloaded. Save install.sh Overwrite install.sh in the .zip pcakage Install as normal through Volumio