Setup Wizard Fails on an Isolated Network
On an appliance with no internet access, first-run setup can fail because the web service expects object storage that is not running and the DNS resolver does not answer. Check four things on the appliance, then turn storage off or load the SeaweedFS image.
Symptoms
- The first-run setup request ends with no response, or the browser reports that the connection closed.
- Every retry leaves another partially configured organization behind.
- The web service log shows failed lookups for the
seaweedfshost and a database connection that was held for too long.
Cause
The web service sends greeting, recording, and PDF files to the seaweedfs container. Creating an organization also creates its storage buckets, which needs a name lookup for seaweedfs and an HTTP call.
Setup fails when two conditions combine:
- The appliance is configured for object storage (
S3_ENABLED=true), but the SeaweedFS container is not running, often because its image was never loaded onto the appliance. - The DNS resolver in
/etc/resolv.confis unreachable. Each lookup waits for the full timeout instead of failing fast, and setup gives up before the lookups finish.
Check the Appliance
Run these on the appliance over SSH on port 2222.
-
Check whether the SeaweedFS container exists:
sudo docker ps --format '{{.Names}}' | grep seaweedfsNo output means SeaweedFS is not running.
-
Compare the two storage settings:
grep -E '^(COMPOSE_PROFILES|S3_ENABLED)=' /home/calltelemetry/.envA healthy appliance with storage on has
storageinCOMPOSE_PROFILES. IfS3_ENABLED=trueandCOMPOSE_PROFILEShas nostorageentry (or the keys are missing and the web container still hasS3_ENABLED=true), the appliance is half-configured. -
Check the resolver:
cat /etc/resolv.confA
nameserverentry that points at an address your isolated network cannot reach is the second cause. -
Run the diagnostics and read the Storage line:
sudo ct doctor -
Look for the lookup errors in the web log:
sudo ct logs web --tail 200
| What You See | Meaning |
|---|---|
No seaweedfs container | Storage is configured but not running |
S3_ENABLED=true without storage in COMPOSE_PROFILES | The two settings disagree |
ct doctor reports the SeaweedFS image is not on the appliance | The image was never loaded; load it or turn storage off |
ct doctor warns that no resolver answered within 1 second | The resolver is unreachable |
Fix It
Pick one option, then fix DNS.
Option 1: Run Without Object Storage
This is the fastest fix. Greeting audio, recordings, and PDF archives are unavailable until you turn storage on again.
sudo ct storage disable
sudo ct storage status
Option 2: Load the SeaweedFS Image
Pull the image on a machine with internet access, move it to the appliance, and load it. Follow Load the SeaweedFS Image Manually.
sudo ct storage load seaweedfs.tar
Fix the Resolver
Point the appliance at a resolver it can reach, or at none, as described in Set DNS for an Isolated Network. Then run sudo ct doctor again.
Retry Setup
Open the setup page again after the fix. List the organizations the failed attempts created:
sudo ct users orgs
Contact Call Telemetry support before you delete any of them.
On an appliance you can wipe, run ct factory-reset --no-storage to restart with storage off. It deletes all appliance data. Use ct bootstrap-admin <email> <password> --no-storage to create the administrator without touching storage.
Fixed in Appliance Release 0.8.6.30
Appliance release 0.8.6.30 and later keep the web service's S3_ENABLED setting and the storage profile in step, so one cannot be on without the other. ct storage enable checks for the image first and tells you how to load it, and ct doctor reports the mismatches listed above. Appliances running an earlier release still need the steps on this page.