[Addon] RuneUI Backup-Restore Enable

Raspberry Pi related support

[Addon] RuneUI Backup-Restore Enable

Postby rern » 15 Aug 2017, 14:44

[Addon] RuneUI Backup-Restore Enable
Tested on RPi3
for RuneAudio 0.3 and 0.4b


For backup and restore settings and database. (rune.rdb, mpd.db, mpd.conf etc.)

Issues
    - RuneAudio Backup works but should save database before backup
    - Restore with Upload was disabled for pending code
Fixes
    Backup:
      - add redis-cli save
      - include /mnt/MPD/Webradio
      - exclude unnecessary /etc/netctl/examples
      - delete previous temporary file
    Restore:
      - remove default form event to avoid page change
      - upload file by ajax instead
      - use new php script to upload file
    Write permission:
      - http user cannot write outside ./http or sudo bash commands directly
      - allow no password sudo in /etc/sudoers.d
      - use external bash script to restore

Install
from Addons Menu
rAudio @ https://github.com/rern/rAudio-1
Raspberry Pi 4B
Raspberry Pi 3B > SMSL M8 DAC
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

support RuneAudio Donate with PayPal

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 8 guests