rspm check-config

Validate the configuration file without starting the server.

Synopsis

Command to validate the Package Manager configuration without starting the service or creating any data directories. It runs six checks and reports a [PASS], [FAIL], or [INFO] result for each: configuration file syntax, unrecognized section or variable names, configured file paths, some server startup settings (such as the HTTP/HTTPS listener configuration), database connectivity (the core database, plus the usage metrics database when Server.UsageDataEnabled is true), and license status. PACKAGEMANAGER_* environment-variable overrides are applied on top of the file, exactly as the server applies them at startup. The command exits non-zero if any check fails, making it suitable for deployment pre-flight checks.

Terminal
rspm check-config [flags]

Examples

Terminal
  rspm check-config
  rspm check-config --config /etc/rstudio-pm/rstudio-pm.gcfg

Options

Terminal
  -h, --help   help for check-config

Options inherited from parent commands

Terminal
  -a, --address string             The address of the remote server. If not specified, the PACKAGEMANAGER_ADDRESS environment variable is used.
  -c, --config string              Path to config file
      --insecure-ssl-skip-verify   If true, skip SSL certificate validation. This reduces the security that SSL normally provides.
  -o, --output-format string       Specify the output format 'human' for human-readable output or 'json' for JSON-encoded output. (default "human")
  -v, --verbose                    Provide additional output
Back to top