Moode Forum
[SOLVED] Roon Bridge Installation not working in release 9.0.3 - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: [SOLVED] Roon Bridge Installation not working in release 9.0.3 (/showthread.php?tid=6667)

Pages: 1 2


Roon Bridge Installation not working in release 9.0.3 - danieljw - 06-30-2024

Hi Tim, Hi all,

Just updated to moOde 9.0.3 on a RPI4. 
I usually install roon bridge via SSH after installation 
It does not seem to be working, has anyone had the same issue ?

 -Dan


RE: Roon Bridge Installation not working in release 9.0.3 - Tim Curtis - 06-30-2024

What steps did you use to install rb?


RE: Roon Bridge Installation not working in release 9.0.3 - danieljw - 06-30-2024

(06-30-2024, 12:28 PM)Tim Curtis Wrote: What steps did you use to install rb?

Hi Tim,

Thanks for the reply,

I have tried both of the following via the inbuilt SSH session shell in a box option, usually the armv7 option works

Roon Bridge x86_64
$ curl -O http://download.roonlabs.com/builds/roonbridge-installer-linuxx64.sh
$ chmod +x roonbridge-installer-linuxx64.sh
$ sudo ./roonbridge-installer-linuxx64.sh

Roon Bridge armv7hf
$ curl -O http://download.roonlabs.com/builds/roonbridge-installer-linuxarmv7hf.sh
$ chmod +x roonbridge-installer-linuxarmv7hf.sh
$ sudo ./roonbridge-installer-linuxarmv7hf.sh


- Dan


RE: Roon Bridge Installation not working in release 9.0.3 - danieljw - 06-30-2024

Here is the message in shell in a box if that helps:

pi@moode:~ $ curl -O http://download.roonlabs.com/builds/roonbridge-installer-linuxarmv7hf.sh
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                                                                        
                                Dload  Upload   Total   Spent    Left  Speed                                                                                          
100   178  100   178    0     0    244      0 --:--:-- --:--:-- --:--:--   244                                                                                          
pi@moode:~ $ chmod +x roonbridge-installer-linuxarmv7hf.sh
pi@moode:~ $ sudo ./roonbridge-installer-linuxarmv7hf.sh
./roonbridge-installer-linuxarmv7hf.sh: 1: cannot open html: No such file                                                                                              
./roonbridge-installer-linuxarmv7hf.sh: 2: Syntax error: redirection unexpected                                                                                        
pi@moode:~ $


RE: Roon Bridge Installation not working in release 9.0.3 - Tim Curtis - 06-30-2024

The Roon instructions at https://help.roonlabs.com/portal/en/kb/articles/linux-install#Overview are not what I'd call "user friendly".

They terms they use mean the following

Code:
x86_64    Intel or AMD based PC or Mini-PC system
armv7hf   32-bit Raspberry Pi (1/2, Zero, Zero W)
armv8     64-bit Raspberry Pi (3/4/5, 400, CM3/4 and Zero 2 W)

For moode 9 series which is 64-bit only you would need the armv8 installer.


RE: Roon Bridge Installation not working in release 9.0.3 - Tim Curtis - 06-30-2024

Also it looks like the command "curl" they specify either has the wrong options or some other issue because it does not actually download the file but rather it downloads an HTML redirect error page.

Use the wget command instead of curl and you should be all set
Code:
wget -q http://download.roonlabs.com/builds/roonbridge-installer-linuxarmv8.sh

Someone should post something in the Roon Forums about the documentation.


RE: Roon Bridge Installation not working in release 9.0.3 - TheOldPresbyope - 06-30-2024

(06-30-2024, 01:59 PM)Tim Curtis Wrote: Also it looks like the command "curl" they specify either has the wrong options or some other issue because it does not actually download the file but rather it downloads an HTML redirect error page.

Use the wget command instead of curl and you should be all set
Code:
wget -q http://download.roonlabs.com/builds/roonbridge-installer-linuxarmv8.sh

Someone should post something in the Roon Forums about the documentation.

Yeah, looks like they moved the scripts to roonlabs.net but forgot to adjust their docs. While wget can follow the redirect implicitly curl has to be told explicitly to do so.

"curl -LO http://download.roonlabs.com/..." will do the trick. Or just put in the correct URL to begin with.

Regards,
Kent


RE: Roon Bridge Installation not working in release 9.0.3 - danieljw - 07-01-2024

Thanks Guys,

I will try tonight and if it works as it should I will ask them to update the guide.

Appreciate your help

- Dan


RE: Roon Bridge Installation not working in release 9.0.3 - danieljw - 07-01-2024

Ok Guys,

I tried, wget with no luck, so I tried curl -LO and it worked:

pi@moode:~ $ curl -LO http://download.roonlabs.com/builds/roonbridge-installer-linuxarmv8.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 178 100 178 0 0 298 0 --:--:-- --:--:-- --:--:-- 298
100 162 0 162 0 0 141 0 --:--:-- 0:00:01 --:--:-- 487
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 178 100 178 0 0 634 0 --:--:-- --:--:-- --:--:-- 635
100 16680 100 16680 0 0 20663 0 --:--:-- --:--:-- --:--:-- 69030
pi@moode:~ $ chmod +x roonbridge-installer-linuxarmv8.sh
pi@moode:~ $ sudo ./roonbridge-installer-linuxarmv8.sh

--------------------------------------------------------------------------------------

Welcome to the RoonBridge installer

This installer sets up RoonBridge to run on linux with the following settings:

- RoonBridge will be installed in /opt/RoonBridge
- RoonBridge's data will be stored in /var/roon/RoonBridge
- RoonBridge will be configured to run as a system service
- RoonBridge will run as root

These settings are suitable for turning a dedicated or semi-dedicated device
into an appliance that runs RoonBridge

If you want customize how RoonBridge is installed, see:

http://kb.roonlabs.com/LinuxInstall

--------------------------------------------------------------------------------------

Do you want to install RoonBridge on this machine? [Y/n] y

Downloading RoonBridge_linuxarmv8.tar.bz2 to /tmp/tmp.FxtaDqBjMI/RoonBridge_linuxarmv8.tar.bz2

################################################################################################################################################################# 100.0%

Unpacking RoonBridge_linuxarmv8.tar.bz2...Done

Checking to see if RoonBridge can run on this machine

Checking for Binary Compatibility [ OK ]
Checking for ALSA Libraries [ OK ]

STATUS: SUCCESS


Copying Files...Done
Failed to stop roonbridge.service: Unit roonbridge.service not loaded.

Installing /etc/systemd/system/roonbridge.service

Enabling service roonbridge...
Created symlink /etc/systemd/system/multi-user.target.wants/roonbridge.service → /etc/systemd/system/roonbridge.service.
Service Enabled

Starting service roonbridge...
Service Started

--------------------------------------------------------------------------------------

All Done! RoonBridge should be running on your machine now.

--------------------------------------------------------------------------------------

pi@moode:~ $


RE: Roon Bridge Installation not working in release 9.0.3 - danieljw - 07-01-2024

Thanks alot for your help Tim and Kent !

Here are the ssh commands in bold for adding roon bridge to moode which worked for me on moode 9.0.3 using a Pi 4

Roon Bridge armv8

curl -LO http://download.roonlabs.com/builds/roonbridge-installer-linuxarmv8.sh
chmod +x roonbridge-installer-linuxarmv8.sh
sudo ./roonbridge-installer-linuxarmv8.sh

I hope this helps someone else...

-Dan