Saiyato / volumio-snapcast-plugin

Volumio 2 SnapCast plugin, to easily manage SnapCast functionality
115 stars 25 forks source link

unable to install on Raspberry Pi Zero #89

Closed maximushugus closed 2 years ago

maximushugus commented 3 years ago

Hello, I'm not able to install the plugin in my volumio installation on a raspberry pi zero W. I tried with a git clone of the repository and removing the zip file. I also tried to download and exract the zip file, but I get the same error when installing :

volumio plugin install

This command will install the plugin on your device

Compressing the plugin
No modules found, running "npm install"
npm WARN notice [SECURITY] parsejson has the following vulnerability: 1 high. Go here for more details: https://www.npmjs.com/advisories?search=parsejson&version=0.0.1 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
npm WARN notice [SECURITY] debug has the following vulnerability: 1 low. Go here for more details: https://www.npmjs.com/advisories?search=debug&version=2.3.3 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
npm WARN notice [SECURITY] parsejson has the following vulnerability: 1 high. Go here for more details: https://www.npmjs.com/advisories?search=parsejson&version=0.0.3 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
npm WARN notice [SECURITY] debug has the following vulnerability: 1 low. Go here for more details: https://www.npmjs.com/advisories?search=debug&version=2.2.0 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3
npm notice created a lockfile as package-lock.json. You should commit this file.
Plugin succesfully compressed
Progress: 10
Status :Télécharger le plugin
Downloading plugin at http://127.0.0.1:3000/plugin-serve/snapcast.zip
Progress: 30
Status :Création de l'emplacement de destination
Downloading plugin at http://127.0.0.1:3000/plugin-serve/snapcast.zip<br>END DOWNLOAD: http://127.0.0.1:3000/plugin-serve/snapcast.zip<br>Création de l'emplacement de destination
Progress: 40
Status :Décompression du plugin
Downloading plugin at http://127.0.0.1:3000/plugin-serve/snapcast.zip<br>END DOWNLOAD: http://127.0.0.1:3000/plugin-serve/snapcast.zip<br>Création de l'emplacement de destination<br>Décompression du plugin
Progress: 50
Status :Vérification des doublons
Downloading plugin at http://127.0.0.1:3000/plugin-serve/snapcast.zip<br>END DOWNLOAD: http://127.0.0.1:3000/plugin-serve/snapcast.zip<br>Création de l'emplacement de destination<br>Décompression du plugin<br>Vérification des doublons
Progress: 60
Status :Copie du plugin à destination
Downloading plugin at http://127.0.0.1:3000/plugin-serve/snapcast.zip<br>END DOWNLOAD: http://127.0.0.1:3000/plugin-serve/snapcast.zip<br>Création de l'emplacement de destination<br>Décompression du plugin<br>Vérification des doublons<br>Copie du plugin à destination
Progress: 70
Status :Installation des utilitaires nécessaires
Downloading plugin at http://127.0.0.1:3000/plugin-serve/snapcast.zip<br>END DOWNLOAD: http://127.0.0.1:3000/plugin-serve/snapcast.zip<br>Création de l'emplacement de destination<br>Décompression du plugin<br>Vérification des doublons<br>Copie du plugin à destination<br>Installation des utilitaires nécessaires
Progress: 0
Status :Une erreur est survenue lors de l'installation du plugin Error
Downloading plugin at http://127.0.0.1:3000/plugin-serve/snapcast.zip<br>END DOWNLOAD: http://127.0.0.1:3000/plugin-serve/snapcast.zip<br>Création de l'emplacement de destination<br>Décompression du plugin<br>Vérification des doublons<br>Copie du plugin à destination<br>Installation des utilitaires nécessaires<br>Une erreur est survenue lors de l'installation du plugin Error

I also cannot install the plugin from the list in Volumio interface.

I'm on the lastest version of volumio : 2.861

Does someone know what's happening ?

Many thanks

f0rdprefect commented 3 years ago

Yepp same here!

hav0ck commented 3 years ago

I got it installed on 2.878 but.... I ran into a few issues. There were 2 files that were not able to be updated (I can't remember their names right now) and I wasn't able to get the server to run as a daemon. The issues with the files I resolved by being lazy and doing a chmod 777 on them. The server ran file from the command line but... The audio was terrible on the client(s) end, constant hiss and pops.

Is the Pi 0 W even strong enough to run volumio and snapcast?

Saiyato commented 2 years ago

Hi all,

First of all, yes the Pi 0W is able to run the plugin, no worries :wink: Secondly, I revamped this functionality and split the server and client part. They have been tested and work in Volumio 3:

https://github.com/Saiyato/volumio-snapserver-plugin https://github.com/Saiyato/volumio-snapclient-plugin