{"record":{"id":"f9430ddd3e7c3c86","repo":"influxdata/influxdb","slug":"you-ve-incorrectly-specified-a-cluster-id-for-infl","errorCode":null,"errorMessage":"You've incorrectly specified a cluster-id for InfluxDB 3 Core OSS.\n\nCluster-id is an InfluxDB 3 Enterprise parameter. \nDid you install Core in an upgrade or run Core by mistake?\n\nRemove --cluster-id to run InfluxDB 3 Core OSS.","messagePattern":"You've incorrectly specified a cluster-id for InfluxDB 3 Core OSS\\.\n\nCluster-id is an InfluxDB 3 Enterprise parameter\\. \nDid you install Core in an upgrade or run Core by mistake\\?\n\nRemove --cluster-id to run InfluxDB 3 Core OSS\\.","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"influxdb3/src/commands/serve.rs","lineNumber":782,"sourceCode":"    /// the catalog.\n    #[clap(\n        long = \"delete-grace-period\",\n        env = \"INFLUXDB3_DELETE_GRACE_PERIOD\",\n        default_value = \"24h\",\n        action\n    )]\n    pub delete_grace_period: humantime::Duration,\n\n    /// The cluster-id is an enterprise config option to identify nodes belonging to the same cluster.\n    /// Core OSS is single node only. We've seen folks install Core OSS thinking they installed Enterprise.\n    /// They use --cluster-id and get the error `unexpected argument` which is confusing. So we generate\n    /// a custom error message if they use this arg.\n    #[clap(long = \"cluster-id\", value_parser=fail_cluster_id)]\n    pub cluster_id: Option<String>,\n}\n\npub fn fail_cluster_id(_: &str) -> Result<String, anyhow::Error> {\n    Err(anyhow::anyhow!(\n        \"You've incorrectly specified a cluster-id for InfluxDB 3 Core OSS.\\n\\nCluster-id is an InfluxDB 3 Enterprise parameter. \\\n    \\nDid you install Core in an upgrade or run Core by mistake?\\n\\nRemove --cluster-id to run InfluxDB 3 Core OSS.\"\n    ))\n}\n\n#[derive(Clone, Debug, clap::Args)]\n#[group(required = true)]\npub struct NodeId {\n    /// The node identifier used as a prefix in all object store file paths. This should be unique\n    /// for any InfluxDB 3 Core servers that share the same object store configuration, i.e., the\n    /// same bucket.\n    #[clap(\n        long = \"node-id\",\n        // TODO: deprecate this alias in future version\n        alias = \"host-id\",\n        env = \"INFLUXDB3_NODE_ID\",\n        group = \"node_id\",\n        action","sourceCodeStart":764,"sourceCodeEnd":800,"githubUrl":"https://github.com/influxdata/influxdb/blob/06200ef96ba82c5f6727e5038a83af8e722c6875/influxdb3/src/commands/serve.rs#L764-L800","documentation":"Produced by fail_cluster_id, the clap value_parser attached to the --cluster-id argument. InfluxDB 3 Core (OSS) does not support cluster-id — it is an Enterprise-only parameter — so any value supplied for it is rejected with this explanatory message telling the user to remove the flag.","triggerScenarios":"Running `influxdb3 serve --cluster-id <anything>` on a Core/OSS build; clap invokes fail_cluster_id during argument parsing, which unconditionally returns Err.","commonSituations":"Operators copy Enterprise startup scripts to a Core install, follow mixed documentation, or mistakenly installed Core where Enterprise was intended.","solutions":["Remove the --cluster-id flag from the serve command.","If clustering is actually required, install InfluxDB 3 Enterprise instead of Core.","If this is an automated deployment, update the config template/manifest for the Core edition."],"exampleFix":"# before\ninfluxdb3 serve --cluster-id my-cluster\n# after\ninfluxdb3 serve","handlingStrategy":"validation","validationCode":"if args.contains(\"--cluster-id\") && edition == \"core\" {\n    return Err(\"--cluster-id is Enterprise-only; remove it for Core\");\n}","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Keep separate startup templates for Core and Enterprise editions.","Grep deployment scripts for Enterprise-only flags before targeting Core.","Confirm the installed edition matches your clustering requirements."],"tags":["cli","configuration","licensing","influxdb3"],"backgroundTag":"invalid-cli-argument","analyzedSha":"06200ef96ba82c5f6727e5038a83af8e722c6875","analyzedAt":"2026-09-19T12:55:30.003Z","contentChangedAt":"2026-09-19T12:55:30.003Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}