New Volumio 3 install on Raspberry Pi 3b+. Roon bridge install fails. Did not see this error documented on the site. Below is the install log:
Downloading plugin at https://plugins.volumio.workers.dev/pluginsv2/downloadLatestStable/RoonBridge/volumio/buster/armhf
END DOWNLOAD: https://plugins.volumio.workers.dev/pluginsv2/downloadLatestStable/RoonBridge/volumio/buster/armhf
Creating install location
Unpacking plugin
Checking that the plugin is suitable for this version of Volumio The plugin can be used with this version of Volumio
Checking for duplicate plugin
Copying plugin to location
Installing necessary utilities
Installing Roon Bridge Dependencies
Downloading RoonBridge_linuxarmv7hf.tar.bz2 to /tmp/tmp.BusA4vk2hO/RoonBridge_linuxarmv7hf.tar.bz2
Unpacking RoonBridge_linuxarmv7hf.tar.bz2...
An error occured while decompressing RoonBridge_linuxarmv7hf.tar.bz2.
Exit Status: 2
Removing tmp directory..
An error occurred while installing the plugin Error
I downloaded the code from the volroon project. It also failed to install due to being unable to extract the compressed tarball RoonBridge_linuxarmv7hf.tar.bz2. To debug, I ran the install.sh using “bash -x”. The output is below.
tar xf RoonBridge_linuxarmv7hf.tar.bz2
tar: This does not look like a tar archive
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now
R=2
‘[’ 2 -ne 0 ‘]’
echo ‘An error occured while decompressing RoonBridge_linuxarmv7hf.tar.bz2.’
An error occured while decompressing RoonBridge_linuxarmv7hf.tar.bz2.
i was reading about the error code but if this fixed it nice
hope that the creator could fix it in the install.
i gave the link to your posts. with fix for install.sh
Thanks for the quick debug and fix. I’ll update mine. The install.sh is verbatim from the original roon bridge plugin so if that one stopped working then mine wasn’t going to pull a rabbit out of the hat
Well, that fixed the download and tar extraction. But the RoonBridge service won’t start. It appears the tar file layout changed, so the service configuration is broken. Sigh.
The good news is the Roon provided Easy Installer script does work. It’s just not manageable under the Volumio control. So some additional updates to the Volroon install.sh script are required to fix the service configurations.
What errors are you getting now that the download has been fixed? I will look into this later today, but it seems then that something small has changed on Roon’s side if these things are happening to you. I have debugged volroon before with the roon bridge service and it doesn’t matter how the roon bridge service actually gets installed, it is still called with systemctl. If that isn’t working then something else has gone wrong on your installation. Which version of Volumio are you using?
Just a follow on to this before I go and make changes etc: Before you tried my volroon plugin, did you ever manage to install the original Roon Bridge plugin at all? I ask because I know that I have had problems with it before where it doesn’t necessarily clean-up properly after a failed install and/or uninstall properly because of an issue with permissions. I had to get stuck in and remove all the leftovers manually.
I’m using the latest build of Volumio 3.378. As I posted above, there were no errors thrown by the Volroon install.sh script. However, the Roon Bridge service never appeared. I tried rebooting, but still the service was not up. I did not have time to troubleshoot further, so I ran the uninstall.sh script and reinstalled it using Roon’s Easy Install script. That’s how got the service up. However, I cannot stop or start service from the plugin control in Volumio. Seem’s that the Volroon installation of the new tarball may not be accounting for some path changes, but that’s just a guess with the little amount of time I’ve looked into it.
Okay so I uninstalled volroon completely from my system and re-ran the plugin installer and hit the same error you did initially (the http vs https problem), I fixed that and it installed successfully. The RoonBridge service also successfully started up. I double checked with “systemctl status roonbridge” and everything is working. I don’t seem to be able to replicate your issue.
What I suggest is run the uninstaller for volroon and then manually delete /data/volumio/plugins/music_service/volroon if it’s there (also check if RoonBridge is there and nuke that too). Do the same for /data/configuration/music_service/volroon (and RoonBridge if you find it). And lastly, if you find it, delete /lib/systemd/system/roonbridge.service. Then run the volroon installer from scratch (Ensuring you still have the https fix in there).
You da man! I followed your advice after uninstalling Roonbridge. The install.sh script installation was clean and I was able to start and stop the service with the Volumio plugin control. I did not try to run the volumio plugin install. I can try that if you like.