secubox-deb/packages/secubox-nextcloud/api
CyberMind-FR 7e926eeb7f fix(nextcloud): working status probe + cyan webui reskin
The API runs unprivileged (secubox) but probed the container via lxc-info/occ
WITHOUT sudo and with lxc_path=/srv/lxc (container is /data/lxc) → status always
'Stopped', cloud.local domain, empty version/users/disk (and a 500 once the path
was corrected, from a PermissionError on /data/lxc). Now: privilege-free TCP port
probe for liveness, all container ops via 'sudo nextcloudctl' (the sole sudoers
surface, incl. its occ passthrough), a daemon-thread 60s cache for the slow occ
fields (version/users/storage) so /status stays fast, real data_path, and a
public web_url from the domain. Webui restyled to the /certs/ cyan hybrid-skin
(361 lines, emoji cards, live pulse, 30s refresh); every endpoint preserved.

Needs (board drift): NoNewPrivileges=false drop-in (sudo was blocked) and
[nextcloud] domain=nc.gk2.secubox.in in secubox.conf.

Co-Authored-By: Gerald KERMA <devel@cybermind.fr>
2026-07-17 05:00:37 +02:00
..
__init__.py feat: three-fold architecture for streamlit, haproxy, metablogizer 2026-03-22 07:28:33 +01:00
main.py fix(nextcloud): working status probe + cyan webui reskin 2026-07-17 05:00:37 +02:00