Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Roonbridge and boot issues on pi zero 2w
#6
Here's the rb code in worker.php

Code:
// RoonBridge
// Their installer sets the systemd unit to enabled but we need it disabled because we start/stop it via System Config setting
if (file_exists('/opt/RoonBridge/start.sh') === true) {
    $_SESSION['roonbridge_installed'] = 'yes';
    if (sysCmd('systemctl is-enabled roonbridge')[0] == 'enabled') {
        sysCmd('systemctl disable roonbridge');
        sysCmd('systemctl stop roonbridge');
        $msg = 'installed, systemd unit set to disabled';
    }
} else {
    $_SESSION['roonbridge_installed'] = 'no';
    $msg = 'not installed';
}
workerLog('worker: RoonBridge:       ' . $msg);

Try checking some of the conditions:
1. Existence of file /opt/RoonBridge/start.sh
2. Session var 'roonbridge_installed' set to 'yes'
sudo moodeutl -d -gv roonbridge_installed
3. Feature enabled
moodeutl -a should show
128     y       RoonBridge renderer
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: Roonbridge and boot issues on pi zero 2w - by Tim Curtis - 08-08-2024, 10:12 PM

Forum Jump: