From 0b140f5eea9b2234b337ff9a1eee41acc6ef4ea4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20B=C3=B6hm?= Date: Tue, 6 Oct 2020 13:32:56 +0000 Subject: [PATCH] =?UTF-8?q?commit=20f10950d6e857c22fba7dfe2879bfd283677ec2?= =?UTF-8?q?21=20Merge:=200eba04ba=208bc206e4=20Author:=20Felix=20B=C3=B6hm?= =?UTF-8?q?=20=20Date:=20=20=20Tue=20Oct=206=2015:20:4?= =?UTF-8?q?3=202020=20+0200?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Merge pull request #655 from owncloud/update-docs-rebased [docs-only] Update docs --- _index.md | 28 +- extensions/accounts/_index.md | 4 +- extensions/accounts/building.md | 4 +- extensions/accounts/configuration.md | 4 +- extensions/accounts/getting-started.md | 4 +- extensions/glauth/_index.md | 4 +- extensions/glauth/building.md | 4 +- extensions/glauth/getting-started.md | 4 +- extensions/glauth/license.md | 4 +- extensions/konnectd/_index.md | 4 +- extensions/konnectd/building.md | 4 +- extensions/konnectd/configuration.md | 2 +- extensions/konnectd/getting-started.md | 4 +- extensions/ocis-phoenix/_index.md | 8 +- extensions/ocis-phoenix/building.md | 14 +- extensions/ocis-phoenix/getting-started.md | 4 +- extensions/ocis-phoenix/license.md | 4 +- extensions/ocis-phoenix/releasing.md | 4 +- extensions/ocs/_index.md | 4 +- extensions/ocs/building.md | 4 +- extensions/ocs/getting-started.md | 4 +- extensions/ocs/license.md | 4 +- extensions/proxy/_index.md | 4 +- extensions/proxy/about.md | 4 +- extensions/proxy/building.md | 4 +- extensions/proxy/configuration.md | 2 +- extensions/proxy/getting-started.md | 4 +- extensions/settings/_index.md | 4 +- extensions/settings/building.md | 4 +- extensions/settings/bundles.md | 4 +- extensions/settings/getting-started.md | 4 +- extensions/settings/glossary.md | 4 +- extensions/settings/license.md | 4 +- extensions/settings/values.md | 4 +- extensions/storage/configuration.md | 698 +++++++++--------- extensions/store/_index.md | 4 +- extensions/store/building.md | 4 +- extensions/store/getting-started.md | 4 +- extensions/store/license.md | 4 +- extensions/thumbnails/_index.md | 4 +- extensions/thumbnails/building.md | 4 +- extensions/thumbnails/getting-started.md | 4 +- extensions/thumbnails/grpc.md | 4 +- extensions/thumbnails/license.md | 4 +- extensions/thumbnails/releasing.md | 4 +- extensions/webdav/configuration.md | 2 +- ocis/_index.md | 16 +- ocis/building.md | 49 -- ocis/deployment/_index.md | 29 + ocis/{ => deployment}/basic-remote-setup.md | 0 ocis/{ => deployment}/bridge.md | 0 ocis/development/_index.md | 12 + ocis/{ => development}/building-docs.md | 16 +- ocis/development/building.md | 46 ++ ocis/{ => development}/debugging.md | 2 +- .../getting-started.md} | 4 +- ocis/{ => development}/testing.md | 2 +- ocis/{ => development}/tracing.md | 2 +- ocis/getting-started.md | 2 +- 59 files changed, 580 insertions(+), 510 deletions(-) delete mode 100644 ocis/building.md create mode 100644 ocis/deployment/_index.md rename ocis/{ => deployment}/basic-remote-setup.md (100%) rename ocis/{ => deployment}/bridge.md (100%) create mode 100644 ocis/development/_index.md rename ocis/{ => development}/building-docs.md (66%) create mode 100644 ocis/development/building.md rename ocis/{ => development}/debugging.md (99%) rename ocis/{development.md => development/getting-started.md} (96%) rename ocis/{ => development}/testing.md (99%) rename ocis/{ => development}/tracing.md (97%) diff --git a/_index.md b/_index.md index 7015b202fcb..81065208ac2 100644 --- a/_index.md +++ b/_index.md @@ -1,7 +1,29 @@ --- -title: Documentation +title: ownCloud --- -Developer Docs for ownCloud Infinite Scale +## Developer Documentation + +Welcome to our developer documentation. Here you can find documentation for developers on +- The oCIS server +- oCIS extensions +- All Client, like Android, iOS, and the Desktop Client +- Integrations + +## We love open source + +The oCIS server is Apache v2 licensed. +The lower storage layer of oCIS is defined by the CS3 APIs and implemented in the REVA project. Our goal is to develop the CS3 APIs to an open standard and collaborate on the open source REVA reference implementation for CS3 APIs. + +You can also find all client sources on github. + +## Join us + +The oCIS server repository on github is a good entrypoint for you to join the project. But we also develop clients for iOS, Android, Desktop and Web. + +For communication on development you can join our public chat https://talk.owncloud.com + +If you want to help and improve ownCloud, start coding or open issues on github in the related repositiory. + +We are very happy to hear your feedback and ideas! -{{< figure class="page-image" src="/media/is.png" width="50%" height="auto">}} diff --git a/extensions/accounts/_index.md b/extensions/accounts/_index.md index 3249c0241d6..bcd0f170221 100644 --- a/extensions/accounts/_index.md +++ b/extensions/accounts/_index.md @@ -2,8 +2,8 @@ title: Accounts date: 2018-05-02T00:00:00+00:00 weight: 10 -geekdocRepo: https://github.com/owncloud/ocis-accounts -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/accounts geekdocFilePath: _index.md --- diff --git a/extensions/accounts/building.md b/extensions/accounts/building.md index 2d96c7ceb34..fa96cd0d1b2 100644 --- a/extensions/accounts/building.md +++ b/extensions/accounts/building.md @@ -2,8 +2,8 @@ title: "Building" date: 2018-05-02T00:00:00+00:00 weight: 30 -geekdocRepo: https://github.com/owncloud/ocis-accounts -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/accounts geekdocFilePath: building.md --- diff --git a/extensions/accounts/configuration.md b/extensions/accounts/configuration.md index f6c3830234b..e33e598f8ce 100644 --- a/extensions/accounts/configuration.md +++ b/extensions/accounts/configuration.md @@ -2,8 +2,8 @@ title: "Configuration" date: "2020-07-01T11:10:52+0200" weight: 20 -geekdocRepo: https://github.com/owncloud/ocis-reva -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/accounts geekdocFilePath: configuration.md --- diff --git a/extensions/accounts/getting-started.md b/extensions/accounts/getting-started.md index d389b843caa..42c48962ef0 100644 --- a/extensions/accounts/getting-started.md +++ b/extensions/accounts/getting-started.md @@ -2,8 +2,8 @@ title: "Getting Started" date: 2018-05-02T00:00:00+00:00 weight: 20 -geekdocRepo: https://github.com/owncloud/ocis-accounts -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/accounts geekdocFilePath: getting-started.md --- diff --git a/extensions/glauth/_index.md b/extensions/glauth/_index.md index 25756306d71..1396c62e858 100644 --- a/extensions/glauth/_index.md +++ b/extensions/glauth/_index.md @@ -2,8 +2,8 @@ title: "GLAuth" date: 2018-05-02T00:00:00+00:00 weight: 10 -geekdocRepo: https://github.com/owncloud/ocis-glauth -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/glauth geekdocFilePath: _index.md --- diff --git a/extensions/glauth/building.md b/extensions/glauth/building.md index 7dc26619fb1..bdfdb6b7644 100644 --- a/extensions/glauth/building.md +++ b/extensions/glauth/building.md @@ -2,8 +2,8 @@ title: "Building" date: 2018-05-02T00:00:00+00:00 weight: 30 -geekdocRepo: https://github.com/owncloud/ocis-glauth -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/glauth geekdocFilePath: building.md --- diff --git a/extensions/glauth/getting-started.md b/extensions/glauth/getting-started.md index f28c31e1f29..e060ed5f00c 100644 --- a/extensions/glauth/getting-started.md +++ b/extensions/glauth/getting-started.md @@ -2,8 +2,8 @@ title: "Getting Started" date: 2018-05-02T00:00:00+00:00 weight: 20 -geekdocRepo: https://github.com/owncloud/ocis-glauth -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/glauth geekdocFilePath: getting-started.md --- diff --git a/extensions/glauth/license.md b/extensions/glauth/license.md index 914cd70bdc1..19923026935 100644 --- a/extensions/glauth/license.md +++ b/extensions/glauth/license.md @@ -2,8 +2,8 @@ title: "License" date: 2018-05-02T00:00:00+00:00 weight: 40 -geekdocRepo: https://github.com/owncloud/ocis-glauth -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/glauth geekdocFilePath: license.md --- diff --git a/extensions/konnectd/_index.md b/extensions/konnectd/_index.md index b12cd3b0edc..be2859ce8ea 100644 --- a/extensions/konnectd/_index.md +++ b/extensions/konnectd/_index.md @@ -1,7 +1,7 @@ --- title: Konnectd -geekdocRepo: https://github.com/owncloud/ocis-konnectd -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/konnectd geekdocFilePath: _index.md --- diff --git a/extensions/konnectd/building.md b/extensions/konnectd/building.md index b044dd1d4eb..452cc27ed82 100644 --- a/extensions/konnectd/building.md +++ b/extensions/konnectd/building.md @@ -2,8 +2,8 @@ title: "Building" date: 2020-02-21T00:00:00+00:00 weight: 30 -geekdocRepo: https://github.com/owncloud/ocis-konnectd -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/konnectd geekdocFilePath: building.md --- diff --git a/extensions/konnectd/configuration.md b/extensions/konnectd/configuration.md index 99ef18d0fb0..726dc513c0b 100644 --- a/extensions/konnectd/configuration.md +++ b/extensions/konnectd/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-10-06T12:37:00+0000" +date: "2020-10-06T13:32:41+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis-konnectd geekdocEditPath: edit/master/docs diff --git a/extensions/konnectd/getting-started.md b/extensions/konnectd/getting-started.md index 96be58e3b04..9806264eef3 100644 --- a/extensions/konnectd/getting-started.md +++ b/extensions/konnectd/getting-started.md @@ -2,8 +2,8 @@ title: "Getting Started" date: 2018-05-02T00:00:00+00:00 weight: 10 -geekdocRepo: https://github.com/owncloud/ocis-konnectd -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/konnectd geekdocFilePath: getting-started.md --- diff --git a/extensions/ocis-phoenix/_index.md b/extensions/ocis-phoenix/_index.md index c48d8bc688c..a1dadd6f98d 100644 --- a/extensions/ocis-phoenix/_index.md +++ b/extensions/ocis-phoenix/_index.md @@ -1,10 +1,12 @@ --- -title: "Phoenix" +title: "oCIS Web" date: 2018-05-02T00:00:00+00:00 weight: 10 -geekdocRepo: https://github.com/owncloud/ocis-phoenix -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/ocis-phoenix geekdocFilePath: _index.md --- +Note: Work in progress to rename Phoenix to oCIS Web. + This service embeds [Phoenix](https://github.com/owncloud/phoenix) to provide a UI for ownCloud Infinite Scale. diff --git a/extensions/ocis-phoenix/building.md b/extensions/ocis-phoenix/building.md index 0063c67f80c..8b8bcf168f4 100644 --- a/extensions/ocis-phoenix/building.md +++ b/extensions/ocis-phoenix/building.md @@ -2,23 +2,15 @@ title: "Building" date: 2018-05-02T00:00:00+00:00 weight: 30 -geekdocRepo: https://github.com/owncloud/ocis-phoenix -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/ocis-phoenix geekdocFilePath: building.md --- -As this project is built with Go, so you need to install that first. The installation of Go is out of the scope of this document, please follow the official documentation for [Go](https://golang.org/doc/install), to build this project you have to install Go >= v1.12. After the installation of the required tools you need to get the sources: - -{{< highlight txt >}} -git clone https://github.com/owncloud/ocis-phoenix.git -cd ocis-phoenix -{{< / highlight >}} - -All required tool besides Go itself and make are bundled or getting automatically installed within the `GOPATH`. All commands to build this project are part of our `Makefile`. - ## Backend {{< highlight txt >}} +cd ocis-phoenix make generate make build {{< / highlight >}} diff --git a/extensions/ocis-phoenix/getting-started.md b/extensions/ocis-phoenix/getting-started.md index 2963fd9117e..31eb7bab35f 100644 --- a/extensions/ocis-phoenix/getting-started.md +++ b/extensions/ocis-phoenix/getting-started.md @@ -2,8 +2,8 @@ title: "Getting Started" date: 2018-05-02T00:00:00+00:00 weight: 20 -geekdocRepo: https://github.com/owncloud/ocis-phoenix -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/ocis-phoenix geekdocFilePath: getting-started.md --- diff --git a/extensions/ocis-phoenix/license.md b/extensions/ocis-phoenix/license.md index 1bcdc02c57f..c479a90c9b5 100644 --- a/extensions/ocis-phoenix/license.md +++ b/extensions/ocis-phoenix/license.md @@ -2,8 +2,8 @@ title: "License" date: 2018-05-02T00:00:00+00:00 weight: 50 -geekdocRepo: https://github.com/owncloud/ocis-phoenix -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/ocis-phoenix geekdocFilePath: license.md --- diff --git a/extensions/ocis-phoenix/releasing.md b/extensions/ocis-phoenix/releasing.md index e314c2ba739..4d80122fccc 100644 --- a/extensions/ocis-phoenix/releasing.md +++ b/extensions/ocis-phoenix/releasing.md @@ -1,8 +1,8 @@ --- title: "Releasing" weight: 40 -geekdocRepo: https://github.com/owncloud/ocis-phoenix -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/ocis-phoenix geekdocFilePath: releasing.md --- diff --git a/extensions/ocs/_index.md b/extensions/ocs/_index.md index 4f0c1512693..ae12ce18e77 100644 --- a/extensions/ocs/_index.md +++ b/extensions/ocs/_index.md @@ -2,8 +2,8 @@ title: "Ocs" date: 2018-05-02T00:00:00+00:00 weight: 10 -geekdocRepo: https://github.com/owncloud/ocis-ocs -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/ocs geekdocFilePath: _index.md --- diff --git a/extensions/ocs/building.md b/extensions/ocs/building.md index e01237a50fd..13e6c417c9d 100644 --- a/extensions/ocs/building.md +++ b/extensions/ocs/building.md @@ -2,8 +2,8 @@ title: "Building" date: 2018-05-02T00:00:00+00:00 weight: 30 -geekdocRepo: https://github.com/owncloud/ocis-ocs -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/ocs geekdocFilePath: building.md --- diff --git a/extensions/ocs/getting-started.md b/extensions/ocs/getting-started.md index a082d53dae7..7a740bbc3ff 100644 --- a/extensions/ocs/getting-started.md +++ b/extensions/ocs/getting-started.md @@ -2,8 +2,8 @@ title: "Getting Started" date: 2018-05-02T00:00:00+00:00 weight: 10 -geekdocRepo: https://github.com/owncloud/ocis-ocs -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/ocs geekdocFilePath: getting-started.md --- diff --git a/extensions/ocs/license.md b/extensions/ocs/license.md index ff55edfc6b7..380192a0f2f 100644 --- a/extensions/ocs/license.md +++ b/extensions/ocs/license.md @@ -2,8 +2,8 @@ title: "License" date: 2018-05-02T00:00:00+00:00 weight: 40 -geekdocRepo: https://github.com/owncloud/ocis-ocs -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/ocs geekdocFilePath: license.md --- diff --git a/extensions/proxy/_index.md b/extensions/proxy/_index.md index 5ad1d7b5fd6..71858199e0f 100644 --- a/extensions/proxy/_index.md +++ b/extensions/proxy/_index.md @@ -1,7 +1,7 @@ --- title: Proxy -geekdocRepo: https://github.com/owncloud/ocis-proxy -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/proxy geekdocFilePath: _index.md --- diff --git a/extensions/proxy/about.md b/extensions/proxy/about.md index 2707afefe10..10157aa0871 100644 --- a/extensions/proxy/about.md +++ b/extensions/proxy/about.md @@ -2,8 +2,8 @@ title: "About" date: 2020-02-07T00:00:00+00:00 weight: 10 -geekdocRepo: https://github.com/owncloud/ocis-proxy -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/proxy geekdocFilePath: about.md --- diff --git a/extensions/proxy/building.md b/extensions/proxy/building.md index 8007e899609..62b2519f7ff 100644 --- a/extensions/proxy/building.md +++ b/extensions/proxy/building.md @@ -2,8 +2,8 @@ title: "Building" date: 2018-05-02T00:00:00+00:00 weight: 30 -geekdocRepo: https://github.com/owncloud/ocis-proxy -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/proxy geekdocFilePath: building.md --- diff --git a/extensions/proxy/configuration.md b/extensions/proxy/configuration.md index 46167f2eb43..6091651b6b8 100644 --- a/extensions/proxy/configuration.md +++ b/extensions/proxy/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-10-06T12:37:03+0000" +date: "2020-10-06T13:32:44+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis-proxy geekdocEditPath: edit/master/docs diff --git a/extensions/proxy/getting-started.md b/extensions/proxy/getting-started.md index 95f8a185a82..32cfe5f1c38 100644 --- a/extensions/proxy/getting-started.md +++ b/extensions/proxy/getting-started.md @@ -2,8 +2,8 @@ title: "Getting Started" date: 2018-05-02T00:00:00+00:00 weight: 15 -geekdocRepo: https://github.com/owncloud/ocis-proxy -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/proxy geekdocFilePath: getting-started.md --- diff --git a/extensions/settings/_index.md b/extensions/settings/_index.md index 9e70356dd66..a00ebc2cf76 100644 --- a/extensions/settings/_index.md +++ b/extensions/settings/_index.md @@ -2,8 +2,8 @@ title: "Settings" date: 2018-05-02T00:00:00+00:00 weight: 10 -geekdocRepo: https://github.com/owncloud/ocis-settings -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/settings geekdocFilePath: _index.md --- diff --git a/extensions/settings/building.md b/extensions/settings/building.md index 055b2387c51..726258d5942 100644 --- a/extensions/settings/building.md +++ b/extensions/settings/building.md @@ -2,8 +2,8 @@ title: "Building" date: 2018-05-02T00:00:00+00:00 weight: 30 -geekdocRepo: https://github.com/owncloud/ocis-settings -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/settings geekdocFilePath: building.md --- diff --git a/extensions/settings/bundles.md b/extensions/settings/bundles.md index 957c2147800..056b6b374d5 100644 --- a/extensions/settings/bundles.md +++ b/extensions/settings/bundles.md @@ -2,8 +2,8 @@ title: "Settings Bundles" date: 2020-05-04T00:00:00+00:00 weight: 50 -geekdocRepo: https://github.com/owncloud/ocis-settings -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/settings geekdocFilePath: bundles.md --- diff --git a/extensions/settings/getting-started.md b/extensions/settings/getting-started.md index b76a7187344..c662902374a 100644 --- a/extensions/settings/getting-started.md +++ b/extensions/settings/getting-started.md @@ -2,8 +2,8 @@ title: "Getting Started" date: 2018-05-02T00:00:00+00:00 weight: 25 -geekdocRepo: https://github.com/owncloud/ocis-settings -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/settings geekdocFilePath: getting-started.md --- diff --git a/extensions/settings/glossary.md b/extensions/settings/glossary.md index ffc9d8616f2..fe01c773ae0 100644 --- a/extensions/settings/glossary.md +++ b/extensions/settings/glossary.md @@ -2,8 +2,8 @@ title: "Glossary" date: 2020-05-04T12:35:00+01:00 weight: 80 -geekdocRepo: https://github.com/owncloud/ocis-settings -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/oci +geekdocEditPath: edit/master/docs/extensions/settings geekdocFilePath: glossary.md --- diff --git a/extensions/settings/license.md b/extensions/settings/license.md index bce5bddc466..6382020fd40 100644 --- a/extensions/settings/license.md +++ b/extensions/settings/license.md @@ -2,8 +2,8 @@ title: "License" date: 2018-05-02T00:00:00+00:00 weight: 90 -geekdocRepo: https://github.com/owncloud/ocis-settings -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/settings geekdocFilePath: license.md --- diff --git a/extensions/settings/values.md b/extensions/settings/values.md index 9e03c681fb1..3e025d2b063 100644 --- a/extensions/settings/values.md +++ b/extensions/settings/values.md @@ -2,8 +2,8 @@ title: "Settings Values" date: 2020-05-04T00:00:00+00:00 weight: 51 -geekdocRepo: https://github.com/owncloud/ocis-settings -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/settings geekdocFilePath: values.md --- diff --git a/extensions/storage/configuration.md b/extensions/storage/configuration.md index 9a9fcb609e2..769d6dc8eae 100644 --- a/extensions/storage/configuration.md +++ b/extensions/storage/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-10-06T12:37:02+0000" +date: "2020-10-06T13:32:42+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs/extensions/storage @@ -57,276 +57,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: `/oc/`. - ---network | $STORAGE_FRONTEND_NETWORK -: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. - ---protocol | $STORAGE_FRONTEND_PROTOCOL -: protocol for storage service, can be 'http' or 'grpc'. Default: `http`. - ---addr | $STORAGE_FRONTEND_ADDR -: Address to bind storage service. Default: `0.0.0.0:9140`. - ---url | $STORAGE_FRONTEND_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_URL -: 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 health - -Check health status - -Usage: `storage health [command options] [arguments...]` - ---debug-addr | $STORAGE_DEBUG_ADDR -: Address to debug endpoint. Default: `0.0.0.0:9109`. - -### storage storage-public-link - -Start storage-public-link service - -Usage: `storage storage-public-link [command options] [arguments...]` - ---debug-addr | $STORAGE_STORAGE_PUBLIC_LINK_DEBUG_ADDR -: Address to bind debug server. Default: `0.0.0.0:9179`. - ---network | $STORAGE_STORAGE_PUBLIC_LINK_NETWORK -: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. - ---protocol | $STORAGE_STORAGE_PUBLIC_LINK_PROTOCOL -: protocol for storage service, can be 'http' or 'grpc'. Default: `grpc`. - ---addr | $STORAGE_STORAGE_PUBLIC_LINK_ADDR -: Address to bind storage service. Default: `0.0.0.0:9178`. - ---url | $STORAGE_STORAGE_PUBLIC_LINK_URL -: Address to bind storage service. Default: `localhost:9178`. - ---mount-path | $STORAGE_STORAGE_PUBLIC_LINK_MOUNT_PATH -: mount path. Default: `/public/`. - ---gateway-url | $STORAGE_GATEWAY_URL -: URL to use for the storage gateway service. Default: `localhost:9142`. - -### storage storage-home - -Start storage-home service - -Usage: `storage storage-home [command options] [arguments...]` - ---debug-addr | $STORAGE_STORAGE_HOME_DEBUG_ADDR -: Address to bind debug server. Default: `0.0.0.0:9155`. - ---network | $STORAGE_STORAGE_HOME_NETWORK -: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. - ---protocol | $STORAGE_STORAGE_HOME_PROTOCOL -: protocol for storage service, can be 'http' or 'grpc'. Default: `grpc`. - ---addr | $STORAGE_STORAGE_HOME_ADDR -: Address to bind storage service. Default: `0.0.0.0:9154`. - ---url | $STORAGE_STORAGE_HOME_URL -: URL to use for the storage service. Default: `localhost:9154`. - ---driver | $STORAGE_STORAGE_HOME_DRIVER -: storage driver for home mount: eg. local, eos, owncloud, ocis or s3. Default: `owncloud`. - ---mount-path | $STORAGE_STORAGE_HOME_MOUNT_PATH -: mount path. Default: `/home`. - ---mount-id | $STORAGE_STORAGE_HOME_MOUNT_ID -: mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009162`. - ---expose-data-server | $STORAGE_STORAGE_HOME_EXPOSE_DATA_SERVER -: exposes a dedicated data server. Default: `false`. - ---data-server-url | $STORAGE_STORAGE_HOME_DATA_SERVER_URL -: data server url. Default: `http://localhost:9156/data`. - ---enable-home | $STORAGE_STORAGE_HOME_ENABLE_HOME -: enable the creation of home directories. Default: `true`. - ---users-url | $STORAGE_USERS_URL -: URL to use for the storage service. Default: `localhost:9144`. - -### storage storage-eos - -Start storage-eos service - -Usage: `storage storage-eos [command options] [arguments...]` - ---debug-addr | $STORAGE_STORAGE_EOS_DEBUG_ADDR -: Address to bind debug server. Default: `0.0.0.0:9159`. - ---network | $STORAGE_STORAGE_EOS_NETWORK -: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. - ---protocol | $STORAGE_STORAGE_EOS_PROTOCOL -: protocol for storage service, can be 'http' or 'grpc'. Default: `grpc`. - ---addr | $STORAGE_STORAGE_EOS_ADDR -: Address to bind storage service. Default: `0.0.0.0:9158`. - ---url | $STORAGE_STORAGE_EOS_URL -: URL to use for the storage service. Default: `localhost:9158`. - ---driver | $STORAGE_STORAGE_EOS_DRIVER -: storage driver for eos mount: eg. local, eos, owncloud, ocis or s3. Default: `eos`. - ---mount-path | $STORAGE_STORAGE_EOS_MOUNT_PATH -: mount path. Default: `/eos`. - ---mount-id | $STORAGE_STORAGE_EOS_MOUNT_ID -: mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009158`. - ---expose-data-server | $STORAGE_STORAGE_EOS_EXPOSE_DATA_SERVER -: exposes a dedicated data server. Default: `false`. - ---data-server-url | $STORAGE_STORAGE_EOS_DATA_SERVER_URL -: data server url. Default: `http://localhost:9160/data`. - -### 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-oc-data - -Start storage-oc-data service - -Usage: `storage storage-oc-data [command options] [arguments...]` - ---debug-addr | $STORAGE_STORAGE_OC_DATA_DEBUG_ADDR -: Address to bind debug server. Default: `0.0.0.0:9165`. - ---network | $STORAGE_STORAGE_OC_DATA_NETWORK -: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. - ---protocol | $STORAGE_STORAGE_OC_DATA_PROTOCOL -: protocol for storage service, can be 'http' or 'grpc'. Default: `http`. - ---addr | $STORAGE_STORAGE_OC_DATA_ADDR -: Address to bind storage service. Default: `0.0.0.0:9164`. - ---url | $STORAGE_STORAGE_OC_DATA_URL -: URL to use for the storage service. Default: `localhost:9164`. - ---driver | $STORAGE_STORAGE_OC_DATA_DRIVER -: storage driver for oc data mount: eg. local, eos, owncloud, ocis or s3. Default: `owncloud`. - ---prefix | $STORAGE_STORAGE_OC_DATA_PREFIX -: prefix for the http endpoint, without leading slash. Default: `data`. - ---temp-folder | $STORAGE_STORAGE_OC_DATA_TEMP_FOLDER -: temp folder. Default: `/var/tmp/`. - ---gateway-url | $STORAGE_GATEWAY_URL -: URL to use for the storage gateway service. Default: `localhost:9142`. - ---users-url | $STORAGE_USERS_URL -: URL 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_USERS_NETWORK -: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. - ---protocol | $STORAGE_USERS_PROTOCOL -: protocol for storage service, can be 'http' or 'grpc'. Default: `grpc`. - ---addr | $STORAGE_USERS_ADDR -: Address to bind storage service. Default: `0.0.0.0:9144`. - ---url | $STORAGE_USERS_URL -: URL to use for the storage service. Default: `localhost:9144`. - ---driver | $STORAGE_USERS_DRIVER -: user driver: 'demo', 'json', 'ldap', or 'rest'. Default: `ldap`. - ---json-config | $STORAGE_USERS_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-root Start storage-root service @@ -393,45 +123,6 @@ Usage: `storage storage-metadata [command options] [arguments...]` --storage-root | $STORAGE_STORAGE_METADATA_ROOT : the path to the metadata storage root. Default: `/var/tmp/ocis/metadata`. -### storage storage-oc - -Start storage-oc service - -Usage: `storage storage-oc [command options] [arguments...]` - ---debug-addr | $STORAGE_STORAGE_OC_DEBUG_ADDR -: Address to bind debug server. Default: `0.0.0.0:9163`. - ---network | $STORAGE_STORAGE_OC_NETWORK -: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. - ---protocol | $STORAGE_STORAGE_OC_PROTOCOL -: protocol for storage service, can be 'http' or 'grpc'. Default: `grpc`. - ---addr | $STORAGE_STORAGE_OC_ADDR -: Address to bind storage service. Default: `0.0.0.0:9162`. - ---url | $STORAGE_STORAGE_OC_URL -: URL to use for the storage service. Default: `localhost:9162`. - ---driver | $STORAGE_STORAGE_OC_DRIVER -: storage driver for oc mount: eg. local, eos, owncloud, ocis or s3. Default: `owncloud`. - ---mount-path | $STORAGE_STORAGE_OC_MOUNT_PATH -: mount path. Default: `/oc`. - ---mount-id | $STORAGE_STORAGE_OC_MOUNT_ID -: mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009162`. - ---expose-data-server | $STORAGE_STORAGE_OC_EXPOSE_DATA_SERVER -: exposes a dedicated data server. Default: `false`. - ---data-server-url | $STORAGE_STORAGE_OC_DATA_SERVER_URL -: data server url. Default: `http://localhost:9164/data`. - ---users-url | $STORAGE_USERS_URL -: URL to use for the storage service. Default: `localhost:9144`. - ### storage sharing Start sharing service @@ -498,45 +189,6 @@ Usage: `storage storage-eos-data [command options] [arguments...]` --users-url | $STORAGE_USERS_URL : URL to use for the storage service. Default: `localhost:9144`. -### storage storage-home-data - -Start storage-home-data service - -Usage: `storage storage-home-data [command options] [arguments...]` - ---debug-addr | $STORAGE_STORAGE_HOME_DATA_DEBUG_ADDR -: Address to bind debug server. Default: `0.0.0.0:9157`. - ---network | $STORAGE_STORAGE_HOME_DATA_NETWORK -: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. - ---protocol | $STORAGE_STORAGE_HOME_DATA_PROTOCOL -: protocol for storage service, can be 'http' or 'grpc'. Default: `http`. - ---addr | $STORAGE_STORAGE_HOME_DATA_ADDR -: Address to bind storage service. Default: `0.0.0.0:9156`. - ---url | $STORAGE_STORAGE_HOME_DATA_URL -: URL to use for the storage service. Default: `localhost:9156`. - ---driver | $STORAGE_STORAGE_HOME_DATA_DRIVER -: storage driver for home data mount: eg. local, eos, owncloud, ocis or s3. Default: `owncloud`. - ---prefix | $STORAGE_STORAGE_HOME_DATA_PREFIX -: prefix for the http endpoint, without leading slash. Default: `data`. - ---temp-folder | $STORAGE_STORAGE_HOME_DATA_TEMP_FOLDER -: temp folder. Default: `/var/tmp/`. - ---enable-home | $STORAGE_STORAGE_HOME_ENABLE_HOME -: enable the creation of home directories. Default: `true`. - ---gateway-url | $STORAGE_GATEWAY_URL -: URL to use for the storage gateway service. Default: `localhost:9142`. - ---users-url | $STORAGE_USERS_URL -: URL to use for the storage service. Default: `localhost:9144`. - ### storage gateway Start gateway @@ -675,6 +327,252 @@ Usage: `storage auth-bearer [command options] [arguments...]` --url | $STORAGE_AUTH_BEARER_URL : URL to use for the storage service. Default: `localhost:9148`. +### storage health + +Check health status + +Usage: `storage health [command options] [arguments...]` + +--debug-addr | $STORAGE_DEBUG_ADDR +: Address to debug endpoint. Default: `0.0.0.0:9109`. + +### storage storage-public-link + +Start storage-public-link service + +Usage: `storage storage-public-link [command options] [arguments...]` + +--debug-addr | $STORAGE_STORAGE_PUBLIC_LINK_DEBUG_ADDR +: Address to bind debug server. Default: `0.0.0.0:9179`. + +--network | $STORAGE_STORAGE_PUBLIC_LINK_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. + +--protocol | $STORAGE_STORAGE_PUBLIC_LINK_PROTOCOL +: protocol for storage service, can be 'http' or 'grpc'. Default: `grpc`. + +--addr | $STORAGE_STORAGE_PUBLIC_LINK_ADDR +: Address to bind storage service. Default: `0.0.0.0:9178`. + +--url | $STORAGE_STORAGE_PUBLIC_LINK_URL +: Address to bind storage service. Default: `localhost:9178`. + +--mount-path | $STORAGE_STORAGE_PUBLIC_LINK_MOUNT_PATH +: mount path. Default: `/public/`. + +--gateway-url | $STORAGE_GATEWAY_URL +: URL to use for the storage gateway service. Default: `localhost:9142`. + +### storage storage-eos + +Start storage-eos service + +Usage: `storage storage-eos [command options] [arguments...]` + +--debug-addr | $STORAGE_STORAGE_EOS_DEBUG_ADDR +: Address to bind debug server. Default: `0.0.0.0:9159`. + +--network | $STORAGE_STORAGE_EOS_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. + +--protocol | $STORAGE_STORAGE_EOS_PROTOCOL +: protocol for storage service, can be 'http' or 'grpc'. Default: `grpc`. + +--addr | $STORAGE_STORAGE_EOS_ADDR +: Address to bind storage service. Default: `0.0.0.0:9158`. + +--url | $STORAGE_STORAGE_EOS_URL +: URL to use for the storage service. Default: `localhost:9158`. + +--driver | $STORAGE_STORAGE_EOS_DRIVER +: storage driver for eos mount: eg. local, eos, owncloud, ocis or s3. Default: `eos`. + +--mount-path | $STORAGE_STORAGE_EOS_MOUNT_PATH +: mount path. Default: `/eos`. + +--mount-id | $STORAGE_STORAGE_EOS_MOUNT_ID +: mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009158`. + +--expose-data-server | $STORAGE_STORAGE_EOS_EXPOSE_DATA_SERVER +: exposes a dedicated data server. Default: `false`. + +--data-server-url | $STORAGE_STORAGE_EOS_DATA_SERVER_URL +: data server url. Default: `http://localhost:9160/data`. + +### storage storage-home-data + +Start storage-home-data service + +Usage: `storage storage-home-data [command options] [arguments...]` + +--debug-addr | $STORAGE_STORAGE_HOME_DATA_DEBUG_ADDR +: Address to bind debug server. Default: `0.0.0.0:9157`. + +--network | $STORAGE_STORAGE_HOME_DATA_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. + +--protocol | $STORAGE_STORAGE_HOME_DATA_PROTOCOL +: protocol for storage service, can be 'http' or 'grpc'. Default: `http`. + +--addr | $STORAGE_STORAGE_HOME_DATA_ADDR +: Address to bind storage service. Default: `0.0.0.0:9156`. + +--url | $STORAGE_STORAGE_HOME_DATA_URL +: URL to use for the storage service. Default: `localhost:9156`. + +--driver | $STORAGE_STORAGE_HOME_DATA_DRIVER +: storage driver for home data mount: eg. local, eos, owncloud, ocis or s3. Default: `owncloud`. + +--prefix | $STORAGE_STORAGE_HOME_DATA_PREFIX +: prefix for the http endpoint, without leading slash. Default: `data`. + +--temp-folder | $STORAGE_STORAGE_HOME_DATA_TEMP_FOLDER +: temp folder. Default: `/var/tmp/`. + +--enable-home | $STORAGE_STORAGE_HOME_ENABLE_HOME +: enable the creation of home directories. Default: `true`. + +--gateway-url | $STORAGE_GATEWAY_URL +: URL to use for the storage gateway service. Default: `localhost:9142`. + +--users-url | $STORAGE_USERS_URL +: URL to use for the storage service. Default: `localhost:9144`. + +### storage storage-home + +Start storage-home service + +Usage: `storage storage-home [command options] [arguments...]` + +--debug-addr | $STORAGE_STORAGE_HOME_DEBUG_ADDR +: Address to bind debug server. Default: `0.0.0.0:9155`. + +--network | $STORAGE_STORAGE_HOME_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. + +--protocol | $STORAGE_STORAGE_HOME_PROTOCOL +: protocol for storage service, can be 'http' or 'grpc'. Default: `grpc`. + +--addr | $STORAGE_STORAGE_HOME_ADDR +: Address to bind storage service. Default: `0.0.0.0:9154`. + +--url | $STORAGE_STORAGE_HOME_URL +: URL to use for the storage service. Default: `localhost:9154`. + +--driver | $STORAGE_STORAGE_HOME_DRIVER +: storage driver for home mount: eg. local, eos, owncloud, ocis or s3. Default: `owncloud`. + +--mount-path | $STORAGE_STORAGE_HOME_MOUNT_PATH +: mount path. Default: `/home`. + +--mount-id | $STORAGE_STORAGE_HOME_MOUNT_ID +: mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009162`. + +--expose-data-server | $STORAGE_STORAGE_HOME_EXPOSE_DATA_SERVER +: exposes a dedicated data server. Default: `false`. + +--data-server-url | $STORAGE_STORAGE_HOME_DATA_SERVER_URL +: data server url. Default: `http://localhost:9156/data`. + +--enable-home | $STORAGE_STORAGE_HOME_ENABLE_HOME +: enable the creation of home directories. Default: `true`. + +--users-url | $STORAGE_USERS_URL +: URL to use for the storage service. Default: `localhost:9144`. + +### 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-oc-data + +Start storage-oc-data service + +Usage: `storage storage-oc-data [command options] [arguments...]` + +--debug-addr | $STORAGE_STORAGE_OC_DATA_DEBUG_ADDR +: Address to bind debug server. Default: `0.0.0.0:9165`. + +--network | $STORAGE_STORAGE_OC_DATA_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. + +--protocol | $STORAGE_STORAGE_OC_DATA_PROTOCOL +: protocol for storage service, can be 'http' or 'grpc'. Default: `http`. + +--addr | $STORAGE_STORAGE_OC_DATA_ADDR +: Address to bind storage service. Default: `0.0.0.0:9164`. + +--url | $STORAGE_STORAGE_OC_DATA_URL +: URL to use for the storage service. Default: `localhost:9164`. + +--driver | $STORAGE_STORAGE_OC_DATA_DRIVER +: storage driver for oc data mount: eg. local, eos, owncloud, ocis or s3. Default: `owncloud`. + +--prefix | $STORAGE_STORAGE_OC_DATA_PREFIX +: prefix for the http endpoint, without leading slash. Default: `data`. + +--temp-folder | $STORAGE_STORAGE_OC_DATA_TEMP_FOLDER +: temp folder. Default: `/var/tmp/`. + +--gateway-url | $STORAGE_GATEWAY_URL +: URL to use for the storage gateway service. Default: `localhost:9142`. + +--users-url | $STORAGE_USERS_URL +: URL to use for the storage service. Default: `localhost:9144`. + +### storage storage-oc + +Start storage-oc service + +Usage: `storage storage-oc [command options] [arguments...]` + +--debug-addr | $STORAGE_STORAGE_OC_DEBUG_ADDR +: Address to bind debug server. Default: `0.0.0.0:9163`. + +--network | $STORAGE_STORAGE_OC_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. + +--protocol | $STORAGE_STORAGE_OC_PROTOCOL +: protocol for storage service, can be 'http' or 'grpc'. Default: `grpc`. + +--addr | $STORAGE_STORAGE_OC_ADDR +: Address to bind storage service. Default: `0.0.0.0:9162`. + +--url | $STORAGE_STORAGE_OC_URL +: URL to use for the storage service. Default: `localhost:9162`. + +--driver | $STORAGE_STORAGE_OC_DRIVER +: storage driver for oc mount: eg. local, eos, owncloud, ocis or s3. Default: `owncloud`. + +--mount-path | $STORAGE_STORAGE_OC_MOUNT_PATH +: mount path. Default: `/oc`. + +--mount-id | $STORAGE_STORAGE_OC_MOUNT_ID +: mount id. Default: `1284d238-aa92-42ce-bdc4-0b0000009162`. + +--expose-data-server | $STORAGE_STORAGE_OC_EXPOSE_DATA_SERVER +: exposes a dedicated data server. Default: `false`. + +--data-server-url | $STORAGE_STORAGE_OC_DATA_SERVER_URL +: data server url. Default: `http://localhost:9164/data`. + +--users-url | $STORAGE_USERS_URL +: URL to use for the storage service. Default: `localhost:9144`. + ### storage auth-basic Start authprovider for basic auth @@ -702,3 +600,105 @@ Usage: `storage auth-basic [command options] [arguments...]` --url | $STORAGE_AUTH_BASIC_URL : URL to use for the storage service. Default: `localhost:9146`. +### 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_USERS_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. + +--protocol | $STORAGE_USERS_PROTOCOL +: protocol for storage service, can be 'http' or 'grpc'. Default: `grpc`. + +--addr | $STORAGE_USERS_ADDR +: Address to bind storage service. Default: `0.0.0.0:9144`. + +--url | $STORAGE_USERS_URL +: URL to use for the storage service. Default: `localhost:9144`. + +--driver | $STORAGE_USERS_DRIVER +: user driver: 'demo', 'json', 'ldap', or 'rest'. Default: `ldap`. + +--json-config | $STORAGE_USERS_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 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: `/oc/`. + +--network | $STORAGE_FRONTEND_NETWORK +: Network to use for the storage service, can be 'tcp', 'udp' or 'unix'. Default: `tcp`. + +--protocol | $STORAGE_FRONTEND_PROTOCOL +: protocol for storage service, can be 'http' or 'grpc'. Default: `http`. + +--addr | $STORAGE_FRONTEND_ADDR +: Address to bind storage service. Default: `0.0.0.0:9140`. + +--url | $STORAGE_FRONTEND_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_URL +: 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. + diff --git a/extensions/store/_index.md b/extensions/store/_index.md index 3eec45a1d2f..b1de3b501fd 100644 --- a/extensions/store/_index.md +++ b/extensions/store/_index.md @@ -2,8 +2,8 @@ title: "Store" date: 2018-05-02T00:00:00+00:00 weight: 10 -geekdocRepo: https://github.com/owncloud/ocis-store -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/store geekdocFilePath: _index.md --- diff --git a/extensions/store/building.md b/extensions/store/building.md index c8f2de2c048..2dd085713a9 100644 --- a/extensions/store/building.md +++ b/extensions/store/building.md @@ -2,8 +2,8 @@ title: "Building" date: 2018-05-02T00:00:00+00:00 weight: 30 -geekdocRepo: https://github.com/owncloud/ocis-store -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/store geekdocFilePath: building.md --- diff --git a/extensions/store/getting-started.md b/extensions/store/getting-started.md index e9724f7f30a..c806fd489ac 100644 --- a/extensions/store/getting-started.md +++ b/extensions/store/getting-started.md @@ -2,8 +2,8 @@ title: "Getting Started" date: 2018-05-02T00:00:00+00:00 weight: 20 -geekdocRepo: https://github.com/owncloud/ocis-store -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/store geekdocFilePath: getting-started.md --- diff --git a/extensions/store/license.md b/extensions/store/license.md index a551d61f205..b9fbea3ef58 100644 --- a/extensions/store/license.md +++ b/extensions/store/license.md @@ -2,8 +2,8 @@ title: "License" date: 2018-05-02T00:00:00+00:00 weight: 40 -geekdocRepo: https://github.com/owncloud/ocis-store -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/store geekdocFilePath: license.md --- diff --git a/extensions/thumbnails/_index.md b/extensions/thumbnails/_index.md index 1007ebc39b3..d0ca7f2e6af 100644 --- a/extensions/thumbnails/_index.md +++ b/extensions/thumbnails/_index.md @@ -2,8 +2,8 @@ title: "Thumbnails" date: 2018-05-02T00:00:00+00:00 weight: 10 -geekdocRepo: https://github.com/owncloud/ocis-thumbnails -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/thumbnails geekdocFilePath: _index.md --- diff --git a/extensions/thumbnails/building.md b/extensions/thumbnails/building.md index 4c0c3dac016..0cb8ce3d1e5 100644 --- a/extensions/thumbnails/building.md +++ b/extensions/thumbnails/building.md @@ -2,8 +2,8 @@ title: "Building" date: 2018-05-02T00:00:00+00:00 weight: 30 -geekdocRepo: https://github.com/owncloud/ocis-thumbnails -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/thumbnails geekdocFilePath: building.md --- diff --git a/extensions/thumbnails/getting-started.md b/extensions/thumbnails/getting-started.md index 2bcbd07e45c..e867637775a 100644 --- a/extensions/thumbnails/getting-started.md +++ b/extensions/thumbnails/getting-started.md @@ -2,8 +2,8 @@ title: "Getting Started" date: 2018-05-02T00:00:00+00:00 weight: 20 -geekdocRepo: https://github.com/owncloud/ocis-thumbnails -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/thumbnails geekdocFilePath: getting-started.md --- diff --git a/extensions/thumbnails/grpc.md b/extensions/thumbnails/grpc.md index 27d9c2376c6..868a5dea57e 100644 --- a/extensions/thumbnails/grpc.md +++ b/extensions/thumbnails/grpc.md @@ -2,8 +2,8 @@ title: "GRPC API" date: 2018-05-02T00:00:00+00:00 weight: 50 -geekdocRepo: https://github.com/owncloud/ocis-thumbnails -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/thumbnails geekdocFilePath: grpc.md --- diff --git a/extensions/thumbnails/license.md b/extensions/thumbnails/license.md index 69cda13beb5..8aaf0470208 100644 --- a/extensions/thumbnails/license.md +++ b/extensions/thumbnails/license.md @@ -2,8 +2,8 @@ title: "License" date: 2018-05-02T00:00:00+00:00 weight: 60 -geekdocRepo: https://github.com/owncloud/ocis-thumbnails -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/thumbnails geekdocFilePath: license.md --- diff --git a/extensions/thumbnails/releasing.md b/extensions/thumbnails/releasing.md index b3bc0c19aeb..da0fc028d83 100644 --- a/extensions/thumbnails/releasing.md +++ b/extensions/thumbnails/releasing.md @@ -2,8 +2,8 @@ title: "Releasing" date: 2018-05-02T00:00:00+00:00 weight: 40 -geekdocRepo: https://github.com/owncloud/ocis-thumbnails -geekdocEditPath: edit/master/docs +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/thumbnails geekdocFilePath: releasing.md --- diff --git a/extensions/webdav/configuration.md b/extensions/webdav/configuration.md index 065ecc461d6..9f69f55e7d7 100644 --- a/extensions/webdav/configuration.md +++ b/extensions/webdav/configuration.md @@ -1,6 +1,6 @@ --- title: "Configuration" -date: "2020-10-06T12:37:05+0000" +date: "2020-10-06T13:32:46+0000" weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs/extensions/webdav diff --git a/ocis/_index.md b/ocis/_index.md index bafdc6e27b4..59d02847f3a 100644 --- a/ocis/_index.md +++ b/ocis/_index.md @@ -1,5 +1,5 @@ --- -title: "Infinite Scale" +title: "oCIS" date: 2020-02-27T20:35:00+01:00 weight: -10 geekdocRepo: https://github.com/owncloud/ocis @@ -7,7 +7,19 @@ geekdocEditPath: edit/master/docs geekdocFilePath: _index.md --- -This tool provides a single entrypoint for the whole ownCloud Infinite Scale stack. +{{< figure class="floatright" src="/media/is.png" width="70%" height="auto" >}} + +## ownCloud Infinite Scale + +Welcome to oCIS! We develop a modern file-sync and share plattform, based on our knowledge and experience with the PHP ownCloud server project. + +### oCIS Server + +The oCIS server implementation follows go-lang best practices and is based on the [go-micro](https://go-micro.dev/) framework and [REVA](https://reva.link/). We love and stick to [12 Factor](https://12factor.net/). +oCIS is a micro-service based server, which allows scale-out of individual services to meet your specific performance requirements. +We run a huge test suite, which was originated in ownCloud 10 and continues to grow. + +### Architecture Overview {{< mermaid class="text-center">}} graph TD diff --git a/ocis/building.md b/ocis/building.md deleted file mode 100644 index 29e67ac29a9..00000000000 --- a/ocis/building.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: "Building" -date: 2020-02-27T20:35:00+01:00 -weight: 50 -geekdocRepo: https://github.com/owncloud/ocis -geekdocEditPath: edit/master/docs -geekdocFilePath: building.md ---- - -As this project is built with Go, so you need to install that first. The installation of Go is out of the scope of this document, please follow the official documentation for [Go](https://golang.org/doc/install), to build this project you have to install Go >= v1.13. After the installation of the required tools you need to get the sources: - -{{< highlight txt >}} -git clone https://github.com/owncloud/ocis.git -cd ocis -{{< / highlight >}} - -All required tools besides Go itself and make are bundled or getting automatically installed within the `GOPATH`. All commands to build this project are part of our `Makefile`. To build the `ocis` binary run: - -{{< highlight txt >}} -make generate -make build -{{< / highlight >}} - -Finally, you should have the binary within the `bin/` folder now, give it a try with `./bin/ocis -h` to see all available options. - - -## Simple Ocis fo extonsions example - -Currently, we are using a go build tag to allow building a more simple set of the binary. It was intended to let extension developers focus on only the necessary services. - -{{< hint info >}} -While it the tag based simple build demonstrates how to use ocis as a framework for a micro service architecture, we may change to an approach that uses an explicit command to run only a subset of the services. -{{< / hint >}} - -```console -TAGS=simple make build -``` - -The artifact lives in `/bin/ocis` - -The generated simple ocis binary is a subset of the ocis command with a restricted set of services meant for ease up development. The services included are - -``` -ocis-hello -ocis-phoenix -ocis-konnectd -ocis-glauth -micro's own services -``` diff --git a/ocis/deployment/_index.md b/ocis/deployment/_index.md new file mode 100644 index 00000000000..a09f6ecc9b4 --- /dev/null +++ b/ocis/deployment/_index.md @@ -0,0 +1,29 @@ +--- +title: "Deployment" +date: 2020-10-01T20:35:00+01:00 +weight: -10 +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/deployment +geekdocFilePath: _index.md +--- + +{{< toc >}} + +## Deployments Scenarios and Examples +This section handles deployments and operations for admins. If you are looking for a development setup, start with + +### Setup oCIS +oCIS deployments are super simple, yet there are many configrations possible for advanced setups. + +- Basic setup - download and run +- Pick services and manage them individually +- SSL offloading with Traefik +- Use an external IDP + +### Migrate an existing ownCloud 10 +You can run ownCloud 10 and oCIS together. This allows you to use new parts of oCIS already with ownCloud 10 and also to have a smooth transition for users from ownCloud 10 to oCIS. + +- ownCloud 10 with oCIS IDP +- Switch on the new front end "oCIS web" with ownCloud 10 +- Run ownCloud 10 and oCIS in parallel - together +- Migrate users from ownCloud 10 to oCIS diff --git a/ocis/basic-remote-setup.md b/ocis/deployment/basic-remote-setup.md similarity index 100% rename from ocis/basic-remote-setup.md rename to ocis/deployment/basic-remote-setup.md diff --git a/ocis/bridge.md b/ocis/deployment/bridge.md similarity index 100% rename from ocis/bridge.md rename to ocis/deployment/bridge.md diff --git a/ocis/development/_index.md b/ocis/development/_index.md new file mode 100644 index 00000000000..c67391e50a4 --- /dev/null +++ b/ocis/development/_index.md @@ -0,0 +1,12 @@ +--- +title: "Development" +date: 2020-10-01T20:35:00+01:00 +weight: -12 +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/development +geekdocFilePath: _index.md +--- + +{{< toc >}} + +## Deployments Scenarios and Examples diff --git a/ocis/building-docs.md b/ocis/development/building-docs.md similarity index 66% rename from ocis/building-docs.md rename to ocis/development/building-docs.md index 5167657b161..fbe3b67a942 100644 --- a/ocis/building-docs.md +++ b/ocis/development/building-docs.md @@ -1,14 +1,12 @@ --- -title: "Building the documentation" +title: "Build the documentation" date: 2020-07-27T08:39:38+00:00 weight: 99 geekdocRepo: https://github.com/owncloud/ocis -geekdocEditPath: edit/master/docs +geekdocEditPath: edit/master/docs/development geekdocFilePath: building-docs.md --- -{{< toc >}} - ## Buildling the documentation Following steps can be applied for every oCIS extension repository. @@ -28,9 +26,15 @@ hugo -D server Then open "http://localhost:1313/" -When making changes to the docs, run `make docs` again and the server will pick up the changes and reload the page automatically +When making changes to the docs, run + +```bash +rsync -ax --delete ../docs/ content/ +``` + +in the hugo folder and the server will pick up the changes and reload the page automatically. ### Deploying the documentation -The documentation is automatically deployed from the master branch to https://owncloud.github.io/phoenix/ +The documentation is automatically deployed from the master branch to https://owncloud.github.io diff --git a/ocis/development/building.md b/ocis/development/building.md new file mode 100644 index 00000000000..7177f101f4a --- /dev/null +++ b/ocis/development/building.md @@ -0,0 +1,46 @@ +--- +title: "Build ocis" +date: 2020-02-27T20:35:00+01:00 +weight: 30 +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/development +geekdocFilePath: building.md +--- + +## Build requirements + +All required tools besides `go` and `make` are bundled or getting automatically installed within the `GOPATH`. All commands to build this project are part of our `Makefile`. + +The installation of Go is out of the scope of this document, please follow the official documentation for [Go](https://golang.org/doc/install), to build this project you have to install Go >= v1.13. + +## Get the sources + +{{< highlight txt >}} +git clone https://github.com/owncloud/ocis.git +cd ocis +{{< / highlight >}} + +## Build the ocis binary + +The ocis binary source is in the ocis/ocis folder. In this folder you can build the ocis binary: + +{{< highlight txt >}} +make generate +make build +{{< / highlight >}} + +Finally, you should have the binary within the `bin/` folder now, give it a try with `./bin/ocis -h` to see all available options. + +## Build a local ocis docker image + +If you are developing on a local branch based on docker / docker-compose setup, here is how to build a new ocis image. In the root folder: + +{{< highlight txt >}} +docker build -t owncloud/ocis:dev . +{{< / highlight >}} + +Then you can test as usual via + +{{< highlight txt >}} +docker run --rm -ti owncloud/ocis:dev +{{< / highlight >}} diff --git a/ocis/debugging.md b/ocis/development/debugging.md similarity index 99% rename from ocis/debugging.md rename to ocis/development/debugging.md index 4e443aa272a..94905fd588b 100644 --- a/ocis/debugging.md +++ b/ocis/development/debugging.md @@ -3,7 +3,7 @@ title: "Debugging" date: 2020-03-19T08:21:00+01:00 weight: 50 geekdocRepo: https://github.com/owncloud/ocis -geekdocEditPath: edit/master/docs +geekdocEditPath: edit/master/docs/development geekdocFilePath: debugging.md --- diff --git a/ocis/development.md b/ocis/development/getting-started.md similarity index 96% rename from ocis/development.md rename to ocis/development/getting-started.md index bffe8805280..a52d3142e1e 100644 --- a/ocis/development.md +++ b/ocis/development/getting-started.md @@ -3,8 +3,8 @@ title: "Getting Started with Development" date: 2020-07-07T20:35:00+01:00 weight: 15 geekdocRepo: https://github.com/owncloud/ocis -geekdocEditPath: edit/master/docs -geekdocFilePath: development.md +geekdocEditPath: edit/master/docs/development +geekdocFilePath: getting-started.md --- {{< toc >}} diff --git a/ocis/testing.md b/ocis/development/testing.md similarity index 99% rename from ocis/testing.md rename to ocis/development/testing.md index c19dacc69aa..28337a1324a 100644 --- a/ocis/testing.md +++ b/ocis/development/testing.md @@ -3,7 +3,7 @@ title: "Testing" date: 2018-05-02T00:00:00+00:00 weight: 37 geekdocRepo: https://github.com/owncloud/ocis -geekdocEditPath: edit/master/docs +geekdocEditPath: edit/master/docs/development geekdocFilePath: testing.md --- diff --git a/ocis/tracing.md b/ocis/development/tracing.md similarity index 97% rename from ocis/tracing.md rename to ocis/development/tracing.md index 80b037d262f..39a3ab81d1a 100644 --- a/ocis/tracing.md +++ b/ocis/development/tracing.md @@ -3,7 +3,7 @@ title: "Tracing" date: 2020-05-13T12:09:00+01:00 weight: 55 geekdocRepo: https://github.com/owncloud/ocis -geekdocEditPath: edit/master/docs +geekdocEditPath: edit/master/docs/development geekdocFilePath: tracing.md --- diff --git a/ocis/getting-started.md b/ocis/getting-started.md index 5c241aa7585..fd47222125c 100644 --- a/ocis/getting-started.md +++ b/ocis/getting-started.md @@ -1,7 +1,7 @@ --- title: "Getting Started" date: 2020-02-27T20:35:00+01:00 -weight: 15 +weight: -15 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs geekdocFilePath: getting-started.md