Corruption on ROCK/Archlinux on same NUC

Core Machine (Operating system/System info/Roon build number)

Rock on NUC8i3
Roon Optimized Core Kit Version 1.0 (build 183)
Roon remote on ipad, android and one in linux with wine, all are up to date

Network Details (Including networking gear model/manufacturer and if on WiFi/Ethernet)

Lan and Wifi nothing special (MTU is 1460)

Audio Devices (Specify what device you’re using and its connection type - USB/HDMI/etc.)

Allo digione with raspberry

Description Of Issue

I have tree roon remote, one with Ipad another on android phone and one on my archlinux laptop with Wine.

I want to put a photo profile, nothing special but no way…
With my ipad, i first use the URL system (i have a raspberry with apache where i have put my photos), i can see the photos but when i want to save the changer, it’s take a lot a time and finaly say that they was a network problem…

Ok maybe i have to put my photo outside from my lan, so i push the photos in one of my server, copy the url and use the URL system on my roon remote, same as before, i see the photos but i can’t save the change, network issue…

Ok… i try lastfm system, exactly the same situation, after giving my user and pass, i see the photos but i can’t save my change… network issue!

So please how is possible that a little thing like that doesn’t work?
Any idea?

I have try the change of my birthday, it’s work…
The only special thing in my lan network, it’s that i have to use a mtu that is only 1460 and not 1500. My dhcp server give this rules and all my system take it without any problem. But i can’t debug rock… It’s totally close. Maybe i have to use a normal linux system and not rock. And i can not imagine that will be the root of the problem…
But really ? Roon is very powerful and i can’t understand that this little thing, changing my picture profile, doesn’t work i all my 3 roon-remote

Hi @JempeZen,

Can you try coping the image itself and pasting it (instead of just the URL)? I tried on my iPhone and changing the image is working as expected.

Not quite. You can access logs by using these instructions. If you want, you can send me a timestamp + log package and I’ll take a look.

Thank you for the support.
I have send you the log…
Maybe you can find the problem…
Best regards

Hi @JempeZen,

Thanks for sending the log over, it looks like some kind of firewall is blocking you from uploading the picture. Do you have any firewalls on your router?

If you try using another PC as the Roon Core temporarily, are you able to upload the picture there?

Hi,
The is no firewall that block any output.
I have investigate and i am pretty sur the problem is comming from Rock. Rock have to take the mtu that the dhcp say it to take. It’s 1460 not 1500 in my network. If the the mtu is 1500 ther will some uploading problem. Some https packet doesn’t like to be fragmented. A basic test: if i use an mtu of 1500 in my laptop and make a speedtest dot com the upload test will fail and will be zero. If i use 1460 speedtest upload is fine.
I can use curl to post the json data that rock want to post with curl from another computer without any problem.
Is there a way to see the MTU from eth0 from rock?

Hello @JempeZen,

I spoke to the technical team regarding your report and we don’t believe that the MTU size could cause this behavior, all it should do is split the request into multiple packets and according to the snippet you sent, it appear to be timing out the connection to our account servers.

Since you are getting timeouts with the default 1500 MTU, this sounds like it could be a networking issue somewhere along the line. Have you troubleshooted further why making the MTU change was needed to get speedtest.net working? Have you tried a different router?

Hello,
Yes i know that this is strange.
I don’t have another router. My router is an LTE router, no other connexion where i live but it’s very fast.
If i use the default 1500 MTU i have trouble with the TLS handshake but not on every web site. I have done some research and i have understand that some packet during tls handshake can not be fragmented.
I have some raspberry, a NAS, android phone, ipad and a linux laptop. I use some vpn and do a lot of staff remotly to other server. I know my network work very well.
There is some situation where MTU and MSS can be o problem and that’s one of the reason you can change it in openvpn and other vpn. It’s not new that we have to have an MTU lower that the internet provider. Most of the time the router take car of that but some time you have to change it manually it’s depending on the provider.

None of my device have any internet connection problem. The only one i can’t check is the rock one from roon. Maybe i have to install an minimal linux and install roon on it and leave rock…
But if i do that and that resolve my situation please open a bug and be sure that rock take the MTU that the dhcp server say to take. Maybe it’s the case… or not… i can’t check. But you can try maybe?
Thank’s for support

https://packetu.com/2014/07/24/recognizing-ip-mtu-issues/
https://www.networkworld.com/article/2224654/mtu-size-issues.html

Hi @JempeZen,

Thanks for the additional information.

Can you please try installing a different OS on ROCK? We don’t have networking equipment on our end that uses a non-default MTU, I would be interested to know if other OSs display similar behavior.

Hi,
My rock corrupted the database a lot of time since the 2 last update.
Si i install roonserver in acrhlinux, will see for the corruption problem if this solve also this problem.
For the photos profile bug, the problem is not present with roonserver installed in archlinux. I have also try to change the MTU but this have no impact, it’s work with different MTU. So problem was comming from rock.
Thank you
best regards

1 Like

Hi @JempeZen,.

If you are getting recurring corruption, I would check the hardware of the ROCK, possibly perform a SSD check and a RAM test via memtest64 as it’s possible you have failing hardware. Do let us know if you require further assistance after making the OS change.

Not a hardware issue, i have make a lot of test, i have tested the ssd/memory/cpu
The problem is a roon issue and i not the only on with this problem
That’s a line i have found in the log:

Critical: Library.EndMutation: System.OverflowException: Arithmetic operation resulted in an overflow.

look at this
https://community.roonlabs.com/t/database-corrupted-at-each-restart/114901/8

1 Like

Core Machine (Operating system/System info/Roon build number)

NUC8i3 with archlinux kernel 5.7.9-arch1-1 with Roon server build 571

Network Details (Including networking gear model/manufacturer and if on WiFi/Ethernet)

Lan and Wifi nothing special, the Nuc is on ethernet

Audio Devices (Specify what device you’re using and its connection type - USB/HDMI/etc.)

Allo digione with raspberry on ethernet

Description Of Issue

There was no issue at the beginning for some month, my system was the same but with Rock, not archlinux.
After an update (i think 2 or 3 update from now) i have my first database issue.
I have loaded an backup and it’s was ok. But i could not take the last backup, after the restore there was no playlist, and no album… So i have to find an old one that was not corrupted. This happen some times so i switched to archlinux. But again my database got corrupted.
I have make a lot of memtest but i have never an error.
I have check my nvme samsung 970 evo with magician software, again no error…

I have now make some test and what i have found that the problem is comming at every restart of the roon service.

I have installed roon with the aur package.
https://aur.archlinux.org/packages/roonserver/

I restart the service with “systemctl restart roonserver.service

Please help my system is unusable, i lost every time so much change on my playlist and other things…

Here is some log with critical and warning parts:

    07/20 23:24:23 Critical: Library.EndMutation: System.OverflowException: Arithmetic operation resulted in an overflow.
  at (wrapper alloc) System.Object.AllocVector(intptr,intptr)
  at FSE.MyBinaryArrayReader.ReadBytes (System.Int32 count) [0x00000] in <bcc476b068974b54b8aeef25f4f0facc>:0 
  at FSE.BinaryReader.get_Sooid () [0x0003a] in <bcc476b068974b54b8aeef25f4f0facc>:0 
  at Messaging.FSEMessageDecoder.DecodeOneMessage (IMessage m, System.Int32& requestId, System.Boolean& isFinal) [0x002d4] in <bcc476b068974b54b8aeef25f4f0facc>:0 
  at Messaging.FSEMessageDecoder.DecodeOneMessage (IMessage m, System.Int32& requestId, System.Boolean& isFinal) [0x000c0] in <bcc476b068974b54b8aeef25f4f0facc>:0 
  at Messaging.FSEMessageDecoder.DecodeCommon (System.Int32& requestId, System.Boolean& isFinal) [0x00066] in <bcc476b068974b54b8aeef25f4f0facc>:0 
  at Messaging.FSEMessageDecoder.DecodeMessage () [0x00000] in <bcc476b068974b54b8aeef25f4f0facc>:0 
  at Messaging.FSEMessageDecodeSession.DecodeBinaryMessage (Base.ByteBuffer s) [0x0003d] in <bcc476b068974b54b8aeef25f4f0facc>:0 
  at Messaging.FSEMessageHelper.DecodeBinaryMessage (Base.ByteBuffer s) [0x00011] in <bcc476b068974b54b8aeef25f4f0facc>:0 
  at Sooloos.Broker.Music.MusicDatabase._TryGetValue[T] (System.Object traceid, System.Byte[] key, T& msg) [0x00010] in <5ed9ab2915684a1ca1d9d54b789bb67d>:0 
  at Sooloos.Broker.Music.MusicDatabase+TransactionCache`3[LOCAL,METADATA,OVERLAY].TryGetValue (System.Sooid id, LOCAL& msg, System.Boolean cache) [0x00051] in <5ed9ab2915684a1ca1d9d54b789bb67d>:0 
  at Sooloos.Broker.Music.MusicDatabase.TryGetValue (System.Sooid trackid, MusicDb.LocalTrack& msg, System.Boolean cache) [0x00000] in <5ed9ab2915684a1ca1d9d54b789bb67d>:0 
  at Sooloos.Broker.Music.Library+ComputeTrack.get_LocalTrack () [0x00028] in <5ed9ab2915684a1ca1d9d54b789bb67d>:0 
  at Sooloos.Broker.Music.Library.PerformWorkPartMunge (Sooloos.Broker.Music.Library+ComputeEnv env, System.Collections.Generic.List`1[T] album_tracks, System.Collections.Generic.IDictionary`2[TKey,TValue] load_tracklitedata) [0x0040d] in <5ed9ab2915684a1ca1d9d54b789bb67d>:0 
  at Sooloos.Broker.Music.Library.Compute (System.Collections.Generic.IList`1[T] tracks, System.Collections.Generic.IDictionary`2[TKey,TValue] load_tracklitedata) [0x001cf] in <5ed9ab2915684a1ca1d9d54b789bb67d>:0 
  at Sooloos.Broker.Music.LibraryMutationEnv.Finish () [0x00b9a] in <5ed9ab2915684a1ca1d9d54b789bb67d>:0 
  at Sooloos.Broker.Music.Library.EndMutation () [0x00068] in <5ed9ab2915684a1ca1d9d54b789bb67d>:0 
07/20 23:24:23 Trace: [library] endmutation in 5919ms
07/20 23:24:23 Info: [music] first pass through media thread is done
07/20 23:24:23 Info: [loadstatus] IsLibraryLoadFailed False => True
07/20 23:24:23 Info: [loadstatus] IsLibraryLoading True => False
07/20 23:24:23 Info: [transport] initializing
07/20 23:24:23 Info: [loadstatus] IsTransportLoading True => False
07/20 23:24:23 Info: [loadstatus] IsStartup True => False
07/20 23:24:23 Info: [roonapi] initializing
07/20 23:24:23 Info: [roonapi] listening on port 9150
07/20 23:24:25 Warn: [linuxmount/pinfo] coudn't ascertain disk block device from sys
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /proc because it is not a /dev/sd[0-9]* (mountline: proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /sys because it is not a /dev/sd[0-9]* (mountline: sys /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /dev because it is not a /dev/sd[0-9]* (mountline: dev /dev devtmpfs rw,nosuid,relatime,size=3999680k,nr_inodes=999920,mode=755 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /run because it is not a /dev/sd[0-9]* (mountline: run /run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /sys/kernel/security because it is not a /dev/sd[0-9]* (mountline: securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /dev/shm because it is not a /dev/sd[0-9]* (mountline: tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /dev/pts because it is not a /dev/sd[0-9]* (mountline: devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /sys/fs/cgroup because it is not a /dev/sd[0-9]* (mountline: tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,mode=755 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /sys/fs/cgroup/unified because it is not a /dev/sd[0-9]* (mountline: cgroup2 /sys/fs/cgroup/unified cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /sys/fs/cgroup/systemd because it is not a /dev/sd[0-9]* (mountline: cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,name=systemd 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /sys/fs/pstore because it is not a /dev/sd[0-9]* (mountline: pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /sys/fs/bpf because it is not a /dev/sd[0-9]* (mountline: none /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /sys/fs/cgroup/blkio because it is not a /dev/sd[0-9]* (mountline: cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /sys/fs/cgroup/net_cls,net_prio because it is not a /dev/sd[0-9]* (mountline: cgroup /sys/fs/cgroup/net_cls,net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /sys/fs/cgroup/hugetlb because it is not a /dev/sd[0-9]* (mountline: cgroup /sys/fs/cgroup/hugetlb cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /sys/fs/cgroup/memory because it is not a /dev/sd[0-9]* (mountline: cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /sys/fs/cgroup/cpu,cpuacct because it is not a /dev/sd[0-9]* (mountline: cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /sys/fs/cgroup/freezer because it is not a /dev/sd[0-9]* (mountline: cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /sys/fs/cgroup/pids because it is not a /dev/sd[0-9]* (mountline: cgroup /sys/fs/cgroup/pids cgroup rw,nosuid,nodev,noexec,relatime,pids 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /sys/fs/cgroup/devices because it is not a /dev/sd[0-9]* (mountline: cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /sys/fs/cgroup/perf_event because it is not a /dev/sd[0-9]* (mountline: cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /sys/fs/cgroup/cpuset because it is not a /dev/sd[0-9]* (mountline: cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /sys/fs/cgroup/rdma because it is not a /dev/sd[0-9]* (mountline: cgroup /sys/fs/cgroup/rdma cgroup rw,nosuid,nodev,noexec,relatime,rdma 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /proc/sys/fs/binfmt_misc because it is not a /dev/sd[0-9]* (mountline: systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=2623 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /dev/hugepages because it is not a /dev/sd[0-9]* (mountline: hugetlbfs /dev/hugepages hugetlbfs rw,relatime,pagesize=2M 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /dev/mqueue because it is not a /dev/sd[0-9]* (mountline: mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /sys/kernel/debug because it is not a /dev/sd[0-9]* (mountline: debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /sys/kernel/tracing because it is not a /dev/sd[0-9]* (mountline: tracefs /sys/kernel/tracing tracefs rw,nosuid,nodev,noexec,relatime 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /tmp because it is not a /dev/sd[0-9]* (mountline: tmpfs /tmp tmpfs rw,nosuid,nodev 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /sys/kernel/config because it is not a /dev/sd[0-9]* (mountline: configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /mnt/RoonStorage_91acd38a10e5dc49f5c5295fbbf5889313c93497 because it is not a /dev/sd[0-9]* (mountline: //172.16.42.4/Music /mnt/RoonStorage_91acd38a10e5dc49f5c5295fbbf5889313c93497 cifs rw,relatime,vers=2.1,cache=strict,username=roon,domain=WORKGROUP,uid=0,noforceuid,gid=0,noforcegid,addr=172.16.42.4,file_mode=0755,dir_mode=0755,soft,nounix,mapposix,rsize=1048576,wsize=1048576,bsize=1048576,echo_interval=60,actimeo=1 0 0)
07/20 23:24:27 Debug: [broker/filebrowser/volumeattached] skipping /run/user/1000 because it is not a /dev/sd[0-9]* (mountline: tmpfs /run/user/1000 tmpfs rw,nosuid,nodev,relatime,size=801472k,mode=700,uid=1000,gid=1000 0 0)
07/20 23:24:28 Warn: [linuxmount/pinfo] coudn't ascertain disk block device from dev
07/20 23:24:28 Warn: [linuxmount/pinfo] coudn't ascertain disk block device from run
07/20 23:24:28 Warn: [linuxmount/pinfo] coudn't ascertain disk block device from securityfs
07/20 23:24:28 Warn: [linuxmount/pinfo] coudn't ascertain disk block device from devpts
07/20 23:24:28 Info: [stats] 2578mb Virtual, 479mb Physical, 220mb Managed, 0 Handles, 40 Threads
07/20 23:24:28 Warn: [linuxmount/pinfo] coudn't ascertain disk block device from cgroup2
07/20 23:24:28 Warn: [linuxmount/pinfo] coudn't ascertain disk block device from pstore



07/20 23:24:28 Warn: [linuxmount/pinfo] coudn't ascertain disk block device from systemd-1
07/20 23:24:28 Warn: [linuxmount/pinfo] coudn't ascertain disk block device from hugetlbfs
07/20 23:24:28 Warn: [linuxmount/pinfo] coudn't ascertain disk block device from mqueue
07/20 23:24:28 Warn: [linuxmount/pinfo] coudn't ascertain disk block device from debugfs
07/20 23:24:28 Warn: [linuxmount/pinfo] coudn't ascertain disk block device from tracefs
07/20 23:24:28 Warn: [linuxmount/pinfo] coudn't ascertain disk block device from configfs

I have tested to restore a lot of backup, from all my backup and i have a lot only 3 are valid… That’s not cool and this doesn’t give me trust on the system.
Why Roon don’t check the integrity of the database before a backup? How it’s possible that roon backup an corrupted database and erase the good one? Roon accept only 99 backup after that the old one are erased.
I realize that it’s possible to add/modify playlist and more on an database that is already not possible to restore. That’s a big problem!
Please give me support to solve this and edit code that prevent this situation.
Thank’s

I have found something.
My last good backup that i can restore is from 8 June. If i restore this database and restart immediately after the restore is done all is ok. But roon start to scan my new files after that and there is 1476 new files since this backup. After roon have finished to scan all files (it’s take time) i can’t restart roon, if i do there is an error and i lose the database.
But before i restart, roon don’t complain at all… I can modify and add playlist, change tag, artist/album picture without any complain from roon. But the database can not be restored… It’s corrupted.
I think there is a files somewhere that cause this issue. But how to find it?
I have a lot of different folder and i have absolutely no idea which files cause this issue.
With this new information I’m sure you will have an idea to help me, and maybe learn from this issue to make roon more robust.

Can’t help you brother, except to say I been there and will continue to post about it -

Doubtful.

1 Like

I have removed some files but no change… short after restore i can restart without any problem, but after some minutes i can’t restart roon without losing all my playlist!
Something really strange, i can see all my directory but force re-scan does nothing… And if i go to album roon say me that my folder are offline! I see Tidal suggestion but no tidale playlist. And there is no option to reset or repair… nothing! Did i have to uninstall and go from zero??? Roon is really expensive i’m really disappointed, i can’t recommend roon anymore to anyone. My trust to roon go slowly to zero…

Why not backup every night?

I backup every night it’s not the problem.
The problem is that Roon library has ‘latent corruption’ issue so the backup are corrupted! And there is no warning nothing, slowly the good backup (the old one) are deleted…
That’s a big issue!!!

1 Like