cells-enterprise start

Start one or more services

Synopsis

DESCRIPTION

Start one or more services on this machine. $ ./cells-enterprise start [flags] args...

No arguments will start all services available (see 'ps' command).
- Select specific services with regular expressions in the additional arguments. - The -t/--tags flag may limit to only a certain category of services (see usage below) - The -x/--exclude flag may exclude one or more services All these may be used in conjunction (-t, -x, regexp arguments).

REQUIREMENTS

Ulimit: set a number of allowed open files greater or equal to 2048. For production use, a minimum of 8192 is recommended (see ulimit -n).

Setcap: if you intend to bind the server to standard http ports (80, 443), you must grant necessary permissions on cells binary with this command: $ sudo setcap 'cap_net_bind_service=+ep'

EXAMPLES

  1. Start all Cells services $ ./cells-enterprise start

  2. Start all services whose name starts with pydio.grpc $ ./cells-enterprise start pydio.grpc

  3. Start only services for scheduler $ ./cells-enterprise start --tag=scheduler

  4. Start whole plateform except the roles service $ ./cells-enterprise start --exclude=pydio.grpc.idm.role

ENVIRONMENT

  1. Flag mapping

    All the command flags documented below are mapped to their associated ENV var, using upper case and CELLS_ prefix. For example : $ ./cells-enterprise start --grpc_port 54545 is equivalent to $ export CELLS_GRPC_PORT=54545; ./cells-enterprise start

  2. Working Directories

  • CELLS_WORKING_DIR: replace the whole standard application dir
  • CELLS_DATA_DIR: replace the location for storing default datasources (default CELLS_WORKING_DIR/data)
  • CELLS_LOG_DIR: replace the location for storing logs (default CELLS_WORKING_DIR/logs)
  • CELLS_SERVICES_DIR: replace location for services-specific data (default CELLS_WORKING_DIR/services)
  1. Timeouts, limits, proxies
  • CELLS_SQL_DEFAULT_CONN, CELLS_SQL_LONG_CONN: timeouts used for SQL queries. Use a golang duration (10s, 1m, etc). Defaults are respectively 30 seconds and 10 minutes.
  • CELLS_CACHES_HARD_LIMIT: maximum memory limit used by internal caches (in MB, default is 8). This is a per/cache limit, not global.
  • CELLS_UPDATE_HTTP_PROXY: if your server uses a client proxy to access outside world, this can be set to query update server.
  • HTTP_PROXY, HTTPS_PROXY, NO_PROXY: golang-specific environment variables to configure a client proxy for all external http calls.
  1. Development variables
  • CELLS_ENABLE_WIP_LANGUAGES: show partially translated languages in the UX language picker.
  • CELLS_ENABLE_LIVEKIT: enable experimental support for video calls in the chat window, using a livekit-server.
  • CELLS_ENABLE_FORMS_DEVEL: display a basic UX form with all possible fields types in the UX (for React developers)
  • CELLS_DEFAULT_DS_STRUCT: if true, create default datasources using structured format instead of flat
  • CELLS_TRACE_FATAL: if true, tries to better display root cause of process crashes
./cells-enterprise start [flags]

Options

      --advertise_address string     Address that should be advertised to other members of the cluster (leave it empty for default advertise address)
      --bind_address string          Address on which servers will bind. Binding port depends on the server type (grpc, http, etc). (default "127.0.0.1")
      --broker string                Pub/sub service URL for events broadcast. Supported schemes:  (default "mem://")
      --enable_metrics               Instrument code to expose internal metrics
      --enable_pprof                 Enable pprof remote debugging
  -x, --exclude stringArray          Select services to start by filtering out some specific ones by name
      --grpc_discovery_port string   Default discovery gRPC server port (registry, broker, config, and log services). (default "8030")
      --grpc_port string             Default gRPC server port (all gRPC services, except discovery ones) (default "8031")
      --healthcheck int              Healthcheck port number
  -h, --help                         help for start
      --log string                   Output log level: debug, info, warn, error (production is equivalent to log_json+info) (default "info")
      --log_json                     Output log formatted as JSON instead of text
      --log_to_file                  Write logs on-file in CELLS_LOG_DIR (default true)
      --registry string              Registry URL used to manage services. Supported schemes: etcd|file|grpc|mem (default "mem://?cache=shared")
      --site_bind string             [Site] The 'site_' flags suite overrides config-defined sites. Bind is the site binding address IP|DOMAIN:PORT (default 0.0.0.0:8080)
      --site_external string         [Site] External full URL http[s]://IP|DOMAIN[:PORT] exposed to the outside
      --site_le_agree                [Site] Accept Let's Encrypt EULA
      --site_le_email string         [Site] Set email to enable Let's Encrypt automatic TLS configuration
      --site_le_staging              [Site] Use Let's Encrypt staging CA instead of production to avoid being banned on misconfiguration.
      --site_no_tls                  [Site] Use plain HTTP (default false, use self-signed)
      --site_tls_cert_file string    [Site] Path to custom TLS certificate file
      --site_tls_key_file string     [Site] Path to custom TLS key file
  -t, --tags stringArray             Select services to start by tags, possible values are 'broker', 'data', 'datasource', 'discovery', 'frontend', 'gateway', 'idm', 'scheduler'

Options inherited from parent commands

      --config string   Configuration storage URL. Supported schemes: etcd|etcd+tls|file|grpc|mem|vault|vaults (default "file:///home/teamcity/.config/pydio/cells/pydio.json")

SEE ALSO

Auto generated by Pydio Cells Enterprise Distribution v4.0.1 on 17-Oct-2022
Back to top