-
Notifications
You must be signed in to change notification settings - Fork 16
Troubleshooting
Adan edited this page Oct 6, 2025
·
1 revision
Use this guide to diagnose common LogForge issues quickly.
-
docker compose ps-" verify containers are healthy. -
docker compose logs <service>-" inspect runtime errors. -
docker exec -it logforge-backend /bin/sh-" open a shell for deeper inspection.
- Ensure the backend service is running:
docker compose logs logforge-backend. - Check network: both services must share the
logforge-networkbridge. - Confirm
VITE_BACKEND_SERVICE_HOSTandPORTmatch compose service names/ports. - If using a reverse proxy, update CORS origins (
CORS_ORIGINSenv var) to include the proxy domain.
- Verify the rule is enabled and scoped to the correct containers.
- Inspect
alert-engine-backendlogs for evaluation errors or cooldown messages. - Confirm the triggering condition actually occurs (use the rule simulator with historical logs).
- Ensure clock skew between services is minimal; NTP recommended.
- Open the Notifier UI -> Delivery History to see response codes.
- Validate that required environment variables or secrets are mounted (SMTP credentials, webhook tokens).
- Check outbound network restrictions (firewall, proxy) that might block the destination.
- Use the Send Test button to reproduce outside of automation rules.
- Backend requires Docker socket access; confirm
/var/run/docker.sockis mounted and accessible. - Review guardrail settings (cooldowns, max executions) to ensure actions are not being suppressed.
- For script actions, confirm the script path exists inside the container and is executable (
chmod +x).
- Limit log streaming with filters to avoid pulling entire histories.
- Adjust Alert Engine polling intervals or disable noisy rules temporarily.
- Check container memory/CPU via
docker statsand consider allocating more resources.
-
logforge-autoupdatelogs will show download or permission errors; ensure it retains socket access. - If automatic upgrades fail, fall back to manual
docker compose pull && docker compose up -dand monitor for schema migrations.
- Search existing GitHub issues or open a new ticket with diagnostic logs.
- Include compose overrides, custom scripts, and rule exports when reporting complex problems.
- For commercial support, contact the LogForge team via the Premium portal.
Return to the Overview for architecture context or dive into other wiki sections as needed.