From 603f3f481dbd839ee40344a2c163b8563d32f489 Mon Sep 17 00:00:00 2001 From: Artur Neumann Date: Mon, 18 Jan 2021 03:24:57 +0000 Subject: [PATCH] commit 840b353d037361bf98b576effe102e30a8d2dca8 Merge: 2d679006 f5794066 Author: Artur Neumann Date: Mon Jan 18 09:08:35 2021 +0545 Merge pull request #1213 from owncloud/core-commit-20200114 [tests-only] Bump core and web commit for tests --- extensions/accounts/configuration.md | 98 ++--- extensions/glauth/configuration.md | 50 +-- extensions/konnectd/configuration.md | 74 ++-- extensions/ocs/configuration.md | 44 +-- extensions/onlyoffice/configuration.md | 20 +- extensions/proxy/configuration.md | 2 +- extensions/settings/configuration.md | 50 +-- extensions/storage/configuration.md | 492 ++++++++++++------------- extensions/store/configuration.md | 2 +- extensions/thumbnails/configuration.md | 32 +- extensions/web/configuration.md | 2 +- extensions/webdav/configuration.md | 20 +- ocis/configuration.md | 160 ++++---- 13 files changed, 523 insertions(+), 523 deletions(-) diff --git a/extensions/accounts/configuration.md b/extensions/accounts/configuration.md index 2177fc58f44..ac023fa3196 100644 --- a/extensions/accounts/configuration.md +++ b/extensions/accounts/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-01-16T15:21:57+0000" +date: "2021-01-18T03:24:26+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/accounts/templates @@ -35,38 +35,11 @@ If multiple variables are listed for one option, they are in order of precedence 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 remove +### accounts inspect -Removes an existing account +Show detailed data on an existing account -Usage: `accounts remove [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 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 version - -Print the versions of the running instances - -Usage: `accounts version [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`. @@ -86,11 +59,17 @@ Usage: `accounts list [command options] [arguments...]` -name | $ACCOUNTS_NAME : service name. Default: `accounts`. -### accounts rebuildIndex +### accounts remove -Rebuilds the service's index, i.e. deleting and then re-adding all existing documents +Removes an existing account -Usage: `accounts rebuildIndex [command options] [arguments...]` +Usage: `accounts remove [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 @@ -158,23 +137,11 @@ Usage: `accounts server [command options] [arguments...]` -service-user-username | $ACCOUNTS_SERVICE_USER_USERNAME : username of the internal service user (required on EOS). -### accounts update +### accounts version -Make changes to an existing account +Print the versions of the running instances -Usage: `accounts update [command options] [arguments...]` - -### accounts add - -Create a new account - -Usage: `accounts add [command options] [arguments...]` - -### accounts inspect - -Show detailed data on an existing account - -Usage: `accounts inspect [command options] [arguments...]` +Usage: `accounts version [command options] [arguments...]` -grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE : Set the base namespace for the grpc namespace. Default: `com.owncloud.api`. @@ -182,3 +149,36 @@ Usage: `accounts inspect [command options] [arguments...]` -name | $ACCOUNTS_NAME : service name. Default: `accounts`. +### accounts add + +Create a new account + +Usage: `accounts add [command options] [arguments...]` + +### accounts rebuildIndex + +Rebuilds the service's index, i.e. deleting and then re-adding all existing documents + +Usage: `accounts rebuildIndex [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 update + +Make changes to an existing account + +Usage: `accounts update [command options] [arguments...]` + diff --git a/extensions/glauth/configuration.md b/extensions/glauth/configuration.md index a9460539cc4..745fa475b61 100644 --- a/extensions/glauth/configuration.md +++ b/extensions/glauth/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-01-16T15:22:00+0000" +date: "2021-01-18T03:24:28+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/glauth/templates @@ -35,6 +35,30 @@ If multiple variables are listed for one option, they are in order of precedence 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 health + +Check health status + +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`. + ### glauth server Start integrated server @@ -134,27 +158,3 @@ Usage: `glauth server [command options] [arguments...]` -fallback-use-graphapi | $GLAUTH_FALLBACK_USE_GRAPHAPI : use Graph API, only for owncloud datastore. Default: `true`. -### glauth health - -Check health status - -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 39605bfd145..4180387a8ff 100644 --- a/extensions/konnectd/configuration.md +++ b/extensions/konnectd/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-01-16T15:22:02+0000" +date: "2021-01-18T03:24:30+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/konnectd/templates @@ -35,42 +35,6 @@ If multiple variables are listed for one option, they are in order of precedence 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 version - -Print the versions of the running instances - -Usage: `konnectd version [command options] [arguments...]` - --http-namespace | $KONNECTD_HTTP_NAMESPACE -: Set the base namespace for service discovery. Default: `com.owncloud.web`. - --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`. - ### konnectd server Start integrated server @@ -185,3 +149,39 @@ Usage: `konnectd server [command options] [arguments...]` -disable-identifier-webapp | $KONNECTD_DISABLE_IDENTIFIER_WEBAPP : Disable built-in identifier-webapp to use a frontend hosted elsewhere.. Default: `true`. +### konnectd version + +Print the versions of the running instances + +Usage: `konnectd version [command options] [arguments...]` + +-http-namespace | $KONNECTD_HTTP_NAMESPACE +: Set the base namespace for service discovery. Default: `com.owncloud.web`. + +-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/ocs/configuration.md b/extensions/ocs/configuration.md index 919034ddfed..82f561c77c3 100644 --- a/extensions/ocs/configuration.md +++ b/extensions/ocs/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-01-16T15:22:07+0000" +date: "2021-01-18T03:24:34+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/ocs/templates @@ -35,27 +35,6 @@ If multiple variables are listed for one option, they are in order of precedence 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 version - -Print the versions of the running instances - -Usage: `ocs version [command options] [arguments...]` - --http-namespace | $OCS_NAMESPACE -: Set the base namespace for the http namespace. Default: `com.owncloud.web`. - --name | $OCS_NAME -: Service name. Default: `ocs`. - -### ocs health - -Check health status - -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 @@ -122,3 +101,24 @@ Usage: `ocs server [command options] [arguments...]` -jwt-secret | $OCS_JWT_SECRET : Used to dismantle the access token, should equal reva's jwt-secret. Default: `Pive-Fumkiu4`. +### ocs version + +Print the versions of the running instances + +Usage: `ocs version [command options] [arguments...]` + +-http-namespace | $OCS_NAMESPACE +: Set the base namespace for the http namespace. Default: `com.owncloud.web`. + +-name | $OCS_NAME +: Service name. Default: `ocs`. + +### ocs health + +Check health status + +Usage: `ocs health [command options] [arguments...]` + +-debug-addr | $OCS_DEBUG_ADDR +: Address to debug endpoint. Default: `0.0.0.0:9114`. + diff --git a/extensions/onlyoffice/configuration.md b/extensions/onlyoffice/configuration.md index d0ee3af7012..e4673126700 100644 --- a/extensions/onlyoffice/configuration.md +++ b/extensions/onlyoffice/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-01-16T15:22:18+0000" +date: "2021-01-18T03:24:41+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/onlyoffice/templates @@ -59,15 +59,6 @@ Usage: `onlyoffice [global options] command [command options] [arguments...]` ## Sub Commands -### onlyoffice health - -Check health status - -Usage: `onlyoffice health [command options] [arguments...]` - --debug-addr | $ONLYOFFICE_DEBUG_ADDR -: Address to debug endpoint. Default: `0.0.0.0:9224`. - ### onlyoffice server Start integrated server @@ -113,3 +104,12 @@ Usage: `onlyoffice server [command options] [arguments...]` -asset-path | $ONLYOFFICE_ASSET_PATH : Path to custom assets. +### onlyoffice health + +Check health status + +Usage: `onlyoffice health [command options] [arguments...]` + +-debug-addr | $ONLYOFFICE_DEBUG_ADDR +: Address to debug endpoint. Default: `0.0.0.0:9224`. + diff --git a/extensions/proxy/configuration.md b/extensions/proxy/configuration.md index 4db817caa5c..f9167f8daeb 100644 --- a/extensions/proxy/configuration.md +++ b/extensions/proxy/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-01-16T15:22:08+0000" +date: "2021-01-18T03:24:35+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/proxy/templates diff --git a/extensions/settings/configuration.md b/extensions/settings/configuration.md index 3e98ae24db2..2d30b61a260 100644 --- a/extensions/settings/configuration.md +++ b/extensions/settings/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-01-16T15:22:09+0000" +date: "2021-01-18T03:24:36+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/settings/templates @@ -35,6 +35,30 @@ If multiple variables are listed for one option, they are in order of precedence 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 health + +Check health status + +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`. + ### settings server Start integrated server @@ -110,27 +134,3 @@ Usage: `settings version [command options] [arguments...]` -name | $SETTINGS_NAME : service name. Default: `settings`. -### settings health - -Check health status - -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 701bc6faeb8..9a5a8d8a371 100644 --- a/extensions/storage/configuration.md +++ b/extensions/storage/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-01-16T15:22:10+0000" +date: "2021-01-18T03:24:37+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/storage/templates @@ -55,26 +55,134 @@ Usage: `storage [global options] command [command options] [arguments...]` ## Sub Commands -### storage auth-basic +### storage storage-users -Start authprovider for basic auth +Start storage-users service -Usage: `storage auth-basic [command options] [arguments...]` +Usage: `storage storage-users [command options] [arguments...]` --debug-addr | $STORAGE_AUTH_BASIC_DEBUG_ADDR -: Address to bind debug server. Default: `0.0.0.0:9147`. +-debug-addr | $STORAGE_USERS_DEBUG_ADDR +: Address to bind debug server. Default: `0.0.0.0:9159`. --auth-driver | $STORAGE_AUTH_DRIVER -: auth driver: 'demo', 'json' or 'ldap'. Default: `ldap`. +-grpc-network | $STORAGE_USERS_GRPC_NETWORK +: Network to use for the users storage, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. --auth-json | $STORAGE_AUTH_JSON +-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`. + +-tmp-folder | $STORAGE_USERS_TMP_FOLDER +: path to tmp folder. Default: `/var/tmp/ocis/tmp/users`. + +-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 users + +Start users service + +Usage: `storage users [command options] [arguments...]` + +-debug-addr | $STORAGE_SHARING_DEBUG_ADDR +: Address to bind debug server. Default: `0.0.0.0:9145`. + +-network | $STORAGE_USERPROVIDER_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. + +-addr | $STORAGE_USERPROVIDER_ADDR +: Address to bind storage service. Default: `0.0.0.0:9144`. + +-endpoint | $STORAGE_USERPROVIDER_ENDPOINT +: URL to use for the storage service. Default: `localhost:9144`. + +-driver | $STORAGE_USERPROVIDER_DRIVER +: user driver: 'demo', 'json', 'ldap', or 'rest'. Default: `ldap`. + +-json-config | $STORAGE_USERPROVIDER_JSON : Path to users.json file. --network | $STORAGE_AUTH_BASIC_GRPC_NETWORK -: Network to use for the storage auth-basic service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. +-rest-client-id | $STORAGE_REST_CLIENT_ID +: User rest driver Client ID. --addr | $STORAGE_AUTH_BASIC_GRPC_ADDR -: Address to bind storage service. Default: `0.0.0.0:9146`. +-rest-client-secret | $STORAGE_REST_CLIENT_SECRET +: User rest driver Client Secret. + +-rest-redis-address | $STORAGE_REST_REDIS_ADDRESS +: Address for redis server. Default: `localhost:6379`. + +-rest-redis-username | $STORAGE_REST_REDIS_USERNAME +: Username for redis server. + +-rest-redis-password | $STORAGE_REST_REDIS_PASSWORD +: Password for redis server. + +-rest-id-provider | $STORAGE_REST_ID_PROVIDER +: The OIDC Provider. + +-rest-api-base-url | $STORAGE_REST_API_BASE_URL +: Base API Endpoint. + +-rest-oidc-token-endpoint | $STORAGE_REST_OIDC_TOKEN_ENDPOINT +: Endpoint to generate token to access the API. + +-rest-target-api | $STORAGE_REST_TARGET_API +: The target application. + +### 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 , $OCIS_URL +: 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 frontend @@ -127,87 +235,6 @@ Usage: `storage frontend [command options] [arguments...]` -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 gateway - -Start gateway - -Usage: `storage gateway [command options] [arguments...]` - --debug-addr | $STORAGE_GATEWAY_DEBUG_ADDR -: Address to bind debug server. Default: `0.0.0.0:9143`. - --transfer-secret | $STORAGE_TRANSFER_SECRET -: Transfer secret for datagateway. Default: `replace-me-with-a-transfer-secret`. - --network | $STORAGE_GATEWAY_GRPC_NETWORK -: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. - --addr | $STORAGE_GATEWAY_GRPC_ADDR -: Address to bind storage service. Default: `0.0.0.0:9142`. - --endpoint | $STORAGE_GATEWAY_ENDPOINT -: endpoint to use for the storage service. Default: `localhost:9142`. - --commit-share-to-storage-grant | $STORAGE_GATEWAY_COMMIT_SHARE_TO_STORAGE_GRANT -: Commit shares to the share manager. Default: `true`. - --commit-share-to-storage-ref | $STORAGE_GATEWAY_COMMIT_SHARE_TO_STORAGE_REF -: Commit shares to the storage. Default: `true`. - --share-folder | $STORAGE_GATEWAY_SHARE_FOLDER -: mount shares in this folder of the home storage provider. Default: `Shares`. - --disable-home-creation-on-login | $STORAGE_GATEWAY_DISABLE_HOME_CREATION_ON_LOGIN -: Disable creation of home folder on login. - --auth-basic-endpoint | $STORAGE_AUTH_BASIC_ENDPOINT -: endpoint to use for the basic auth provider. Default: `localhost:9146`. - --auth-bearer-endpoint | $STORAGE_AUTH_BEARER_ENDPOINT -: endpoint to use for the bearer auth provider. Default: `localhost:9148`. - --storage-registry-driver | $STORAGE_STORAGE_REGISTRY_DRIVER -: driver of the storage registry. Default: `static`. - --storage-home-provider | $STORAGE_REGISTRY_HOME_PROVIDER -: mount point of the storage provider for user homes in the global namespace. Default: `/home`. - --public-url | $STORAGE_FRONTEND_PUBLIC_URL , $OCIS_URL -: URL to use for the storage service. Default: `https://localhost:9200`. - --datagateway-url | $STORAGE_DATAGATEWAY_PUBLIC_URL -: URL to use for the storage datagateway, defaults to /data. - --userprovider-endpoint | $STORAGE_USERPROVIDER_ENDPOINT -: endpoint to use for the userprovider. Default: `localhost:9144`. - --sharing-endpoint | $STORAGE_SHARING_ENDPOINT -: endpoint to use for the storage service. Default: `localhost:9150`. - --storage-home-endpoint | $STORAGE_HOME_ENDPOINT -: endpoint to use for the home storage. Default: `localhost:9154`. - --storage-home-mount-path | $STORAGE_HOME_MOUNT_PATH -: mount path. Default: `/home`. - --storage-home-mount-id | $STORAGE_HOME_MOUNT_ID -: mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009154`. - --storage-users-endpoint | $STORAGE_USERS_ENDPOINT -: endpoint to use for the users storage. Default: `localhost:9157`. - --storage-users-mount-path | $STORAGE_USERS_MOUNT_PATH -: mount path. Default: `/users`. - --storage-users-mount-id | $STORAGE_USERS_MOUNT_ID -: mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009157`. - --public-link-endpoint | $STORAGE_PUBLIC_LINK_ENDPOINT -: endpoint to use for the public links service. Default: `localhost:9178`. - --storage-public-link-mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH -: mount path. Default: `/public`. - ### storage health Check health status @@ -217,123 +244,6 @@ Usage: `storage health [command options] [arguments...]` -debug-addr | $STORAGE_DEBUG_ADDR : Address to debug endpoint. Default: `0.0.0.0:9109`. -### 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`. - --tmp-folder | $STORAGE_METADATA_TMP_FOLDER -: path to tmp folder. Default: `/var/tmp/ocis/tmp/metadata`. - --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/storage/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`. - --tmp-folder | $STORAGE_USERS_TMP_FOLDER -: path to tmp folder. Default: `/var/tmp/ocis/tmp/users`. - --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 , $OCIS_URL -: 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 Storage service for oCIS @@ -430,6 +340,45 @@ Usage: `storage storage-home [command options] [arguments...]` -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`. + +-tmp-folder | $STORAGE_METADATA_TMP_FOLDER +: path to tmp folder. Default: `/var/tmp/ocis/tmp/metadata`. + +-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/storage/metadata`. + ### storage storage-public-link Start storage-public-link service @@ -451,56 +400,107 @@ Usage: `storage storage-public-link [command options] [arguments...]` -gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT : endpoint to use for the storage gateway service. Default: `localhost:9142`. -### storage users +### storage auth-basic -Start users service +Start authprovider for basic auth -Usage: `storage users [command options] [arguments...]` +Usage: `storage auth-basic [command options] [arguments...]` --debug-addr | $STORAGE_SHARING_DEBUG_ADDR -: Address to bind debug server. Default: `0.0.0.0:9145`. +-debug-addr | $STORAGE_AUTH_BASIC_DEBUG_ADDR +: Address to bind debug server. Default: `0.0.0.0:9147`. --network | $STORAGE_USERPROVIDER_NETWORK -: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. +-auth-driver | $STORAGE_AUTH_DRIVER +: auth driver: 'demo', 'json' or 'ldap'. Default: `ldap`. --addr | $STORAGE_USERPROVIDER_ADDR -: Address to bind storage service. Default: `0.0.0.0:9144`. - --endpoint | $STORAGE_USERPROVIDER_ENDPOINT -: URL to use for the storage service. Default: `localhost:9144`. - --driver | $STORAGE_USERPROVIDER_DRIVER -: user driver: 'demo', 'json', 'ldap', or 'rest'. Default: `ldap`. - --json-config | $STORAGE_USERPROVIDER_JSON +-auth-json | $STORAGE_AUTH_JSON : Path to users.json file. --rest-client-id | $STORAGE_REST_CLIENT_ID -: User rest driver Client ID. +-network | $STORAGE_AUTH_BASIC_GRPC_NETWORK +: Network to use for the storage auth-basic service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. --rest-client-secret | $STORAGE_REST_CLIENT_SECRET -: User rest driver Client Secret. +-addr | $STORAGE_AUTH_BASIC_GRPC_ADDR +: Address to bind storage service. Default: `0.0.0.0:9146`. --rest-redis-address | $STORAGE_REST_REDIS_ADDRESS -: Address for redis server. Default: `localhost:6379`. +### storage gateway --rest-redis-username | $STORAGE_REST_REDIS_USERNAME -: Username for redis server. +Start gateway --rest-redis-password | $STORAGE_REST_REDIS_PASSWORD -: Password for redis server. +Usage: `storage gateway [command options] [arguments...]` --rest-id-provider | $STORAGE_REST_ID_PROVIDER -: The OIDC Provider. +-debug-addr | $STORAGE_GATEWAY_DEBUG_ADDR +: Address to bind debug server. Default: `0.0.0.0:9143`. --rest-api-base-url | $STORAGE_REST_API_BASE_URL -: Base API Endpoint. +-transfer-secret | $STORAGE_TRANSFER_SECRET +: Transfer secret for datagateway. Default: `replace-me-with-a-transfer-secret`. --rest-oidc-token-endpoint | $STORAGE_REST_OIDC_TOKEN_ENDPOINT -: Endpoint to generate token to access the API. +-network | $STORAGE_GATEWAY_GRPC_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. --rest-target-api | $STORAGE_REST_TARGET_API -: The target application. +-addr | $STORAGE_GATEWAY_GRPC_ADDR +: Address to bind storage service. Default: `0.0.0.0:9142`. + +-endpoint | $STORAGE_GATEWAY_ENDPOINT +: endpoint to use for the storage service. Default: `localhost:9142`. + +-commit-share-to-storage-grant | $STORAGE_GATEWAY_COMMIT_SHARE_TO_STORAGE_GRANT +: Commit shares to the share manager. Default: `true`. + +-commit-share-to-storage-ref | $STORAGE_GATEWAY_COMMIT_SHARE_TO_STORAGE_REF +: Commit shares to the storage. Default: `true`. + +-share-folder | $STORAGE_GATEWAY_SHARE_FOLDER +: mount shares in this folder of the home storage provider. Default: `Shares`. + +-disable-home-creation-on-login | $STORAGE_GATEWAY_DISABLE_HOME_CREATION_ON_LOGIN +: Disable creation of home folder on login. + +-auth-basic-endpoint | $STORAGE_AUTH_BASIC_ENDPOINT +: endpoint to use for the basic auth provider. Default: `localhost:9146`. + +-auth-bearer-endpoint | $STORAGE_AUTH_BEARER_ENDPOINT +: endpoint to use for the bearer auth provider. Default: `localhost:9148`. + +-storage-registry-driver | $STORAGE_STORAGE_REGISTRY_DRIVER +: driver of the storage registry. Default: `static`. + +-storage-home-provider | $STORAGE_REGISTRY_HOME_PROVIDER +: mount point of the storage provider for user homes in the global namespace. Default: `/home`. + +-public-url | $STORAGE_FRONTEND_PUBLIC_URL , $OCIS_URL +: URL to use for the storage service. Default: `https://localhost:9200`. + +-datagateway-url | $STORAGE_DATAGATEWAY_PUBLIC_URL +: URL to use for the storage datagateway, defaults to /data. + +-userprovider-endpoint | $STORAGE_USERPROVIDER_ENDPOINT +: endpoint to use for the userprovider. Default: `localhost:9144`. + +-sharing-endpoint | $STORAGE_SHARING_ENDPOINT +: endpoint to use for the storage service. Default: `localhost:9150`. + +-storage-home-endpoint | $STORAGE_HOME_ENDPOINT +: endpoint to use for the home storage. Default: `localhost:9154`. + +-storage-home-mount-path | $STORAGE_HOME_MOUNT_PATH +: mount path. Default: `/home`. + +-storage-home-mount-id | $STORAGE_HOME_MOUNT_ID +: mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009154`. + +-storage-users-endpoint | $STORAGE_USERS_ENDPOINT +: endpoint to use for the users storage. Default: `localhost:9157`. + +-storage-users-mount-path | $STORAGE_USERS_MOUNT_PATH +: mount path. Default: `/users`. + +-storage-users-mount-id | $STORAGE_USERS_MOUNT_ID +: mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009157`. + +-public-link-endpoint | $STORAGE_PUBLIC_LINK_ENDPOINT +: endpoint to use for the public links service. Default: `localhost:9178`. + +-storage-public-link-mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH +: mount path. Default: `/public`. ## Config for the different Storage Drivers diff --git a/extensions/store/configuration.md b/extensions/store/configuration.md index f258ca4f067..bb501f5b799 100644 --- a/extensions/store/configuration.md +++ b/extensions/store/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-01-16T15:22:12+0000" +date: "2021-01-18T03:24:38+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/store/templates diff --git a/extensions/thumbnails/configuration.md b/extensions/thumbnails/configuration.md index a7b52ad6790..c0e4f7085d9 100644 --- a/extensions/thumbnails/configuration.md +++ b/extensions/thumbnails/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-01-16T15:22:14+0000" +date: "2021-01-18T03:24:39+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/thumbnails/templates @@ -35,21 +35,6 @@ If multiple variables are listed for one option, they are in order of precedence 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 @@ -125,3 +110,18 @@ 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/web/configuration.md b/extensions/web/configuration.md index 822733b557c..736492e17f7 100644 --- a/extensions/web/configuration.md +++ b/extensions/web/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-01-16T15:22:05+0000" +date: "2021-01-18T03:24:32+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/web/templates diff --git a/extensions/webdav/configuration.md b/extensions/webdav/configuration.md index f37a33debe8..48dea1e4732 100644 --- a/extensions/webdav/configuration.md +++ b/extensions/webdav/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-01-16T15:22:16+0000" +date: "2021-01-18T03:24:40+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/webdav/templates @@ -52,6 +52,15 @@ Usage: `webdav [global options] command [command options] [arguments...]` ## Sub Commands +### 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 @@ -112,12 +121,3 @@ Usage: `webdav version [command options] [arguments...]` -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 43893029dfe..bd943e1dbc5 100644 --- a/ocis/configuration.md +++ b/ocis/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2021-01-16T15:22:04+0000" +date: "2021-01-18T03:24:31+0000" weight: 2 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/ocis/templates @@ -77,11 +77,11 @@ Usage: `ocis [global options] command [command options] [arguments...]` ## Sub Commands -### ocis kill +### ocis run -Kill an extension by name +Runs an extension -Usage: `ocis kill [command options] [arguments...]` +Usage: `ocis run [command options] [arguments...]` ### ocis server @@ -110,6 +110,18 @@ Usage: `ocis server [command options] [arguments...]` -grpc-addr | $OCIS_GRPC_ADDR : Address to bind grpc server. Default: `0.0.0.0:9001`. +### 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 @@ -119,74 +131,18 @@ Usage: `ocis health [command options] [arguments...]` -debug-addr | $OCIS_DEBUG_ADDR : Address to debug endpoint. Default: `0.0.0.0:9010`. -### ocis run - -Runs an extension - -Usage: `ocis run [command options] [arguments...]` - -### ocis list - -Lists running ocis extensions - -Usage: `ocis list [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 settings +#### ocis storage-metadata -Start settings server - -#### ocis storage-frontend - -Start storage frontend - -#### ocis webdav - -Start webdav server - -#### ocis version - -Lists running services with version - -#### ocis konnectd - -Start konnectd server - -#### ocis ocs - -Start ocs server - -#### ocis storage-gateway - -Start storage gateway - -#### ocis storage-userprovider - -Start storage userprovider service - -#### ocis thumbnails - -Start thumbnails server - -#### ocis accounts - -Start accounts server - -#### ocis proxy - -Start proxy server +Start storage and data service for metadata #### ocis storage-home Start storage and data provider for /home mount -#### ocis storage-auth-basic - -Start storage auth-basic service - #### ocis store Start a go-micro store @@ -195,31 +151,75 @@ Start a go-micro store Start glauth server -#### ocis onlyoffice +#### ocis storage-gateway -Start onlyoffice server - -#### ocis storage-metadata - -Start storage and data service for metadata - -#### ocis storage-public-link - -Start storage public link storage - -#### ocis storage-sharing - -Start storage sharing service - -#### ocis storage-auth-bearer - -Start storage auth-bearer service +Start storage gateway #### ocis storage-users Start storage and data provider for /users mount +#### ocis accounts + +Start accounts server + +#### ocis storage-userprovider + +Start storage userprovider service + +#### ocis thumbnails + +Start thumbnails server + +#### ocis storage-frontend + +Start storage frontend + +#### ocis storage-public-link + +Start storage public link storage + #### ocis web Start web server +#### ocis onlyoffice + +Start onlyoffice server + +#### ocis storage-auth-bearer + +Start storage auth-bearer service + +#### ocis storage-sharing + +Start storage sharing service + +#### ocis settings + +Start settings server + +#### ocis webdav + +Start webdav server + +#### ocis konnectd + +Start konnectd server + +#### ocis ocs + +Start ocs server + +#### ocis proxy + +Start proxy server + +#### ocis storage-auth-basic + +Start storage auth-basic service + +#### ocis version + +Lists running services with version +