Cannot install Roon Server On Ubuntu 20.04

Roon Core Machine

Linux Ubuntu 20.0; HP,RAM =16GB.

CPU:
cpu
product: Intel(R) Core™ i5-5200U CPU @ 2.20GHz
vendor: Intel Corp.
physical id: 1
bus info: cpu@0
size: 2173MHz
capacity: 2700MHz
width: 64 bits

HELP REQUIRE

Networking Gear & Setup Details

Connected Audio Devices

Number of Tracks in Library

Description of Issue

I am trying to install ROON Server on LInux Ubuntu 20.04 laptop. I have downloaded the installer.
I tried installing running the 3 commands in terminal and am getting the folloiwng error message:

~$ sudo ./roonserver-installer-linuxx64.sh


Welcome to the RoonServer installer

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

  • RoonServer will be installed in /opt/RoonServer
  • RoonServer’s data will be stored in /var/roon/RoonServer
  • RoonServer will be configured to run as a system service
  • RoonServer will run as root

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

If you want customize how RoonServer is installed, see:

http://kb.roonlabs.com/LinuxInstall


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

Downloading RoonServer_linuxx64.tar.bz2 to /tmp/tmp.f4v09doWUw/RoonServer_linuxx64.tar.bz2

Warning: Failed to create the file
Warning: /tmp/tmp.f4v09doWUw/RoonServer_linuxx64.tar.bz2: No such file or
Warning: directory
0.0%curl: (23) Failure writing output to destination


The RoonServer installer did not complete successfully.

If you are not sure how to proceed, please check out:


Just an idea… try

sudo sysctl fs.protected_regular=0  

and after that, try again to run the installer with sudo…

1 Like

Hi Andreas… Thanks for responding.I tried it and amstill getting the error:

elcome to the RoonServer installer

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

  • RoonServer will be installed in /opt/RoonServer
  • RoonServer’s data will be stored in /var/roon/RoonServer
  • RoonServer will be configured to run as a system service
  • RoonServer will run as root

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

If you want customize how RoonServer is installed, see:

http://kb.roonlabs.com/LinuxInstall


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

Downloading RoonServer_linuxx64.tar.bz2 to /tmp/tmp.fchgrNF8uY/RoonServer_linuxx64.tar.bz2

Warning: Failed to create the file
Warning: /tmp/tmp.fchgrNF8uY/RoonServer_linuxx64.tar.bz2: No such file or
Warning: directory
curl: (23) Failure writing output to destination


The RoonServer installer did not complete successfully.

1 Like

Hmmm… the installer script tries to download the compressed software package into the /tmp directory, which in a standard installation should be present. But let’s make sure:

ls -la /tmp

This should output the /tmp directory with all within and its permission bits…

I’ve been thinking about your problem and I have had a look at the installation shell script. What has occurred to me is that curl terminates with error (23) without being able to write to its specified temporary directory which is created as one of the first actions of the shell script. Are you sure that you have enough available disk space on the partition where /tmp is located? Can we have a look at the output of the df command?

1 Like

It may be that it does not know how to handle that file type.
“sudo apt-get install bzip2”
Then run the installer again.

You may use “sudo apt-get remove --auto-remove bzip2” to undo my command if I am incorrect.

1 Like

The script seems to fail while downloading and writing the bzip2- compressed tarball to /tmp/tmp.xxxxxx… At this stage, bzip2 is not needed yet.

After successful download, the script would echo to the terminal that it will extract the files… this never seems to happen, it never executes the tar xf command which would need the bzip2 utility to be installed on the system.

Why would curl be unable to write to the temporary directory under /tmp? Is it a permission problem? The /tmp directory normally is owned by root:root with 1777 bits set. Is it a problem of insufficient available disk space? What else could cause curl to not be able to write to /tmp? I can’t think of anything else…

1 Like

chmod a+trwx /tmp; as root or sudo
That should set the proper permissions.

It could be a permission issue on the /tmp directory.

2 Likes

I think all Linux friends who have been successfully using Ubuntu https://ubuntu.com/ and the terminal for two or three decades since their student days, the many terminal commands are the easiest way to get there. You just learned it that way and never needed a graphical interface.

or even earlier with Debian: https://www.debian.org/

If you are just getting started today, you can make your life much easier. Linux Mint https://linuxmint.com/, based on Ubuntu, is an entry-level version for Windows migrants, but even there you would still have to work with the terminal for the RoonServer.

The distribution Manjaro https://manjaro.org/ makes it even easier, because there you can get this in the Linux store.


Klick and ready

Once the start is made, the interest will generate further reading and learning. here a full list: https://distrowatch.com/

…and a thread:

I don’t know if you found the solution but my guess is that you did not install curl properly.

Try :

$ sudo snap remove curl
$ sudo apt install curl

and relaunch the install

2 Likes