3.3 KiB
name, description, version, author, platforms, metadata
| name | description | version | author | platforms | metadata | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| strato-server-management | Manage Strato server tasks and infrastructure via SSH. | 0.1.0 | Hermes |
|
|
strato-server-management
This umbrella skill covers task execution on Strato servers (haslach2025/mindboost infrastructure). Related skills include strato-server-tasks for post-breach tasklists.
When to Use
- User requests task execution on Strato server 85.215.56.185
- Tasks involve Docker containers, Traefik, Nextcloud, invoiceninja, Laravel, or PHP version management
- SSH key management and server access patterns
Prerequisites
- ssh-agent running with appropriate private key loaded
- Server
85.215.56.185reachable asroot - Docker and docker-compose installed
- Access to
/opt/containers/directory tree
Quick Reference
-
SSH connection:
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@85.215.56.185 -
Docker compose:
cd <dir> && docker compose up -d <service> -
Traefik version upgrades via env vars and docker compose
-
dynamic_conf.yml cleanup for router/middleware removal
-
msmtp Workaround: When /var/log/msmtp.log is inaccessible (Permission denied without sudo), create user-level config at ~/.msmtprc with logfile ~/.msmtp.log. Touch the log file and set chmod 644:
touch ~/.msmtp.log && chmod 644 ~/.msmtp.log. Avoid sudo for log management when possible.
Invoice Ninja (/opt/containers/invoiceninja)
- Canonical domain: n.mindboost.team (Robert, 2026-11). pay.mindboost.app and mindboost.app/pay were payment links, pay is unused -> 301 to n.mindboost.team. APP_URL and SESSION_DOMAIN must match the served host, otherwise the browser rejects the XSRF/session cookies ("ungueltige Domain").
- After an image update, the named volume
ninja-public-1keeps the OLD frontend build. The new index references missing bundle/*.js files, nginx answers them with HTML, and the browser blocks them (MIME text/html). Fix: back up the volume, stop in-app/in-server,docker volume rm invoiceninja_ninja-public-1, thenup -dto refill it from the image (~30 s downtime; ask Robert first). - Security: two webshell break-ins (03.09. via /api/v1/signup, 19.10. via get_migration_account + migration/start), user ids 7/8 deactivated. Evidence: /root/incident-invoiceninja-2026-11-07/. After any change, check public/ for stray *.php (only index.php belongs there) and the users table for unknown accounts.
- Secrets (APP_KEY, DB, SMTP) sit in plaintext in docker-compose.yml. Planned: move them to .env (chmod 600). Rotating APP_KEY breaks encrypted gateway credentials unless they are re-encrypted. The n8n API token (company_tokens name n8n) is used by n8n.mindboost.app credentials.
Traefik pitfalls
- Traefik 2.10, file provider /dynamic_conf.yml (single bind-mounted file, watch:true). Edits there did NOT take effect within ~30 s (2026-11-07). Prefer Docker labels on the service, or restart Traefik and verify with curl. So the PHP2Shell body-limit routers in dynamic_conf.yml may not be active; verify them.
Related Skills
strato-server-tasks: Execute post-breach tasklist on Strato server haslach2025
Class-level umbrella for Strato server management workflows. Supports the strato-server-tasks skill with shared patterns and references.