[SOLVED] Update NightlyBuilds

Raspberry Pi related support

[SOLVED] Update NightlyBuilds

Postby chrichri » 08 Mar 2019, 20:09

Hi there,

I am running RuneAudio on a Raspberry Pi 3B+ with a Hifiberry DAC+ board. Everything works fine, except the RuneAudio does not find the server.

I followed the instructions on this page: http://www.runeaudio.com/documentation/ ... patibility.

However, when trying to update to the nightly build branche I get the following error:

Code: Select all
root@runeaudio(rw):~# rm -rf /var/www/{*,.*}
rm: cannot remove '/var/www/tmp': Device or resource busy
rm: cannot remove '/var/www/./tmp': Device or resource busy
rm: refusing to remove '.' or '..' directory: skipping '/var/www/..'

Any hints what to do to proceed?

When cloning the dev branche, I get the error that the directory /var/www/ already exists and is not empty. I can still access the RPI via ssh, but RuneAudio is not starting any more :(

Thank you in advance for your help.

Best regards
Last edited by chrichri on 12 Mar 2019, 10:15, edited 1 time in total.
Posts: 11
Joined: 16 Jan 2019, 07:10

Re: Update NightlyBuilds

Postby janui » 08 Mar 2019, 20:30

Hi chrichri,

It looks lijke you are using Rune 0.5b. If so, the nightly builds are no longer valid. I try to keep the 0.5b git branch up to date, a regular update should be enough. To restore 0.5b use the following cmmands:
Code: Select all
cd /var/www
git config user.email "any@body.com"
git config user.name "anybody"
git config --global core.editor "nano"
umount http-tmp
rm -rf /var/www/{*,.*}
git clone -b 0.5b https://github.com/gearhead/RuneUI.git/ /var/www
find /srv/http/ -type f -exec chmod 644 {} \;
find /srv/http/ -type d -exec chmod 755 {} \;
find /etc -name *.conf -exec chmod 644 {} \;
find /usr/lib/systemd/system -name *.service -exec chmod 644 {} \;
chmod 644 /etc/nginx/html/50x.html
chmod 777 /run
chmod 755 /srv/http/command/*
chmod 755 /srv/http/db/redis_datastore_setup
chmod 755 /srv/http/db/redis_acards_details
chmod 755 /etc/X11/xinit/start_chromium.sh
chown mpd.audio /mnt/MPD/*
chown mpd.audio /mnt/MPD/USB/*
chmod 777 /mnt/MPD/USB
chmod 777 /mnt/MPD/USB/*
chown -R mpd.audio /var/lib/mpd
Any commands which fail should be OK (except the git clone).
User avatar
Posts: 540
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: Update NightlyBuilds

Postby chrichri » 09 Mar 2019, 18:32

Hi janui,

thanks a lot.

So in future a simple

Code: Select all
cd /var/www
git pull

should be enough to stay up to date?

Posts: 11
Joined: 16 Jan 2019, 07:10

Re: Update NightlyBuilds

Postby cmh714 » 09 Mar 2019, 18:50

I had to do a git pull stash for the last update to go through, but yes, thats how it can be done via commandline
Posts: 353
Joined: 04 May 2014, 03:06

support RuneAudio Donate with PayPal

Return to Raspberry Pi

Who is online

Users browsing this forum: cmh714 and 2 guests