Skip to main content

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 seaweedfs host 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:

  1. 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.
  2. The DNS resolver in /etc/resolv.conf is 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.

  1. Check whether the SeaweedFS container exists:

    sudo docker ps --format '{{.Names}}' | grep seaweedfs

    No output means SeaweedFS is not running.

  2. Compare the two storage settings:

    grep -E '^(COMPOSE_PROFILES|S3_ENABLED)=' /home/calltelemetry/.env

    A healthy appliance with storage on has storage in COMPOSE_PROFILES. If S3_ENABLED=true and COMPOSE_PROFILES has no storage entry (or the keys are missing and the web container still has S3_ENABLED=true), the appliance is half-configured.

  3. Check the resolver:

    cat /etc/resolv.conf

    A nameserver entry that points at an address your isolated network cannot reach is the second cause.

  4. Run the diagnostics and read the Storage line:

    sudo ct doctor
  5. Look for the lookup errors in the web log:

    sudo ct logs web --tail 200
What You SeeMeaning
No seaweedfs containerStorage is configured but not running
S3_ENABLED=true without storage in COMPOSE_PROFILESThe two settings disagree
ct doctor reports the SeaweedFS image is not on the applianceThe image was never loaded; load it or turn storage off
ct doctor warns that no resolver answered within 1 secondThe 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.

Reset a New Appliance

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.