Roon Server crashes on Lubuntu with Exec format error (ref#NQ1CWE)

Hi! What’s not quite right with Roon?

· None of the above quite fits

None of the above quite fits

· None of these quite match

Tell us what's going on

· Roon crashes lubuntu on startup. After installing the latest Roon update, it stopped working. I'm trying to reinstall it, but after Roon Server installation, the computer reboots and starts up with this message: Failed to execute /opt/RoonServer/start.sh: Exec format error

Tell us about your home network

· The network is working well.

This often implies that the wrong architecture, but could also be a permissions’ problem.

Please execute this and share the output.

uname -m

Add images

Okay, please try these steps.

cd ~/Downloads
sudo snap remove curl && sudo apt install cifs-utils curl ffmpeg --yes
curl -L https://download.roonlabs.com/builds/roonserver-installer-linuxx64.sh -O
chmod +x roonserver-installer-linuxx64.sh
sudo ./roonserver-installer-linuxx64.sh

Please let me know how this works for you.

My apologies, the last line should have read:

sudo ./roonserver-installer-linuxx64.sh

After a Roon Server


reinstallation, the computer reboots and starts with the same error.

Please run the following:

sudo systemctl start roonserver.service

and

journalctl -u roonserver.service --since 18:00

Hi @Ruslan_Cerepenko,

Thanks for the details so far — to move this forward, we need to clarify the exact environment.

Please reply with the output of the following commands:

lsb_release -a
uname -a
uname -m

Also let us know:

  • Which Lubuntu version you’re running (e.g. 20.04 / 22.04)
  • Whether this system is x86_64 (Intel/AMD) or ARM

An Exec format error usually points to an architecture or binary compatibility issue, so this info is essential before we proceed.

Hi @vadim,
Lubuntu 24.04. x86_64 Intel/AMD. ASRock E3C256D2I. Everything worked fine until the last Roon


update.

Hello,

I have performed the same testing on our end, and the Roon server installed correctly without any crashes on the same Lubuntu installation.



Please run these commands and paste the full output:

ls -l /opt/RoonServer/start.sh
file /opt/RoonServer/start.sh
head -n 5 /opt/RoonServer/start.sh
cat -A /opt/RoonServer/start.sh | head -n 5

With my hardware Roon server stopped working on Lubuntu 24.04. I installed Ubuntu 24.04 and now everything works fine. Thanks for your help guys.

1 Like

After restarting the computer, RoomServer wouldn’t start. The problem reoccurred, after Roon reinstallation the program restarts the computer and Roon doesn’t start.

I found a similar problem here:

After manual startup, this information appears and the computer reboots, Roon does not start after restarting.

That’s a different issue, that ultimately need a lock file removing (because Roon was started manually.)

However, your ls -l output shows that Roon was not installed correctly. The owner and group are 1001 when they should be root:root.

Moreover, the 1001 user should be named on the system. Typically, the first user account is 1000.

Make sure Roon server is installed using sudo.

My mistake, I typed “-l” instead of -1.