Maintenance¶
This section covers ongoing maintenance tasks for the SODa SCS Manager deployment.
Topics¶
- Updates and maintenance — How to update services (especially Nextcloud), handle post-update tasks, troubleshoot common issues, and use backup/restore scripts.
Overview¶
The deployment includes multiple services (Nextcloud, Keycloak, JupyterHub, Drupal, etc.) that may need updates, backups, and regular maintenance. Each service has its own update process and requirements.
Key maintenance tasks:
- Updates — Keeping services up to date with security patches and new features.
- Backups — Regular database and volume backups to prevent data loss. Automated backup scripts available for Nextcloud.
- Monitoring — Checking logs, admin panels, and Traefik dashboard for errors or warnings.
- Database maintenance — Cleaning up old data, running repair/optimize commands.
- Volume cleanup — Removing unused Docker images and volumes.
Always back up before major changes. See the Updates page for detailed procedures.
WissKI performance tuning¶
After changing PHP-FPM, Varnish, or triplestore settings in the repos, apply to running stacks without waiting for image rebuilds:
01_scripts/wisski/apply-performance-tuning.bash
See WissKI stack infrastructure for defaults and configuration paths.
Quick reference¶
Nextcloud backup and restore¶
Backup (creates timestamped backups in /srv/backups/nextcloud/):
01_scripts/scs-nextcloud-stack/backup-nextcloud.bash
Restore (interactive, lists available backups):
01_scripts/scs-nextcloud-stack/restore-nextcloud.bash
Nextcloud maintenance¶
Run all post-update maintenance (repair, DB indices, columns, primary keys):
01_scripts/scs-nextcloud-stack/run-nextcloud-repair.bash
Apply proxy and region settings (for existing installs):
01_scripts/scs-nextcloud-stack/apply-nextcloud-proxy-and-region.bash
Configure email (from env vars, for existing installs):
01_scripts/scs-nextcloud-stack/configure-nextcloud-email.bash