Author: Ilja Neumann <ineumann@owncloud.com>
Date:   Fri Dec 18 08:45:22 2020 +0100

    Accounts UserBackend tests
This commit is contained in:
Ilja Neumann committed 2020-12-22 16:29:40 +00:00
1 parent 6b9c09eedf
commit 3549550f31
13 files changed
+450 -450

No files matched your search

+19 -19
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-22T15:17:18+0000"
date: "2020-12-22T16:28:55+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/accounts/templates
@@ -99,11 +99,17 @@ Usage: `accounts server [command options] [arguments...]`
--service-user-username | $ACCOUNTS_SERVICE_USER_USERNAME
: username of the internal service user (required on EOS).
### accounts version
### accounts update
Print the versions of the running instances
Make changes to an existing account
Usage: `accounts version [command options] [arguments...]`
Usage: `accounts update [command options] [arguments...]`
### 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`.
@@ -111,6 +117,12 @@ Usage: `accounts version [command options] [arguments...]`
--name | $ACCOUNTS_NAME
: service name. Default: `accounts`.
### accounts rebuildIndex
Rebuilds the service's index, i.e. deleting and then re-adding all existing documents
Usage: `accounts rebuildIndex [command options] [arguments...]`
### accounts remove
Removes an existing account
@@ -138,11 +150,11 @@ Usage: `accounts ocis-accounts [command options] [arguments...]`
--log-color | $ACCOUNTS_LOG_COLOR
: Enable colored logging. Default: `true`.
### accounts list
### accounts version
List existing accounts
Print the versions of the running instances
Usage: `accounts list [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`.
@@ -150,18 +162,6 @@ Usage: `accounts list [command options] [arguments...]`
--name | $ACCOUNTS_NAME
: service name. Default: `accounts`.
### 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
Make changes to an existing account
Usage: `accounts update [command options] [arguments...]`
### accounts add
Create a new account
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-22T15:17:25+0000"
date: "2020-12-22T16:29:07+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/glauth/templates
+25 -25
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-22T15:17:27+0000"
date: "2020-12-22T16:29:08+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`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-22T15:17:31+0000"
date: "2020-12-22T16:29:12+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocs/templates
+10 -10
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-22T15:17:37+0000"
date: "2020-12-22T16:29:19+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/onlyoffice/templates
@@ -57,6 +57,15 @@ 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
@@ -102,12 +111,3 @@ 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`.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-22T15:17:31+0000"
date: "2020-12-22T16:29:13+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/proxy/templates
+37 -37
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-22T15:17:32+0000"
date: "2020-12-22T16:29:14+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/settings/templates
@@ -33,42 +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.
### settings version
Print the versions of the running instances
Usage: `settings version [command options] [arguments...]`
--grpc-namespace | $SETTINGS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`.
--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`.
### settings server
Start integrated server
@@ -132,3 +96,39 @@ Usage: `settings server [command options] [arguments...]`
--jwt-secret | $SETTINGS_JWT_SECRET
: Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `Pive-Fumkiu4`.
### settings version
Print the versions of the running instances
Usage: `settings version [command options] [arguments...]`
--grpc-namespace | $SETTINGS_GRPC_NAMESPACE
: Set the base namespace for the grpc namespace. Default: `com.owncloud.api`.
--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`.
+256 -256
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-22T15:17:33+0000"
date: "2020-12-22T16:29:15+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/storage/templates
@@ -53,261 +53,6 @@ Usage: `storage [global options] command [command options] [arguments...]`
## Sub Commands
### storage auth-basic
Start authprovider for basic auth
Usage: `storage auth-basic [command options] [arguments...]`
--debug-addr | $STORAGE_AUTH_BASIC_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9147`.
--auth-driver | $STORAGE_AUTH_DRIVER
: auth driver: 'demo', 'json' or 'ldap'. Default: `ldap`.
--auth-json | $STORAGE_AUTH_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`.
--addr | $STORAGE_AUTH_BASIC_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9146`.
### storage storage
Storage service for oCIS
Usage: `storage storage [command options] [arguments...]`
--config-file | $STORAGE_CONFIG_FILE
: Path to config file.
--log-level | $STORAGE_LOG_LEVEL
: Set logging level. Default: `info`.
--log-pretty | $STORAGE_LOG_PRETTY
: Enable pretty logging.
--log-color | $STORAGE_LOG_COLOR
: Enable colored logging.
### storage sharing
Start sharing service
Usage: `storage sharing [command options] [arguments...]`
--debug-addr | $STORAGE_SHARING_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9151`.
--network | $STORAGE_SHARING_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
--addr | $STORAGE_SHARING_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9150`.
--user-driver | $STORAGE_SHARING_USER_DRIVER
: driver to use for the UserShareProvider. Default: `json`.
--user-json-file | $STORAGE_SHARING_USER_JSON_FILE
: file used to persist shares for the UserShareProvider. Default: `/var/tmp/ocis/storage/shares.json`.
--public-driver | $STORAGE_SHARING_PUBLIC_DRIVER
: driver to use for the PublicShareProvider. Default: `json`.
--public-json-file | $STORAGE_SHARING_PUBLIC_JSON_FILE
: file used to persist shares for the PublicShareProvider. Default: `/var/tmp/ocis/storage/publicshares.json`.
### storage storage-public-link
Start storage-public-link service
Usage: `storage storage-public-link [command options] [arguments...]`
--debug-addr | $STORAGE_PUBLIC_LINK_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9179`.
--network | $STORAGE_PUBLIC_LINK_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
--addr | $STORAGE_PUBLIC_LINK_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9178`.
--mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH
: mount path. Default: `/public`.
--gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
: endpoint to use for the storage gateway service. Default: `localhost:9142`.
### 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 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.
--rest-client-id | $STORAGE_REST_CLIENT_ID
: User rest driver Client ID.
--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 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 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 frontend
Start frontend service
@@ -440,6 +185,111 @@ Usage: `storage gateway [command options] [arguments...]`
--storage-public-link-mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH
: mount path. Default: `/public`.
### storage sharing
Start sharing service
Usage: `storage sharing [command options] [arguments...]`
--debug-addr | $STORAGE_SHARING_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9151`.
--network | $STORAGE_SHARING_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
--addr | $STORAGE_SHARING_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9150`.
--user-driver | $STORAGE_SHARING_USER_DRIVER
: driver to use for the UserShareProvider. Default: `json`.
--user-json-file | $STORAGE_SHARING_USER_JSON_FILE
: file used to persist shares for the UserShareProvider. Default: `/var/tmp/ocis/storage/shares.json`.
--public-driver | $STORAGE_SHARING_PUBLIC_DRIVER
: driver to use for the PublicShareProvider. Default: `json`.
--public-json-file | $STORAGE_SHARING_PUBLIC_JSON_FILE
: file used to persist shares for the PublicShareProvider. Default: `/var/tmp/ocis/storage/publicshares.json`.
### 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
: 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 health
Check health status
@@ -449,6 +299,24 @@ Usage: `storage health [command options] [arguments...]`
--debug-addr | $STORAGE_DEBUG_ADDR
: Address to debug endpoint. Default: `0.0.0.0:9109`.
### storage storage
Storage service for oCIS
Usage: `storage storage [command options] [arguments...]`
--config-file | $STORAGE_CONFIG_FILE
: Path to config file.
--log-level | $STORAGE_LOG_LEVEL
: Set logging level. Default: `info`.
--log-pretty | $STORAGE_LOG_PRETTY
: Enable pretty logging.
--log-color | $STORAGE_LOG_COLOR
: Enable colored logging.
### storage storage-home
Start storage-home service
@@ -500,6 +368,138 @@ 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
Usage: `storage storage-public-link [command options] [arguments...]`
--debug-addr | $STORAGE_PUBLIC_LINK_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9179`.
--network | $STORAGE_PUBLIC_LINK_GRPC_NETWORK
: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`.
--addr | $STORAGE_PUBLIC_LINK_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9178`.
--mount-path | $STORAGE_PUBLIC_LINK_MOUNT_PATH
: mount path. Default: `/public`.
--gateway-endpoint | $STORAGE_GATEWAY_ENDPOINT
: endpoint to use for the storage gateway service. Default: `localhost:9142`.
### 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.
--rest-client-id | $STORAGE_REST_CLIENT_ID
: User rest driver Client ID.
--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-basic
Start authprovider for basic auth
Usage: `storage auth-basic [command options] [arguments...]`
--debug-addr | $STORAGE_AUTH_BASIC_DEBUG_ADDR
: Address to bind debug server. Default: `0.0.0.0:9147`.
--auth-driver | $STORAGE_AUTH_DRIVER
: auth driver: 'demo', 'json' or 'ldap'. Default: `ldap`.
--auth-json | $STORAGE_AUTH_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`.
--addr | $STORAGE_AUTH_BASIC_GRPC_ADDR
: Address to bind storage service. Default: `0.0.0.0:9146`.
## Config for the different Storage Drivers
You can set different storage drivers for the Storage Providers. Please check the storage provider configuration.
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-22T15:17:34+0000"
date: "2020-12-22T16:29:16+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/store/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-22T15:17:35+0000"
date: "2020-12-22T16:29:17+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/thumbnails/templates
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-22T15:17:29+0000"
date: "2020-12-22T16:29:11+0000"
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/web/templates
+22 -22
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-22T15:17:36+0000"
date: "2020-12-22T16:29:18+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`.
+75 -75
View File
@@ -1,6 +1,6 @@
---
title: "Configuration"
date: "2020-12-22T15:17:28+0000"
date: "2020-12-22T16:29:10+0000"
weight: 2
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/ocis/templates
@@ -102,24 +102,12 @@ 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 kill
Kill an extension by name
Usage: `ocis kill [command options] [arguments...]`
### ocis list
Lists running ocis extensions
Usage: `ocis list [command options] [arguments...]`
### ocis health
Check health status
@@ -129,10 +117,42 @@ 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
Start settings server
#### ocis storage-metadata
Start storage and data service for metadata
#### ocis thumbnails
Start thumbnails server
#### ocis version
Lists running services with version
#### ocis webdav
Start webdav server
#### ocis glauth
Start glauth server
@@ -141,83 +161,63 @@ Start glauth server
Start ocs server
#### ocis accounts
#### ocis storage-home
Start accounts server
#### ocis thumbnails
Start thumbnails server
#### ocis onlyoffice
Start onlyoffice server
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis storage-gateway
Start storage gateway
#### ocis web
Start web server
#### ocis konnectd
Start konnectd server
#### ocis settings
Start settings server
#### ocis version
Lists running services with version
#### ocis storage-metadata
Start storage and data service for metadata
#### ocis storage-userprovider
Start storage userprovider service
#### ocis webdav
Start webdav server
#### ocis storage-frontend
Start storage frontend
#### ocis storage-public-link
Start storage public link storage
#### ocis storage-sharing
Start storage sharing service
Start storage and data provider for /home mount
#### ocis storage-users
Start storage and data provider for /users mount
#### ocis accounts
Start accounts server
#### ocis storage-gateway
Start storage gateway
#### ocis store
Start a go-micro store
#### ocis proxy
#### ocis storage-frontend
Start proxy server
Start storage frontend
#### ocis storage-auth-basic
Start storage auth-basic service
#### ocis storage-public-link
Start storage public link storage
#### ocis storage-userprovider
Start storage userprovider service
#### ocis konnectd
Start konnectd server
#### ocis storage-auth-bearer
Start storage auth-bearer service
#### ocis storage-home
#### ocis web
Start storage and data provider for /home mount
Start web server
#### ocis onlyoffice
Start onlyoffice server
#### ocis storage-sharing
Start storage sharing service
#### ocis proxy
Start proxy server