Container-plane docker now routes through the mode-aware helpers instead of sudo: simple calls (exec/ps/run/build/images/inspect/port/logs across ~15 app/check scripts) -> runFileOp docker (rootless socket as the install user; rooted via the docker group). The cd && docker compose paths drop the sudo on the rooted branch (the rootless branch already used dockerCommandRunInstallUser -- byte-identical now, manager-ready later); gluetun, which had no rootless branch, now uses dockerCommandRun so force-recreate works in both modes. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: librelad <librelad@digitalangels.vip>
10 lines
298 B
Bash
10 lines
298 B
Bash
#!/bin/bash
|
|
|
|
# Display-only: print Nextcloud's status (version, installed flag, maintenance
|
|
# state). The dispatcher captures stdout and the WebUI shows it back in the
|
|
# modal results pane.
|
|
|
|
appNextcloudSystemStatus() {
|
|
runFileOp docker exec -u www-data nextcloud-service php occ status 2>&1
|
|
}
|