upgraded assets for webpanel, further enhancements and fixes regarding docker env

This commit is contained in:
crieke
2026-04-13 04:19:15 +02:00
parent c4548430a7
commit 3c017e9c68
91 changed files with 78899 additions and 40263 deletions

View File

@@ -209,10 +209,11 @@ function isRunning($option = null)
function getRoonServerVersion($option = null)
{
$getRoonServerVer = CS_INSTALLPATH . '/bin/system-docker exec -it roonserver cat /Roon/app/RoonServer/VERSION';
$roonServerVer = exec($getRoonServerVer);
$getHostFS = CS_INSTALLPATH . '/bin/system-docker inspect '. isRunning() . ' | /usr/local/sbin/jq \'.[0].GraphDriver.Data.MergedDir\'';
$HostFS = exec($getHostFS);
$RoonVersion = file(trim($HostFS, '"') . "/Roon/app/RoonServer/VERSION");
return print_r($roonServerVer);
return $RoonVersion;
}
function downloadLogs($strSessionID, $dblocation)