Self-hosted Sopblox won't start or won't open
What to check when the page doesn't load after installing, updating or restarting.
Run these on the server. On the Docker edition, run them from the Sopblox folder and use ./sopblox instead of sudo sopblox.
1. Check what's running
sudo sopblox status
You should see the app and db containers Up (and caddy on the Debian package, or on Docker with Sopblox's own HTTPS). If one says Restarting or Exited, look at its log:
sudo sopblox logs
Press Ctrl+C to stop following the log. The last few lines usually say what's wrong.
2. Common causes
"password authentication failed for user sop"
The database was created by an earlier install with a different password. If this is a new install with nothing in it yet, start fresh. On Docker, run docker compose down -v in the Sopblox folder, delete .env, then ./sopblox setup again. On an install with data, put back the .env that belongs with that database.
"address already in use" or "port is already allocated"
Something else on the server uses the port. With the Debian package, Sopblox needs ports 80 and 443. With Docker behind your own proxy, choose a free port with ./sopblox port 8095.
"Cannot connect to the Docker daemon"
Docker isn't running. Start it with sudo systemctl start docker, or open Docker Desktop on a Mac, then run sudo sopblox start.
"No space left on device"
The disk is full. Check with df -h. Old Docker images can be removed with docker image prune, and old backups from /var/backups/sopblox (or ./backups on Docker).
The app restarts with "SECRET_KEY is missing or too short"
The settings file is damaged or was replaced. Restore your copy of .env from your password manager.
3. The containers run but the page won't open
- Check the address resolves to this server:
dig +short sop.yourcompany.com. - With your own reverse proxy, check it points at the right port on this host (
./sopblox portshows it) and uses plain http to Sopblox. - From the server itself,
curl -I http://127.0.0.1:8090(or your port) should answer. If it does, the problem is between the browser and the server: DNS, a firewall or the proxy.
Still stuck?
Collect the details we need with sudo sopblox support-bundle and send it to us.
Still need help?
Email signup@sopblox.com. If you run Sopblox on your own server, attach a support bundle so we can help faster.