2025-10-04 15:05:07 +05:30
|
|
|
---
|
|
|
|
|
title: "Troubleshooting"
|
|
|
|
|
description: "Common issues and solutions for running Dograh AI"
|
|
|
|
|
---
|
|
|
|
|
|
2025-09-30 09:43:16 +05:30
|
|
|
# Troubleshooting
|
|
|
|
|
|
|
|
|
|
## Freeing Up Ports
|
|
|
|
|
|
|
|
|
|
### When a port is already in use:
|
|
|
|
|
##### Check what's using the port first and then kill the process (may require sudo on Linux)
|
2026-04-03 06:34:13 +05:00
|
|
|
<CodeGroup>
|
|
|
|
|
```bash macOS/Linux
|
2025-09-30 09:43:16 +05:30
|
|
|
lsof -i :3010
|
|
|
|
|
kill -9 $(lsof -t -i :3010)
|
|
|
|
|
```
|
2026-04-03 06:34:13 +05:00
|
|
|
```powershell Windows
|
|
|
|
|
netstat -ano | findstr :3010
|
|
|
|
|
# Find the PID in the last column, then:
|
|
|
|
|
Stop-Process -Id <PID> -Force
|
|
|
|
|
```
|
|
|
|
|
</CodeGroup>
|
2025-09-30 09:43:16 +05:30
|
|
|
|
|
|
|
|
### When Docker containers are using the ports (with auto-restart enabled):
|
|
|
|
|
|
|
|
|
|
**Step 1:** Stop all running containers
|
|
|
|
|
```bash
|
|
|
|
|
docker stop $(docker ps -q)
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Step 2:** Disable restart policy for all containers
|
|
|
|
|
This prevents containers from automatically restarting:
|
|
|
|
|
```bash
|
|
|
|
|
docker update --restart=no $(docker ps -a -q)
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Step 3:** Verify
|
|
|
|
|
|
|
|
|
|
Check that no containers are running:
|
|
|
|
|
```bash
|
|
|
|
|
docker ps
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Check restart policies (should show 'no' for each container):
|
|
|
|
|
```bash
|
|
|
|
|
docker inspect -f '{{.Name}} - {{.HostConfig.RestartPolicy.Name}}' $(docker ps -a -q)
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Stopping Dograh Services
|
|
|
|
|
##### Stop services or Stop and remove all data (full cleanup)
|
|
|
|
|
```bash
|
|
|
|
|
docker compose down
|
|
|
|
|
|
|
|
|
|
docker compose down -v
|
2025-10-04 15:05:07 +05:30
|
|
|
```
|