From 35441aab4434b50cf009aa1fca95854facd00fa4 Mon Sep 17 00:00:00 2001 From: "Hermes (blackbook)" Date: Sat, 7 Nov 2026 22:30:07 +0100 Subject: [PATCH] Skills von blackbook: devops/strato-server-management --- skills/devops/strato-server-management/SKILL.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/skills/devops/strato-server-management/SKILL.md b/skills/devops/strato-server-management/SKILL.md index 738ed83..28d65e5 100644 --- a/skills/devops/strato-server-management/SKILL.md +++ b/skills/devops/strato-server-management/SKILL.md @@ -35,6 +35,15 @@ This umbrella skill covers task execution on Strato servers (haslach2025/mindboo - 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-1` keeps 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`, then `up -d` to 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