zellij-org/zellij · error

Can't find config options

Error message

Can't find config options

What it means

Error "Can't find config options" thrown in zellij-org/zellij.

Source

Thrown at src/main.rs:318

                web_opts.ip,
                web_opts.port,
                web_opts.cert.clone(),
                web_opts.key.clone(),
                web_opts.server_startup_timeout,
            );
        } else if web_opts.stop {
            match commands::stop_web_server() {
                Ok(()) => {
                    println!("Stopped web server.");
                },
                Err(e) => {
                    eprintln!("Failed to stop web server: {}", e);
                    std::process::exit(2)
                },
            }
        } else if web_opts.status {
            let mut config_options = commands::get_config_options_from_cli_args(&opts)
                .expect("Can't find config options");
            if let Some(ip) = web_opts.ip {
                config_options.web_server_ip = Some(ip);
            }
            if let Some(port) = web_opts.port {
                config_options.web_server_port = Some(port);
            }
            let web_server_base_url = web_server_base_url_from_config(config_options);
            match commands::web_server_status(&web_server_base_url, web_opts.timeout) {
                Ok(version) => {
                    let version = version.trim();
                    println!(
                        "Web server online with version: {}. Checked: {}",
                        version, web_server_base_url
                    );
                    if version != VERSION {
                        println!("");
                        println!(
                            "Note: this version differs from the current Zellij version: {}.",

View on GitHub (pinned to 5cb5df5cce)

Solutions

  1. Fix the configuration file syntax (run `zellij setup --check` to locate the error).
  2. Regenerate a default config with `zellij setup --dump-config` and merge changes.

When it happens

Trigger: Occurs at src/main.rs:318 when the operation fails: "Can't find config options". Currently there is no defensive handling preventing or contextualizing this failure before it surfaces.

Common situations: Malformed KDL config or incompatible options after an upgrade.


AI-assisted analysis of zellij-org/zellij@5cb5df5cce (2026-08-19). Data as JSON: /api/errors/7e90d42ba9b523d5. Report an issue: GitHub.