Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Troubleshooting

Installation Health Check (Doctor)

If you have issues during or after installation, run the admin tool. It finds the install folder, so you can run it from any directory:

fluxomnictl doctor

If that command is missing, download the current launcher and install the tool. This does not pull images or restart services. A curl | bash install does not leave install.sh on disk, so use this form:

curl -fsSL https://install.fluxomni.io -o install.sh
bash install.sh tools

tools looks in ~/fluxomni and ~/fluxomni-media-node. For another folder, set FLUXOMNI_DIR. It refuses an install older than v26.4.0. Keep using ./doctor.sh on those older installs.

Root installs the tool to /usr/local/bin. Other users get ~/.local/bin. Add that folder to PATH if the shell cannot find the command. sudo does not search ~/.local/bin, so a non-root install needs the full path when a later step needs root.

A full install and a standalone media node can both exist. Pick one with --dir or --target:

fluxomnictl --dir ~/fluxomni-media-node doctor
fluxomnictl --target media-node doctor

./doctor.sh in the install folder does the same check after tools has updated it. Until then, an older ./doctor.sh is a separate script and does not call fluxomnictl.

The check covers:

  • Docker and Docker Compose installation
  • Environment configuration (.env)
  • Port availability (checks for conflicts with other services)
  • Container running status
  • Disk space and data directory integrity

For preparation limits, run fluxomnictl preparation check. It lists every failed host check, with a fix for each one.

Container Does Not Start

Navigate to your Fluxomni install directory and check the logs:

# Default: ~/fluxomni
cd ~/fluxomni
docker compose logs -f frontend control-plane media-node

For standalone remote media-node installs:

# Default: ~/fluxomni-media-node
cd ~/fluxomni-media-node
docker compose logs -f media-node

Common causes:

  • Docker daemon is not running.
  • The selected image tag does not exist.
  • A manual control-plane install has missing TLS or initial credential-hash files.
  • The configured frontend HTTP port, 1935, 8000/tcp, 8003/tcp, 8000/udp, 8081/tcp (loopback), 10080/udp, or 50052/tcp is already in use.
  • For standalone media-node installs, the control-plane RPC endpoint in .env is unreachable from the media server.
  • The control hostname does not match its TLS certificate, or the private CA was not supplied.

Media Node Does Not Appear in Fleet

If the Control Surface loads but a standalone node does not appear under /fleet, check the media-node logs:

cd ~/fluxomni-media-node
docker compose logs -f media-node

Look for a successful Registered media node with control plane message. If it never appears, verify:

  • FLUXOMNI_CONTROL_PLANE_RPC_ENDPOINT uses HTTPS and is reachable from the node.
  • Its hostname matches the server certificate and its CA is trusted.
  • node-secrets/credential and the identity metadata remain present and readable by the node.
  • Fleet shows the expected node ID and a consumed enrollment code.
  • No inbound node control port is required. Public media settings do not affect admission.

If an enrollment response was lost, rerun the original command. If its first redemption expired or was cancelled, generate a new code for the same node and retain the saved credential. An already committed code can only confirm that same hash.

For a running installation, use the standalone maintenance mode before recreating containers. A changed node ID or control endpoint cannot reuse another saved identity directory.

If the machine credential is permanently lost or damaged, stop the node and follow Rotate or recover a node credential. Revocation and recovery do not release reserved capacity or clear uncertain execution ownership.

SRS Reports Too Few Open Files

1128 exceed max open files=1024 means the container’s file limit is below SRS’s startup requirement.

Rerun the latest installer with your existing directory and explicit capacity maintenance mode. It supplies limits of 65,536, including for v26.3.2 assets. Container recreation interrupts active streams but retains mounted data.

For manual installs, add this under media-node and check for conflicting overrides:

    ulimits:
      nofile:
        soft: 65536
        hard: 65536

Apply the change through Capacity Ledger Upgrades, then verify:

docker compose exec media-node sh -c 'ulimit -Sn; ulimit -Hn'

Both values should be 65536. Applying the change requires container recreation, not a restart.

Generated URLs Use the Wrong Hostname or IP

If the UI shows RTMP, HLS, SRT, or WebRTC URLs with a private IP, Docker hostname, or old domain, update these values in .env and restart the stack:

  • FLUXOMNI_PUBLIC_HOST for control-plane links
  • FLUXOMNI_MEDIA_NODE_PUBLIC_HOST for media ingest and playback links

On current releases, /routes is the main operator page and /fleet shows attached media nodes. Both pages use the configured public hosts in the endpoints you can copy.

Check Running State

From your install directory:

docker compose ps

Clean Restart

Use Capacity Ledger Upgrades for a planned restart. Disable and drain routes while the old reporters are alive; restarting containers does not clear old reservations.

Playlist File Errors

Files in a route playlist show a signal integrity badge:

  • REF — the file matches the reference stream parameters. No issues.
  • DIFF — the file has different codec, resolution, or frame rate than the reference. This may cause brief glitches or quality changes during playback transitions.
  • ERROR — the file could not be probed. It may be corrupt, still downloading, or in an unsupported format.

To fix DIFF warnings, re-encode files to match the reference parameters shown in the playlist status bar (codec, resolution, frame rate, audio channels).

Disk Space

If the control-plane or media-node containers exit unexpectedly, check available disk space:

df -h ~/fluxomni/data

Playlist file downloads and DVR recordings can fill the disk. Free space by:

  • Clearing unused playlist files from route playlists.
  • Removing old DVR segments from data/dvr/.
  • Moving the data directory to a larger volume and updating FLUXOMNI_CONTROL_PLANE_DATA_DIR and FLUXOMNI_MEDIA_NODE_DATA_DIR in .env.

Port Already in Use

If Docker fails with an error like:

failed to bind port 0.0.0.0:80/tcp: Error starting userland proxy: listen tcp4 0.0.0.0:80: bind: address already in use

Another service on the host is already listening on that port. This is common on NAS devices (Synology, QNAP, Unraid) where the built-in web UI occupies port 80. Port 8000 (HLS TCP / RTC UDP) is another frequent conflict: Synology DSM uses it as an alternative HTTP port, and media apps like Plex or Jellyfin may also bind to it.

Fix: override the conflicting host ports in .env without editing docker-compose.yml:

# Change the Control Surface port from 80 to 8080
echo 'FLUXOMNI_FRONTEND_HTTP_PORT=8080' >> .env

# Change HLS TCP port from 8000 to 8800 (if 8000 is also taken)
echo 'FLUXOMNI_MEDIA_NODE_HLS_PORT=8800' >> .env

# Change WebRTC media UDP and WHIP signaling TCP independently
echo 'FLUXOMNI_SRS_RTC_PORT=8800' >> .env
echo 'FLUXOMNI_MEDIA_NODE_WHIP_PORT=8803' >> .env

Apply the changes using Capacity Ledger Upgrades. For an already running installation, drain routes before recreating containers.

Access the Control Surface at http://<HOST-IP>:8080. If you also set FLUXOMNI_PUBLIC_URL, include the new port, for example http://nas.local:8080.

Multi-Subnet and NAT Environments

The browser times out when FLUXOMNI_PUBLIC_HOST is not the address the browser uses. This shows up with more than one network, NAT, or a loopback public host. fluxomnictl doctor warns when that host is 127.0.0.1 or localhost.

  1. Run fluxomnictl doctor and use one of the addresses it prints.
  2. Set FLUXOMNI_PUBLIC_HOST in .env to the IP or hostname the browser uses to reach the server.
  3. Publish the UI with FLUXOMNI_FRONTEND_HTTP_PORT. The default is 80. FLUXOMNI_CONTROL_PLANE_HTTP_BIND is not a Compose setting and does not change the bind. To keep the UI on localhost, set FLUXOMNI_FRONTEND_HTTP_PORT=127.0.0.1:8080. See Private Access.
  4. From inside the same LAN, opening the public IP requires NAT reflection (hairpin NAT) on the router.

If you are using a reverse proxy (Nginx, Traefik, Caddy), set FLUXOMNI_PUBLIC_URL to the full proxy URL:

FLUXOMNI_PUBLIC_URL=https://fluxomni.example.com

All port mappings in docker-compose.yml support the same pattern. Override the host port with the matching FLUXOMNI_* variable in .env:

VariableDefaultService
FLUXOMNI_FRONTEND_HTTP_PORT80Control Surface (HTTP)
FLUXOMNI_CONTROL_PLANE_RPC_PORT127.0.0.1:50052Control-plane gRPC
FLUXOMNI_MEDIA_NODE_RTMP_PORT1935RTMP ingest
FLUXOMNI_MEDIA_NODE_HLS_PORT8000HLS TCP
FLUXOMNI_MEDIA_NODE_WHIP_PORT8003WHIP signaling TCP
FLUXOMNI_SRS_RTC_PORT8000WebRTC media UDP
FLUXOMNI_MEDIA_NODE_SRT_PORT10080SRT ingest

Firewall and Port Issues

Fluxomni uses both TCP and UDP ports. A common mistake is only opening TCP:

PortProtocolService
80TCPControl Surface (HTTP)
1935TCPRTMP ingest
8000TCPHLS playback
8003TCPWHIP signaling
8000UDPWebRTC media
8081TCP (localhost)SRS callback (internal)
10080UDPSRT ingest
50052TCPControl-plane gRPC (localhost by default)

SRT (port 10080) is UDP only. If SRT publishers cannot connect, verify that UDP traffic is allowed through your firewall or cloud security group.

WHIP needs both signaling TCP and media UDP: by default TCP 8003 and UDP 8000. HLS uses TCP 8000 separately. If you override ports, open the matching firewall/cloud rules; changing the HLS port does not change the RTC UDP listener.

Stream Quality Issues

If the output stream has artifacts, stuttering, or audio sync problems:

  • Check the Signal Integrity panel on the routes list for mismatch or fetch warnings.
  • Open the route workspace and verify the input codec info matches what your encoder is sending.
  • Ensure your encoder bitrate does not exceed the server’s upload bandwidth.
  • For playlist playback, verify all files use the same codec, resolution, and frame rate as the primary source.

Cannot Sign In

If you are locked out of the Control Surface:

  • Verify the username and password. Passwords are case-sensitive.
  • If you forgot the admin password, current installs store user accounts in data/state.db, not data/state.json. Stop the stack first, back up data/, and use sqlite3 data/state.db only as a last resort if you need to inspect or repair the users table before restarting.
  • If no user accounts exist, Fluxomni uses the open admin shell. After emergency recovery, use Settings to create a new admin account before re-enabling named-user sign-in.

Upgrade Requires One Control-Plane Container

Exactly one existing control-plane container is required means Compose does not see one control-plane container in the install directory. The upgrade reads that container to find the database. A stopped container counts. A removed container does not. The installer does not create it, and it does not restore execution.

cd ~/fluxomni
docker compose --profile auto-update ps --all --quiet control-plane

That command must print one container ID. If it prints nothing, keep data/ and start the existing service again with docker compose up -d --no-deps control-plane. If it prints more than one ID, leave one container and do not delete volumes. Then rerun the same upgrade command. See The existing control-plane container for the command choice and the restore rule.

Rollback to a Previous Version

Retain the database and diagnose the candidate using Capacity Ledger Upgrades. A predecessor image may not understand migrated state or durable capacity ownership; changing the image tag and recreating containers is not a verified rollback.

Restoring an older database and matching images requires a separately reviewed recovery procedure, backups and proof that all predecessor execution is stopped. Never erase the ledger or reuse the initialization acknowledgement to release exposed ownership. Available image tags are listed on GitHub Releases.