mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-29 12:34:38 +00:00
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> |
||
|---|---|---|
| .. | ||
| api | ||
| conf | ||
| debian | ||
| menu.d | ||
| nginx | ||
| sbin | ||
| www/nextcloud | ||
| README.md | ||
☁️ Nextcloud
File sync (LXC)
Category: Services
Screenshot
Features
- File sync
- WebDAV
- CalDAV
- CardDAV
- Talk
Installation
# Add SecuBox repository
curl -fsSL https://apt.secubox.in/install.sh | sudo bash
# Install package
sudo apt install secubox-nextcloud
Configuration
Configuration file: /etc/secubox/nextcloud.toml
API Endpoints
GET /api/v1/nextcloud/status- Module statusGET /api/v1/nextcloud/health- Health check
License
LicenseRef-CMSD-1.0 (Source-Disclosed License) — CyberMind © 2024-2026. See LICENCE-CMSD-1.0.md.
