| title | Operations & Troubleshooting |
|---|---|
| description | Keep Pullbase healthy and resolve common issues quickly. |
Operating Pullbase involves monitoring service health, responding to drift, and collecting diagnostics during incidents.
- API health:
curl http://localhost:8080/api/v1/healthz - Database (SQLite): Check the database file exists and is accessible
- Database (PostgreSQL):
docker compose exec db pg_isready -U pullbaseuser -d pullbasedb - Web UI: Sign in and confirm the dashboard loads recent activity.
- Agents: List servers and check
last_timestampin status history via CLI or UI.
```
failed to generate self-signed certificates: mkdir certs: permission denied
```
**Option 1: Disable TLS** (recommended if behind a reverse proxy or for testing):
```bash
echo "PULLBASE_TLS_ENABLED=false" | sudo tee -a /etc/pullbase/pullbase.env
sudo systemctl restart pullbase
```
**Option 2: Create the certs directory with proper permissions**:
```bash
sudo mkdir -p /var/lib/pullbase/certs
sudo chown pullbase:pullbase /var/lib/pullbase/certs
# Update env to use this path
sudo tee -a /etc/pullbase/pullbase.env > /dev/null <<'EOF'
PULLBASE_TLS_CERT_PATH=/var/lib/pullbase/certs/server.crt
PULLBASE_TLS_KEY_PATH=/var/lib/pullbase/certs/server.key
EOF
sudo systemctl restart pullbase
```
For production, use CA-signed certificates or terminate TLS at a reverse proxy.
You downloaded the wrong binary for your system architecture.
```bash
# Check your architecture
uname -m
```
| Output | Binary to download |
|--------|-------------------|
| `x86_64` | `pullbase-server-linux-amd64` |
| `aarch64` or `arm64` | `pullbase-server-linux-arm64` |
Download the correct binary and reinstall:
```bash
sudo systemctl stop pullbase
curl -fsSL -o pullbase-server "https://github.com/pullbase/pullbase/releases/latest/download/pullbase-server-linux-arm64"
sudo install -m 0755 pullbase-server /usr/local/bin/pullbase-server
sudo systemctl start pullbase
```
# Pullbase server logs
docker compose logs pullbase --since 1h
# Database logs
docker compose logs db --since 1h
# Agent logs (container)
docker logs pullbase-agent --since 1h
# Agent logs (systemd)
journalctl -u pullbase-agent --since "1 hour ago"PostgreSQL:
docker compose exec db \
pg_dump -U pullbaseuser pullbasedb \
> pullbasedb-$(date +%F).sqlIf you need a clean slate (lab environments):
- Stop services:
docker compose down - Remove data only if you accept data loss:
- SQLite:
docker volume rm pullbase_pullbase_dataor delete the database file - PostgreSQL:
docker volume rm pullbase_postgres_data
- SQLite:
- Start again:
docker compose up -d
- Review GitHub issues for known bugs.
- Collect the diagnostic bundle above before filing a bug report.
- Provide Pullbase version and deployment details.
Keep this playbook handy so you can respond quickly when drift occurs or when an agent experiences connectivity issues.