Failure to open/stream files with a new Ubuntu VM exsi 7 installation

I moved my running roonserver from a NAS to an Ubuntu station. Everything seems to be fine, shares get mounted (the data is on the NAS), i see everything in a player. But can’t play. Looking in the logs, i see:

“Unexpected failure while opening sound… Soolos.Audio.Mediadecoder…”

I probably missed something during installation? Any hints?

Frank

Welcome to the community forum, @Frank_Mantek!

It’d be really helpful if you could provide more detail about your setup including the core computer and OS details.

Please follow this guide:

Also, please confirm the steps you took to install Roon Server. For instance, did you follow the install guide and make sure all dependencies were met?

Sure thing. It’s a Ubuntu 18.04 system, freshly setup and updated with the sole purpose of running Roon on it (the nas i was using is too slow in the end for my taste). The hardware is an Intel NUC10 with 64GB of Ram and 1TB of SSD.

I followed the instructions to the letter, adding the various mentioned dependencies, using the quick setup script for linux. Added the access to the shares using fstab, and verified that the data is actually connected on a reboot.

I used the ffmpeg as well as libasound2 (which is default on ubuntu). Retraced the steps, don’t see what i am doing wrong. Tried MP3, flac, m4a and playing from tidal, all with similiar log files.

A few questions:

  1. What device(s) are endpoints?
  2. How are these connected to the Linux server, e.g. USB, network?
  3. Do any zones play?
  4. How is the server connected to your network?
  5. Is the problem with local and streaming media?
  6. Is the problem with all media types or just Hi-Res audio?

Also, please post the output from these commands:

    sudo /opt/RoonServer/check.sh
    sudo systemctl status roonserver

Thanks.

Output of check.sh is all ok - it took me a few minutes to the the filelimits set under ubuntu 18.04, as that requires a non standard conf.

Output of status roonserver:
roonserver.service - RoonServer
Loaded: loaded (/etc/systemd/system/roonserver.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-08-26 03:20:31 CEST; 7h left
Main PID: 1072 (start.sh)
Tasks: 75 (limit: 10144)
CGroup: /system.slice/roonserver.service
├─1072 /bin/bash /opt/RoonServer/start.sh
├─1093 /opt/RoonServer/RoonMono/bin/RoonServer --debug --gc=sgen --server RoonServer.exe
├─1256 /opt/RoonServer/RoonMono/bin/RoonAppliance --debug --gc=sgen --server RoonAppliance.exe -watchdogport=41727
├─1258 /opt/RoonServer/Server/processreaper 1256
└─1591 /opt/RoonServer/RoonMono/bin/RAATServer --debug --gc=sgen --server RAATServer.exe

Aug 26 03:20:55 roon-ubuntu-vm start.sh[1072]: [AAC/oop] GOT 44100/24/2 10196 samples mf=0x7f045400edd0 underlying_objecttype=-1 underlying_sfidx=-1
Aug 26 03:20:55 roon-ubuntu-vm start.sh[1072]: [AAC/oop] GOT 44100/24/2 3212 samples mf=0x7f045407c7a0 underlying_objecttype=-1 underlying_sfidx=-1
Aug 26 03:20:55 roon-ubuntu-vm start.sh[1072]: [AAC/oop] GOT 44100/24/2 2148 samples mf=0x7f045400edd0 underlying_objecttype=-1 underlying_sfidx=-1
Aug 26 03:20:55 roon-ubuntu-vm start.sh[1072]: [AAC/oop] GOT 44100/24/2 3333 samples mf=0x7f045407c7a0 underlying_objecttype=-1 underlying_sfidx=-1
Aug 26 03:20:55 roon-ubuntu-vm start.sh[1072]: [AAC/oop] GOT 44100/24/2 2786 samples mf=0x7f045400edd0 underlying_objecttype=-1 underlying_sfidx=-1
Aug 26 03:20:55 roon-ubuntu-vm start.sh[1072]: [AAC/oop] GOT 44100/24/2 2670 samples mf=0x7f045407c7a0 underlying_objecttype=-1 underlying_sfidx=-1
Aug 26 03:20:55 roon-ubuntu-vm start.sh[1072]: [AAC/oop] GOT 44100/24/2 3092 samples mf=0x7f045400edd0 underlying_objecttype=-1 underlying_sfidx=-1
Aug 26 03:20:55 roon-ubuntu-vm start.sh[1072]: [AAC/oop] GOT 44100/24/2 2968 samples mf=0x7f045407c7a0 underlying_objecttype=-1 underlying_sfidx=-1
Aug 26 03:20:55 roon-ubuntu-vm start.sh[1072]: [AAC/oop] GOT 44100/24/2 2109 samples mf=0x7f045400edd0 underlying_objecttype=-1 underlying_sfidx=-1
Aug 25 19:26:16 roon-ubuntu-vm start.sh[1072]: WARNING: clock moved backwards by 28480.638secs

The devices are Rasberry Pies with a DAC on them, and they worked just fine (actually still do), when i use Roon on the NAS. Those devices are connected over Network (gigabit cable). No Zones play, not even a local windows machine with speakers. The server is connected using gigabit lan as well. Problem is with all media: tidal, local and internet radio. I tried flac, highres and mp3 files, all fail the same.

Frank

Are you running Roon in a virtual machine?

Sorry, yes. Should have mentioned that. Running under esxi 7.0

Okay, I think that this is probably the cause of your woes. What specification is the VM and is Roon running on SSD? I think I’d start looking at firewall (is UFW enabled or something on the host machine) and networking.

It may be better moving the thread to #tinkering as you may get more responses there.

The VM is 4cores, 8gb memory, 200GB SSD for this VM. Speed should not be the problem, the NUC 10 is easily fast enough. Considering that Roon was running fine on a synology nas before.

But i am also sure it’s something todo with the firewall. Once i figure out how to do that, will move it to tinkering.

You’ll need to have UDP 9003 and TCP 9100:9200 open.

Seems to have been all that was needed. Works now, and i can play music from my iphone. My Windows client decides to crash on startup :), but i will just reinstall the thing.

1 Like