{"record":{"id":"622a0742d1574575","repo":"juicedata/juicefs","slug":"not-supported","errorCode":null,"errorMessage":"not supported","messagePattern":"not supported","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"cmd/gateway_noop.go","lineNumber":34,"sourceCode":" * See the License for the specific language governing permissions and\n * limitations under the License.\n */\npackage cmd\n\nimport (\n\t\"errors\"\n\n\t\"github.com/urfave/cli/v2\"\n)\n\nfunc cmdGateway() *cli.Command {\n\treturn &cli.Command{\n\t\tName:        \"gateway\",\n\t\tCategory:    \"SERVICE\",\n\t\tUsage:       \"Start an S3-compatible gateway (not included)\",\n\t\tDescription: `This feature is not included. If you want it, recompile juicefs without \"nogateway\" flag`,\n\t\tAction: func(*cli.Context) error {\n\t\t\treturn errors.New(\"not supported\")\n\t\t},\n\t}\n}\n","sourceCodeStart":16,"sourceCodeEnd":38,"githubUrl":"https://github.com/juicedata/juicefs/blob/c9a67b23e8e08ec23ec331aa6f1675e2319e921c/cmd/gateway_noop.go#L16-L38","documentation":"Returned by the `juicefs gateway` command when the binary was compiled with the nogateway build tag. The command is registered as a stub that always fails; the S3 gateway feature is simply not present in this build.","triggerScenarios":"Thrown at cmd/gateway_noop.go:34 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Recompile juicefs without the nogateway tag (use a standard or full build)","Install a full juicefs release binary that includes the gateway"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"c9a67b23e8e08ec23ec331aa6f1675e2319e921c","analyzedAt":"2026-09-06T17:55:48.476Z","contentChangedAt":"2026-09-06T17:55:48.476Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}