From 31e2e22ff2e27d2aec8c81af33be34020a9de671 Mon Sep 17 00:00:00 2001 From: Artur Neumann Date: Thu, 3 Dec 2020 11:35:18 +0000 Subject: [PATCH] commit e0e4585130d4367d97d8c7010ee1bc70ed32b161 Merge: fc9e7f7c 5655ea4e Author: Artur Neumann Date: Thu Dec 3 16:48:49 2020 +0545 Merge pull request #1013 from owncloud/bump-core-commit-tus-option-expectations [tests-only] adjust TUS OPTIONS test expectations to current behaiviour --- extensions/accounts/configuration.md | 80 ++--- extensions/glauth/configuration.md | 32 +- extensions/konnectd/configuration.md | 50 ++-- extensions/ocis-phoenix/configuration.md | 32 +- extensions/ocs/configuration.md | 32 +- extensions/onlyoffice/configuration.md | 2 +- extensions/proxy/configuration.md | 20 +- extensions/settings/configuration.md | 32 +- extensions/storage/configuration.md | 366 +++++++++++------------ extensions/store/configuration.md | 26 +- extensions/thumbnails/configuration.md | 32 +- extensions/webdav/configuration.md | 44 +-- ocis/configuration.md | 180 +++++------ 13 files changed, 464 insertions(+), 464 deletions(-) diff --git a/extensions/accounts/configuration.md b/extensions/accounts/configuration.md index 07612ecdab8..e1c7fefdcff 100644 --- a/extensions/accounts/configuration.md +++ b/extensions/accounts/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T07:39:40+0000" +date: "2020-12-03T11:34:32+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/accounts/templates @@ -33,17 +33,11 @@ If you prefer to configure the service with environment variables you can see th If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly. -### accounts list +### accounts update -List existing accounts +Make changes to an existing account -Usage: `accounts list [command options] [arguments...]` - ---grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE -: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`. - ---name | $ACCOUNTS_NAME -: service name. Default: `accounts`. +Usage: `accounts update [command options] [arguments...]` ### accounts add @@ -51,6 +45,21 @@ Create a new account Usage: `accounts add [command options] [arguments...]` +### accounts ocis-accounts + +Provide accounts and groups for oCIS + +Usage: `accounts ocis-accounts [command options] [arguments...]` + +--log-level | $ACCOUNTS_LOG_LEVEL +: Set logging level. Default: `info`. + +--log-pretty | $ACCOUNTS_LOG_PRETTY +: Enable pretty logging. Default: `true`. + +--log-color | $ACCOUNTS_LOG_COLOR +: Enable colored logging. Default: `true`. + ### accounts remove Removes an existing account @@ -63,18 +72,6 @@ Usage: `accounts remove [command options] [arguments...]` --name | $ACCOUNTS_NAME : service name. Default: `accounts`. -### accounts inspect - -Show detailed data on an existing account - -Usage: `accounts inspect [command options] [arguments...]` - ---grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE -: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`. - ---name | $ACCOUNTS_NAME -: service name. Default: `accounts`. - ### accounts server Start ocis accounts service @@ -129,6 +126,18 @@ Usage: `accounts server [command options] [arguments...]` --service-user-username | $ACCOUNTS_SERVICE_USER_USERNAME : username of the internal service user (required on EOS). +### accounts list + +List existing accounts + +Usage: `accounts list [command options] [arguments...]` + +--grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE +: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`. + +--name | $ACCOUNTS_NAME +: service name. Default: `accounts`. + ### accounts version Print the versions of the running instances @@ -141,30 +150,21 @@ Usage: `accounts version [command options] [arguments...]` --name | $ACCOUNTS_NAME : service name. Default: `accounts`. -### accounts ocis-accounts - -Provide accounts and groups for oCIS - -Usage: `accounts ocis-accounts [command options] [arguments...]` - ---log-level | $ACCOUNTS_LOG_LEVEL -: Set logging level. Default: `info`. - ---log-pretty | $ACCOUNTS_LOG_PRETTY -: Enable pretty logging. Default: `true`. - ---log-color | $ACCOUNTS_LOG_COLOR -: Enable colored logging. Default: `true`. - ### accounts rebuildIndex Rebuilds the service's index, i.e. deleting and then re-adding all existing documents Usage: `accounts rebuildIndex [command options] [arguments...]` -### accounts update +### accounts inspect -Make changes to an existing account +Show detailed data on an existing account -Usage: `accounts update [command options] [arguments...]` +Usage: `accounts inspect [command options] [arguments...]` + +--grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE +: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`. + +--name | $ACCOUNTS_NAME +: service name. Default: `accounts`. diff --git a/extensions/glauth/configuration.md b/extensions/glauth/configuration.md index 3a8fbbb77ae..ad087bb4a68 100644 --- a/extensions/glauth/configuration.md +++ b/extensions/glauth/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T07:39:42+0000" +date: "2020-12-03T11:34:35+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/glauth/templates @@ -33,6 +33,21 @@ If you prefer to configure the service with environment variables you can see th If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly. +### glauth ocis-glauth + +Serve GLAuth API for oCIS + +Usage: `glauth ocis-glauth [command options] [arguments...]` + +--log-level | $GLAUTH_LOG_LEVEL +: Set logging level. Default: `info`. + +--log-pretty | $GLAUTH_LOG_PRETTY +: Enable pretty logging. Default: `true`. + +--log-color | $GLAUTH_LOG_COLOR +: Enable colored logging. Default: `true`. + ### glauth server Start integrated server @@ -141,18 +156,3 @@ Usage: `glauth health [command options] [arguments...]` --debug-addr | $GLAUTH_DEBUG_ADDR : Address to debug endpoint. Default: `0.0.0.0:9129`. -### glauth ocis-glauth - -Serve GLAuth API for oCIS - -Usage: `glauth ocis-glauth [command options] [arguments...]` - ---log-level | $GLAUTH_LOG_LEVEL -: Set logging level. Default: `info`. - ---log-pretty | $GLAUTH_LOG_PRETTY -: Enable pretty logging. Default: `true`. - ---log-color | $GLAUTH_LOG_COLOR -: Enable colored logging. Default: `true`. - diff --git a/extensions/konnectd/configuration.md b/extensions/konnectd/configuration.md index 1e197adc535..4edfc9e812f 100644 --- a/extensions/konnectd/configuration.md +++ b/extensions/konnectd/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T07:39:43+0000" +date: "2020-12-03T11:34:37+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/konnectd/templates @@ -33,6 +33,30 @@ If you prefer to configure the service with environment variables you can see th If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly. +### konnectd health + +Check health status + +Usage: `konnectd health [command options] [arguments...]` + +--debug-addr | $KONNECTD_DEBUG_ADDR +: Address to debug endpoint. Default: `0.0.0.0:9134`. + +### konnectd ocis-konnectd + +Serve Konnectd API for oCIS + +Usage: `konnectd ocis-konnectd [command options] [arguments...]` + +--log-level | $KONNECTD_LOG_LEVEL +: Set logging level. Default: `info`. + +--log-pretty | $KONNECTD_LOG_PRETTY +: Enable pretty logging. Default: `true`. + +--log-color | $KONNECTD_LOG_COLOR +: Enable colored logging. Default: `true`. + ### konnectd server Start integrated server @@ -159,27 +183,3 @@ Usage: `konnectd version [command options] [arguments...]` --name | $KONNECTD_NAME : Service name. Default: `konnectd`. -### konnectd health - -Check health status - -Usage: `konnectd health [command options] [arguments...]` - ---debug-addr | $KONNECTD_DEBUG_ADDR -: Address to debug endpoint. Default: `0.0.0.0:9134`. - -### konnectd ocis-konnectd - -Serve Konnectd API for oCIS - -Usage: `konnectd ocis-konnectd [command options] [arguments...]` - ---log-level | $KONNECTD_LOG_LEVEL -: Set logging level. Default: `info`. - ---log-pretty | $KONNECTD_LOG_PRETTY -: Enable pretty logging. Default: `true`. - ---log-color | $KONNECTD_LOG_COLOR -: Enable colored logging. Default: `true`. - diff --git a/extensions/ocis-phoenix/configuration.md b/extensions/ocis-phoenix/configuration.md index 119f98c9a12..9cb87bdb328 100644 --- a/extensions/ocis-phoenix/configuration.md +++ b/extensions/ocis-phoenix/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T07:39:46+0000" +date: "2020-12-03T11:34:41+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/phoenix/templates @@ -33,6 +33,21 @@ If you prefer to configure the service with environment variables you can see th If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly. +### phoenix ocis-phoenix + +Serve Phoenix for oCIS + +Usage: `phoenix ocis-phoenix [command options] [arguments...]` + +--log-level | $PHOENIX_LOG_LEVEL +: Set logging level. Default: `info`. + +--log-pretty | $PHOENIX_LOG_PRETTY +: Enable pretty logging. Default: `true`. + +--log-color | $PHOENIX_LOG_COLOR +: Enable colored logging. Default: `true`. + ### phoenix server Start integrated server @@ -117,18 +132,3 @@ Usage: `phoenix health [command options] [arguments...]` --debug-addr | $PHOENIX_DEBUG_ADDR : Address to debug endpoint. Default: `0.0.0.0:9104`. -### phoenix ocis-phoenix - -Serve Phoenix for oCIS - -Usage: `phoenix ocis-phoenix [command options] [arguments...]` - ---log-level | $PHOENIX_LOG_LEVEL -: Set logging level. Default: `info`. - ---log-pretty | $PHOENIX_LOG_PRETTY -: Enable pretty logging. Default: `true`. - ---log-color | $PHOENIX_LOG_COLOR -: Enable colored logging. Default: `true`. - diff --git a/extensions/ocs/configuration.md b/extensions/ocs/configuration.md index 39c81399ad5..7485ce2750f 100644 --- a/extensions/ocs/configuration.md +++ b/extensions/ocs/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T07:39:48+0000" +date: "2020-12-03T11:34:42+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/ocs/templates @@ -33,6 +33,21 @@ If you prefer to configure the service with environment variables you can see th If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly. +### ocs ocis-ocs + +Serve OCS API for oCIS + +Usage: `ocs ocis-ocs [command options] [arguments...]` + +--log-level | $OCS_LOG_LEVEL +: Set logging level. Default: `info`. + +--log-pretty | $OCS_LOG_PRETTY +: Enable pretty logging. Default: `true`. + +--log-color | $OCS_LOG_COLOR +: Enable colored logging. Default: `true`. + ### ocs server Start integrated server @@ -105,18 +120,3 @@ Usage: `ocs health [command options] [arguments...]` --debug-addr | $OCS_DEBUG_ADDR : Address to debug endpoint. Default: `0.0.0.0:9114`. -### ocs ocis-ocs - -Serve OCS API for oCIS - -Usage: `ocs ocis-ocs [command options] [arguments...]` - ---log-level | $OCS_LOG_LEVEL -: Set logging level. Default: `info`. - ---log-pretty | $OCS_LOG_PRETTY -: Enable pretty logging. Default: `true`. - ---log-color | $OCS_LOG_COLOR -: Enable colored logging. Default: `true`. - diff --git a/extensions/onlyoffice/configuration.md b/extensions/onlyoffice/configuration.md index 17c317e858d..f99187e1009 100644 --- a/extensions/onlyoffice/configuration.md +++ b/extensions/onlyoffice/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T07:39:55+0000" +date: "2020-12-03T11:34:51+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/onlyoffice/templates diff --git a/extensions/proxy/configuration.md b/extensions/proxy/configuration.md index 08e22bc5534..a00044c1e37 100644 --- a/extensions/proxy/configuration.md +++ b/extensions/proxy/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T07:39:49+0000" +date: "2020-12-03T11:34:43+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/proxy/templates @@ -33,15 +33,6 @@ If you prefer to configure the service with environment variables you can see th If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly. -### proxy health - -Check health status - -Usage: `proxy health [command options] [arguments...]` - ---debug-addr | $PROXY_DEBUG_ADDR -: Address to debug endpoint. Default: `0.0.0.0:9109`. - ### proxy ocis-proxy proxy for Reva/oCIS @@ -150,3 +141,12 @@ Usage: `proxy version [command options] [arguments...]` --service-name | $PROXY_SERVICE_NAME : Service name. Default: `proxy`. +### proxy health + +Check health status + +Usage: `proxy health [command options] [arguments...]` + +--debug-addr | $PROXY_DEBUG_ADDR +: Address to debug endpoint. Default: `0.0.0.0:9109`. + diff --git a/extensions/settings/configuration.md b/extensions/settings/configuration.md index 0b139c8af05..91c7544ea61 100644 --- a/extensions/settings/configuration.md +++ b/extensions/settings/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T07:39:49+0000" +date: "2020-12-03T11:34:44+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/settings/templates @@ -33,6 +33,21 @@ If you prefer to configure the service with environment variables you can see th If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly. +### settings ocis-settings + +Provide settings and permissions for oCIS + +Usage: `settings ocis-settings [command options] [arguments...]` + +--log-level | $SETTINGS_LOG_LEVEL +: Set logging level. Default: `info`. + +--log-pretty | $SETTINGS_LOG_PRETTY +: Enable pretty logging. Default: `true`. + +--log-color | $SETTINGS_LOG_COLOR +: Enable colored logging. Default: `true`. + ### settings server Start integrated server @@ -117,18 +132,3 @@ Usage: `settings health [command options] [arguments...]` --debug-addr | $SETTINGS_DEBUG_ADDR : Address to debug endpoint. Default: `0.0.0.0:9194`. -### settings ocis-settings - -Provide settings and permissions for oCIS - -Usage: `settings ocis-settings [command options] [arguments...]` - ---log-level | $SETTINGS_LOG_LEVEL -: Set logging level. Default: `info`. - ---log-pretty | $SETTINGS_LOG_PRETTY -: Enable pretty logging. Default: `true`. - ---log-color | $SETTINGS_LOG_COLOR -: Enable colored logging. Default: `true`. - diff --git a/extensions/storage/configuration.md b/extensions/storage/configuration.md index 3c68bf01dcc..7d3dd8b95a5 100644 --- a/extensions/storage/configuration.md +++ b/extensions/storage/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T07:39:50+0000" +date: "2020-12-03T11:34:45+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/storage/templates @@ -53,51 +53,6 @@ Usage: `storage [global options] command [command options] [arguments...]` ## Sub Commands -### storage frontend - -Start frontend service - -Usage: `storage frontend [command options] [arguments...]` - ---debug-addr | $STORAGE_FRONTEND_DEBUG_ADDR -: Address to bind debug server. Default: `0.0.0.0:9141`. - ---transfer-secret | $STORAGE_TRANSFER_SECRET -: Transfer secret for datagateway. Default: `replace-me-with-a-transfer-secret`. - ---webdav-namespace | $WEBDAV_NAMESPACE -: Namespace prefix for the /webdav endpoint. Default: `/home/`. - ---dav-files-namespace | $DAV_FILES_NAMESPACE -: Namespace prefix for the webdav /dav/files endpoint. Default: `/users/`. - ---network | $STORAGE_FRONTEND_HTTP_NETWORK -: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. - ---addr | $STORAGE_FRONTEND_HTTP_ADDR -: Address to bind storage service. Default: `0.0.0.0:9140`. - ---public-url | $STORAGE_FRONTEND_PUBLIC_URL -: URL to use for the storage service. Default: `https://localhost:9200`. - ---datagateway-prefix | $STORAGE_FRONTEND_DATAGATEWAY_PREFIX -: datagateway prefix. Default: `data`. - ---ocdav-prefix | $STORAGE_FRONTEND_OCDAV_PREFIX -: owncloud webdav endpoint prefix. - ---ocs-prefix | $STORAGE_FRONTEND_OCS_PREFIX -: open collaboration services endpoint prefix. Default: `ocs`. - ---gateway-url | $STORAGE_GATEWAY_ENDPOINT -: URL to use for the storage gateway service. Default: `localhost:9142`. - ---upload-disable-tus | $STORAGE_FRONTEND_UPLOAD_DISABLE_TUS -: Disables TUS upload mechanism. Default: `false`. - ---upload-http-method-override | $STORAGE_FRONTEND_UPLOAD_HTTP_METHOD_OVERRIDE -: Specify an HTTP method (ex: POST) that clients should to use when uploading instead of PATCH. - ### storage storage Storage service for oCIS @@ -116,54 +71,87 @@ Usage: `storage storage [command options] [arguments...]` --log-color | $STORAGE_LOG_COLOR : Enable colored logging. -### storage storage-home +### storage storage-users -Start storage-home service +Start storage-users service -Usage: `storage storage-home [command options] [arguments...]` +Usage: `storage storage-users [command options] [arguments...]` ---debug-addr | $STORAGE_HOME_DEBUG_ADDR -: Address to bind debug server. Default: `0.0.0.0:9156`. +--debug-addr | $STORAGE_USERS_DEBUG_ADDR +: Address to bind debug server. Default: `0.0.0.0:9159`. ---grpc-network | $STORAGE_HOME_GRPC_NETWORK +--grpc-network | $STORAGE_USERS_GRPC_NETWORK +: Network to use for the users storage, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. + +--grpc-addr | $STORAGE_USERS_GRPC_ADDR +: GRPC Address to bind users storage. Default: `0.0.0.0:9157`. + +--http-network | $STORAGE_USERS_HTTP_NETWORK : Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. ---grpc-addr | $STORAGE_HOME_GRPC_ADDR -: Address to bind storage service. Default: `0.0.0.0:9154`. +--http-addr | $STORAGE_USERS_HTTP_ADDR +: HTTP Address to bind users storage. Default: `0.0.0.0:9158`. ---http-network | $STORAGE_HOME_HTTP_NETWORK -: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. +--driver | $STORAGE_USERS_DRIVER +: storage driver for users mount: eg. local, eos, owncloud, ocis or s3. Default: `ocis`. ---http-addr | $STORAGE_HOME_HTTP_ADDR -: Address to bind storage service. Default: `0.0.0.0:9155`. +--mount-path | $STORAGE_USERS_MOUNT_PATH +: mount path. Default: `/users`. ---driver | $STORAGE_HOME_DRIVER -: storage driver for home mount: eg. local, eos, owncloud, ocis or s3. Default: `ocis`. - ---mount-path | $STORAGE_HOME_MOUNT_PATH -: mount path. Default: `/home`. - ---mount-id | $STORAGE_HOME_MOUNT_ID +--mount-id | $STORAGE_USERS_MOUNT_ID : mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009157`. ---expose-data-server | $STORAGE_HOME_EXPOSE_DATA_SERVER +--expose-data-server | $STORAGE_USERS_EXPOSE_DATA_SERVER : exposes a dedicated data server. Default: `false`. ---data-server-url | $STORAGE_HOME_DATA_SERVER_URL -: data server url. Default: `http://localhost:9155/data`. +--data-server-url | $STORAGE_USERS_DATA_SERVER_URL +: data server url. Default: `http://localhost:9158/data`. ---http-prefix | $STORAGE_HOME_HTTP_PREFIX +--http-prefix | $STORAGE_USERS_HTTP_PREFIX : prefix for the http endpoint, without leading slash. Default: `data`. ---enable-home | $STORAGE_HOME_ENABLE_HOME -: enable the creation of home directories. Default: `true`. - --gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT : endpoint to use for the storage gateway service. Default: `localhost:9142`. --users-endpoint | $STORAGE_USERPROVIDER_ENDPOINT : endpoint to use for the storage service. Default: `localhost:9144`. +### storage storage-metadata + +Start storage-metadata service + +Usage: `storage storage-metadata [command options] [arguments...]` + +--debug-addr | $STORAGE_METADATA_DEBUG_ADDR +: Address to bind debug server. Default: `0.0.0.0:9217`. + +--grpc-network | $STORAGE_METADATA_GRPC_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. + +--grpc-addr | $STORAGE_METADATA_GRPC_PROVIDER_ADDR +: Address to bind storage service. Default: `0.0.0.0:9215`. + +--data-server-url | $STORAGE_METADATA_DATA_SERVER_URL +: URL of the data-provider the storage-provider uses. Default: `http://localhost:9216`. + +--http-network | $STORAGE_METADATA_HTTP_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. + +--http-addr | $STORAGE_METADATA_HTTP_ADDR +: Address to bind storage service. Default: `0.0.0.0:9216`. + +--driver | $STORAGE_METADATA_DRIVER +: storage driver for metadata mount: eg. local, eos, owncloud, ocis or s3. Default: `ocis`. + +--gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT +: endpoint to use for the gateway service. Default: `localhost:9142`. + +--userprovider-endpoint | $STORAGE_USERPROVIDER_ENDPOINT +: endpoint to use for the userprovider service. Default: `localhost:9144`. + +--storage-root | $STORAGE_METADATA_ROOT +: the path to the metadata storage root. Default: `/var/tmp/ocis/metadata`. + ### storage sharing Start sharing service @@ -188,36 +176,6 @@ Usage: `storage sharing [command options] [arguments...]` --public-driver | $STORAGE_SHARING_PUBLIC_DRIVER : driver to use for the PublicShareProvider. Default: `json`. -### storage auth-bearer - -Start authprovider for bearer auth - -Usage: `storage auth-bearer [command options] [arguments...]` - ---debug-addr | $STORAGE_AUTH_BEARER_DEBUG_ADDR -: Address to bind debug server. Default: `0.0.0.0:9149`. - ---oidc-issuer | $STORAGE_OIDC_ISSUER -: OIDC issuer. Default: `https://localhost:9200`. - ---oidc-insecure | $STORAGE_OIDC_INSECURE -: OIDC allow insecure communication. Default: `true`. - ---oidc-id-claim | $STORAGE_OIDC_ID_CLAIM -: OIDC id claim. Default: `preferred_username`. - ---oidc-uid-claim | $STORAGE_OIDC_UID_CLAIM -: OIDC uid claim. - ---oidc-gid-claim | $STORAGE_OIDC_GID_CLAIM -: OIDC gid claim. - ---network | $STORAGE_AUTH_BEARER_GRPC_NETWORK -: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. - ---addr | $STORAGE_AUTH_BEARER_GRPC_ADDR -: Address to bind storage service. Default: `0.0.0.0:9148`. - ### storage auth-basic Start authprovider for basic auth @@ -371,87 +329,6 @@ Usage: `storage gateway [command options] [arguments...]` --storage-public-link-mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH : mount path. Default: `/public`. -### storage storage-metadata - -Start storage-metadata service - -Usage: `storage storage-metadata [command options] [arguments...]` - ---debug-addr | $STORAGE_METADATA_DEBUG_ADDR -: Address to bind debug server. Default: `0.0.0.0:9217`. - ---grpc-network | $STORAGE_METADATA_GRPC_NETWORK -: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. - ---grpc-addr | $STORAGE_METADATA_GRPC_PROVIDER_ADDR -: Address to bind storage service. Default: `0.0.0.0:9215`. - ---data-server-url | $STORAGE_METADATA_DATA_SERVER_URL -: URL of the data-provider the storage-provider uses. Default: `http://localhost:9216`. - ---http-network | $STORAGE_METADATA_HTTP_NETWORK -: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. - ---http-addr | $STORAGE_METADATA_HTTP_ADDR -: Address to bind storage service. Default: `0.0.0.0:9216`. - ---driver | $STORAGE_METADATA_DRIVER -: storage driver for metadata mount: eg. local, eos, owncloud, ocis or s3. Default: `ocis`. - ---gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT -: endpoint to use for the gateway service. Default: `localhost:9142`. - ---userprovider-endpoint | $STORAGE_USERPROVIDER_ENDPOINT -: endpoint to use for the userprovider service. Default: `localhost:9144`. - ---storage-root | $STORAGE_METADATA_ROOT -: the path to the metadata storage root. Default: `/var/tmp/ocis/metadata`. - -### storage storage-users - -Start storage-users service - -Usage: `storage storage-users [command options] [arguments...]` - ---debug-addr | $STORAGE_USERS_DEBUG_ADDR -: Address to bind debug server. Default: `0.0.0.0:9159`. - ---grpc-network | $STORAGE_USERS_GRPC_NETWORK -: Network to use for the users storage, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. - ---grpc-addr | $STORAGE_USERS_GRPC_ADDR -: GRPC Address to bind users storage. Default: `0.0.0.0:9157`. - ---http-network | $STORAGE_USERS_HTTP_NETWORK -: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. - ---http-addr | $STORAGE_USERS_HTTP_ADDR -: HTTP Address to bind users storage. Default: `0.0.0.0:9158`. - ---driver | $STORAGE_USERS_DRIVER -: storage driver for users mount: eg. local, eos, owncloud, ocis or s3. Default: `ocis`. - ---mount-path | $STORAGE_USERS_MOUNT_PATH -: mount path. Default: `/users`. - ---mount-id | $STORAGE_USERS_MOUNT_ID -: mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009157`. - ---expose-data-server | $STORAGE_USERS_EXPOSE_DATA_SERVER -: exposes a dedicated data server. Default: `false`. - ---data-server-url | $STORAGE_USERS_DATA_SERVER_URL -: data server url. Default: `http://localhost:9158/data`. - ---http-prefix | $STORAGE_USERS_HTTP_PREFIX -: prefix for the http endpoint, without leading slash. Default: `data`. - ---gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT -: endpoint to use for the storage gateway service. Default: `localhost:9142`. - ---users-endpoint | $STORAGE_USERPROVIDER_ENDPOINT -: endpoint to use for the storage service. Default: `localhost:9144`. - ### storage health Check health status @@ -461,6 +338,129 @@ Usage: `storage health [command options] [arguments...]` --debug-addr | $STORAGE_DEBUG_ADDR : Address to debug endpoint. Default: `0.0.0.0:9109`. +### storage frontend + +Start frontend service + +Usage: `storage frontend [command options] [arguments...]` + +--debug-addr | $STORAGE_FRONTEND_DEBUG_ADDR +: Address to bind debug server. Default: `0.0.0.0:9141`. + +--transfer-secret | $STORAGE_TRANSFER_SECRET +: Transfer secret for datagateway. Default: `replace-me-with-a-transfer-secret`. + +--webdav-namespace | $WEBDAV_NAMESPACE +: Namespace prefix for the /webdav endpoint. Default: `/home/`. + +--dav-files-namespace | $DAV_FILES_NAMESPACE +: Namespace prefix for the webdav /dav/files endpoint. Default: `/users/`. + +--network | $STORAGE_FRONTEND_HTTP_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. + +--addr | $STORAGE_FRONTEND_HTTP_ADDR +: Address to bind storage service. Default: `0.0.0.0:9140`. + +--public-url | $STORAGE_FRONTEND_PUBLIC_URL +: URL to use for the storage service. Default: `https://localhost:9200`. + +--datagateway-prefix | $STORAGE_FRONTEND_DATAGATEWAY_PREFIX +: datagateway prefix. Default: `data`. + +--ocdav-prefix | $STORAGE_FRONTEND_OCDAV_PREFIX +: owncloud webdav endpoint prefix. + +--ocs-prefix | $STORAGE_FRONTEND_OCS_PREFIX +: open collaboration services endpoint prefix. Default: `ocs`. + +--gateway-url | $STORAGE_GATEWAY_ENDPOINT +: URL to use for the storage gateway service. Default: `localhost:9142`. + +--upload-disable-tus | $STORAGE_FRONTEND_UPLOAD_DISABLE_TUS +: Disables TUS upload mechanism. Default: `false`. + +--upload-http-method-override | $STORAGE_FRONTEND_UPLOAD_HTTP_METHOD_OVERRIDE +: Specify an HTTP method (ex: POST) that clients should to use when uploading instead of PATCH. + +### storage storage-home + +Start storage-home service + +Usage: `storage storage-home [command options] [arguments...]` + +--debug-addr | $STORAGE_HOME_DEBUG_ADDR +: Address to bind debug server. Default: `0.0.0.0:9156`. + +--grpc-network | $STORAGE_HOME_GRPC_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. + +--grpc-addr | $STORAGE_HOME_GRPC_ADDR +: Address to bind storage service. Default: `0.0.0.0:9154`. + +--http-network | $STORAGE_HOME_HTTP_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. + +--http-addr | $STORAGE_HOME_HTTP_ADDR +: Address to bind storage service. Default: `0.0.0.0:9155`. + +--driver | $STORAGE_HOME_DRIVER +: storage driver for home mount: eg. local, eos, owncloud, ocis or s3. Default: `ocis`. + +--mount-path | $STORAGE_HOME_MOUNT_PATH +: mount path. Default: `/home`. + +--mount-id | $STORAGE_HOME_MOUNT_ID +: mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009157`. + +--expose-data-server | $STORAGE_HOME_EXPOSE_DATA_SERVER +: exposes a dedicated data server. Default: `false`. + +--data-server-url | $STORAGE_HOME_DATA_SERVER_URL +: data server url. Default: `http://localhost:9155/data`. + +--http-prefix | $STORAGE_HOME_HTTP_PREFIX +: prefix for the http endpoint, without leading slash. Default: `data`. + +--enable-home | $STORAGE_HOME_ENABLE_HOME +: enable the creation of home directories. Default: `true`. + +--gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT +: endpoint to use for the storage gateway service. Default: `localhost:9142`. + +--users-endpoint | $STORAGE_USERPROVIDER_ENDPOINT +: endpoint to use for the storage service. Default: `localhost:9144`. + +### storage auth-bearer + +Start authprovider for bearer auth + +Usage: `storage auth-bearer [command options] [arguments...]` + +--debug-addr | $STORAGE_AUTH_BEARER_DEBUG_ADDR +: Address to bind debug server. Default: `0.0.0.0:9149`. + +--oidc-issuer | $STORAGE_OIDC_ISSUER +: OIDC issuer. Default: `https://localhost:9200`. + +--oidc-insecure | $STORAGE_OIDC_INSECURE +: OIDC allow insecure communication. Default: `true`. + +--oidc-id-claim | $STORAGE_OIDC_ID_CLAIM +: OIDC id claim. Default: `preferred_username`. + +--oidc-uid-claim | $STORAGE_OIDC_UID_CLAIM +: OIDC uid claim. + +--oidc-gid-claim | $STORAGE_OIDC_GID_CLAIM +: OIDC gid claim. + +--network | $STORAGE_AUTH_BEARER_GRPC_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. + +--addr | $STORAGE_AUTH_BEARER_GRPC_ADDR +: Address to bind storage service. Default: `0.0.0.0:9148`. + ### storage storage-public-link Start storage-public-link service diff --git a/extensions/store/configuration.md b/extensions/store/configuration.md index 2bff0834e58..04244543d5b 100644 --- a/extensions/store/configuration.md +++ b/extensions/store/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T07:39:51+0000" +date: "2020-12-03T11:34:46+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/store/templates @@ -33,6 +33,18 @@ If you prefer to configure the service with environment variables you can see th If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly. +### store version + +Print the versions of the running instances + +Usage: `store version [command options] [arguments...]` + +--grpc-namespace | $STORE_GRPC_NAMESPACE +: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`. + +--name | $STORE_NAME +: Service name. Default: `store`. + ### store health Check health status @@ -102,15 +114,3 @@ Usage: `store server [command options] [arguments...]` --data-path | $STORE_DATA_PATH : location of the store data path. Default: `/var/tmp/ocis-store`. -### store version - -Print the versions of the running instances - -Usage: `store version [command options] [arguments...]` - ---grpc-namespace | $STORE_GRPC_NAMESPACE -: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`. - ---name | $STORE_NAME -: Service name. Default: `store`. - diff --git a/extensions/thumbnails/configuration.md b/extensions/thumbnails/configuration.md index caf954afe03..fffab6acbc4 100644 --- a/extensions/thumbnails/configuration.md +++ b/extensions/thumbnails/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T07:39:53+0000" +date: "2020-12-03T11:34:48+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/thumbnails/templates @@ -33,6 +33,21 @@ If you prefer to configure the service with environment variables you can see th If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly. +### thumbnails ocis-thumbnails + +Example usage + +Usage: `thumbnails ocis-thumbnails [command options] [arguments...]` + +--log-level | $THUMBNAILS_LOG_LEVEL +: Set logging level. Default: `info`. + +--log-pretty | $THUMBNAILS_LOG_PRETTY +: Enable pretty logging. Default: `true`. + +--log-color | $THUMBNAILS_LOG_COLOR +: Enable colored logging. Default: `true`. + ### thumbnails server Start integrated server @@ -108,18 +123,3 @@ Usage: `thumbnails health [command options] [arguments...]` --debug-addr | $THUMBNAILS_DEBUG_ADDR : Address to debug endpoint. Default: `0.0.0.0:9189`. -### thumbnails ocis-thumbnails - -Example usage - -Usage: `thumbnails ocis-thumbnails [command options] [arguments...]` - ---log-level | $THUMBNAILS_LOG_LEVEL -: Set logging level. Default: `info`. - ---log-pretty | $THUMBNAILS_LOG_PRETTY -: Enable pretty logging. Default: `true`. - ---log-color | $THUMBNAILS_LOG_COLOR -: Enable colored logging. Default: `true`. - diff --git a/extensions/webdav/configuration.md b/extensions/webdav/configuration.md index 2a80f9883c5..6ede0d0394a 100644 --- a/extensions/webdav/configuration.md +++ b/extensions/webdav/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T07:39:54+0000" +date: "2020-12-03T11:34:49+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/webdav/templates @@ -50,27 +50,6 @@ Usage: `webdav [global options] command [command options] [arguments...]` ## Sub Commands -### webdav version - -Print the versions of the running instances - -Usage: `webdav version [command options] [arguments...]` - ---http-namespace | $WEBDAV_HTTP_NAMESPACE -: Set the base namespace for service discovery. Default: `com.owncloud.web`. - ---service-name | $WEBDAV_SERVICE_NAME -: Service name. Default: `webdav`. - -### webdav health - -Check health status - -Usage: `webdav health [command options] [arguments...]` - ---debug-addr | $WEBDAV_DEBUG_ADDR -: Address to debug endpoint. Default: `0.0.0.0:9119`. - ### webdav server Start integrated server @@ -119,3 +98,24 @@ Usage: `webdav server [command options] [arguments...]` --http-root | $WEBDAV_HTTP_ROOT : Root path of http server. Default: `/`. +### webdav version + +Print the versions of the running instances + +Usage: `webdav version [command options] [arguments...]` + +--http-namespace | $WEBDAV_HTTP_NAMESPACE +: Set the base namespace for service discovery. Default: `com.owncloud.web`. + +--service-name | $WEBDAV_SERVICE_NAME +: Service name. Default: `webdav`. + +### webdav health + +Check health status + +Usage: `webdav health [command options] [arguments...]` + +--debug-addr | $WEBDAV_DEBUG_ADDR +: Address to debug endpoint. Default: `0.0.0.0:9119`. + diff --git a/ocis/configuration.md b/ocis/configuration.md index 522305dd9fa..da7a40950a2 100644 --- a/ocis/configuration.md +++ b/ocis/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-12-03T07:39:45+0000" +date: "2020-12-03T11:34:40+0000" weight: 2 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/ocis/templates @@ -75,6 +75,33 @@ Usage: `ocis [global options] command [command options] [arguments...]` ## Sub Commands +### ocis run + +Runs an extension + +Usage: `ocis run [command options] [arguments...]` + +### ocis list + +Lists running ocis extensions + +Usage: `ocis list [command options] [arguments...]` + +### ocis kill + +Kill an extension by name + +Usage: `ocis kill [command options] [arguments...]` + +### ocis health + +Check health status + +Usage: `ocis health [command options] [arguments...]` + +--debug-addr | $OCIS_DEBUG_ADDR +: Address to debug endpoint. Default: `0.0.0.0:9010`. + ### ocis server Start fullstack server @@ -102,122 +129,95 @@ Usage: `ocis server [command options] [arguments...]` --grpc-addr | $OCIS_GRPC_ADDR : Address to bind grpc server. Default: `0.0.0.0:9001`. -### ocis run - -Runs an extension - -Usage: `ocis run [command options] [arguments...]` - -### ocis list - -Lists running ocis extensions - -Usage: `ocis list [command options] [arguments...]` - -### ocis health - -Check health status - -Usage: `ocis health [command options] [arguments...]` - ---debug-addr | $OCIS_DEBUG_ADDR -: Address to debug endpoint. Default: `0.0.0.0:9010`. - -### ocis kill - -Kill an extension by name - -Usage: `ocis kill [command options] [arguments...]` - ### List of available Extension subcommands There are more subcommands to start the individual extensions. Please check the documentation about their usage and options in the dedicated section of the documentation. -#### ocis accounts - -Start accounts server - -#### ocis glauth - -Start glauth server - -#### ocis storage-auth-basic - -Start storage auth-basic service - -#### ocis storage-home - -Start storage and data provider for /home mount - -#### ocis store - -Start a go-micro store - -#### ocis storage-gateway - -Start storage gateway - -#### ocis settings - -Start settings server - -#### ocis storage-auth-bearer - -Start storage auth-bearer service - -#### ocis ocs - -Start ocs server - -#### ocis storage-users - -Start storage and data provider for /users mount - #### ocis version Lists running services with version -#### ocis storage-metadata +#### ocis storage-frontend -Start storage and data service for metadata - -#### ocis phoenix - -Start phoenix server - -#### ocis thumbnails - -Start thumbnails server - -#### ocis webdav - -Start webdav server +Start storage frontend #### ocis storage-userprovider Start storage userprovider service -#### ocis onlyoffice +#### ocis webdav -Start onlyoffice server +Start webdav server -#### ocis storage-frontend +#### ocis store -Start storage frontend +Start a go-micro store -#### ocis proxy +#### ocis storage-auth-basic -Start proxy server +Start storage auth-basic service -#### ocis storage-public-link +#### ocis storage-users -Start storage public link storage +Start storage and data provider for /users mount + +#### ocis glauth + +Start glauth server + +#### ocis ocs + +Start ocs server #### ocis konnectd Start konnectd server +#### ocis accounts + +Start accounts server + +#### ocis settings + +Start settings server + +#### ocis proxy + +Start proxy server + +#### ocis thumbnails + +Start thumbnails server + +#### ocis storage-gateway + +Start storage gateway + #### ocis storage-sharing Start storage sharing service +#### ocis onlyoffice + +Start onlyoffice server + +#### ocis storage-auth-bearer + +Start storage auth-bearer service + +#### ocis storage-home + +Start storage and data provider for /home mount + +#### ocis storage-metadata + +Start storage and data service for metadata + +#### ocis storage-public-link + +Start storage public link storage + +#### ocis phoenix + +Start phoenix server +