DietPi: creating a lean-and-mean Roon Bridge

Looks like a filesystem corruption / IO failure. Possibly due to faulty SD/PSU.

Which SD and PSU (voltage and amperage) are you using?

On the device, lets check filesystem is fully expanded:
df -h

As usual, great support! Thx!
I was using a brand name SD (8Gb) and a linear PSU at 5V.
Headless though, so i connected it to my TV and started over.
And… Third times a charm, right? :slight_smile:
Everything working now, playing some tunes…
Damned circuit-goblins! :wink:

Are the currrent DietPi Roon Bridge versions recognised by Roon 1.3 or is an update required?

Mine autoupdated roon bridge running on DietPi both RPi3 and Sparky versions.

1 Like

My DietPi Roon Bridge auto-updated, but did require a power-cycle to complete the update.

Thanks, hope mine will as well

On a fresh installation of Roon Bridge, build 61 will be installed (1.3 compatible). If you have updated Roon to 1.3, and Roon Bridge is not functional, you can update it now by running the following commands:

rm -R /etc/roonbridge
dietpi-software reinstall 121

The above will be done automatically during the v144 DietPi update aswell.

You can check your current Roon Bridge version with:

cat /etc/roonbridge/VERSION

Guys,

I’m in trouble here. Got DietPi running for a loooong time (months), and this week when updating to 143 trouble began. I’ve got a model 3, with the original (3 amp) power, nothing changed.

Now, today I tried to perform a fresh install, on different SD cards, but it fails very hard during installation (after the first boot. Here’s what it looks like:

DietPi-Software
─────────────────────────────────────────────────────
Mode: Update & upgrade APT
Please wait…

Hit http://archive.raspberrypi.org jessie InRelease
Hit http://mirror.ox.ac.uk jessie InRelease
Hit http://mirror.ox.ac.uk jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://mirror.ox.ac.uk jessie/contrib armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit http://mirror.ox.ac.uk jessie/non-free armhf Packages
Hit http://mirror.ox.ac.uk jessie/rpi armhf Packages
Ign http://mirror.ox.ac.uk jessie/contrib Translation-en_GB
Ign http://mirror.ox.ac.uk jessie/contrib Translation-en
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://mirror.ox.ac.uk jessie/main Translation-en_GB
Ign http://mirror.ox.ac.uk jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://mirror.ox.ac.uk jessie/non-free Translation-en_GB
Ign http://mirror.ox.ac.uk jessie/non-free Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirror.ox.ac.uk jessie/rpi Translation-en_GB
Ign http://mirror.ox.ac.uk jessie/rpi Translation-en
Reading package lists… Error!
E: Could not create temporary file for /var/cache/apt/srcpkgcache.bin - mkstemp (30: Read-only file system)
E: Failed to truncate file - ftruncate (30: Read-only file system)
E: Problem renaming the file /var/cache/apt/pkgcache.bin.XexJJ8 to /var/cache/apt/pkgcache.bin - rename (30: Read-only file system)
E: The package lists or status file could not be parsed or opened.
/DietPi/dietpi/dietpi-software: /DietPi/dietpi/func/dietpi-notify: /bin/bash: bad interpreter: No such file or directory
/DietPi/dietpi/dietpi-software: /DietPi/dietpi/func/dietpi-notify: /bin/bash: bad interpreter: No such file or directory
/DietPi/dietpi/dietpi-software: line 10957: /usr/bin/whiptail: Input/output error
/DietPi/dietpi/dietpi-software: /DietPi/dietpi/func/dietpi-notify: /bin/bash: bad interpreter: No such file or directory
/DietPi/dietpi/dietpi-software: /DietPi/dietpi/func/dietpi-notify: /bin/bash: bad interpreter: No such file or directory
/DietPi/dietpi/dietpi-software: /DietPi/dietpi/func/dietpi-notify: /bin/bash: bad interpreter: No such file or directory
/DietPi/dietpi/dietpi-software: /DietPi/dietpi/func/dietpi-notify: /bin/bash: bad interpreter: No such file or directory
/DietPi/dietpi/dietpi-software: /DietPi/dietpi/func/dietpi-notify: /bin/bash: bad interpreter: No such file or directory
/DietPi/dietpi/dietpi-software: /DietPi/dietpi/func/dietpi-notify: /bin/bash: bad interpreter: No such file or directory
-bash: mesg: command not found
root@DietPi:~#

Anyone an idea? Currently not able to listen to music (obviously) so this drives me nuts.

Looks like the card cannot be written to by the OS (weird for a fresh install). What software do you use to flash the card?

just a simple β€˜dd’.

Little margin for error there… I just flashed a card with a freshly downloaded DietPi using Etcher:

...
Ign http://mirror.ox.ac.uk jessie/non-free Translation-en                                                                                
Ign http://mirror.ox.ac.uk jessie/rpi Translation-en_GB                                                                                  
Ign http://mirror.ox.ac.uk jessie/rpi Translation-en                                                                                     
Fetched 9,323 kB in 15s (602 kB/s)                                                                                                       
Reading package lists... Done

 DietPi-Update
─────────────────────────────────────────────────────
 Mode: Checking for DietPi updates
 Please wait...

 [Info] Checking Mirror : http://dietpi.com/downloads/dietpi-update_mirror/master/server_version
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100     5  100     5    0     0     81      0 --:--:-- --:--:-- --:--:--    81
 [Ok] Using update server: http://dietpi.com/downloads/dietpi-update_mirror/master/server_version

 [Ok] No updates required, your DietPi installation is up to date.

 [Info] Current Version : 143
 [Info] Server Version  : 143

No problems with the distro itself, AFAICS.

That’s extremely weird… tried it at least 5 times, but it fails every time.

Installed Arch to make sure nothing is wrong with my hardware, and currently I’m able to listen to music again…

So what can be wrong here?

one small check though. because to this point i get as well. did you actually finished the complete installation?

Yup – all the way through, without a hiccup.

Try wiping the microsd before rewriting the image:

wipefs -a /dev/sdX where X is the drive letter representing the unmounted microsd card

Hi @Dan_Knight ,

You’ll pardon my ignorance. I’ve never installed Linux before.

I’m hoping to get DietPi working with my RPi2 and Hifiberry Digi+pro. When I go to the DietPi website and download the image for Raspberry Pi All Models what I get is the following file: DietPi_RPi-armv6(-Jessie).7z. I’m wondering if the correct download shouldn’t read β€œarmv7” ?

Cheers.

No – it’s OK. DietPi automatically identifies the correct Pi:

Just to add when you run it the first time it will update for the correct pi CPU.

that didn’t work either.

@RBM what I did to trigger the failure is install RoonBridge during installation.

That makes it even weirder – so did I:

If your main DietPi install is working OK but failing at installing RoonBridge (am I right supposing this?) – what happens if you install RoonBridge manually (not through dietpi-software)?