Saiyato / volumio-snapcast-plugin

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

Plugin Installation Stuck #79

Closed mtb-pm closed 2 years ago

mtb-pm commented 4 years ago

Hi Saiyato,

While I see that you have indicated you are otherwise occupied in 2020, I am hoping, you may see this and have an idea of why this issue should crop up.

Issue

When installing the Snapcast plugin on a Volumio 2.799, the installation stops at "Finalizing Installation". After this there is no activity recorded.

Env

Volumio is installed on a VM running on Synology

Log Excerpt

<br>Hit http://ftp.nl.debian.org jessie/main Translation-en<br>Hit http://ftp.nl.debian.org jessie/non-free Translation-en<br>Reading package lists...<br>Detecting CPU architecture and Debian version...<br>CPU architecture: i686<br>Debian version: jessie<br>Still working on x86/x64 support, need to compile the packages.<br>Reading package lists...<br>Building dependency tree...<br>Reading state information...<br>The following package was automatically installed and is no longer required:<br> libpci3<br>Use 'apt-get autoremove' to remove it.<br>0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.<br><br> #SNAPCAST<br> pcm.!snapcast {<br> type plug<br> slave.pcm snapConverter<br> }<br> <br> pcm.snapConverter {<br> type rate<br> slave {<br> pcm writeFile # Direct to the plugin which will write to a file<br> format S16_LE<br> rate 48000<br> }<br> }<br><br> pcm.writeFile {<br> type file<br> slave.pcm null<br> file "/tmp/snapfifo"<br>format "raw"<br> }<br> #ENDOFSNAPCAST<br> <br>Finalizing installation<br>Finalizing installation

aleistah commented 4 years ago

same here, waiting for solution to pop up ;-)

Saiyato commented 4 years ago

Hi there,

This is because the architecture is not supported, you could compile yourselves, I believe installing from source would solve your problem. However I have no x86 instance of Volumio to test on, so there's only the theory that it works.

Please see #16 as well ;)

I'm working on a revamp, which relies on Docker, not sure if that's supported on all platforms. But supposedly this would work on any VM running a "popular" distro of Linux.

Any chance you could post back the version of the plugin you're installing? Because I'm also quite sure not all changes have been committed upstream into the Volumio store.

mtb-pm commented 4 years ago

Hey! Thanks for picking up this thread. Please see my responses below;

...........architecture is not supported.......

I see. That was a bit of a surprise. Let me get back to that point in a bit.

.....no x86 instance of Volumio to test on...........

I'm happy to either test or provide access, no problem.

Any chance you could post back the version of the plugin you're installing? Because I'm also quite sure not all changes have been committed upstream into the Volumio store.

Sure,

Please note - I am not sure what you mean with the Volumio Store. In my workflow, I am downloading the master(.zip) from your Github (since the installation guide points to this location) and not from a plugin repository. Would you like me to try any other repo?

W.R.T architecture & building from source, I could try that, sure. Did the steps outlined by aventrax work for you? https://github.com/Saiyato/volumio-snapcast-plugin/issues/16#issuecomment-534536765

Many thanks! (Danke Vel I suppose)

N-O-E-D commented 4 years ago

Hi! I have the same problem (installation stuck) with the same prompt messages. I'm running latest version of Volumio (2.806) on a Raspberry pi 4 4GB and i'm trying to install the current version of Snapcast (2.5.1). Any ideas?

Saiyato commented 4 years ago

Hi! I have the same problem (installation stuck) with the same prompt messages. I'm running latest version of Volumio (2.806) on a Raspberry pi 4 4GB and i'm trying to install the current version of Snapcast (2.5.1). Any ideas?

Hi,

I don’t think you should be getting the arch i686 msg, otherwise someone sold you a fake Pi ;)

Can you post your log entries please?

N-O-E-D commented 4 years ago

Hi! Thanks for the superfast response! This is the last part of the prompt message

Status :SnapCast Installato con successo, Attivare il plugin ora? 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>Creando la destinazione<br>Estraendo il plugin<br>Controllando se vi sono plugin duplicati<br>Copiando il plugin nella destinazione<br>Installando i servizi accessori<br>Installing SnapCast and its dependencies...<br>Hit http://archive.volumio.org jessie InRelease<br>Hit http://archive.volumio.org jessie InRelease<br>Hit http://archive.volumio.org jessie/main Sources<br>Hit http://archive.volumio.org jessie/contrib Sources<br>Hit http://archive.volumio.org jessie/non-free Sources<br>Hit http://archive.volumio.org jessie/rpi Sources<br>Hit http://archive.volumio.org jessie/main armhf Packages<br>Hit http://archive.volumio.org jessie/contrib armhf Packages<br>Hit http://archive.volumio.org jessie/non-free armhf Packages<br>Hit http://archive.volumio.org jessie/rpi armhf Packages<br>Hit http://archive.volumio.org jessie/main Sources<br>Hit http://archive.volumio.org jessie/ui Sources<br>Hit http://archive.volumio.org jessie/main armhf Packages<br>Hit http://archive.volumio.org jessie/ui armhf Packages<br>Ign http://archive.volumio.org jessie/contrib Translation-en<br>Ign http://archive.volumio.org jessie/main Translation-en<br>Ign http://archive.volumio.org jessie/non-free Translation-en<br>Ign http://archive.volumio.org jessie/rpi Translation-en<br>Ign http://archive.volumio.org jessie/main Translation-en<br>Ign http://archive.volumio.org jessie/ui Translation-en<br>Reading package lists...<br>Detecting CPU architecture and Debian version...<br>CPU architecture: armv7l<br>Debian version: jessie<br>Defaulting to known working version of SnapCast components (0.15.0)<br>Selecting previously unselected package snapclient.<br>(Reading database ... 24820 files and directories currently installed.)<br>Preparing to unpack .../snapclient_0.15.0_armhf.deb ...<br>Unpacking snapclient (0.15.0) ...<br>Processing triggers for systemd (215-17+deb8u8) ...<br>Selecting previously unselected package snapserver.<br>(Reading database ... 24829 files and directories currently installed.)<br>Preparing to unpack .../snapserver_0.15.0_armhf.deb ...<br>Unpacking snapserver (0.15.0) ...<br>Setting up snapserver (0.15.0) ...<br>Processing triggers for systemd (215-17+deb8u8) ...<br>Reading package lists...<br>Building dependency tree...<br>Reading state information...<br>Correcting dependencies... Done<br>The following extra packages will be installed:<br> libatomic1<br>The following NEW packages will be installed:<br> libatomic1<br>0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded.<br>1 not fully installed or removed.<br>Need to get 6806 B of archives.<br>After this operation, 22.5 kB of additional disk space will be used.<br>Get:1 http://archive.volumio.org/raspbian/ jessie/main libatomic1 armhf 4.9.2-10+deb8u1 [6806 B]<br>Fetched 6806 B in 0s (26.5 kB/s)<br>Selecting previou(Reading database ... 24838 files and directories currently installed.)<br>Preparing to unpack .../libatomic1_4.9.2-10+deb8u1_armhf.deb ...<br>Unpacking libatomic1:armhf (4.9.2-10+deb8u1) ...<br>Setting up libatomic1:armhf (4.9.2-10+deb8u1) ...<br>Setting up snapclient (0.15.0) ...<br>Processing triggers for libc-bin (2.19-18+deb8u10) ...<br>Processing triggers for systemd (215-17+deb8u8) ...<br><br> #SNAPCAST<br> pcm.!snapcast {<br> type plug<br> slave.pcm snapConverter<br> }<br> <br> pcm.snapConverter {<br> type rate<br> slave {<br> pcm writeFile # Direct to the plugin which will write to a file<br> format S16_LE<br> rate 48000<br> }<br> }<br><br> pcm.writeFile {<br> type file<br> slave.pcm null<br> file "/tmp/snapfifo"<br> format "raw"<br> }<br> #ENDOFSNAPCAST<br> <br>Finalizzando l'installazione<br>Finalizzando l'installazione

However, Snapcast client and server both work very well. One thing: the first time i tried to install Snapcast, i launched the command "sudo apt-get upgrade" after the "sudo apt-get update" (googling this just noticed me that that's a bad idea, in fact neither the client nor the server worked). The second time i only launched "sudo apt-get update" (without "upgrade" next), and it works fine (despite the prompt message above, the same in both cases)

Saiyato commented 2 years ago

There were all kinds of problems in this plugin, that's why I separated the server and client: https://github.com/Saiyato/volumio-snapserver-plugin https://github.com/Saiyato/volumio-snapclient-plugin