ytti/oxidized · error · OxidizedError

oxidized-web not found: install it or disable it by removing

Error message

oxidized-web not found: install it or disable it by removing "rest" and "extensions.oxidized-web" from your configuration

What it means

Error "oxidized-web not found: install it or disable it by removing "rest" and "extensions.oxidized-web" from your configuration" thrown in ytti/oxidized.

Source

Thrown at lib/oxidized/core.rb:53

      # Initialize oxidized-web if requested
      if Oxidized.config.has_key? 'rest'
        logger.warn(
          'configuration: "rest" is deprecated. Migrate to ' \
          '"extensions.oxidized-web" and remove "rest" from the configuration'
        )
        configuration = Oxidized.config.rest
      elsif Oxidized.config.extensions &&
            Oxidized.config.extensions['oxidized-web']&.load?
        # This comment stops rubocop complaining about Style/IfUnlessModifier
        configuration = Oxidized.config.extensions['oxidized-web']
      end

      if configuration
        begin
          require 'oxidized/web'
        rescue LoadError
          raise OxidizedError,
                'oxidized-web not found: install it or disable it by ' \
                'removing "rest" and "extensions.oxidized-web" from your ' \
                'configuration'
        end
        @rest = API::Web.new nodes, configuration
        @rest.run
      end
      run
    end

    private

    def reload
      logger.info("Reloading node list")
      @worker.reload
      @need_reload = false
    end

View on GitHub (pinned to 687ed4262d)

When it happens

Trigger: Thrown at lib/oxidized/core.rb:53 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of ytti/oxidized@687ed4262d (2026-08-23). Data as JSON: /api/errors/bf964c9f9628cbb8. Report an issue: GitHub.