This guide covers common issues encountered when developing, deploying, and operating the Lithosphere platform. Solutions are drawn from the infrastructure configuration (infra/README.md) and deployment secrets documentation (SECRETS.md).
Configuration Not Loading
If services are not picking up configuration changes, follow these diagnostic steps:
Check Docker Compose Configuration
# Validate the compose file syntax and merged configurationdockercomposeconfig# View container logs for a specific servicedockercomposelogsSERVICE_NAME# View logs with timestamps and follow modedockercomposelogs-f--timestampsSERVICE_NAME
Validate Prometheus Configuration
# Check Prometheus config syntax inside the containerdockercomposeexecprometheuspromtoolcheckconfig/etc/prometheus/prometheus.yml
Apply Configuration Updates
Dashboards Not Appearing in Grafana
If custom dashboards are not visible in Grafana after adding them:
Check the provisioning path is correct. Dashboard JSON files must be placed in the infra/grafana/dashboards/ directory.
Validate JSON syntax:
Check Grafana logs for provisioning errors:
Restart Grafana to reload provisioned dashboards:
Pre-configured dashboards included with the Lithosphere infrastructure:
System Overview -- VPS health (CPU, RAM, Disk, Network)
API Monitoring -- Request rates, latencies, errors, logs
# Prometheus supports hot-reload
curl -X POST http://localhost:9091/-/reload
# For other services, restart the specific container
docker compose restart SERVICE_NAME
# Or restart the entire monitoring stack
docker compose -f docker-compose.yaml -f docker-compose.monitoring.yaml restart
jq . infra/grafana/dashboards/your-dashboard.json
docker compose logs grafana
docker compose restart grafana
# Check that the alertmanager target is set
curl http://localhost:9091/api/v1/rules
# SSH into the server
ssh root@SERVER_IP
# Navigate to the deployment directory
cd /opt/lithosphere
# Clone a fresh copy
git clone https://github.com/KaJLabs/lithosphere.git temp
cp -r temp/Makulu/* Makulu/
rm -rf temp
# Navigate to the application directory
cd Makulu
# Build and start services
docker compose build
docker compose up -d
# Verify services are running
docker compose ps
# Prometheus -- Reduce retention to 7 days
prometheus:
command:
- '--storage.tsdb.retention.time=7d'
# Loki -- Reduce retention to 7 days
# Edit infra/loki/loki-config.yaml
limits_config:
retention_period: 168h # 7 days instead of default 30 days (720h)