Troubleshooting¶
Common issues when running Volundr locally and how to fix them.
niuu: command not found¶
The niuu binary is not in your PATH.
Fix:
# Check if the binary exists
ls -la /usr/local/bin/niuu
# If not, re-download and install it
curl -fsSL https://github.com/niuulabs/volundr/releases/latest/download/niuu-darwin-arm64 -o niuu
chmod +x niuu
sudo mv niuu /usr/local/bin/
Make sure /usr/local/bin is in your PATH:
If not, add it to your shell profile (~/.zshrc, ~/.bashrc, etc.):
claude binary not found¶
Volundr sessions use the claude CLI as the AI agent. If it's not installed, sessions will fail to start.
Fix:
Install the Claude CLI:
Verify it's available:
Anthropic API key invalid or missing¶
Symptoms:
- Sessions fail during PROVISIONING
- Error:
authentication_errororinvalid_api_key
Fix:
-
Check your key is set:
-
If missing or wrong, re-run the init wizard:
-
Or set it directly:
Make sure your key starts with sk-ant- and has not expired.
Port already in use¶
Symptoms:
niuu volundr upfails with "address already in use"- Error on port 5432 (PostgreSQL) or 8080 (API server)
Fix:
Find what's using the port:
Either stop the conflicting process, or use a different port:
If port 5432 is in use, you likely have another PostgreSQL instance running. Either stop it or switch to external database mode:
Session stuck in PROVISIONING¶
Symptoms:
- Session status shows
PROVISIONINGfor more than 60 seconds - No error message visible
Fix:
-
Check service status:
All services should show
running. If any show errors, restart: -
Check the API server logs for errors. Look for messages about failed health checks or database connectivity.
-
If using embedded PostgreSQL, make sure the database started successfully (check for port 5432 in the status output).
-
Try stopping and re-creating the session.
Git clone fails¶
Symptoms:
- Session fails during PROVISIONING with a git error
- Error mentions authentication, permissions, or network issues
Authentication errors¶
Make sure your GitHub token has the correct scopes:
repo— full control of private repositoriesread:org— if you're accessing organization repos
Re-configure the token:
Network errors¶
If you're behind a corporate proxy:
export HTTPS_PROXY=http://proxy.example.com:8080
export HTTP_PROXY=http://proxy.example.com:8080
niuu volundr up
Repository not found¶
- Verify the repo URL is correct (e.g.
my-org/my-repo, not the full HTTPS URL) - Verify your token has access to the repository
- For GitHub Enterprise, make sure the API URL is set correctly in your configuration
Database connection errors¶
Symptoms:
- API server fails to start
- Error:
connection refusedon port 5432
Fix:
If using embedded mode, the embedded PostgreSQL may have failed to start:
# Check if PostgreSQL is running
niuu volundr status
# Try restarting
niuu volundr down
niuu volundr up
If using external mode, verify your database configuration:
Web UI shows blank page or connection error¶
Symptoms:
- Browser shows "connection refused" or blank page at
http://localhost:8080
Fix:
-
Verify Volundr is running:
-
Check the health endpoint:
Expected:
{"status": "healthy"} -
If the health check fails, check that the API server started on the expected port. Look at the terminal where you ran
niuu volundr upfor error messages. -
Try a hard refresh in your browser (Cmd+Shift+R / Ctrl+Shift+R).
Getting more help¶
If your issue isn't listed here:
- Check the API server logs for detailed error messages
-
Run with debug logging:
-
File an issue at github.com/niuulabs/volundr/issues