Compare commits
276
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
df8194ed68 | ||
|
|
cd8170ea70 | ||
|
|
cc1c478232 | ||
|
|
4ab95f7f9d | ||
|
|
e981d8bf50 | ||
|
|
ebe1cebd21 | ||
|
|
0bb5736a27 | ||
|
|
6816f2e7f1 | ||
|
|
2f7f4313d9 | ||
|
|
d5a80b10f9 | ||
|
|
1ac5e1cd44 | ||
|
|
7303b4308f | ||
|
|
90d60acd69 | ||
|
|
1eb1e1f0ea | ||
|
|
16537dc5f3 | ||
|
|
741c435059 | ||
|
|
2bf2073c5b | ||
|
|
1742d8e799 | ||
|
|
96ad60888e | ||
|
|
c3af5589eb | ||
|
|
e31f747c65 | ||
|
|
cb4cd3f94b | ||
|
|
3367ac0d0a | ||
|
|
57eb92ea3f | ||
|
|
a3111880bd | ||
|
|
b7383e62d9 | ||
|
|
958ee76bc4 | ||
|
|
81dc053eaf | ||
|
|
9d761061a9 | ||
|
|
fd302af102 | ||
|
|
9f76513e74 | ||
|
|
647d066536 | ||
|
|
4ec7432477 | ||
|
|
ed78ea2b8e | ||
|
|
a6bc397651 | ||
|
|
efb46c343e | ||
|
|
11c6179848 | ||
|
|
de05f5f234 | ||
|
|
3dbb5394e1 | ||
|
|
b6eac26a54 | ||
|
|
8da1421bc5 | ||
|
|
0801d5acac | ||
|
|
1e323243b8 | ||
|
|
a0c8ca10fe | ||
|
|
efd0ce969b | ||
|
|
63571b31ee | ||
|
|
61163c06bf | ||
|
|
e1a4b32fbf | ||
|
|
2ddd7260ee | ||
|
|
7986a7f92e | ||
|
|
8b9d9fc15b | ||
|
|
f31a9d7d3a | ||
|
|
9d0612cd7c | ||
|
|
5b494ea044 | ||
|
|
53dbf927d3 | ||
|
|
bab06d1999 | ||
|
|
4f95871908 | ||
|
|
924208a3f4 | ||
|
|
6377a4eb50 | ||
|
|
a6863d7791 | ||
|
|
f9014fc323 | ||
|
|
4a13a26386 | ||
|
|
e367b9ed46 | ||
|
|
2d16048b1d | ||
|
|
589c73293d | ||
|
|
831d081610 | ||
|
|
13da027204 | ||
|
|
9a96f9c007 | ||
|
|
d0d83ac4d6 | ||
|
|
087a4c3ea7 | ||
|
|
15fdd5e177 | ||
|
|
45fd538e5e | ||
|
|
8e885d4fba | ||
|
|
c7ff06039e | ||
|
|
3c3b40a81a | ||
|
|
369e274520 | ||
|
|
a2520b2518 | ||
|
|
b1635fd0ae | ||
|
|
b401ce26d3 | ||
|
|
f96a5baaed | ||
|
|
534d738e6d | ||
|
|
fe1607040d | ||
|
|
d339a49829 | ||
|
|
80ba5f99ef | ||
|
|
238f438239 | ||
|
|
6e26183f9a | ||
|
|
55b4a58e9b | ||
|
|
d5ea942fa1 | ||
|
|
3f626a6415 | ||
|
|
41a5580bc3 | ||
|
|
b758133681 | ||
|
|
ca30a03262 | ||
|
|
96ce2ea4f6 | ||
|
|
4fcbe35b2f | ||
|
|
080d622eab | ||
|
|
26a4254b0c | ||
|
|
d1383c508b | ||
|
|
ff43660f4f | ||
|
|
fe59671663 | ||
|
|
a6896149c7 | ||
|
|
0f4e724ced | ||
|
|
f377008475 | ||
|
|
925d4d85c1 | ||
|
|
9be9c6c3e2 | ||
|
|
f3ac080f9d | ||
|
|
ece3d79644 | ||
|
|
58a73dfd8c | ||
|
|
e28d46d065 | ||
|
|
230febbb26 | ||
|
|
e6c0b8d729 | ||
|
|
24a0432ff6 | ||
|
|
f1915266c7 | ||
|
|
7dc9b7bfad | ||
|
|
2e63be34e4 | ||
|
|
db33f5ba73 | ||
|
|
6f30167fd3 | ||
|
|
6e6a3c25e1 | ||
|
|
e36890590c | ||
|
|
715555cd7b | ||
|
|
765f56dbdc | ||
|
|
2b2a5dbe16 | ||
|
|
8b00af15cf | ||
|
|
6e3fd31188 | ||
|
|
dfed3a5155 | ||
|
|
3d47cffe9a | ||
|
|
5bd36ffc0c | ||
|
|
5ff55ef35f | ||
|
|
9291f18983 | ||
|
|
9a0a9d167d | ||
|
|
1aa707c926 | ||
|
|
e53596e337 | ||
|
|
cc0c0e484b | ||
|
|
ee53f5cb70 | ||
|
|
a36385ba8a | ||
|
|
3ae8c8d747 | ||
|
|
9574d344ce | ||
|
|
63ec73438e | ||
|
|
79bf060580 | ||
|
|
de7f76e93e | ||
|
|
43c7976dc0 | ||
|
|
36ba67f7d7 | ||
|
|
917ba9012a | ||
|
|
ed441a8648 | ||
|
|
dbf0cbcd9e | ||
|
|
2c64fd5368 | ||
|
|
35c0ed0a91 | ||
|
|
153f5b14cc | ||
|
|
e97af1ac16 | ||
|
|
bce4af5b65 | ||
|
|
a32194232b | ||
|
|
e9ba1212d9 | ||
|
|
8c797a1557 | ||
|
|
a2d81a2986 | ||
|
|
d64ea1fe65 | ||
|
|
8ee1678a94 | ||
|
|
eec0ac3f0e | ||
|
|
f758efbed0 | ||
|
|
434500a768 | ||
|
|
96ce6f006b | ||
|
|
4643c75d27 | ||
|
|
e93f4395ac | ||
|
|
ac9ee0dfe0 | ||
|
|
3e76cd1f8c | ||
|
|
0f59ad068c | ||
|
|
295e69bf98 | ||
|
|
147acf8a09 | ||
|
|
c139eac60e | ||
|
|
35f6b10efa | ||
|
|
5e48944ec4 | ||
|
|
278906b4ec | ||
|
|
e03342938e | ||
|
|
0141d9c872 | ||
|
|
da8639863e | ||
|
|
d1b79067b7 | ||
|
|
c8d3db1aba | ||
|
|
c00d5412a1 | ||
|
|
aecb833c49 | ||
|
|
e15d2dea34 | ||
|
|
bdf61943c2 | ||
|
|
2897475d0a | ||
|
|
7f3694b146 | ||
|
|
2c5904bfe7 | ||
|
|
6e11f2491c | ||
|
|
0a8e34121e | ||
|
|
ee78fc5e12 | ||
|
|
79b0dd9238 | ||
|
|
9aba6fab0f | ||
|
|
142d881a31 | ||
|
|
25e4edb4f9 | ||
|
|
9f971a5727 | ||
|
|
711ce4425c | ||
|
|
29e6e43c22 | ||
|
|
739eab195c | ||
|
|
4adaf9ddd7 | ||
|
|
e1c954ef16 | ||
|
|
fd10ad3bfb | ||
|
|
cda96c97ca | ||
|
|
3c04bf9cce | ||
|
|
b9a83a82c6 | ||
|
|
a48c160d9b | ||
|
|
984625734c | ||
|
|
071db4d533 | ||
|
|
90e5a42fd7 | ||
|
|
153d834119 | ||
|
|
8c957e2ea8 | ||
|
|
528a1842e3 | ||
|
|
d2a191a3c6 | ||
|
|
d5b1614cbe | ||
|
|
35be145b0e | ||
|
|
7b10c54bf0 | ||
|
|
4571cfaad9 | ||
|
|
f122792430 | ||
|
|
2280bd5cb6 | ||
|
|
cafcc99b84 | ||
|
|
dd3614f250 | ||
|
|
07a831ad71 | ||
|
|
920683194e | ||
|
|
2269336416 | ||
|
|
58901af967 | ||
|
|
8ed90c9438 | ||
|
|
538875808a | ||
|
|
3b32b4e845 | ||
|
|
33eb341e5a | ||
|
|
2f256a2609 | ||
|
|
022e6d9745 | ||
|
|
a53f8facf5 | ||
|
|
c27c88ede1 | ||
|
|
02ef78d45d | ||
|
|
1c9acdc8ea | ||
|
|
a56e625fb9 | ||
|
|
a99dad4dac | ||
|
|
5275d2fa83 | ||
|
|
391c194e8b | ||
|
|
2982226b8d | ||
|
|
a98823f7a3 | ||
|
|
d92c86d392 | ||
|
|
91de8ab3db | ||
|
|
4af850ad47 | ||
|
|
3b5ca4f662 | ||
|
|
08b676e6c6 | ||
|
|
01fa1b8b63 | ||
|
|
9571a5aaf2 | ||
|
|
c34f0e2613 | ||
|
|
0ef614fae6 | ||
|
|
ffdc3744b0 | ||
|
|
df1c57a5b6 | ||
|
|
7f3d6246c3 | ||
|
|
8365d6949f | ||
|
|
ca112c7a6d | ||
|
|
d6b15372cb | ||
|
|
3c7ebbf683 | ||
|
|
1c56d2d4cd | ||
|
|
e767155b6d | ||
|
|
a3eb5be6dd | ||
|
|
32989312be | ||
|
|
5fa6e9ebfb | ||
|
|
f9ba86ddbd | ||
|
|
93dc18c331 | ||
|
|
15b91ccf9a | ||
|
|
5e4e7e0bc6 | ||
|
|
2f07b338c6 | ||
|
|
560c7c6528 | ||
|
|
044c6623d4 | ||
|
|
8fadb2f25d | ||
|
|
e969654509 | ||
|
|
380e50aa88 | ||
|
|
0ccb9b2ad0 | ||
|
|
c1c2a35449 | ||
|
|
3c4640c953 | ||
|
|
0ca85415f7 | ||
|
|
ff85df82f6 | ||
|
|
96944f7303 | ||
|
|
d3dc6b53ba | ||
|
|
aba9d5cfc8 | ||
|
|
2a9549cb97 | ||
|
|
ab877939c2 |
No files matched your search
@@ -13,7 +13,7 @@ Before you start reading, if you are interested in:
|
||||
- deployment examples,
|
||||
- detailed settings and more
|
||||
|
||||
we would recommend to continue with the [ownCloud Admin Documentation for Infinite Scale](https://doc.owncloud.com/ocis/latest/).
|
||||
we would recommend to continue with the [ownCloud Admin Documentation for Infinite Scale](https://doc.owncloud.com/ocis/next/).
|
||||
|
||||
## Developer Documentation
|
||||
|
||||
@@ -39,7 +39,7 @@ You can also find all client sources on [GitHub](https://github.com/owncloud/).
|
||||
|
||||
The [server repository](https://github.com/owncloud/ocis) on [GitHub](https://www.github.com) is a good entry point to the oCIS project. In addition to that there are also ownCloud projects for clients for [iOS](https://github.com/owncloud/ios-app), [Android](https://github.com/owncloud/android), the major [Desktop](https://github.com/owncloud/desktop) platforms and [ownCloud Web](https://github.com/owncloud/web).
|
||||
|
||||
To chat about development, join our public chat on [matrix: ownCloud Infinite Scale](https://matrix.to/#/#ocis:matrix.org).
|
||||
To chat about development, [join our public chat](https://talk.owncloud.com/channel/ocis)
|
||||
|
||||
If you want to help and improve ownCloud or oCIS, start coding or open issues on GitHub in the related repository.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.messages.eventhistory.v0"
|
||||
url: /apis/grpc_apis/ocis_messages_eventhistory_v0
|
||||
date: 2026-03-23T00:10:32Z
|
||||
date: 2026-02-16T03:31:03Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.messages.policies.v0"
|
||||
url: /apis/grpc_apis/ocis_messages_policies_v0
|
||||
date: 2026-03-23T00:10:32Z
|
||||
date: 2026-02-16T03:31:03Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.messages.search.v0"
|
||||
url: /apis/grpc_apis/ocis_messages_search_v0
|
||||
date: 2026-03-23T00:10:32Z
|
||||
date: 2026-02-16T03:31:03Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.messages.settings.v0"
|
||||
url: /apis/grpc_apis/ocis_messages_settings_v0
|
||||
date: 2026-03-23T00:10:32Z
|
||||
date: 2026-02-16T03:31:03Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.messages.store.v0"
|
||||
url: /apis/grpc_apis/ocis_messages_store_v0
|
||||
date: 2026-03-23T00:10:32Z
|
||||
date: 2026-02-16T03:31:03Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.messages.thumbnails.v0"
|
||||
url: /apis/grpc_apis/ocis_messages_thumbnails_v0
|
||||
date: 2026-03-23T00:10:32Z
|
||||
date: 2026-02-16T03:31:03Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.services.eventhistory.v0"
|
||||
url: /apis/grpc_apis/ocis_services_eventhistory_v0
|
||||
date: 2026-03-23T00:10:32Z
|
||||
date: 2026-02-16T03:31:03Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.services.policies.v0"
|
||||
url: /apis/grpc_apis/ocis_services_policies_v0
|
||||
date: 2026-03-23T00:10:32Z
|
||||
date: 2026-02-16T03:31:03Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.services.search.v0"
|
||||
url: /apis/grpc_apis/ocis_services_search_v0
|
||||
date: 2026-03-23T00:10:32Z
|
||||
date: 2026-02-16T03:31:03Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.services.settings.v0"
|
||||
url: /apis/grpc_apis/ocis_services_settings_v0
|
||||
date: 2026-03-23T00:10:32Z
|
||||
date: 2026-02-16T03:31:03Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.services.store.v0"
|
||||
url: /apis/grpc_apis/ocis_services_store_v0
|
||||
date: 2026-03-23T00:10:32Z
|
||||
date: 2026-02-16T03:31:03Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.services.thumbnails.v0"
|
||||
url: /apis/grpc_apis/ocis_services_thumbnails_v0
|
||||
date: 2026-03-23T00:10:32Z
|
||||
date: 2026-02-16T03:31:03Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -86,6 +86,7 @@ curl -ks -XPOST https://ocis.test/remote.php/dav/spaces/8d72036d-14a5-490f-889e-
|
||||
< X-Permitted-Cross-Domain-Policies: none
|
||||
< X-Request-Id: xxxxxxxxxxxxxxxxxxxxxx
|
||||
< X-Robots-Tag: none
|
||||
< X-Xss-Protection: 1; mode=block
|
||||
<
|
||||
* Connection #0 to host localhost left intact
|
||||
```
|
||||
@@ -210,6 +211,7 @@ curl -ks -XPOST https://ocis.test/remote.php/dav/spaces/{space-id} \
|
||||
< X-Permitted-Cross-Domain-Policies: none
|
||||
< X-Request-Id: xxxxxxxxxxxxxxxxxxxxxx
|
||||
< X-Robots-Tag: none
|
||||
< X-Xss-Protection: 1; mode=block
|
||||
<
|
||||
* Connection #0 to host localhost left intact
|
||||
```
|
||||
|
||||
@@ -27,9 +27,8 @@ sequenceDiagram
|
||||
Client->>+ocdav: PUT /dav/spaces/{spaceid}/newfile.bin
|
||||
ocdav->>+storageprovider: InitiateFileUpload
|
||||
storageprovider-->>-ocdav: OK, Protocol simple, UploadEndpoint: /data, Token: {jwt}
|
||||
Note right of ocdav: The {jwt} contains the internal actual target, eg.: http://localhost:9158/data/simple/91cc9882-db71-4b37-b694-a522850fcee1
|
||||
ocdav->>+dataprovider: PUT /data
|
||||
Note right of dataprovider: X-Reva-Transfer: {jwt}
|
||||
Note right of ocdav: The {jwt} contains the internal actual target, eg.:<br>http://localhost:9158/data/simple/91cc9882-db71-4b37-b694-a522850fcee1
|
||||
ocdav->>+dataprovider: PUT /data<br>X-Reva-Transfer: {jwt}
|
||||
dataprovider-->>-ocdav: 201 Created
|
||||
ocdav-->>-Client: 201 Created
|
||||
|
||||
@@ -49,18 +48,19 @@ sequenceDiagram
|
||||
participant datagateway
|
||||
participant dataprovider
|
||||
|
||||
Client->>+ocdav: POST /dav/spaces/{spaceid}\nUpload-Metadata: {base64 encoded filename etc}\nTUS-Resumable: 1.0.0
|
||||
|
||||
Client->>+ocdav: POST /dav/spaces/{spaceid}<br>Upload-Metadata: {base64 encoded filename etc}<br>TUS-Resumable: 1.0.0
|
||||
ocdav->>+storageprovider: InitiateFileUpload
|
||||
storageprovider-->>-ocdav: OK, Protocol tus, UploadEndpoint: /data, Token: {jwt}
|
||||
Note right of ocdav: The {jwt} contains the internal actual target, eg.:\nhttp://localhost:9158/data/tus/24d893f5-b942-4bc7-9fb0-28f49f980160
|
||||
ocdav-->>-Client: 201 Created\nLocation: /data/{jwt}\nTUS-Resumable: 1.0.0
|
||||
Note right of ocdav: The {jwt} contains the internal actual target, eg.:<br>http://localhost:9158/data/tus/24d893f5-b942-4bc7-9fb0-28f49f980160
|
||||
ocdav-->>-Client: 201 Created<br>Location: /data/{jwt}<br>TUS-Resumable: 1.0.0
|
||||
|
||||
Client->>+datagateway: PATCH /data/{jwt}\nTUS-Resumable: 1.0.0\nUpload-Offset: 0
|
||||
Client->>+datagateway: PATCH /data/{jwt}<br>TUS-Resumable: 1.0.0<br>Upload-Offset: 0
|
||||
Note over datagateway: unwrap the {jwt} target
|
||||
datagateway->>+dataprovider: PATCH /data/tus/24d893f5-b942-4bc7-9fb0-28f49f980160\nX-Reva-Transfer: {jwt}
|
||||
Note over dataprovider: storage driver\nhandles request
|
||||
dataprovider-->>-datagateway: 204 No Content\nTUS-Resumable: 1.0.0\nUpload-Offset: 363976
|
||||
datagateway-->>-Client: 204 No Content\nTUS-Resumable: 1.0.0\nUpload-Offset: 363976
|
||||
datagateway->>+dataprovider: PATCH /data/tus/24d893f5-b942-4bc7-9fb0-28f49f980160<br>X-Reva-Transfer: {jwt}
|
||||
Note over dataprovider: storage driver<br>handles request
|
||||
dataprovider-->>-datagateway: 204 No Content<br>TUS-Resumable: 1.0.0<br>Upload-Offset: 363976
|
||||
datagateway-->>-Client: 204 No Content<br>TUS-Resumable: 1.0.0<br>Upload-Offset: 363976
|
||||
|
||||
{{</mermaid>}}
|
||||
|
||||
@@ -81,47 +81,35 @@ sequenceDiagram
|
||||
participant datagateway
|
||||
participant dataprovider
|
||||
participant nats
|
||||
participant processing
|
||||
|
||||
Client->>+ocdav: POST /dav/spaces/{spaceid}
|
||||
Note left of Client: Upload-Metadata: {base64 encoded filename etc}\nTUS-Resumable: 1.0.0
|
||||
|
||||
Client->>+ocdav: POST /dav/spaces/{spaceid}<br>Upload-Metadata: {base64 encoded filename etc}<br>TUS-Resumable: 1.0.0
|
||||
ocdav->>+storageprovider: InitiateFileUpload
|
||||
storageprovider-->>-ocdav: OK, Protocol tus, UploadEndpoint: /data, Token: {jwt}
|
||||
Note right of ocdav: The {jwt} contains the internal actual target, eg.: http://localhost:9158/data/tus/24d893f5-b942-4bc7-9fb0-28f49f980160
|
||||
ocdav-->>-Client: 201 Created
|
||||
Note right of Client: Location: /data/{jwt}
|
||||
Note right of Client: TUS-Resumable: 1.0.0
|
||||
Note right of ocdav: The {jwt} contains the internal actual target, eg.:<br>http://localhost:9158/data/tus/24d893f5-b942-4bc7-9fb0-28f49f980160
|
||||
ocdav-->>-Client: 201 Created<br>Location: /data/{jwt}<br>TUS-Resumable: 1.0.0
|
||||
|
||||
Client->>+datagateway: PATCH /data/{jwt}
|
||||
Note right of datagateway: TUS-Resumable: 1.0.0\nUpload-Offset: 0
|
||||
Client->>+datagateway: PATCH /data/{jwt}<br>TUS-Resumable: 1.0.0<br>Upload-Offset: 0
|
||||
|
||||
Note over datagateway: unwrap the {jwt} target
|
||||
datagateway->>+dataprovider: PATCH /data/tus/24d893f5-b942-4bc7-9fb0-28f49f980160
|
||||
Note over dataprovider: X-Reva-Transfer: {jwt}
|
||||
Note over dataprovider: storage driver
|
||||
Note over dataprovider: handles request
|
||||
datagateway->>+dataprovider: PATCH /data/tus/24d893f5-b942-4bc7-9fb0-28f49f980160<br>X-Reva-Transfer: {jwt}
|
||||
Note over dataprovider: storage driver<br>handles request
|
||||
dataprovider-)nats: emit all-bytes-received event
|
||||
nats-)processing: all-bytes-received({uploadid}) event
|
||||
Note over dataprovider: TODO: A lot of time may pass here, we could use the `Prefer: respond-async` header to return early with a 202 Accepted status and a Location header to a websocket endpoint
|
||||
Note over dataprovider: TODO: A lot of time may pass here, we could use<br> the `Prefer: respond-async` header to return early<br>with a 202 Accepted status and a Location header<br>to a websocket endpoint
|
||||
alt success
|
||||
processing-)nats: emit processing-finished({uploadid}) event
|
||||
processing-)nats: emit processing-finished({uploadid}) event
|
||||
nats-)dataprovider: processing-finished({uploadid}) event
|
||||
dataprovider-->>-datagateway: 204 No Content
|
||||
Note over datagateway: TUS-Resumable: 1.0.0\nUpload-Offset: 363976
|
||||
datagateway-->>-Client: 204 No Content
|
||||
Note over Client: TUS-Resumable: 1.0.0\nUpload-Offset: 363976
|
||||
dataprovider-->>-datagateway: 204 No Content<br>TUS-Resumable: 1.0.0<br>Upload-Offset: 363976
|
||||
datagateway-->>-Client: 204 No Content<br>TUS-Resumable: 1.0.0<br>Upload-Offset: 363976
|
||||
else failure
|
||||
activate dataprovider
|
||||
activate datagateway
|
||||
processing-)nats: emit processing-aborted({uploadid}) event
|
||||
nats-)dataprovider: processing-aborted({uploadid}) event
|
||||
Note over dataprovider: FIXME: What HTTP status code should we report?
|
||||
Note over dataprovider: 422 Unprocessable Content is just a proposal
|
||||
Note over dataprovider: see https://httpwg.org/specs/rfc9110.html#status.422
|
||||
dataprovider-->>-datagateway: 422 Unprocessable Content
|
||||
Note over datagateway: TUS-Resumable: 1.0.0\nUpload-Offset: 363976
|
||||
datagateway-->>-Client: 422 Unprocessable Content
|
||||
Note over Client: TUS-Resumable: 1.0.0\nUpload-Offset: 363976
|
||||
Note over dataprovider: FIXME: What HTTP status code should we report?<br>422 Unprocessable Content is just a proposal, see<br>https://httpwg.org/specs/rfc9110.html#status.422
|
||||
dataprovider-->>-datagateway: 422 Unprocessable Content<br>TUS-Resumable: 1.0.0<br>Upload-Offset: 363976
|
||||
datagateway-->>-Client: 422 Unprocessable Content<br>TUS-Resumable: 1.0.0<br>Upload-Offset: 363976
|
||||
end
|
||||
|
||||
{{</mermaid>}}
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
---
|
||||
title: oCIS CLI Commands
|
||||
date: 2025-11-13T00:00:00+00:00
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/cli-commands/
|
||||
geekdocFilePath: _index.md
|
||||
geekdocCollapseSection: true
|
||||
weight: 20
|
||||
---
|
||||
|
||||
{{< toc-tree >}}
|
||||
|
||||
CLI commands can either be embedded in a service or operate independently.
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
---
|
||||
title: Create a New CLI Command
|
||||
date: 2025-11-13T00:00:00+00:00
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/cli-commands/
|
||||
geekdocFilePath: create-new-cli-command.md
|
||||
weight: 20
|
||||
---
|
||||
|
||||
{{< toc >}}
|
||||
|
||||
{{< hint info >}}
|
||||
Existing commands should be checked for commonly used options whenever a new CLI command is created, regardless of whether it is embedded in a service or not. For an example you can see the [Service Independent CLI]({{< ref "./service_independent_cli.md" >}}) documentation.
|
||||
{{< /hint >}}
|
||||
|
||||
## CLI Embedded in a Service
|
||||
|
||||
These commands are usually located in the `<service-name>/pkg/command` subfolder.
|
||||
|
||||
## CLI Independent of a Service
|
||||
|
||||
These commands are located in the `ocis/pkg/command` subfolder.
|
||||
@@ -1,33 +0,0 @@
|
||||
---
|
||||
title: Document CLI Commands
|
||||
date: 2025-11-13T00:00:00+00:00
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/cli-commands/
|
||||
geekdocFilePath: document-cli-commands.md
|
||||
weight: 20
|
||||
---
|
||||
|
||||
{{< toc >}}
|
||||
|
||||
Any CLI command that is added to Infinite Scale must be documented here in the dev docs and the [admin docs](https://doc.owncloud.com/ocis/latest/maintenance/commands/commands.html). Note that the admin docs primarily distinguish between online and offline commands because the structure of the documentation is different. Typically, any command documented in the developer documentation is integrated into the admin documentation and adapted according to the target audience. The description here is for developers; the admin docs are derived from it.
|
||||
|
||||
{{< hint info >}}
|
||||
Note that any CLI command requires documentation. However, it may be decided that a CLI command will not be included in the admin documentation. In such a case, the reasons should be valid.
|
||||
{{< /hint >}}
|
||||
|
||||
## Type of CLI Commands
|
||||
|
||||
There are three types of CLI commands that require different documentation locations:
|
||||
|
||||
1. Commands that are embedded in a service such as:\
|
||||
`ocis storage-users uploads`
|
||||
2. Commands that are service independent such as:\
|
||||
`ocis trash purge-empty-dirs` or `ocis revisions purge`
|
||||
3. `curl` commands that can be one of the above.
|
||||
|
||||
## Rules
|
||||
|
||||
* **Service dependent** CLI commands:\
|
||||
Add any CLI command into the repsective `README.md` **of the service**. Use as "template" an existing one such as in `services/storage-users/README.md` or `services/auth-app/README.md`. The content created will be transferred automatically to the service in the [Services]({{< ref "../services/" >}}) section.
|
||||
* **Service independent** CLI commands:\
|
||||
Add any CLI command into the [Service Independent CLI]({{< ref "./service_independent_cli.md" >}}) documentation. See the link for an example how to do so.
|
||||
@@ -1,41 +0,0 @@
|
||||
---
|
||||
title: Service Dependent CLI
|
||||
date: 2025-11-13T00:00:00+00:00
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/cli-commands/
|
||||
geekdocFilePath: service_dependent_cli.md
|
||||
---
|
||||
|
||||
This document describes ocis CLI commands that are **embedded in a service**.
|
||||
|
||||
{{< toc >}}
|
||||
|
||||
## Common Parameters
|
||||
|
||||
The ocis package offers a variety of CLI commands for monitoring or repairing ocis installations. Most of these commands have common parameters such as:
|
||||
|
||||
* `--help` (or `-h`)\
|
||||
Use to print all available options.
|
||||
|
||||
* `--basePath` (or `-p`)\
|
||||
Needs to point to a storage provider, paths can vary depending on your ocis installation. Example paths are:
|
||||
```bash
|
||||
.ocis/storage/users # bare metal installation
|
||||
/var/tmp/ocis/storage/users # docker installation
|
||||
...
|
||||
```
|
||||
|
||||
* `--dry-run`\
|
||||
This parameter, when available, defaults to `true` and must explicitly set to `false`.
|
||||
|
||||
* `--verbose` (or `-v`)\
|
||||
Get a more verbose output.
|
||||
|
||||
## List of CLI Commands
|
||||
|
||||
For CLI commands that are **embedded in a service**, see the following services:
|
||||
|
||||
* [Auth-App]({{< ref "../services/auth-app/" >}})
|
||||
* [Graph]({{< ref "../services/graph/" >}})
|
||||
* [Postprocessing]({{< ref "../services/postprocessing/" >}})
|
||||
* [Storage-Users]({{< ref "../services/storage-users/" >}})
|
||||
@@ -1,226 +0,0 @@
|
||||
---
|
||||
title: Service Independent CLI
|
||||
date: 2025-11-13T00:00:00+00:00
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/cli-commands/
|
||||
geekdocFilePath: service_independent_cli.md
|
||||
---
|
||||
|
||||
This document describes ocis CLI commands that are **service independent**.
|
||||
|
||||
{{< toc >}}
|
||||
|
||||
For **service dependent** CLI commands, see the following services:
|
||||
|
||||
* [Auth-App]({{< ref "../services/auth-app/" >}})
|
||||
* [Graph]({{< ref "../services/graph/" >}})
|
||||
* [Postprocessing]({{< ref "../services/postprocessing/" >}})
|
||||
* [Storage-Users]({{< ref "../services/storage-users/" >}})
|
||||
|
||||
## Common Parameters
|
||||
|
||||
The ocis package offers a variety of CLI commands for monitoring or repairing ocis installations. Most of these commands have common parameters such as:
|
||||
|
||||
* `--help` (or `-h`)\
|
||||
Use to print all available options.
|
||||
|
||||
* `--basePath` (or `-p`)\
|
||||
Needs to point to a storage provider, paths can vary depending on your ocis installation. Example paths are:
|
||||
```bash
|
||||
.ocis/storage/users # bare metal installation
|
||||
/var/tmp/ocis/storage/users # docker installation
|
||||
...
|
||||
```
|
||||
|
||||
* `--dry-run`\
|
||||
This parameter, when available, defaults to `true` and must explicitly set to `false`.
|
||||
|
||||
* `--verbose` (or `-v`)\
|
||||
Get a more verbose output.
|
||||
|
||||
## List of CLI Commands
|
||||
|
||||
### Backup CLI
|
||||
|
||||
The backup command allows inspecting the consistency of an ocis storage:
|
||||
|
||||
```bash
|
||||
ocis backup consistency -p /base/path/storage/users
|
||||
```
|
||||
|
||||
This will check the consistency of the storage and output a list of inconsistencies. Inconsistencies can be:
|
||||
|
||||
* **Orphaned Blobs**\
|
||||
A blob in the blobstore that is not referenced by any file metadata.
|
||||
* **Missing Blobs**\
|
||||
A blob referenced by file metadata that is not present in the blobstore.
|
||||
* **Missing Nodes**\
|
||||
A node that is referenced by a symlink but doesn't exist.
|
||||
* **Missing Link**\
|
||||
A node that is not referenced by any symlink but should be.
|
||||
* **Missing Files**\
|
||||
A node that is missing essential files (such as the `.mpk` metadata file).
|
||||
* **Missing/Malformed Metadata**\
|
||||
A node that doesn't have any (or malformed) metadata.
|
||||
|
||||
This command provides additional options:
|
||||
|
||||
* `-b` / `--blobstore`\
|
||||
Allows specifying the blobstore to use. Defaults to `ocis`. Empty blobs will not be checked. Can also be switched to `s3ng`, but needs addtional envvar configuration (see the `storage-users` service for more details).
|
||||
* `--fail`\
|
||||
Exits with non-zero exit code if inconsistencies are found. Useful for automation.
|
||||
|
||||
### Cleanup Orphaned Grants
|
||||
|
||||
Detect and optionally delete storage grants that have no corresponding share-manager entry.
|
||||
|
||||
Sharing in ocis relies on two truths. The share manager and the grants. When a share is created, ocis will
|
||||
|
||||
1. Create a grant for the specific file or folder.\
|
||||
This grant is _checked when access to the file is requested_.
|
||||
|
||||
2. Create an entry in the `created.json`/`received.json` files of the specific user.\
|
||||
These files are _checked whenever shares are listed_.
|
||||
|
||||
The process for creating a share is as follows: first, ocis creates the grant, and then adds the share entry. The reverse order is followed when deleting a share. This means that if the second step fails, the grant will still be present. This can be visually confirmed in the webUI. The webUI details of the "share" section will show an error fetching information for orphan grants.
|
||||
|
||||
The following command fixes the problem of orhaned grants.
|
||||
|
||||
Usage:
|
||||
```bash
|
||||
ocis shares clean-orphaned-grants \
|
||||
--service-account-id "<id>" \
|
||||
--service-account-secret "<secret>" \
|
||||
[--force] \
|
||||
[--space-id "<space-opaque-id>"] \
|
||||
[--dry-run=false]
|
||||
```
|
||||
|
||||
Notes:
|
||||
- `--dry-run`\
|
||||
Defaults to `true` (no deletions). Set to `false` to remove orphaned grants.
|
||||
- `--space-id`\
|
||||
Limit the scan to a specific storage space (opaque ID).
|
||||
- `--force`\
|
||||
Force removal of suspected orphans even when listing shares fails.
|
||||
- Public links are not touched.
|
||||
|
||||
### Cleanup Orphaned Shares
|
||||
|
||||
When a shared space or directory got deleted, use the `shares cleanup` command to remove those share orphans. This can't be done automatically at the moment.
|
||||
|
||||
```bash
|
||||
ocis shares cleanup
|
||||
```
|
||||
|
||||
### List Unified Roles
|
||||
|
||||
This command simplifies the process of finding out which UID belongs to which role. The command using markdown as output format is:
|
||||
|
||||
```bash
|
||||
ocis graph list-unified-roles --output-format md
|
||||
```
|
||||
|
||||
The output of this command includes the following information for each role:
|
||||
|
||||
* `Name`\
|
||||
The human readable name of the role.
|
||||
* `UID`\
|
||||
The unique identifier of the role.
|
||||
* `Enabled`\
|
||||
Whether the role is enabled or not.
|
||||
* `Description`\
|
||||
A short description of the role.
|
||||
* `Condition`
|
||||
* `Allowed Resource Actions`
|
||||
|
||||
**Example output (shortned)**
|
||||
|
||||
| # | LABEL | UID | ENABLED | DESCRIPTION | CONDITION | ALLOWED RESOURCE ACTIONS |
|
||||
|:--:|:--------------------------------:|:------------------------------------:|:--------:|:------------------------------------------------------------------------------------:|:---------------------------------------------------------:|:----------------------------------------:|
|
||||
| 1 | Viewer | b1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5 | enabled | View and download. | exists @Resource.File | libre.graph/driveItem/path/read |
|
||||
| | | | | | exists @Resource.Folder | libre.graph/driveItem/quota/read |
|
||||
| | | | | | exists @Resource.File && @Subject.UserType=="Federated" | libre.graph/driveItem/content/read |
|
||||
| | | | | | exists @Resource.Folder && @Subject.UserType=="Federated" | libre.graph/driveItem/children/read |
|
||||
| | | | | | | libre.graph/driveItem/deleted/read |
|
||||
| | | | | | | libre.graph/driveItem/basic/read |
|
||||
| 2 | ViewerListGrants | d5041006-ebb3-4b4a-b6a4-7c180ecfb17d | disabled | View, download and show all invite
|
||||
|
||||
### Move Stuck Uploads
|
||||
|
||||
In some cases of saturated disk usage, Infinite Scale metadata may become stuck. This can occur when file metadata is being moved to its final destination after file operations. This issue was primarily seen with shares, where uploaded files could not be accessed. The required filename parameter aligns with Infinite Scale's internal processes and is used to complete the formerly stuck move action.
|
||||
|
||||
```bash
|
||||
ocis shares move-stuck-upload-blobs [--dry-run=false] -p /base/path/storage/users
|
||||
```
|
||||
|
||||
This command provides additional options:
|
||||
|
||||
* `--dry-run` (default: `true`)\
|
||||
Only print found files stuck in transition.\
|
||||
Note: This is a safety measure. You must specify `--dry-run=false` for the command to be effective.
|
||||
|
||||
* `--filename` value (default: "received.json")\
|
||||
File to move from `uploads/` to share manager metadata `blobs/`
|
||||
|
||||
### Revisions CLI
|
||||
|
||||
The revisions command allows removing the revisions of files in the storage.
|
||||
|
||||
```bash
|
||||
ocis revisions purge -p /base/path/storage/users
|
||||
```
|
||||
|
||||
It takes the `--resource-id` (or `--r`) parameter which specify the scope of the command:
|
||||
|
||||
* An empty string (default) removes all revisions from all spaces.
|
||||
* A spaceID (like `d419032c-65b9-4f4e-b1e4-0c69a946181d\$44b5a63b-540c-4002-a674-0e9c833bbe49`) removes all revisions in that space.
|
||||
* A resourceID (e.g. `d419032c-65b9-4f4e-b1e4-0c69a946181d\$44b5a63b-540c-4002-a674-0e9c833bbe49\!e8a73d49-2e00-4322-9f34-9d7f178577b2`) removes all revisions from that specific file.
|
||||
|
||||
This command provides additional options:
|
||||
|
||||
* `--dry-run` (default: `true`)\
|
||||
Do not remove any revisions but print the revisions that would be removed.
|
||||
* `-b` / `--blobstore`\
|
||||
Allows specifying the blobstore to use. Defaults to `ocis`. Can be switched to `s3ng` but needs addtional envvar configuration (see the `storage-users` service for more details).
|
||||
* `-v` / `--verbose`\
|
||||
Prints additional information about the revisions that are removed.
|
||||
* `--glob-mechanism` (default: `glob`\
|
||||
(advanced) Allows specifying the mechanism to use for globbing. Can be `glob`, `list` or `workers`. In most cases the default `glob` does not need to be changed. If large spaces need to be purged, `list` or `workers` can be used to improve performance at the cost of higher cpu and ram usage. `list` will spawn 10 threads that list folder contents in parallel. `workers` will use a special globbing mechanism and multiple threads to achieve the best performance for the highest cost.
|
||||
|
||||
### Service Health
|
||||
|
||||
The service health CLI command allows checking the health status of a service. If there are no issues found, nothing health related will get printed.
|
||||
|
||||
```bash
|
||||
ocis <service-name> health
|
||||
```
|
||||
|
||||
**Examples**
|
||||
|
||||
* The `collaboration` service has been started but not configured and is therefore not in a healthy state:
|
||||
```bash
|
||||
ocis collaboration health
|
||||
|
||||
The WOPI secret has not been set properly in your config for collaboration. Make sure your /root/.ocis/config config contains the proper values (e.g. by using 'ocis init --diff' and applying the patch or setting a value manually in the config/corresponding environment variable).
|
||||
```
|
||||
|
||||
* The `antivirus` service has not been started, the health check responds accordingly:
|
||||
```bash
|
||||
ocis antivirus health
|
||||
|
||||
{"level":"fatal","service":"antivirus","error":"Get \"http://127.0.0.1:9277/healthz\": dial tcp 127.0.0.1:9277: connect: connection refused","time":"2024-10-28T17:47:54+01:00","message":"Failed to request health check"}
|
||||
```
|
||||
|
||||
### Trash CLI
|
||||
|
||||
The trash cli allows removing empty folders from the trashbin. This should be used to speed up trash bin operations.
|
||||
|
||||
```bash
|
||||
ocis trash purge-empty-dirs -p /base/path/storage/users
|
||||
```
|
||||
|
||||
This command provides additional options:
|
||||
|
||||
* `--dry-run` (default: `true`)\
|
||||
Do not remove any empty folders but print the empty folders that would be removed.
|
||||
+10
-13
@@ -18,30 +18,29 @@ from urllib.request import urlopen
|
||||
## create a branch to prepare the changes
|
||||
|
||||
# CHANGE according your needs
|
||||
# old is the base version to compare from which is always a tagged release
|
||||
# new is the target version to compare to and can be a branch or tagged
|
||||
# tagged versions must be of format: 'tags/v7.1.0'
|
||||
# branches are different, master or stable-x.y: 'heads/master'
|
||||
# stick with master because the follow up process is much easier and you avoid confusion
|
||||
versionOld: str = 'tags/v7.3.0'
|
||||
# old is the base version to compare from
|
||||
# new is the target version to compare to
|
||||
# tagged versions must be of format: 'tags/v6.0.0'
|
||||
# master is different, it must be: 'heads/master'
|
||||
versionOld: str = 'tags/v7.1.0'
|
||||
versionNew: str = 'heads/master'
|
||||
|
||||
# CHANGE according your needs
|
||||
from_version: str = '7.3.0'
|
||||
to_version: str = '8.0.0'
|
||||
from_version: str = '7.1.0'
|
||||
to_version: str = '7.2.0'
|
||||
|
||||
# CHANGE according your needs
|
||||
# this will create files like 5.0.0-7.0.0-added and 5.0.0-7.0.0-removed
|
||||
# this should match which versions you compare. master is ok if that is the base for a named release
|
||||
nameComponent: str = '7.3.0-8.0.0'
|
||||
nameComponent: str = '7.1.0-7.2.0'
|
||||
|
||||
# ADD new elements when a new version has been published so that it gets excluded
|
||||
# array of version patterns to be excluded for added items. we dont need patch versions
|
||||
excludePattern: list[str] = ['pre5.0', '5.0', '6.0', '6.0.0', '6.0.1', '6.1.0', '6.7', '7.0', '7.0.0', '7.1.0', '7.2.0', '7.3.0']
|
||||
excludePattern: list[str] = ['pre5.0', '5.0', '6.0', '6.0.0', '6.0.1', '6.1.0', '6.7', '7.0', '7.0.0', '7.1.0']
|
||||
|
||||
# DO NOT CHANGE
|
||||
# this is the path the added/removed result is written to
|
||||
adocWritePath: str = 'docs/services/general-info/envvars/env-var-deltas'
|
||||
adocWritePath: str = 'docs/services/general-info/env-var-deltas'
|
||||
|
||||
# define root sources from github
|
||||
git_left_dir: str = 'https://raw.githubusercontent.com/owncloud/ocis/refs/'
|
||||
@@ -148,8 +147,6 @@ def create_table(type_text: str, source_dict: set[str], from_version: str, to_ve
|
||||
for key, value in source_dict.items():
|
||||
if key.startswith('OCIS_'):
|
||||
a += add_adoc_line_1(
|
||||
# note that any envvar starting with ocis cant be assigned to a service automatically
|
||||
# the xref must be corrected in the output file manually
|
||||
'xref:deployment/services/env-vars-special-scope.adoc[Special Scope Envvars]',
|
||||
key,
|
||||
value['description'],
|
||||
|
||||
@@ -7,7 +7,6 @@ import (
|
||||
"os/exec"
|
||||
"path"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
"strings"
|
||||
"text/template"
|
||||
)
|
||||
@@ -72,12 +71,6 @@ func runIntermediateCode(intermediateCodePath string) {
|
||||
defaultDataPath := "/var/lib/ocis"
|
||||
os.Setenv("OCIS_BASE_DATA_PATH", defaultDataPath)
|
||||
os.Setenv("OCIS_CONFIG_DIR", defaultConfigPath)
|
||||
|
||||
// Set AUTOMEMLIMIT_EXPERIMENT=system on non-Linux systems to avoid cgroups errors
|
||||
if runtime.GOOS != "linux" {
|
||||
os.Setenv("AUTOMEMLIMIT_EXPERIMENT", "system")
|
||||
}
|
||||
|
||||
out, err := exec.Command("go", "run", intermediateCodePath).CombinedOutput()
|
||||
if err != nil {
|
||||
log.Fatal(string(out), err)
|
||||
|
||||
+159
-499
File diff suppressed because it is too large.
Load diff
+7
-36
@@ -68,23 +68,8 @@ func GetRogueEnvs() {
|
||||
if err := os.Chdir("../../"); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
// Option to process a specific directory, for faster development iteration
|
||||
processDir := os.Getenv("DIR")
|
||||
if processDir == "" {
|
||||
processDir = "."
|
||||
}
|
||||
|
||||
fmt.Printf("Processing directory: %s\n", processDir)
|
||||
|
||||
// Old command `grep -RHn os.Getenv $DIR --exclude-dir=vendor | grep -v extendedEnv.go | grep \\.go`
|
||||
// New command, 10x faster than direct grep:
|
||||
// C_ALL=C - Sets locale to C for consistent output
|
||||
// find %s -type f -name '*.go' - Finds all .go files in the specified directory
|
||||
// xargs -0 -P $(getconf _NPROCESSORS_ONLN) - Processes files in parallel using all available CPU cores
|
||||
// grep -F -Hn 'os.Getenv' - Searches for literal "os.Getenv" with filename and line number output
|
||||
grepCmd := fmt.Sprintf("C_ALL=C find %s -type f -name '*.go' -not -path '*/vendor/*' -print0 | xargs -0 -P $(getconf _NPROCESSORS_ONLN) grep -F -Hn 'os.Getenv' | grep -v extendedEnv.go", processDir)
|
||||
out, err := exec.Command("sh", "-c", grepCmd).Output()
|
||||
fmt.Println("Gathering variable definitions from source")
|
||||
out, err := exec.Command("sh", "-c", "grep -RHn os.Getenv --exclude-dir=vendor | grep -v extendedEnv.go |grep \\.go").Output()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
@@ -92,35 +77,22 @@ func GetRogueEnvs() {
|
||||
|
||||
// find current vars
|
||||
currentVars := make(map[string]Variable)
|
||||
totalLines := len(lines)
|
||||
fmt.Printf("Processing %d lines...\n", totalLines)
|
||||
|
||||
for _, l := range lines {
|
||||
|
||||
if l == "" {
|
||||
continue
|
||||
}
|
||||
|
||||
fmt.Printf("Parsing %s\n", l)
|
||||
r := strings.SplitN(l, ":", 3)
|
||||
if len(r) != 3 || r[0] == "" || r[2] == "" {
|
||||
r := strings.SplitN(l, ":\t", 2)
|
||||
if len(r) != 2 || r[0] == "" || r[1] == "" {
|
||||
continue
|
||||
}
|
||||
|
||||
// Remove ./ prefix from path if it exists
|
||||
path := strings.TrimPrefix(r[0], "./")
|
||||
path = path + ":" + r[1] // Reconstruct path:line
|
||||
content := r[2]
|
||||
|
||||
res := re.FindAllSubmatch([]byte(content), -1)
|
||||
res := re.FindAllSubmatch([]byte(r[1]), -1)
|
||||
if len(res) < 1 {
|
||||
fmt.Printf(" No envvar found in content: %s\n", content)
|
||||
fmt.Printf("Error envvar not matching pattern: %s", r[1])
|
||||
continue
|
||||
}
|
||||
|
||||
for _, m := range res {
|
||||
path := r[0]
|
||||
name := strings.Trim(string(m[1]), "\"")
|
||||
fmt.Printf(" Found envvar: %s at %s\n", name, path)
|
||||
currentVars[path+name] = Variable{
|
||||
RawName: name,
|
||||
Path: path,
|
||||
@@ -130,7 +102,6 @@ func GetRogueEnvs() {
|
||||
}
|
||||
}
|
||||
|
||||
fmt.Printf("Found %d current variables\n", len(currentVars))
|
||||
// adjust existing vars
|
||||
for i, v := range vars.Variables {
|
||||
_, ok := currentVars[v.Path+v.RawName]
|
||||
|
||||
@@ -39,14 +39,6 @@ variables:
|
||||
default_value: ""
|
||||
description: ""
|
||||
do_ignore: true
|
||||
- rawname: GITHUB_TOKEN
|
||||
path: tools/ci-reporter/cmd/list-failed-commits/main.go:116
|
||||
foundincode: true
|
||||
name: GITHUB_TOKEN
|
||||
type: ""
|
||||
default_value: ""
|
||||
description: ""
|
||||
do_ignore: true
|
||||
- rawname: _serverMaxConnectionAgeEnv
|
||||
path: ocis-pkg/service/grpc/keepalive.go:19
|
||||
foundincode: true
|
||||
@@ -143,14 +135,6 @@ variables:
|
||||
Services can have, if available, an individual setting with an own environment
|
||||
variable.
|
||||
do_ignore: false
|
||||
- rawname: OCIS_BASE_DATA_PATH
|
||||
path: ocis/pkg/command/shares.go:50
|
||||
foundincode: true
|
||||
name: OCIS_BASE_DATA_PATH
|
||||
type: ""
|
||||
default_value: ""
|
||||
description: ""
|
||||
do_ignore: true
|
||||
- rawname: OCIS_CONFIG_DIR
|
||||
path: ocis-pkg/config/defaults/paths.go:56
|
||||
foundincode: true
|
||||
@@ -160,15 +144,6 @@ variables:
|
||||
description: The default directory location for config files. See the General Info
|
||||
section in the documentation for more details on defaults.
|
||||
do_ignore: false
|
||||
- rawname: OCIS_INSECURE
|
||||
path: ocis-pkg/service/grpc/client.go:77
|
||||
foundincode: true
|
||||
name: OCIS_INSECURE
|
||||
type: bool
|
||||
default_value: "false"
|
||||
description: Insecure TLS mode is only allowed in development environments with
|
||||
OCIS_INSECURE=true
|
||||
do_ignore: false
|
||||
- rawname: RUN_CMD_TEST
|
||||
path: internal/testenv/test.go:32
|
||||
foundincode: true
|
||||
@@ -186,7 +161,7 @@ variables:
|
||||
description: ""
|
||||
do_ignore: true
|
||||
- rawname: parts[0]
|
||||
path: ocis-pkg/config/envdecode/envdecode.go:396
|
||||
path: ocis-pkg/config/envdecode/envdecode.go:382
|
||||
foundincode: true
|
||||
name: parts[0]
|
||||
type: ""
|
||||
|
||||
@@ -0,0 +1,272 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"reflect"
|
||||
"regexp"
|
||||
"strings"
|
||||
"text/template"
|
||||
"time"
|
||||
"sort"
|
||||
|
||||
{{- range $key, $value := .}}
|
||||
pkg{{$key}} "{{$value}}"
|
||||
{{- end}}
|
||||
)
|
||||
|
||||
// ConfigField is the representation of one configuration field
|
||||
type ConfigField struct {
|
||||
EnvVars []string
|
||||
DefaultValue string
|
||||
IntroductionVersion string
|
||||
Type string
|
||||
Description string
|
||||
VersionInfo string
|
||||
DeprecationLink string
|
||||
}
|
||||
|
||||
// DeprecationField holds information about deprecation
|
||||
type DeprecationField struct {
|
||||
DeprecationVersion string
|
||||
DeprecationInfo string
|
||||
DeprecationReplacement string
|
||||
RemovalVersion string
|
||||
}
|
||||
|
||||
// EnvVar holds information about one envvar
|
||||
type EnvVar struct {
|
||||
Name string
|
||||
IntroductionVersion string
|
||||
DefaultValue string
|
||||
Type string
|
||||
Description string
|
||||
Services []string
|
||||
}
|
||||
|
||||
type templateData struct {
|
||||
ExtensionName string
|
||||
Fields []ConfigField
|
||||
Deprecations []DeprecationField
|
||||
HasDeprecations bool
|
||||
Timestamp string
|
||||
}
|
||||
|
||||
func main() {
|
||||
fmt.Println("Generating adoc documentation for environment variables:")
|
||||
adoc, err := os.ReadFile("../../docs/templates/ADOC.tmpl")
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
dpr, err := os.ReadFile("../../docs/templates/ADOC_deprecation.tmpl")
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
replacer := strings.NewReplacer(
|
||||
"github.com/owncloud/ocis/v2/services/", "",
|
||||
"/pkg/config/defaults", "",
|
||||
)
|
||||
var (
|
||||
fields []ConfigField
|
||||
deprecations []DeprecationField
|
||||
adocFile *os.File
|
||||
dprFile *os.File
|
||||
)
|
||||
adoctpl := template.Must(template.New("").Parse(string(adoc)))
|
||||
dprtpl := template.Must(template.New("").Parse(string(dpr)))
|
||||
|
||||
m := map[string]interface{}{
|
||||
{{- range $key, $value := .}}
|
||||
"{{$value}}": *pkg{{$key}}.FullDefaultConfig(),
|
||||
{{- end }}
|
||||
}
|
||||
|
||||
targetFolder := "../../docs/services/_includes/adoc/"
|
||||
all := make(map[string]EnvVar)
|
||||
for pkg, conf := range m {
|
||||
service := replacer.Replace(pkg)
|
||||
timestamp := time.Now().Format("2006-01-02-15-04-05")
|
||||
fields, deprecations = GetAnnotatedVariables(conf, timestamp)
|
||||
var hasDeprecations bool
|
||||
if len(deprecations) > 0 {
|
||||
hasDeprecations = true
|
||||
}
|
||||
|
||||
for _, f := range fields {
|
||||
for _, e := range f.EnvVars {
|
||||
if env, ok := all[e]; ok {
|
||||
env.Services = append(env.Services, service)
|
||||
sort.Slice(env.Services, func(i, j int) bool {
|
||||
return env.Services[i] < env.Services[j]
|
||||
})
|
||||
all[e] = env
|
||||
} else {
|
||||
all[e] = EnvVar{
|
||||
Name: e,
|
||||
IntroductionVersion: replaceEnvVarPlaceHolder(f.IntroductionVersion),
|
||||
Description: f.Description,
|
||||
Type: f.Type,
|
||||
DefaultValue: f.DefaultValue,
|
||||
Services: []string{service},
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if len(fields) > 0 || len(deprecations) > 0 {
|
||||
fmt.Printf("... %s\n", pkg)
|
||||
td := templateData{
|
||||
ExtensionName: service,
|
||||
Fields: fields,
|
||||
Deprecations: deprecations,
|
||||
HasDeprecations: hasDeprecations,
|
||||
Timestamp: timestamp,
|
||||
}
|
||||
adocFile, err = os.Create(filepath.Join(targetFolder, service + "_configvars.adoc"))
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to create target file: %s", err)
|
||||
}
|
||||
defer adocFile.Close()
|
||||
|
||||
if err := adoctpl.Execute(adocFile, td); err != nil {
|
||||
log.Fatalf("Failed to execute template: %s", err)
|
||||
}
|
||||
|
||||
dprFile, err = os.Create(filepath.Join(targetFolder, service + "_deprecation.adoc"))
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to create target file: %s", err)
|
||||
}
|
||||
defer dprFile.Close()
|
||||
|
||||
if err := dprtpl.Execute(dprFile, td); err != nil {
|
||||
log.Fatalf("Failed to execute template: %s", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// render global env vars
|
||||
tmplValues := make([]map[string]interface{}, 0)
|
||||
for _, env := range all {
|
||||
if len(env.Services) > 1 {
|
||||
tmplValues = append(tmplValues, map[string]interface{}{
|
||||
"Name": env.Name,
|
||||
"IntroductionVersion": replaceEnvVarPlaceHolder(env.IntroductionVersion),
|
||||
"Services": env.Services,
|
||||
"Description": env.Description,
|
||||
"DefaultValue": env.DefaultValue,
|
||||
"Type": env.Type,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
// sort
|
||||
sort.Slice(tmplValues, func(i, j int) bool {
|
||||
return tmplValues[i]["Name"].(string) < tmplValues[j]["Name"].(string)
|
||||
})
|
||||
|
||||
glc, err := os.ReadFile("../../docs/templates/ADOC_global.tmpl")
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
gltpl := template.Must(template.New("").Parse(string(glc)))
|
||||
glfile, err := os.Create(filepath.Join(targetFolder, "global_configvars.adoc"))
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to create target file: %s", err)
|
||||
}
|
||||
|
||||
if err := gltpl.Execute(glfile, tmplValues); err != nil {
|
||||
log.Printf("Failed to execute template: %s", err)
|
||||
}
|
||||
|
||||
fmt.Println("done")
|
||||
}
|
||||
|
||||
func replaceEnvVarPlaceHolder(s string) string {
|
||||
return strings.Replace(
|
||||
s,
|
||||
"%%NEXT_PRODUCTION_VERSION%%",
|
||||
"next-prod",
|
||||
-1,
|
||||
)
|
||||
}
|
||||
|
||||
func GetAnnotatedVariables(s interface{}, timestamp string) ([]ConfigField, []DeprecationField) {
|
||||
t := reflect.TypeOf(s)
|
||||
v := reflect.ValueOf(s)
|
||||
|
||||
var fields []ConfigField
|
||||
var deprecations []DeprecationField
|
||||
for i := 0; i < t.NumField(); i++ {
|
||||
field := t.Field(i)
|
||||
value := v.Field(i)
|
||||
|
||||
switch value.Kind() {
|
||||
default:
|
||||
desc := field.Tag.Get("desc")
|
||||
env, ok := field.Tag.Lookup("env")
|
||||
deprecationLink := ""
|
||||
if !ok {
|
||||
continue
|
||||
}
|
||||
introductionVersion, _ := field.Tag.Lookup("introductionVersion")
|
||||
deprecationVersion, _ := field.Tag.Lookup("deprecationVersion")
|
||||
removalVersion, _ := field.Tag.Lookup("removalVersion")
|
||||
deprecationInfo, _ := field.Tag.Lookup("deprecationInfo")
|
||||
deprecationReplacement, _ := field.Tag.Lookup("deprecationReplacement")
|
||||
if deprecationVersion != "" ||
|
||||
removalVersion != "" ||
|
||||
deprecationInfo != "" ||
|
||||
deprecationReplacement != "" {
|
||||
deprecationLink = fmt.Sprintf("xref:deprecation-note-%s[Deprecation Note]", timestamp)
|
||||
}
|
||||
v := fmt.Sprintf("%v", value.Interface())
|
||||
td := strings.Split(env, ";")
|
||||
// re := regexp.MustCompile(`^(https?:\/\/)`)
|
||||
// v = re.ReplaceAllString(v,"\\$1")
|
||||
re := regexp.MustCompile(`(https?:\/\/)`)
|
||||
desc = re.ReplaceAllString(desc, "\\$1")
|
||||
re = regexp.MustCompile(`(\|)`)
|
||||
v = re.ReplaceAllString(v, "\\$1")
|
||||
typeName := value.Type().Name()
|
||||
if typeName == "" {
|
||||
typeName = value.Type().String()
|
||||
}
|
||||
fields = append(fields,
|
||||
ConfigField{
|
||||
EnvVars: td,
|
||||
IntroductionVersion: replaceEnvVarPlaceHolder(introductionVersion),
|
||||
DefaultValue: v,
|
||||
Description: desc,
|
||||
Type: typeName,
|
||||
DeprecationLink: deprecationLink,
|
||||
})
|
||||
if deprecationLink != "" {
|
||||
deprecations = append(deprecations,
|
||||
DeprecationField{
|
||||
DeprecationVersion: replaceEnvVarPlaceHolder(deprecationVersion),
|
||||
DeprecationInfo: deprecationInfo,
|
||||
DeprecationReplacement: deprecationReplacement,
|
||||
RemovalVersion: replaceEnvVarPlaceHolder(removalVersion),
|
||||
})
|
||||
}
|
||||
case reflect.Ptr:
|
||||
// PolicySelectors in the Proxy are being skipped atm
|
||||
// they are not configurable via env vars, if that changes
|
||||
// they are probably added to the Sanitize() function
|
||||
// and this should not be an issue then
|
||||
if !value.IsZero() && value.Elem().CanInterface() {
|
||||
f, d := GetAnnotatedVariables(value.Elem().Interface(), timestamp)
|
||||
fields = append(fields, f...)
|
||||
deprecations = append(deprecations, d...)
|
||||
}
|
||||
case reflect.Struct:
|
||||
f, d := GetAnnotatedVariables(value.Interface(), timestamp)
|
||||
fields = append(fields, f...)
|
||||
deprecations = append(deprecations, d...)
|
||||
}
|
||||
}
|
||||
return fields, deprecations
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
Added between Version {{ .StartVersion }} and {{ .EndVersion }}.
|
||||
|
||||
| Variable | Description |
|
||||
| --- | --- |
|
||||
{{- range $key, $value := .DeltaFields}}
|
||||
| {{$value.Name}} | {{$value.Description}} |
|
||||
{{- end}}
|
||||
@@ -0,0 +1,7 @@
|
||||
Deprecated between Version {{ .StartVersion }} and {{ .EndVersion }}.
|
||||
|
||||
| Variable | Description | Deprecation Info |
|
||||
| --- | --- |
|
||||
{{- range $key, $value := .DeltaFields}}
|
||||
| {{$value.Name}} | {{$value.Description}} | {{$value.DeprecationInfo}} |
|
||||
{{- end}}
|
||||
@@ -0,0 +1,7 @@
|
||||
Removed between Version {{ .StartVersion }} and {{ .EndVersion }}.
|
||||
|
||||
| Variable | Description | Deprecation Info |
|
||||
| --- | --- |
|
||||
{{- range $key, $value := .DeltaFields}}
|
||||
| {{$value.Name}} | {{$value.Description}} | {{$value.DeprecationInfo}} |
|
||||
{{- end}}
|
||||
@@ -0,0 +1,154 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"gopkg.in/yaml.v2"
|
||||
"html"
|
||||
"reflect"
|
||||
"strings"
|
||||
"log"
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
||||
{{- range $key, $value :=.}}
|
||||
pkg{{$key}} "{{$value}}"
|
||||
{{- end}}
|
||||
)
|
||||
|
||||
const yamlSource = "env_vars.yaml"
|
||||
|
||||
type ConfigField struct {
|
||||
Name string `yaml:"name"`
|
||||
DefaultValue string `yaml:"defaultValue"`
|
||||
Type string `yaml:"type"`
|
||||
Description string `yaml:"description"`
|
||||
IntroductionVersion string `yaml:"introductionVersion"`
|
||||
DeprecationVersion string `yaml:"deprecationVersion"`
|
||||
RemovalVersion string `yaml:"removalVersion"`
|
||||
DeprecationInfo string `yaml:"deprecationInfo"`
|
||||
}
|
||||
|
||||
func main() {
|
||||
fmt.Println("Generating tables for env-var deltas...")
|
||||
curdir, err := os.Getwd()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
fullYamlPath := filepath.Join(curdir, yamlSource)
|
||||
var fields []ConfigField
|
||||
configFields := make(map[string]*ConfigField)
|
||||
fmt.Printf("Reading existing variable definitions from %s\n", fullYamlPath)
|
||||
yfile, err := os.ReadFile(fullYamlPath)
|
||||
if err == nil {
|
||||
err := yaml.Unmarshal(yfile, configFields)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
}
|
||||
m := map[string]interface{}{
|
||||
{{- range $key, $value := .}}
|
||||
"{{$value}}": *pkg{{$key}}.FullDefaultConfig(),
|
||||
{{- end }}
|
||||
}
|
||||
for _, conf := range m {
|
||||
fields = GetAnnotatedVariables(conf)
|
||||
for _, field := range fields {
|
||||
variants := strings.Split(field.Name, ";")
|
||||
for _, variant := range variants {
|
||||
if (configFields[variant] != nil && configFields[variant].Name == "") || configFields[variant] == nil {
|
||||
configFields[variant] = &field
|
||||
} else {
|
||||
fmt.Printf("%v, duplicate key, merging\n", variant)
|
||||
if strings.TrimSpace(configFields[variant].DefaultValue) != "" && configFields[variant].DefaultValue != field.DefaultValue {
|
||||
configFields[variant].DefaultValue = field.DefaultValue
|
||||
}
|
||||
if strings.TrimSpace(configFields[variant].Description) != "" && configFields[variant].Description != field.Description {
|
||||
configFields[variant].Description = field.Description
|
||||
}
|
||||
if strings.TrimSpace(configFields[variant].Type) != "" && configFields[variant].Type != field.Type {
|
||||
configFields[variant].Type = field.Type
|
||||
}
|
||||
if strings.TrimSpace(configFields[variant].IntroductionVersion) != "" && configFields[variant].IntroductionVersion != field.IntroductionVersion {
|
||||
configFields[variant].IntroductionVersion = field.IntroductionVersion
|
||||
}
|
||||
if strings.TrimSpace(configFields[variant].DeprecationVersion) != "" && configFields[variant].DeprecationVersion != field.DeprecationVersion {
|
||||
configFields[variant].DeprecationVersion = field.DeprecationVersion
|
||||
}
|
||||
if strings.TrimSpace(configFields[variant].RemovalVersion) != "" && configFields[variant].RemovalVersion != field.RemovalVersion {
|
||||
configFields[variant].RemovalVersion = field.RemovalVersion
|
||||
}
|
||||
if strings.TrimSpace(configFields[variant].Name) != "" && configFields[variant].Name != field.Name {
|
||||
configFields[variant].Name = field.Name
|
||||
}
|
||||
if strings.TrimSpace(configFields[variant].DeprecationInfo) != "" && configFields[variant].DeprecationInfo != field.DeprecationInfo {
|
||||
// there might be multiple superseeding DeprecationInformations, we might want to keep track of those, that's why we are not overwriting the field
|
||||
configFields[variant].DeprecationInfo = configFields[variant].DeprecationInfo + " | " + field.DeprecationInfo
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
output, err := yaml.Marshal(configFields)
|
||||
if err != nil {
|
||||
log.Fatalf("Could not marshall variables: %v", err)
|
||||
}
|
||||
err = os.WriteFile(fullYamlPath, output, 0666)
|
||||
if err != nil {
|
||||
log.Fatalf("could not write %s", fullYamlPath)
|
||||
}
|
||||
if err := os.Chdir(curdir); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
||||
func GetAnnotatedVariables(s interface{}) []ConfigField {
|
||||
t := reflect.TypeOf(s)
|
||||
v := reflect.ValueOf(s)
|
||||
|
||||
var fields []ConfigField
|
||||
for i := 0; i < t.NumField(); i++ {
|
||||
field := t.Field(i)
|
||||
value := v.Field(i)
|
||||
|
||||
switch value.Kind() {
|
||||
default:
|
||||
desc := field.Tag.Get("desc")
|
||||
env, ok := field.Tag.Lookup("env")
|
||||
if !ok {
|
||||
continue
|
||||
}
|
||||
introductionVersion := field.Tag.Get("introductionVersion")
|
||||
deprecationVersion := field.Tag.Get("deprecationVersion")
|
||||
removalVersion := field.Tag.Get("removalVersion")
|
||||
deprecationInfo := field.Tag.Get("deprecationInfo")
|
||||
v := fmt.Sprintf("%v", value.Interface())
|
||||
typeName := value.Type().Name()
|
||||
if typeName == "" {
|
||||
typeName = value.Type().String()
|
||||
}
|
||||
//fields = append(fields, ConfigField{Name: strings.ReplaceAll(env, ";", "<br/>"), DefaultValue: html.EscapeString(strings.Replace(v, "|", "\\|", -1)), Description: desc, Type: typeName})
|
||||
fields = append(fields, ConfigField{
|
||||
Name: env,
|
||||
DefaultValue: html.EscapeString(strings.Replace(v, "|", "\\|", -1)),
|
||||
Description: desc,
|
||||
Type: typeName,
|
||||
IntroductionVersion: introductionVersion,
|
||||
DeprecationVersion: deprecationVersion,
|
||||
RemovalVersion: removalVersion,
|
||||
DeprecationInfo: deprecationInfo,
|
||||
})
|
||||
case reflect.Ptr:
|
||||
// PolicySelectors in the Proxy are being skipped atm
|
||||
// they are not configurable via env vars, if that changes
|
||||
// they are probably added to the Sanitize() function
|
||||
// and this should not be an issue then
|
||||
if !value.IsZero() && value.Elem().CanInterface() {
|
||||
fields = append(fields, GetAnnotatedVariables(value.Elem().Interface())...)
|
||||
}
|
||||
case reflect.Struct:
|
||||
fields = append(fields, GetAnnotatedVariables(value.Interface())...)
|
||||
}
|
||||
}
|
||||
return fields
|
||||
}
|
||||
@@ -0,0 +1,97 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"html"
|
||||
"log"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"reflect"
|
||||
"strings"
|
||||
"text/template"
|
||||
|
||||
{{- range $key, $value := .}}
|
||||
pkg{{$key}} "{{$value}}"
|
||||
{{- end}})
|
||||
|
||||
type ConfigField struct {
|
||||
Name string
|
||||
DefaultValue string
|
||||
Type string
|
||||
Description string
|
||||
}
|
||||
|
||||
func main() {
|
||||
fmt.Println("Generating documentation for environment variables:")
|
||||
content, err := os.ReadFile("../../docs/templates/CONFIGURATION.tmpl")
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
replacer := strings.NewReplacer(
|
||||
"github.com/owncloud/ocis/v2/services/", "",
|
||||
"/pkg/config/defaults", "",
|
||||
)
|
||||
var fields []ConfigField
|
||||
var targetFile *os.File
|
||||
tpl := template.Must(template.New("").Parse(string(content)))
|
||||
|
||||
m := map[string]interface{}{
|
||||
{{- range $key, $value := .}}
|
||||
"{{$value}}": *pkg{{$key}}.FullDefaultConfig(),
|
||||
{{- end }}
|
||||
}
|
||||
|
||||
targetFolder := "../../docs/services/_includes/"
|
||||
for pkg, conf := range m {
|
||||
fields = GetAnnotatedVariables(conf)
|
||||
if len(fields) > 0 {
|
||||
fmt.Printf("... %s\n", pkg)
|
||||
targetFile, err = os.Create(filepath.Join(targetFolder, replacer.Replace(pkg) + "_configvars.md"))
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to create target file: %s", err)
|
||||
}
|
||||
defer targetFile.Close()
|
||||
if err := tpl.Execute(targetFile, fields); err != nil {
|
||||
log.Fatalf("Failed to execute template: %s", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
fmt.Println("done")
|
||||
}
|
||||
|
||||
func GetAnnotatedVariables(s interface{}) []ConfigField {
|
||||
t := reflect.TypeOf(s)
|
||||
v := reflect.ValueOf(s)
|
||||
|
||||
var fields []ConfigField
|
||||
for i := 0; i < t.NumField(); i++ {
|
||||
field := t.Field(i)
|
||||
value := v.Field(i)
|
||||
|
||||
switch value.Kind() {
|
||||
default:
|
||||
desc := field.Tag.Get("desc")
|
||||
env, ok := field.Tag.Lookup("env")
|
||||
if !ok {
|
||||
continue
|
||||
}
|
||||
v := fmt.Sprintf("%v", value.Interface())
|
||||
typeName := value.Type().Name()
|
||||
if typeName == "" {
|
||||
typeName = value.Type().String()
|
||||
}
|
||||
fields = append(fields, ConfigField{Name: strings.ReplaceAll(env, ";", "<br/>"), DefaultValue: html.EscapeString(strings.Replace(v, "|", "\\|", -1)), Description: desc, Type: typeName})
|
||||
case reflect.Ptr:
|
||||
// PolicySelectors in the Proxy are being skipped atm
|
||||
// they are not configurable via env vars, if that changes
|
||||
// they are probably added to the Sanitize() function
|
||||
// and this should not be an issue then
|
||||
if !value.IsZero() && value.Elem().CanInterface() {
|
||||
fields = append(fields, GetAnnotatedVariables(value.Elem().Interface())...)
|
||||
}
|
||||
case reflect.Struct:
|
||||
fields = append(fields, GetAnnotatedVariables(value.Interface())...)
|
||||
}
|
||||
}
|
||||
return fields
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"gopkg.in/yaml.v2"
|
||||
{{- range $key, $value := .}}
|
||||
pkg{{$key}} "{{$value}}"
|
||||
{{- end}}
|
||||
)
|
||||
|
||||
func main() {
|
||||
replacer := strings.NewReplacer(
|
||||
"github.com/owncloud/ocis/v2/services/", "",
|
||||
"/pkg/config/defaults", "",
|
||||
)
|
||||
cfg := map[string]string{
|
||||
{{- range $key, $value := .}}
|
||||
replacer.Replace("{{$value}}"): func() string {
|
||||
fmt.Println("Generating example YAML config for {{ $value -}}")
|
||||
c := pkg{{$key}}.FullDefaultConfig()
|
||||
yml, err := yaml.Marshal(c)
|
||||
if err != nil {
|
||||
log.Fatalf("Marshalling yaml for pkg0 failed: %s\n", err)
|
||||
}
|
||||
return fmt.Sprintf("# Autogenerated\n# Filename: %s-config-example.yaml\n\n%s", replacer.Replace("{{ $value }}"),string(yml))
|
||||
}(),
|
||||
{{- end}}
|
||||
}
|
||||
for pkg, yml := range cfg {
|
||||
targetFolders := []string{
|
||||
// TODO: comment in when it is clear how to commit this to the structure of the master|main branch
|
||||
// filepath.Join("../../", pkg, "/config"),
|
||||
"../../docs/services/_includes/",
|
||||
}
|
||||
for _, targetFolder := range targetFolders {
|
||||
os.MkdirAll(targetFolder, 0700)
|
||||
targetYamlFile, err := os.Create(filepath.Join(targetFolder, replacer.Replace(pkg) + "-config-example.yaml"))
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to create target file for : %s", err)
|
||||
}
|
||||
defer targetYamlFile.Close()
|
||||
targetYamlFile.WriteString(yml)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
---
|
||||
title: {{ .ServiceName }}
|
||||
date: {{ .CreationTime }}
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/services/{{ .service }}
|
||||
geekdocFilePath: README.md
|
||||
geekdocCollapseSection: true
|
||||
---
|
||||
|
||||
<!-- Do not edit this file, it is autogenerated. Edit the service README.md instead -->
|
||||
|
||||
## Abstract
|
||||
|
||||
{{ .Abstract }}
|
||||
## Table of Contents
|
||||
|
||||
{{ .TocTree }}
|
||||
{{ .Content }}
|
||||
@@ -1,79 +0,0 @@
|
||||
---
|
||||
title: "Documentation"
|
||||
date: 2020-07-27T08:39:38+00:00
|
||||
weight: 8
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/ocis/development
|
||||
geekdocFilePath: build-docs.md
|
||||
---
|
||||
|
||||
{{< toc >}}
|
||||
|
||||
## Overview
|
||||
|
||||
The documentation:
|
||||
|
||||
* Is based on the [HUGO](https://gohugo.io/) framework written in Go. The underlaying language is markdown plus the extensions provided by hugo.
|
||||
* The framwork including the theme used is maintained in the following [repo](https://github.com/owncloud/owncloud.github.io).
|
||||
* The hugo version, currently at `0.129.0` must match the image version defined in the root makefile and the framework repo, defined in `.drone.yml`.\
|
||||
{{< hint info >}}
|
||||
* Building the theme is part of the loaded framework while building the documentation is done using a separate container.
|
||||
|
||||
* Any intended upgrade of the hugo version implies a check if the theme builds correctly and must be applied to all doc sourcing repos. On errors, stick on the current hugo version or update the theme accordingly!
|
||||
{{< /hint >}}
|
||||
|
||||
* The documentation sources are distributed over several repos such as `ocis`, `web` and others. When building, these sources act individually and only those sources are build and pushed to the web that come from the respective repo. The definition what is going where is defined in the [framework repo](https://github.com/owncloud/owncloud.github.io/blob/main/.batchfile). This means, each merge of a docs change in one of the sourcing repos only pushes that change to the site. There is no global build process and inter doc links must be treated therefore very carefully !
|
||||
|
||||
* The documentation setup is, with only a few exceptions, identical for both the `ocis` and the `web` repo. This means, for example, running commands locally are the same, the documentation process section below applies for both; only drone uses some specifics.
|
||||
|
||||
* {{< hint info >}}
|
||||
Any files or folders that need to be excluded from the build process must be defined in the referenced framework repository above, in the file `config.yaml`.
|
||||
{{< /hint >}}
|
||||
|
||||
## Documentation Process
|
||||
|
||||
When building the ocis documentation, the process differes slightly when building locally or when merging. Though both processes generate they docs, the end up in different locations.
|
||||
|
||||
* **General**\
|
||||
Beside building docs, some additional files/folders will be copied required for the process, see the makefile for details.
|
||||
|
||||
* **Locally**\
|
||||
The rendered build stays in the branch that is currently active and is NOT part of a git change, though additional changed files show up and may need to be committed. The build can be viewed normally, for details see below.
|
||||
|
||||
* **Merge**\
|
||||
When a docs PR gets merged, the content of the `docs/` folder gets "copied". For master the target is the `docs` branch or a respective `docs-stable-` branch otherwise. The latter must be configured on new stable versions. The docs branch is the source of truth for the developer documentation.
|
||||
|
||||
## Building the Documentation
|
||||
|
||||
{{< hint info >}}
|
||||
* For building the documentation locally, you need to have `make`, `docker` and `go` installed.\
|
||||
See the [oCIS README](https://github.com/owncloud/ocis/#use-the-ocis-repo-as-source) for more details and minimum versions required.
|
||||
* Regulary, at least once after cloning, branching or rebasing, run `make generate` to update the assets. This ensures that all data that is accessed by the docs build process is up-to-date.
|
||||
* Run the make commands from the oCIS root, the makefile contains all required targets.\
|
||||
Use `make help` for more details.
|
||||
{{< /hint >}}
|
||||
|
||||
* **For any changes**, you must fully build the documentation first to preview it.\
|
||||
For ease of working, open two terminals and change to the oCIS root. The terminals are numberd as (1) and (2).
|
||||
* At first start, from any terminal, run `sudo make docs-clean` to have a clean build environment.\
|
||||
sudo is required for deletion, because files generated by hugo, which runs in a container, are created by root.
|
||||
* Do all the doc changes required in the docs repository.
|
||||
* Run (1) `make docs-local`. This will run all steps locally as drone would do but without branch copying or pushing to the web. When omitting this step and just serving content, the documentation might build locally but may fail when creating a PR.
|
||||
* Run (2) `make docs-serve` to serve the documentation. You can now view the built result in the browser.
|
||||
* On any more changes made, run (1) `make docs-copy`. The changes will be built on the fly via the running docs-serve command.
|
||||
|
||||
* **To preview the documentation locally** without changing content, run the following commands in order.\
|
||||
This builds the documentation without artifacts and makes it available on [localhost:1313](http://localhost:1313).
|
||||
* `sudo make docs-clean`
|
||||
* `make docs-local`
|
||||
* `make docs-serve`
|
||||
|
||||
## Remarks
|
||||
|
||||
{{< hint info >}}
|
||||
Note that you may get files changed reported like `env_vars.yaml` by just running the make docs commands. You can discard any of these as they come from an internal helper process step necessary. To take care on those changed files, see the [Environment Variables]({{< ref "../services/general-info/envvars/" >}}) documentation.
|
||||
{{< /hint >}}
|
||||
|
||||
Please keep this documentation in sync with the oCIS source code of the master branch.
|
||||
|
||||
Changes on the documentation are automatically applied to [this site]({{< ref "../" >}}) when merged to the master branch.
|
||||
@@ -0,0 +1,26 @@
|
||||
---
|
||||
title: "Documentation"
|
||||
date: 2020-07-27T08:39:38+00:00
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/ocis/development
|
||||
geekdocFilePath: build-docs.md
|
||||
---
|
||||
|
||||
{{< toc >}}
|
||||
|
||||
## Build the documentation
|
||||
|
||||
{{< hint info >}}
|
||||
For building the documentation you need to have Make and Go 1.14 or higher installed.
|
||||
{{< /hint >}}
|
||||
|
||||
Just run `make -C docs docs-serve` from within the root level of the oCIS git repository. This will make documentation available on [localhost:1313](http://localhost:1313) and also do a hot reload if you change something in the (non autogenerated) documentation files.
|
||||
|
||||
Note that you may get files changed reported like `env_vars.yaml` by just running the make command. You can discard any of these as they come from an internal helper process step necessary. To take care on those changed files, see the [Docs Helpers](https://github.com/owncloud/ocis/tree/master/docs/helpers) readme.
|
||||
|
||||
## Add changes to the documentation
|
||||
|
||||
Please keep this documentation in sync with the oCIS source code.
|
||||
|
||||
Changes on the documentation are automatically applied to [this site]({{< ref "../" >}}) when merged to the master branch.
|
||||
+10
-14
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 'Acceptance Testing'
|
||||
date: 2026-03-18T00:00:00+00:00
|
||||
title: "Acceptance Testing"
|
||||
date: 2018-05-02T00:00:00+00:00
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/ocis/development
|
||||
@@ -428,7 +428,7 @@ Test suites that are tagged with `@antivirus` require antivirus service. The ava
|
||||
|
||||
#### 1. Setup Locally
|
||||
|
||||
##### Linux OS User
|
||||
##### Linux OS user
|
||||
|
||||
Run the following command to set up calmAV and clamAV daemon
|
||||
|
||||
@@ -446,7 +446,7 @@ sudo service clamav-daemon status
|
||||
The commands are ubuntu specific and may differ according to your system. You can find information related to installation of clamAV in their official documentation [here](https://docs.clamav.net/manual/Installing/Packages.html).
|
||||
{{< /hint>}}
|
||||
|
||||
##### Mac OS User
|
||||
##### Mac OS user
|
||||
|
||||
Install ClamAV using [here](https://gist.github.com/mendozao/3ea393b91f23a813650baab9964425b9)
|
||||
Start ClamAV daemon
|
||||
@@ -457,7 +457,7 @@ Start ClamAV daemon
|
||||
|
||||
#### 2. Setup clamAV With Docker
|
||||
|
||||
##### Linux OS User
|
||||
##### Linux OS user
|
||||
|
||||
Run `clamAV` through docker
|
||||
|
||||
@@ -465,7 +465,7 @@ Run `clamAV` through docker
|
||||
docker run -d -p 3310:3310 owncloudci/clamavd
|
||||
```
|
||||
|
||||
##### Mac OS User
|
||||
##### Mac OS user
|
||||
|
||||
```bash
|
||||
docker run -d -p 3310:3310 -v /your/local/filesystem/path/to/clamav/:/var/lib/clamav mkodockx/docker-clamav:alpine
|
||||
@@ -532,7 +532,7 @@ WEB_UI_CONFIG_FILE="tests/config/local/ocis-web.json" \
|
||||
ocis/bin/ocis server
|
||||
```
|
||||
|
||||
The first oCIS instance should be available at: <https://localhost:9200/>
|
||||
The first oCIS instance should be available at: https://localhost:9200/
|
||||
|
||||
### Setup Second oCIS Instance
|
||||
|
||||
@@ -542,7 +542,7 @@ You can run the second oCIS instance in two ways:
|
||||
|
||||
From the `Run and Debug` panel of VSCode, select `Fed oCIS Server` and start the debugger.
|
||||
|
||||
#### Using env File
|
||||
#### Using env file
|
||||
|
||||
```bash
|
||||
# init oCIS
|
||||
@@ -552,7 +552,7 @@ source tests/config/local/.env-federation && ocis/bin/ocis init
|
||||
ocis/bin/ocis server
|
||||
```
|
||||
|
||||
The second oCIS instance should be available at: <https://localhost:10200/>
|
||||
The second oCIS instance should be available at: https://localhost:10200/
|
||||
|
||||
{{< hint info >}}
|
||||
To enable ocm in the web interface, you need to set the following envs:
|
||||
@@ -589,10 +589,6 @@ The sample `fontsMap.json` file is located in `tests/config/drone/fontsMap.json`
|
||||
}
|
||||
```
|
||||
|
||||
## Running Test on Helm Setup
|
||||
|
||||
Refer to the [Running API Tests in Kubernetes Cluster](../../../tests/config/k8s/README.md) documentation for running tests against a K8s setup.
|
||||
|
||||
## Generating Code Coverage Report by Running Acceptance Tests
|
||||
|
||||
To find out what oCIS code is covered by the API tests, first create a debug build of oCIS.
|
||||
@@ -627,4 +623,4 @@ You can also view the report in a web UI using the following command.
|
||||
go tool cover -html=cov.txt
|
||||
```
|
||||
|
||||
This command should open a browser with the code report.
|
||||
This command should open a browser with the code report.
|
||||
@@ -1,434 +0,0 @@
|
||||
---
|
||||
title: "Building oCIS Web Extensions with AI-Assisted Development"
|
||||
date: 2026-01-21T16:00:00+02:00
|
||||
weight: 9
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/ocis/guides
|
||||
geekdocFilePath: ai_assisted_dev.md
|
||||
geekdocCollapseSection: true
|
||||
---
|
||||
|
||||
{{< toc >}}
|
||||
|
||||
## Introduction
|
||||
|
||||
This guide demonstrates how to build Infinite Scale (oCIS) web extensions using AI-assisted development (sometimes called "vibe coding") with Claude AI. By following this approach, review-ready extensions can be created without writing code manually—the AI handles syntax, boilerplate, and implementation while the developer focuses on architecture and user experience.
|
||||
|
||||
**What you'll learn:**
|
||||
- Setting up MCP connectors so Claude can access your server
|
||||
- Using Claude to install development tools and manage your environment
|
||||
- The five-phase workflow for AI-assisted extension development
|
||||
- Practical tips for supervising AI-generated code
|
||||
- How to contribute extensions back to the oCIS community
|
||||
|
||||
**Time investment:** ~10-14 hours per extension (concept to review-ready)
|
||||
|
||||
**Cost:** ~$100 USD for two extensions (using the Claude Max subscription)
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Before starting, ensure you have the following:
|
||||
|
||||
- A running oCIS instance, see the [Admin Docs](https://doc.owncloud.com/ocis/latest/depl-examples/ubuntu-compose/ubuntu-compose-prod.html) for a deployment example
|
||||
- [Claude Max subscription](https://claude.com/pricing/max) (starts with $100 US/month at the time of writing, other plans availabe)
|
||||
- SSH access to your server (for MCP connectivity)
|
||||
- Full root access to the server unless Claude Code, Claude MCP connector, oCIS and other tools all run as another user
|
||||
|
||||
That's it. Claude will help install everything else.
|
||||
|
||||
## Step 1: Configure MCP Connector
|
||||
|
||||
{{< hint type=important title="This Is the Hardest Part" >}}
|
||||
Setting up the MCP connector is the most challenging step. Once this is done, Claude handles everything else—including installing development tools, managing git, and building extensions.
|
||||
{{< /hint >}}
|
||||
|
||||
MCP (Model Context Protocol) allows Claude to connect directly to a server, enabling both the Claude web interface and Claude Code to access files, run commands, and debug oCIS deployments.
|
||||
|
||||
### Installation
|
||||
|
||||
Follow the official MCP documentation to set up a connector:
|
||||
|
||||
- **[MCP Quickstart Guide](https://modelcontextprotocol.io/quickstart)**
|
||||
- **[Connect to Local Servers](https://modelcontextprotocol.io/docs/develop/connect-local-servers)**
|
||||
- **[Claude Desktop MCP Setup](https://support.claude.com/en/articles/10949351-getting-started-with-local-mcp-servers-on-claude-desktop)**
|
||||
|
||||
### Verify Connection
|
||||
|
||||
Once configured, verify Claude can access the server by asking:
|
||||
|
||||
```text
|
||||
Can you list the contents of /home on my server?
|
||||
```
|
||||
|
||||
If Claude successfully lists directories, proceed to the next step.
|
||||
|
||||
## Step 2: Let Claude Set Up Your Environment
|
||||
|
||||
With MCP connected, Claude can install the development tools needed. Simply ask:
|
||||
|
||||
```text
|
||||
Please install Claude Code and Git on my server. I'll need these for
|
||||
developing an oCIS web extension.
|
||||
```
|
||||
|
||||
Claude will:
|
||||
- Detect the operating system
|
||||
- Install Claude Code using the appropriate method
|
||||
- Install Git if not already present
|
||||
- Configure any necessary paths or permissions
|
||||
|
||||
## The Five-Phase Workflow
|
||||
|
||||
This workflow has been refined over several projects and consistently produces review-ready code.
|
||||
|
||||
### Phase 1: Architecture (~15-30 minutes)
|
||||
|
||||
Start in the Claude web interface (not Claude Code). Describe the project and have a conversation:
|
||||
|
||||
```text
|
||||
I want to build an oCIS web extension that displays photos in a timeline
|
||||
grouped by their EXIF capture date. It should have infinite scroll starting
|
||||
from today and going backwards, show camera metadata when you click on a photo,
|
||||
and include an interactive map view showing where photos were taken.
|
||||
|
||||
What questions do you have about the requirements?
|
||||
```
|
||||
|
||||
Claude will ask clarifying questions about scope, user experience, and technical constraints. This back-and-forth shapes the architecture before any code is written.
|
||||
|
||||
### Phase 2: Deep Research (~30 minutes)
|
||||
|
||||
Ask Claude to research the existing oCIS architecture:
|
||||
|
||||
```text
|
||||
Please research how oCIS web extensions work. I need to understand:
|
||||
- The extension manifest format
|
||||
- How extensions integrate with the oCIS web UI
|
||||
- What APIs are available (Graph API, WebDAV, etc.)
|
||||
- How existing extensions like json-viewer are structured
|
||||
- The AMD module format requirements
|
||||
|
||||
Examine the oCIS documentation and existing extensions to synthesise
|
||||
a technical approach for my photo gallery extension.
|
||||
```
|
||||
|
||||
Claude reads documentation, examines code patterns, and produces an architectural plan.
|
||||
|
||||
### Phase 3: Scaffolding (~15 minutes)
|
||||
|
||||
Ask Claude to create the project structure on the server:
|
||||
|
||||
```text
|
||||
Please create the project structure for my photo-addon extension:
|
||||
- Git repository initialised
|
||||
- Build configuration (Vite with AMD output)
|
||||
- TypeScript configuration
|
||||
- manifest.json for oCIS
|
||||
- Basic Vue 3 component structure
|
||||
- A starter CLAUDE.md file documenting the project for future sessions
|
||||
```
|
||||
|
||||
By the end of this phase, a working (empty) extension exists.
|
||||
|
||||
### Phase 4: Implementation (~5-6 hours)
|
||||
|
||||
Login to the server and change to the folder where the new project was created, then run:
|
||||
|
||||
```text
|
||||
claude "Please review the CLAUDE.md project file, build the web extension,
|
||||
and deploy it to our server. Install and configure any dependencies required.
|
||||
Use 'sudo' where needed to modify or configure the oCIS environment."
|
||||
```
|
||||
Once complete, work through features incrementally. Example prompts:
|
||||
|
||||
**Feature requests:**
|
||||
|
||||
```text
|
||||
Please adjust the logic to start by searching for today's date (unless
|
||||
overwritten by the dropdowns at the top), then display them on the screen.
|
||||
If the images don't fill the screen, load up another day, until the screen
|
||||
is filled plus some buffer. Then when I scroll, bring in more images.
|
||||
```
|
||||
|
||||
```text
|
||||
In the map view, when I hover over a dot, the thumbnail shows up above
|
||||
off the screen. Can you fix the positioning?
|
||||
```
|
||||
|
||||
**Bug fixes:**
|
||||
|
||||
```text
|
||||
I'm seeing this error in the console:
|
||||
[paste error here]
|
||||
|
||||
Can you investigate and fix it?
|
||||
```
|
||||
|
||||
### Phase 5: Polish (~3 hours)
|
||||
|
||||
Once core features work, request comprehensive cleanup:
|
||||
|
||||
**Performance optimisation:**
|
||||
|
||||
```text
|
||||
Are there any performance improvements that we can make?
|
||||
```
|
||||
|
||||
**Bug hunting:**
|
||||
|
||||
```text
|
||||
Are there any memory leaks or bugs that can be found?
|
||||
```
|
||||
|
||||
**Code quality:**
|
||||
|
||||
```text
|
||||
Are there any inefficiencies we can improve on? Unused variables?
|
||||
Duplicate functions? Excessive if statements? Overwriting CSS styles?
|
||||
Overly complex logic?
|
||||
```
|
||||
|
||||
**Error handling:**
|
||||
|
||||
```text
|
||||
Are there any error handling gaps or functions that may fall through
|
||||
without handling all scenarios?
|
||||
```
|
||||
|
||||
**Documentation:**
|
||||
|
||||
```text
|
||||
Are there any missing comments? Or complex code that could use
|
||||
clear documentation?
|
||||
```
|
||||
|
||||
**Internationalisation:**
|
||||
|
||||
```text
|
||||
Are there any visible text strings that are not yet set up for translation?
|
||||
```
|
||||
|
||||
**Comprehensive cleanup:**
|
||||
|
||||
```text
|
||||
Pulling from the backlog list, can you do a good code refactor to simplify,
|
||||
add all required unit tests, and add i18n support, then commit and push the
|
||||
code with the right comments.
|
||||
```
|
||||
|
||||
## Active Supervision
|
||||
|
||||
{{< hint type=warning title="This is NOT 'Set It and Forget It'" >}}
|
||||
While no coding is required, this approach demands active supervision. Developers cannot simply give Claude a prompt and walk away.
|
||||
{{< /hint >}}
|
||||
|
||||
### When to Intervene
|
||||
|
||||
There are times when Claude Code may:
|
||||
- Deviate from requirements (with good intentions)
|
||||
- Undo something it had just done
|
||||
- Go down a path that doesn't match the architecture
|
||||
|
||||
The decisions are always logical, but sometimes the harder path is required. Expect to intervene and redirect approximately ~5% of the time.
|
||||
|
||||
**Watch for:**
|
||||
- Changes that don't match architectural decisions
|
||||
- Unnecessary complexity being added
|
||||
- Repeated undo/redo cycles
|
||||
- Deviation from oCIS extension patterns
|
||||
|
||||
### Code Cleanup Is Essential
|
||||
|
||||
AI-generated code works, but it can accumulate:
|
||||
- Redundant logic
|
||||
- Unused variables
|
||||
- Overly complex conditionals
|
||||
- Duplicate CSS styles
|
||||
- Missing good practice for the orders of directives
|
||||
- Missing the definition of required interactive handlers
|
||||
|
||||
When submitting a pull request (PR), issues highlighted during CI steps, such as linting, can be resolved by explicitly asking for code refactoring and optimisation.
|
||||
|
||||
### UI Testing Is Manual
|
||||
|
||||
The AI can write unit tests, but exploratory testing requires human judgment:
|
||||
- Click around the interface
|
||||
- Try unexpected inputs
|
||||
- Test with different user accounts (search in oCIS is space-scoped!)
|
||||
- Check mobile layouts
|
||||
- Look for edge cases
|
||||
|
||||
## Debugging Techniques
|
||||
|
||||
When issues arise, these techniques help Claude understand and fix problems:
|
||||
|
||||
### Console Output
|
||||
|
||||
Open Chrome DevTools, copy console errors, and paste into Claude:
|
||||
|
||||
```text
|
||||
I'm seeing this error in the console:
|
||||
[paste error here]
|
||||
|
||||
Can you investigate and fix it?
|
||||
```
|
||||
|
||||
### HAR Files
|
||||
|
||||
For performance issues, export HAR files (network traffic captures):
|
||||
|
||||
1. Open DevTools > Network tab
|
||||
2. Reproduce the issue
|
||||
3. Right-click > Save all as HAR
|
||||
4. Share the HAR file with Claude for analysis
|
||||
|
||||
### HTML/CSS Inspection
|
||||
|
||||
Copy specific HTML/CSS snippets from DevTools:
|
||||
|
||||
```text
|
||||
The thumbnail hover popup is positioned incorrectly. Here's the current
|
||||
CSS and HTML structure:
|
||||
[paste code here]
|
||||
|
||||
Can you fix the positioning so the popup appears above the cursor
|
||||
but stays within the viewport?
|
||||
```
|
||||
|
||||
{{< hint type=tip title="Chrome Extension Limitations" >}}
|
||||
Claude has a Chrome extension, but it may be limited for this use case. Manually copying console output and HTML/CSS snippets into Claude is often more effective.
|
||||
{{< /hint >}}
|
||||
|
||||
## Example Web Extensions Built with This Approach
|
||||
|
||||
### Photo Gallery Extension (web-app-photo-addon)
|
||||
|
||||
Features:
|
||||
- **Timeline View**: Photos grouped by EXIF capture date with infinite scroll
|
||||
- **Pinch-to-zoom calendar**: Navigate between day, month, and year views
|
||||
- **EXIF Metadata Panel**: Camera make/model, aperture, ISO, focal length
|
||||
- **Map View**: Interactive Leaflet map with marker clustering
|
||||
- **Lightbox**: Full-screen viewer with keyboard navigation
|
||||
|
||||
Tech stack: Vue 3 Composition API, TypeScript, Leaflet.js, AMD module format
|
||||
|
||||
### Advanced Search Extension (web-app-advanced-search)
|
||||
|
||||
Features:
|
||||
- **Photo Metadata Filters**: Search by camera, date range, aperture, ISO
|
||||
- **Filter Chips**: Visual indicators with one-click removal
|
||||
- **Search Saving**: Save and retrieve search queries
|
||||
- **KQL Search**: Direct advanced query editing
|
||||
- **Index Statistics**: View indexing status and configuration
|
||||
|
||||
### Backend Changes in oCIS
|
||||
|
||||
To enable photo metadata search, changes were contributed to oCIS core:
|
||||
- Photo field mappings in the KQL parser
|
||||
- `Store=true` configuration in Bleve for field retrieval
|
||||
- WebDAV properties for photo metadata
|
||||
|
||||
This was the trickiest part—understanding why searches returned empty results. The answer: Bleve was indexing fields but not storing them for retrieval.
|
||||
|
||||
## Tips for oCIS Development
|
||||
|
||||
### 1. Start with Conversation, Then Architecture
|
||||
|
||||
Don't jump straight into implementation. Spend ~30-60 minutes in regular chat, discussing the problem space and having Claude research the codebase. Those early conversations shape the architecture that makes implementation smooth.
|
||||
|
||||
### 2. Work Incrementally
|
||||
|
||||
Ask for one feature at a time. Get it working, then move to the next. This creates natural checkpoints and makes debugging much easier.
|
||||
|
||||
### 3. Use Browser DevTools Liberally
|
||||
|
||||
Console errors, network requests, and performance profiles are incredibly valuable context. Copy and paste them into AI conversations.
|
||||
|
||||
### 4. Understand oCIS Extension Requirements
|
||||
|
||||
Extensions must:
|
||||
- Use CJS module format (not ES modules)
|
||||
- Have a proper `manifest.json`
|
||||
- Use the oCIS web SDK for API access
|
||||
|
||||
Claude learns these constraints during the research phase and applies them consistently.
|
||||
|
||||
### 5. Test with Multiple Accounts
|
||||
|
||||
Search in oCIS is space-scoped. What works for an admin account might not work for regular users.
|
||||
|
||||
### 6. Read Maintainer Feedback Carefully
|
||||
|
||||
PR reviews teach things no documentation mentions. The oCIS team's suggestions can significantly improve code quality.
|
||||
|
||||
## Contributing to oCIS or web-extensions
|
||||
|
||||
Once a web-extension is ready, Claude can handle the entire contribution workflow:
|
||||
|
||||
- Install and configure Git
|
||||
- Create forks of the oCIS repositories
|
||||
- Create feature branches
|
||||
- Generate commits with appropriate messages
|
||||
- Push changes to GitHub
|
||||
- Create pull requests with descriptions and screenshots
|
||||
|
||||
Example prompts:
|
||||
|
||||
```text
|
||||
Please fork the owncloud/web-extensions repository to my GitHub account
|
||||
and clone it to my server.
|
||||
```
|
||||
|
||||
```text
|
||||
Create a new branch called feat/web-app-photo-addon and commit our
|
||||
extension with an appropriate commit message.
|
||||
```
|
||||
|
||||
```text
|
||||
Please create a pull request for our photo-addon extension. Include
|
||||
screenshots from the /screenshots directory and a clear description
|
||||
of what the extension does.
|
||||
```
|
||||
|
||||
**Contributions made by this approach:**
|
||||
- **oCIS core**: Photo metadata search backend
|
||||
- **web-extensions**: Photo gallery extension
|
||||
- **web-extensions**: Advanced search extension
|
||||
|
||||
{{< hint type=note title="CLA Requirement" >}}
|
||||
Contributors need to sign the ownCloud Contributor License Agreement (CLA) for PRs to be accepted. Claude can help find the CLA link and explain the process.
|
||||
{{< /hint >}}
|
||||
|
||||
## Notes
|
||||
|
||||
Additional steps can be required in the oCIS repository for changes in the web-extensions repository, in particular:
|
||||
|
||||
- If the web extension requires it, add proposals to the back-end code in the oCIS codebase.
|
||||
- In order to make the new web extension more easily accessible to the public, the `ocis_full` deployment example in the oCIS repository should be updated. The new oCIS version will then reference it automatically and the documentation team will update the release notes and documentation accordingly.
|
||||
|
||||
## Summary
|
||||
|
||||
Using this approach, complete web-extensions can be built without writing code manually. No git commands need to be typed manually. No pnpm commands either.
|
||||
|
||||
Every commit, every push, every PR—all generated through AI assistance. The backend changes to oCIS core were approved and merged. The web-extensions demonstrate the viability of this development approach.
|
||||
|
||||
The barrier to entry for meaningful open source contribution is significantly lower with AI-assisted development. For those interested in contributing to oCIS but feeling intimidated by the codebase, this approach is worth considering.
|
||||
|
||||
Please note that, as with all contributions, this approach requires a full review process from the code maintainers, with iterations required to finalise all steps. To ensure stability and maintainability, all feedback must be incorporated into the proposed changes.
|
||||
|
||||
---
|
||||
|
||||
## Resources
|
||||
|
||||
| Resource | URL |
|
||||
|----------|-----|
|
||||
| MCP Quickstart | https://modelcontextprotocol.io/quickstart |
|
||||
| MCP Local Servers | https://modelcontextprotocol.io/docs/develop/connect-local-servers |
|
||||
| Claude Desktop MCP | https://support.claude.com/en/articles/10949351-getting-started-with-local-mcp-servers-on-claude-desktop |
|
||||
| oCIS Web Extensions | https://github.com/owncloud/web-extensions |
|
||||
| oCIS Admin Documentation | https://doc.owncloud.com/ocis/ |
|
||||
| oCIS Developer Documentation | https://owncloud.dev |
|
||||
---
|
||||
|
||||
*This guide was written with AI assistance and reviewed by the ownCloud documentation team for accuracy.*
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
---
|
||||
title: Releasing Processes
|
||||
date: 2025-07-03T00:00:00+00:00
|
||||
weight: 10
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/ocis/releasing_guide
|
||||
geekdocFilePath: _index.md
|
||||
geekdocCollapseSection: true
|
||||
---
|
||||
|
||||
## General Information
|
||||
|
||||
This section provides information how to prepare a new Infinite Scale release.
|
||||
@@ -1,198 +0,0 @@
|
||||
---
|
||||
title: "Releasing Guide"
|
||||
date: 2020-12-16T20:35:00+01:00
|
||||
weight: 0
|
||||
geekdocRepo: https://github.com/owncloud/ocis/releasing_guide
|
||||
geekdocEditPath: edit/master/docs/ocis
|
||||
geekdocFilePath: releasing_guide.md
|
||||
---
|
||||
|
||||
{{< toc >}}
|
||||
|
||||
To prepare an oCIS production release, you must follow a specific sequence of steps in the correct order.
|
||||
|
||||
## New ocis Version
|
||||
|
||||
Use this detailed copy/paste checklists for Jira when starting a new release.
|
||||
|
||||
{{< hint warning >}}
|
||||
* The **examples** use the following versions which will need to be **adapted** for the planned release:
|
||||
* For Major and Minor versions: `7.2.0`
|
||||
* For Patch releases: `7.2.1`
|
||||
* The process differs slighly when creating a patch release only.
|
||||
* Changes applied to a `stable-7.2` branch valid for documentation will be processed to the `docs-stable-x.y` branch automatically after merging.
|
||||
{{< /hint >}}
|
||||
|
||||
### Steps for Major or Minor Releases
|
||||
|
||||
{{< hint warning >}}
|
||||
* A new production release is being prepared and the implementation of new features has finished in master.
|
||||
* `web`, `reva` and `dependencies` have already been bumped.
|
||||
* Translations
|
||||
* For oCIS, all required translations changes are included.
|
||||
* For Web, all translation changes have been applied and are part of the web version provided.
|
||||
* **Only** bug fixes to release candidates are allowed.
|
||||
{{< /hint >}}
|
||||
|
||||
#### Overview
|
||||
|
||||
1. Start the Releasing Process
|
||||
1. Start the Release Candidates Phase
|
||||
1. Prepare Release\
|
||||
Integrate all RC changes and set the final version
|
||||
1. Sign-off the Releasing Process
|
||||
1. Release the new Version
|
||||
1. Postprocessing and Finalization\
|
||||
Backport changes to `master` and create other required stable branches, update cronjobs and clean up
|
||||
|
||||
#### Details
|
||||
|
||||
```
|
||||
https://owncloud.dev/ocis/releasing_guide/
|
||||
|
||||
* [ ] Start the Releasing Process
|
||||
* [ ] Create a `stable-7.2` branch based on current `master`
|
||||
* [ ] Inform documentation that the releasing process has started
|
||||
|
||||
* [ ] Start the Release Candidates Phase
|
||||
* [ ] Create a new feature branch based on `stable-7.2`
|
||||
* [ ] Move all changelog items from `unreleased` to `7.2.0-rc.1_2025-06-12`
|
||||
* [ ] Bump oCIS version in `ocis-pkg/version/version.go`
|
||||
* [ ] Bump oCIS version in `sonar-project.properties`
|
||||
* [ ] Create PR with `[full-ci][k6-test]` against `stable-7.2`
|
||||
* [ ] Get PR approved. **DO NOT MERGE YET**
|
||||
* [ ] Wait for pipeline to be green
|
||||
* [ ] Create tag: `git tag -s v7.2.0-rc.1 -m "Release 7.2.0-rc.1"`
|
||||
* [ ] Push tag: `git push origin v7.2.0-rc.1`
|
||||
* [ ] Watch the PR to see pipeline succeed (can be restarted)
|
||||
* [ ] Merge PR
|
||||
* [ ] Sync with DevOps and Product\
|
||||
Repeat process with `rc.2`,`rc.3`, ...
|
||||
* [ ] All required translations from oCIS are included
|
||||
* [ ] All issues are fixed, RC phase has finished
|
||||
|
||||
* [ ] Prepare Release
|
||||
* [ ] Create a new feature branch based on `stable-7.2`
|
||||
* [ ] Move all changelog items from `7.2.0-rc.*` to `7.2.0_2025-04-01`
|
||||
* [ ] Bump oCIS version in `ocis-pkg/version/version.go`
|
||||
* [ ] Bump oCIS version in `sonar-project.properties`
|
||||
* [ ] Create PR with `[full-ci][k6-test]` against `stable-7.2`
|
||||
* [ ] Mark PR as **Draft** to avoid accidentially merging
|
||||
* [ ] Get PR approved. **DO NOT MERGE YET**\
|
||||
Info: merging will be done in step *Release the new Version*
|
||||
* [ ] Wait for pipeline to be green
|
||||
|
||||
* [ ] Get new Release Sign-off (jira)
|
||||
* [ ] **EITHER (preferred):** Find someone who wants the release more than you do, and have them sign-off
|
||||
* [ ] **OR (not recommended):** Have the appropriate people sign the *release sign-off* document
|
||||
|
||||
* [ ] Release the new Version
|
||||
* [ ] Create tag: `git tag -s v7.2.0 -m "Release 7.2.0"`\
|
||||
Note the tag name scheme is important
|
||||
* [ ] Push tag: `git push origin v7.2.0`
|
||||
* [ ] Watch the PR to see pipeline succeed (can be restarted)
|
||||
* [ ] Smoke test docker image `owncloud/ocis@v7.2.0`
|
||||
* [ ] Choose any docker-compose example from oCIS repository
|
||||
* [ ] Export `OCIS_DOCKER_IMAGE=owncloud/ocis`
|
||||
* [ ] Export `OCIS_DOCKER_TAG=7.2.0`
|
||||
* [ ] `docker compose up -d`
|
||||
* [ ] Confirm oCIS version in browser and start the `upload-download-awesome` test
|
||||
* [ ] Remove the **Draft** state and Merge PR\
|
||||
This is the PR from step *Prepare Release*
|
||||
* [ ] Delete the feature branch
|
||||
* [ ] Announce release in *Teams channel: oCIS*
|
||||
|
||||
* [ ] Postprocessing and Finalization
|
||||
* [ ] Backport `stable-7.2` to the master branch
|
||||
* [ ] Create a `docs-stable-7.2` branch
|
||||
* [ ] Create orphan branch: `git checkout --orphan docs-stable-7.2`
|
||||
* [ ] Initial commit: `git commit --allow-empty -m "initial commit"`
|
||||
* [ ] Push it: `git push`
|
||||
* [ ] Adjust the `.drone.star` file to write to `docs-stable-7.2`
|
||||
* [ ] Find target_branch value in the docs section and change it to `docs-stable-7.2`
|
||||
* [ ] Example: https://github.com/owncloud/ocis/blame/56f7645f0b11c9112e15ce46f6effd2fea01d6be/.drone.star#L2249
|
||||
* [ ] Add `stable-7.2` to the nightly cron jobs in drone (`Settings` -> `Cron Jobs`)
|
||||
```
|
||||
|
||||
### Steps for Patch Releases Only
|
||||
|
||||
{{< hint warning >}}
|
||||
* A patch branch is prepared, based off the appropriate stable branch, and contains all the changes including `web`, `reva` and `dependencies` bumps. The patch branch is merged into the corresponding stable branch. No release candidates are used because the changes are known.
|
||||
* Translations
|
||||
* For oCIS, all required translations changes are included.
|
||||
* For Web, all translation changes have been applied and are part of the web version provided.
|
||||
* **Only** bug fixes to the patch branch are allowed.
|
||||
{{< /hint >}}
|
||||
|
||||
#### Overview
|
||||
|
||||
1. Prepare Release\
|
||||
Integrate all patches and set the final version
|
||||
1. Sign-off the Releasing Process
|
||||
1. Release the new Version
|
||||
1. Check Forward Porting to Master
|
||||
|
||||
#### Details
|
||||
|
||||
```
|
||||
https://owncloud.dev/ocis/releasing_guide/
|
||||
|
||||
* [ ] Prepare Release
|
||||
* [ ] Create a new feature branch based on `stable-7.2`
|
||||
* [ ] Move all changelog items from `unreleased` to `7.2.1_2025-04-01`
|
||||
* [ ] Bump oCIS version in `ocis-pkg/version/version.go`
|
||||
* [ ] Bump oCIS version in `sonar-project.properties`
|
||||
* [ ] Create PR with `[full-ci][k6-test]` against `stable-7.2`
|
||||
* [ ] Mark PR as **Draft** to avoid accidentially merging
|
||||
* [ ] Get PR approved **requires 2 approvals**, **DO NOT MERGE YET**\
|
||||
Info: merging will be done in step *Release the new Version*
|
||||
* [ ] Wait for pipeline to be green
|
||||
|
||||
* [ ] Get new Release Sign-off (confluence)
|
||||
* [ ] **EITHER (preferred):** Find someone who wants the release more than you do, and have them sign-off
|
||||
* [ ] **OR (not recommended):** Have the appropriate people sign the *release sign-off* document
|
||||
|
||||
* [ ] Release the new Version
|
||||
* [ ] Create tag: `git tag -s v7.2.1 -m "Release 7.2.1"`\
|
||||
Note the tag name scheme is important
|
||||
* [ ] Push tag: `git push origin v7.2.1`
|
||||
* [ ] Watch the PR to see pipeline succeed (can be restarted)
|
||||
* [ ] Smoke test docker image `owncloud/ocis@v7.2.1`
|
||||
* [ ] Choose any docker-compose example from ocis repository
|
||||
* [ ] Export `OCIS_DOCKER_IMAGE=owncloud/ocis`
|
||||
* [ ] Export `OCIS_DOCKER_TAG=7.2.1`
|
||||
* [ ] `docker compose up -d`
|
||||
* [ ] Confirm oCIS version in browser and start the `upload-download-awesome` test
|
||||
* [ ] Remove the **Draft** state and Merge PR\
|
||||
This is the PR from step *Prepare Release*
|
||||
* [ ] Delete the feature branch
|
||||
* [ ] Announce release in *Teams channel: oCIS*
|
||||
|
||||
* [ ] Check if Forward Porting to Master is Required
|
||||
```
|
||||
|
||||
## Update Documentation Related Data
|
||||
|
||||
### Envvar Changes
|
||||
|
||||
Follow the [Release Process for Envvars](https://owncloud.dev/services/general-info/envvars/new-release-process/) documentation to update the required environment variable data. These changes **must** be present in the appropriate `stable-7.2` branch and should be applied to the respective feature branch during the development cycle. This **avoids manually backporting** to `stable-7.2` but may be required if changes go to master instead. Changes to envvars are typically found in the `docs` folder.
|
||||
|
||||
{{< hint warning >}}
|
||||
The admin docs processes access the data via the branch name, not the tag set. Therefore, any changes applied to the stable branch are accessible to the documentation process without the need of a new version.
|
||||
{{< /hint >}}
|
||||
|
||||
### Prepare Admin Docs
|
||||
|
||||
The admin documentation must be prepared for the new release.
|
||||
|
||||
Note that this section is only **informational** for oCIS developers and is done by the documentation team. This is why they need to be informed in a timely manner.
|
||||
|
||||
* [ ] Create **overview release notes** in the `docs-main` repo based on the changelog\
|
||||
The source is most likely the unreleased folder during the development cycle
|
||||
* [ ] For Major and Minor versions:
|
||||
* [ ] Add all **documentation changes** including the upgrade guide in the `docs-ocis` repo in master
|
||||
* [ ] Create a new release branch in the `docs-ocis` repo based off master
|
||||
* [ ] **Update oCIS branches and versions** in the `docs` repo
|
||||
* [ ] For Patch releases:
|
||||
* [ ] **Update oCIS versions** in the `docs` repo
|
||||
|
||||
@@ -1,74 +0,0 @@
|
||||
---
|
||||
title: "Troubleshooting"
|
||||
date: 2020-12-16T20:35:00+01:00
|
||||
weight: 0
|
||||
geekdocRepo: https://github.com/owncloud/ocis/releasing_guide
|
||||
geekdocEditPath: edit/master/docs/ocis
|
||||
geekdocFilePath: troubleshooting.md
|
||||
---
|
||||
|
||||
{{< toc >}}
|
||||
|
||||
This document covers some of the issues that can happen during the release process.
|
||||
|
||||
Use this detailed copy/paste checklists for the PR when starting a backport.
|
||||
|
||||
## Backport Missing Commits
|
||||
|
||||
Once the `stable-x.y` branch has been created but work has been merged into master, these changes will not appear in the stable branch unless backporting is used.
|
||||
|
||||
{{< hint warning >}}
|
||||
* Any change applied to `stable-7.2` must be made **before** the tag for this release is created to be part of which is mandatory for any code change.
|
||||
* There is one exception. Changes applied for documentation purposes are accessed via the branch name by the doc process and not via the tag and therefore accessible to the documentation processes.
|
||||
{{< /hint >}}
|
||||
|
||||
Though any changes should ideally be targeted to the correct branch from the beginning, this may sometimes be impossible, especially for the following folder locations:
|
||||
|
||||
- `docs` and
|
||||
- `deployments/examples/ocis_full`
|
||||
|
||||
### Documentation
|
||||
|
||||
Changes to documentation must be present in the respective stable branch because the documentation process accesses the data for further processing. Follow these steps to apply all doc related changes from master to the stable branch **after** the tag has been created:
|
||||
|
||||
```
|
||||
https://owncloud.dev/ocis/releasing_guide/
|
||||
|
||||
* [ ] Check all relevant commits made to the master branch that are not in stable\
|
||||
`git log stable-7.2..master -- docs/`
|
||||
* [ ] Double check all changes if they apply to stable\
|
||||
`git diff stable-7.2..master -- docs/`
|
||||
* [ ] Create a new feature branch based on `stable-7.2`
|
||||
* [ ] Cherry pick missing commits
|
||||
* [ ] Create PR with leading `[docs-only]` against `stable-7.2`
|
||||
* [ ] Get PR approved **requires 2 approvals** and merge it
|
||||
* [ ] Delete feature branch
|
||||
```
|
||||
|
||||
### Deployment Example
|
||||
|
||||
Changes to the `ocis_full` deployment example are less critical. But as this is referenced by the documentation, changes must be present in the respective stable branch. Follow these steps to apply all deployment example related changes from master to the stable branch **after** the tag has been created:
|
||||
|
||||
#### Web Extensions
|
||||
|
||||
Update all dependencies and extension related data in the `web-extensions` repo and create for each extension a new release if applicapable.
|
||||
|
||||
#### ocis_full
|
||||
|
||||
Update the `ocis_full` deployment example as required in master which includes to update the versions of the web extensions used. Test the functionality if the example works.
|
||||
|
||||
Follow these steps to apply all `ocis_full` deployment example related changes from master to the stable branch:
|
||||
|
||||
```
|
||||
https://owncloud.dev/ocis/releasing_guide/
|
||||
|
||||
* [ ] Check all relevant commits made to the master branch that are not in stable\
|
||||
`git log stable-7.2..master -- deployments/examples/ocis_full/`
|
||||
* [ ] Double check all changes if they apply to stable\
|
||||
`git diff stable-7.2..master -- deployments/examples/ocis_full/`
|
||||
* [ ] Create a new feature branch based on `stable-7.2`
|
||||
* [ ] Cherry pick missing commits
|
||||
* [ ] Create PR with leading `[docs-only]` against `stable-7.2`
|
||||
* [ ] Get PR approved **requires 2 approvals** and merge it
|
||||
* [ ] Delete feature branch
|
||||
```
|
||||
@@ -167,6 +167,7 @@ The request will fail with `507 Insufficient Storage`:
|
||||
< X-Frame-Options: SAMEORIGIN
|
||||
< X-Permitted-Cross-Domain-Policies: none
|
||||
< X-Robots-Tag: none
|
||||
< X-Xss-Protection: 1; mode=block
|
||||
<
|
||||
* Connection #0 to host localhost left intact
|
||||
* Closing connection 0
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
---
|
||||
title: Service Independent Settings
|
||||
date: 2025-11-13T00:00:00+00:00
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/service-independent/
|
||||
geekdocFilePath: _index.md
|
||||
geekdocCollapseSection: true
|
||||
weight: 15
|
||||
---
|
||||
|
||||
{{< toc-tree >}}
|
||||
|
||||
Some components programmed are not bound to a service but are valid for all of ocis. These are for example environment variables that are used before any service gets started. For ocis CLI commands that are service independent, see the [Service Independent CLI]({{< ref "../cli-commands/service_independent_cli.md" >}}) documentation.
|
||||
@@ -1,38 +0,0 @@
|
||||
---
|
||||
title: Service Independent Envvars
|
||||
date: 2025-11-13T00:00:00+00:00
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/service-independent/
|
||||
geekdocFilePath: service_independent_envvars.md
|
||||
---
|
||||
|
||||
The following environment variables are service independent. You will find the respective code in the `ocis-pkg/` directory. See the [Admin Documentation - Environment Variables with Special Scopes](https://doc.owncloud.com/ocis/7.3/deployment/services/env-vars-special-scope.html) for a comprehensive list and explanation.
|
||||
|
||||
{{< toc >}}
|
||||
|
||||
{{< hint info >}}
|
||||
See the [Environment Variables]({{< ref "../services/general-info/envvars/" >}}) documentation for common and important details on envvars.
|
||||
{{< /hint >}}
|
||||
|
||||
## Service Registry
|
||||
|
||||
This package configures the service registry which will be used to look up for example the service addresses.
|
||||
|
||||
Available registries are:
|
||||
|
||||
- nats-js-kv (default)
|
||||
- memory
|
||||
|
||||
To configure which registry to use, you have to set the environment variable `MICRO_REGISTRY`, and for all except `memory` you also have to set the registry address via `MICRO_REGISTRY_ADDRESS` and other envvars.
|
||||
|
||||
## Startup Related Envvars
|
||||
|
||||
These envvars define the startup of ocis and can for example add or remove services from the startup process such as `OCIS_ADD_RUN_SERVICES`.
|
||||
|
||||
## Memory Limits
|
||||
|
||||
{{< hint info >}}
|
||||
Note that this envvar is for development purposes only and not described in the admin docs.
|
||||
{{< /hint >}}
|
||||
|
||||
oCIS will automatically set the go native `GOMEMLIMIT` to `0.9`. To disable the limit set `AUTOMEMLIMIT=off`. For more information take a look at the official [Guide to the Go Garbage Collector](https://go.dev/doc/gc-guide).
|
||||
@@ -0,0 +1,3 @@
|
||||
---
|
||||
GeekdocHidden: true
|
||||
---
|
||||
@@ -3,7 +3,7 @@
|
||||
| Name | Type | Default Value | Description |
|
||||
|------|------|---------------|-------------|
|
||||
| OCIS_TRACING_ENABLED<br/>ACTIVITYLOG_TRACING_ENABLED | bool | false | Activates tracing.|
|
||||
| OCIS_TRACING_TYPE<br/>ACTIVITYLOG_TRACING_TYPE | string | | The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.|
|
||||
| OCIS_TRACING_TYPE<br/>ACTIVITYLOG_TRACING_TYPE | string | | The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.|
|
||||
| OCIS_TRACING_ENDPOINT<br/>ACTIVITYLOG_TRACING_ENDPOINT | string | | The endpoint of the tracing agent.|
|
||||
| OCIS_TRACING_COLLECTOR<br/>ACTIVITYLOG_TRACING_COLLECTOR | string | | The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset.|
|
||||
| OCIS_LOG_LEVEL<br/>ACTIVITYLOG_LOG_LEVEL | string | | The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'.|
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the activitylog service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`ACTIVITYLOG_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the antivirus service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -145,7 +145,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`ANTIVIRUS_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the app-provider service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -64,7 +64,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`APP_PROVIDER_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the app-registry service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`APP_REGISTRY_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the audit service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`AUDIT_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the auth-app service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`AUTH_APP_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the auth-basic service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`AUTH_BASIC_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the auth-bearer service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`AUTH_BEARER_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the auth-machine service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`AUTH_MACHINE_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the auth-service service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`AUTH_SERVICE_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the clientlog service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`CLIENTLOG_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the collaboration service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,17 +53,6 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
The WebOffice app, either Collabora, OnlyOffice, Microsoft365 or MicrosoftOfficeOnline.
|
||||
|
||||
a|`COLLABORATION_APP_PRODUCT_EDITION` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.3.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The WebOffice app edition defines the capabilities specific to the product such as CE - Community Edition, EE - Enterprise Edition DE - Developer Edition, etc. Currently supported values are limited to OnlyOffice and are: 'ce', 'ee' or 'de' and default to empty which is equal to ce). See the documentation for more details.
|
||||
|
||||
a|`COLLABORATION_APP_DESCRIPTION` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -336,17 +325,6 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
Disable chat in the office web frontend. This feature applies to OnlyOffice and Microsoft.
|
||||
|
||||
a|`COLLABORATION_WOPI_ENABLE_MOBILE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.3.0 ++
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
Enable the mobile web view for office app. This feature applies to OnlyOffice. See the documentation for more details.
|
||||
|
||||
a|`COLLABORATION_WOPI_PROXY_URL` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -380,17 +358,6 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
Use short access tokens for WOPI access. This is useful for office packages, like Microsoft Office Online, which have URL length restrictions. If enabled, a persistent store must be configured.
|
||||
|
||||
a|`COLLABORATION_WOPI_DISABLED_EXTENSIONS` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++[]string ++
|
||||
a| [subs=-attributes]
|
||||
++[] ++
|
||||
a| [subs=-attributes]
|
||||
List of extensions to disable: Disabling an extension will make it unavailable to the Office web front end. The list is comma-separated with no spaces between the items, such as 'docx,xlsx,pptx'.
|
||||
|
||||
a|`OCIS_REVA_GATEWAY` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -435,7 +402,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`COLLABORATION_TRACING_ENDPOINT` +
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,263 @@
|
||||
# Added Variables between oCIS 4.0.0 and oCIS 5.0.0
|
||||
|
||||
| File | Variable | Description | Default |
|
||||
|-----------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------|
|
||||
| ocis-pkg/shared/shared_types.go | `OCIS_CACHE_DISABLE_PERSISTENCE` | Disables persistence of the cache. Only applies when store type 'nats-js-kv' is configured. | `false` |
|
||||
| ocis-pkg/registry/registry.go | `MICRO_REGISTRY` (important change) | The Go micro registry type to use. Supported types are: 'memory', 'nats-js-kv' (default) and 'kubernetes'. Note that 'nats', 'etcd', 'consul' and 'mdns' are deprecated and will be removed in a later version. Only change on supervision of ownCloud Support. | `nats-js-kv` |
|
||||
| ocis-pkg/natsjsregistry/registry.go | `MICRO_REGISTRY_AUTH_USERNAME` | Optional when using nats to authenticate with the nats cluster. | |
|
||||
| | `MICRO_REGISTRY_AUTH_PASSWORD` | Optional when using nats to authenticate with the nats cluster. | |
|
||||
| services/antivirus/pkg/config/config.go | `OCIS_EVENTS_AUTH_USERNAME` | The username to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services. | |
|
||||
| | `OCIS_EVENTS_AUTH_PASSWORD` | The password to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services. | |
|
||||
| | `ANTIVIRUS_ICAP_SCAN_TIMEOUT` | Scan timeout for the ICAP client. Defaults to '5m' (5 minutes). See the Environment Variable Types description for more details. | 5m0s |
|
||||
| services/audit/pkg/config/config.go | `OCIS_EVENTS_AUTH_USERNAME` | The username to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services. | |
|
||||
| | `OCIS_EVENTS_AUTH_PASSWORD` | The password to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services. | |
|
||||
| services/auth-service/pkg/config/config.go | `OCIS_LOG_LEVEL;AUTH_SERVICE_LOG_LEVEL` | The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'." | |
|
||||
| | `OCIS_LOG_PRETTY;AUTH_SERVICE_LOG_PRETTY` | Activates pretty log output. | |
|
||||
| | `OCIS_LOG_COLOR;AUTH_SERVICE_LOG_COLOR` | Activates colorized log output. | |
|
||||
| | `OCIS_LOG_FILE;AUTH_SERVICE_LOG_FILE` | The path to the log file. Activates logging to this file if set. | |
|
||||
| | `AUTH_SERVICE_DEBUG_ADDR` | Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed. | |
|
||||
| | `AUTH_SERVICE_DEBUG_PPROF` | Enables pprof, which can be used for profiling. | |
|
||||
| | `AUTH_SERVICE_DEBUG_TOKEN` | Enables pprof, which can be used for profiling. | |
|
||||
| | `AUTH_SERVICE_DEBUG_ZPAGES` | Enables zpages, which can be used for collecting and viewing in-memory traces. | |
|
||||
| | `AUTH_SERVICE_GRPC_ADDR` | The bind address of the GRPC service. | |
|
||||
| | `AUTH_SERVICE_GRPC_PROTOCOL` | The transport protocol of the GRPC service. | |
|
||||
| | `OCIS_SERVICE_ACCOUNT_ID;AUTH_SERVICE_SERVICE_ACCOUNT_ID` | The ID of the service account the service should use. See the 'auth-service' service description for more details. | |
|
||||
| | `OCIS_SERVICE_ACCOUNT_SECRET;AUTH_SERVICE_SERVICE_ACCOUNT_SECRET` | The service account secret. | |
|
||||
| services/auth-service/pkg/config/reva.go | `OCIS_JWT_SECRET;AUTH_SERVICE_JWT_SECRET` | The secret to mint and validate jwt tokens. | |
|
||||
| services/auth-service/pkg/config/tracing.go | `OCIS_TRACING_ENABLED;AUTH_SERVICE_TRACING_ENABLED` | Activates tracing. | |
|
||||
| | `OCIS_TRACING_TYPE;AUTH_SERVICE_TRACING_TYPE` | The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now."` | |
|
||||
| | `OCIS_TRACING_ENDPOINT;AUTH_SERVICE_TRACING_ENDPOINT` | The endpoint of the tracing agent. | |
|
||||
| | `OCIS_TRACING_COLLECTOR;AUTH_SERVICE_TRACING_COLLECTOR` | The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset. | |
|
||||
| services/clientlog/pkg/config/config.go | `OCIS_REVA_GATEWAY;CLIENTLOG_REVA_GATEWAY` | CS3 gateway used to look up user metadata | |
|
||||
| | `OCIS_EVENTS_ENDPOINT;CLIENTLOG_EVENTS_ENDPOINT` | The address of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture. | |
|
||||
| | `OCIS_EVENTS_CLUSTER;CLIENTLOG_EVENTS_CLUSTER` | The clusterID of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture. Mandatory when using NATS as event system. | |
|
||||
| | `OCIS_INSECURE;CLIENTLOG_EVENTS_TLS_INSECURE` | Whether to verify the server TLS certificates. | |
|
||||
| | `OCIS_EVENTS_TLS_ROOT_CA_CERTIFICATE;CLIENTLOG_EVENTS_TLS_ROOT_CA_CERTIFICATE` | The root CA certificate used to validate the server's TLS certificate. If provided NOTIFICATIONS_EVENTS_TLS_INSECURE will be seen as false. | |
|
||||
| | `OCIS_EVENTS_ENABLE_TLS;CLIENTLOG_EVENTS_ENABLE_TLS` | Enable TLS for the connection to the events broker. The events broker is the ocis service which receives and delivers events between the services.. | |
|
||||
| | `OCIS_EVENTS_AUTH_USERNAME;CLIENTLOG_EVENTS_AUTH_USERNAME` | The username to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services.. | |
|
||||
| | `OCIS_EVENTS_AUTH_PASSWORD;CLIENTLOG_EVENTS_AUTH_PASSWORD` | The password to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services.. | |
|
||||
| | `OCIS_JWT_SECRET;CLIENTLOG_JWT_SECRET` | The secret to mint and validate jwt tokens. | |
|
||||
| | `OCIS_SERVICE_ACCOUNT_ID;CLIENTLOG_SERVICE_ACCOUNT_ID` | The ID of the service account the service should use. See the 'auth-service' service description for more details. | |
|
||||
| | `OCIS_SERVICE_ACCOUNT_SECRET;CLIENTLOG_SERVICE_ACCOUNT_SECRET` | The service account secret. | |
|
||||
| services/clientlog/pkg/config/debug.go | `CLIENTLOG_DEBUG_ADDR` | Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed. | |
|
||||
| | `CLIENTLOG_DEBUG_TOKEN` | Token to secure the metrics endpoint. | |
|
||||
| | `CLIENTLOG_DEBUG_PPROF` | Enables pprof, which can be used for profiling. | |
|
||||
| | `CLIENTLOG_DEBUG_ZPAGES` | Enables zpages, which can be used for collecting and viewing in-memory traces. | |
|
||||
| services/clientlog/pkg/config/log.go | `OCIS_LOG_LEVEL;CLIENTLOG_USERLOG_LOG_LEVEL` | The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'." | |
|
||||
| | `OCIS_LOG_PRETTY;CLIENTLOG_USERLOG_LOG_PRETTY` | Activates pretty log output. | |
|
||||
| | `OCIS_LOG_COLOR;CLIENTLOG_USERLOG_LOG_COLOR` | Activates colorized log output. | |
|
||||
| | `OCIS_LOG_FILE;CLIENTLOG_USERLOG_LOG_FILE` | The path to the log file. Activates logging to this file if set. | |
|
||||
| services/clientlog/pkg/config/tracing.go | `OCIS_TRACING_ENABLED;CLIENTLOG_TRACING_ENABLED` | Activates tracing. | |
|
||||
| | `OCIS_TRACING_TYPE;CLIENTLOG_TRACING_TYPE` | The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now."` | |
|
||||
| | `OCIS_TRACING_ENDPOINT;CLIENTLOG_TRACING_ENDPOINT` | The endpoint of the tracing agent. | |
|
||||
| | `OCIS_TRACING_COLLECTOR;CLIENTLOG_TRACING_COLLECTOR` | The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset. | |
|
||||
| services/eventhistory/pkg/config/config.go | `OCIS_PERSISTENT_STORE_AUTH_USERNAME;EVENTHISTORY_STORE_AUTH_USERNAME` | The username to authenticate with the store. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| | `OCIS_PERSISTENT_STORE_AUTH_PASSWORD;EVENTHISTORY_STORE_AUTH_PASSWORD` | The password to authenticate with the store. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| | `OCIS_EVENTS_AUTH_USERNAME;EVENTHISTORY_EVENTS_AUTH_USERNAME` | The username to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services. | |
|
||||
| | `OCIS_EVENTS_AUTH_PASSWORD;EVENTHISTORY_EVENTS_AUTH_PASSWORD` | The password to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services. | |
|
||||
| services/frontend/pkg/config/config.go | `OCIS_ENABLE_RESHARING` | Changing this value is NOT supported. Enables the support for resharing in the clients. | |
|
||||
| | `FRONTEND_DEFAULT_LINK_PERMISSIONS` | Defines the default permissions a link is being created with. Possible values are 0 (= internal link, for instance members only) and 1 (= public link with viewer permissions). Defaults to 1. | |
|
||||
| | `FRONTEND_AUTO_ACCEPT_SHARES` | Defines if shares should be auto accepted by default. Users can change this setting individually in their profile. | true |
|
||||
| | `OCIS_CACHE_DISABLE_PERSISTENCE;FRONTEND_OCS_STAT_CACHE_DISABLE_PERSISTENCE` | Disable persistence of the cache. Only applies when using the 'nats-js-kv' store type. Defaults to false. | false |
|
||||
| | `OCIS_CACHE_AUTH_USERNAME;FRONTEND_OCS_STAT_CACHE_AUTH_USERNAME` | The username to use for authentication. Only applies when using the 'nats-js-kv' store type. | |
|
||||
| | `OCIS_CACHE_AUTH_PASSWORD;FRONTEND_OCS_STAT_CACHE_AUTH_PASSWORD` | The password to use for authentication. Only applies when using the 'nats-js-kv' store type. | |
|
||||
| | `FRONTEND_OCS_LIST_OCM_SHARES` | Include OCM shares when listing shares. See the OCM service documentation for more details. | |
|
||||
| | `OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD;FRONTEND_OCS_PUBLIC_SHARE_MUST_HAVE_PASSWORD` | Set this to true if you want to enforce passwords on all public shares. | |
|
||||
| | `OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD;FRONTEND_OCS_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD` | Set this to true if you want to enforce passwords on Uploader, Editor or Contributor shares. | |
|
||||
| | `FRONTEND_OCS_INCLUDE_OCM_SHAREES` | Include OCM sharees when listing sharees. | |
|
||||
| | `OCIS_EVENTS_ENDPOINT;FRONTEND_EVENTS_ENDPOINT` | The address of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture. | |
|
||||
| | `OCIS_EVENTS_CLUSTER;FRONTEND_EVENTS_CLUSTER` | The clusterID of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture. Mandatory when using NATS as event system. | |
|
||||
| | `OCIS_INSECURE;FRONTEND_EVENTS_TLS_INSECURE` | Whether to verify the server TLS certificates. | |
|
||||
| | `FRONTEND_EVENTS_TLS_ROOT_CA_CERTIFICATE;OCS_EVENTS_TLS_ROOT_CA_CERTIFICATE` | The root CA certificate used to validate the server's TLS certificate. If provided NOTIFICATIONS_EVENTS_TLS_INSECURE will be seen as false. | |
|
||||
| | `OCIS_EVENTS_ENABLE_TLS;FRONTEND_EVENTS_ENABLE_TLS` | Enable TLS for the connection to the events broker. The events broker is the ocis service which receives and delivers events between the services. | |
|
||||
| | `OCIS_EVENTS_AUTH_USERNAME;FRONTEND_EVENTS_AUTH_USERNAME` | The username to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services.. | |
|
||||
| | `OCIS_EVENTS_AUTH_PASSWORD;FRONTEND_EVENTS_AUTH_PASSWORD` | The password to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services.. | |
|
||||
| | `OCIS_SERVICE_ACCOUNT_ID;FRONTEND_SERVICE_ACCOUNT_ID` | The ID of the service account the service should use. See the 'auth-service' service description for more details. | |
|
||||
| | `OCIS_SERVICE_ACCOUNT_SECRET;FRONTEND_SERVICE_ACCOUNT_SECRET` | The service account secret. | |
|
||||
| | `OCIS_PASSWORD_POLICY_DISABLED;FRONTEND_PASSWORD_POLICY_DISABLED` | Disable the password policy. Defaults to false if not set. | |
|
||||
| | `OCIS_PASSWORD_POLICY_MIN_CHARACTERS;FRONTEND_PASSWORD_POLICY_MIN_CHARACTERS` | Define the minimum password length. Defaults to 0 if not set. | 0 |
|
||||
| | `OCIS_PASSWORD_POLICY_MIN_LOWERCASE_CHARACTERS;FRONTEND_PASSWORD_POLICY_MIN_LOWERCASE_CHARACTERS` | Define the minimum number of lowercase characters. Defaults to 0 if not set. | 0 |
|
||||
| | `OCIS_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS;FRONTEND_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS` | Define the minimum number of uppercase characters. Defaults to 0 if not set. | 0 |
|
||||
| | `OCIS_PASSWORD_POLICY_MIN_DIGITS;FRONTEND_PASSWORD_POLICY_MIN_DIGITS` | Define the minimum number of digits. Defaults to 0 if not set. | 0 |
|
||||
| | `OCIS_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS;FRONTEND_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS` | Define the minimum number of special characters. Defaults to 0 if not set. | 0 |
|
||||
| | `OCIS_PASSWORD_POLICY_BANNED_PASSWORDS_LIST;FRONTEND_PASSWORD_POLICY_BANNED_PASSWORDS_LIST` | Path to the 'banned passwords list' file. See the documentation for more details. | |
|
||||
| services/gateway/pkg/config/config.go | `OCIS_CACHE_DISABLE_PERSISTENCE;GATEWAY_STAT_CACHE_DISABLE_PERSISTENCE` | Disables persistence of the stat cache. Only applies when store type 'nats-js-kv' is configured. Defaults to false. | false |
|
||||
| | `OCIS_CACHE_DISABLE_PERSISTENCE;GATEWAY_PROVIDER_CACHE_DISABLE_PERSISTENCE` | Disables persistence of the provider cache. Only applies when store type 'nats-js-kv' is configured. Defaults to false. | false |
|
||||
| | `OCIS_CACHE_AUTH_USERNAME;GATEWAY_PROVIDER_CACHE_AUTH_USERNAME` | The username to use for authentication. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| | `OCIS_CACHE_AUTH_PASSWORD;GATEWAY_PROVIDER_CACHE_AUTH_PASSWORD` | The password to use for authentication. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| | `OCIS_CACHE_DISABLE_PERSISTENCE;GATEWAY_CREATE_HOME_CACHE_DISABLE_PERSISTENCE` | Disables persistence of the create home cache. Only applies when store type 'nats-js-kv' is configured. Defaults to false. | |
|
||||
| | `OCIS_CACHE_AUTH_USERNAME;GATEWAY_CREATE_HOME_CACHE_AUTH_USERNAME` | The username to use for authentication. Only applies when store type 'nats-js-kv' is configured. | false |
|
||||
| | `OCIS_CACHE_AUTH_PASSWORD;GATEWAY_CREATE_HOME_CACHE_AUTH_PASSWORD` | The password to use for authentication. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| services/graph/pkg/config/cache.go | `OCIS_CACHE_DISABLE_PERSISTENCE;GRAPH_CACHE_DISABLE_PERSISTENCE` | Disables persistence of the cache. Only applies when store type 'nats-js-kv' is configured. Defaults to false. | false |
|
||||
| | `OCIS_CACHE_AUTH_USERNAME;GRAPH_CACHE_AUTH_USERNAME` | The username to authenticate with the cache. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| | `OCIS_CACHE_AUTH_PASSWORD;GRAPH_CACHE_AUTH_PASSWORD` | The password to authenticate with the cache. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| services/graph/pkg/config/config.go | `GRAPH_IDENTITY_SEARCH_MIN_LENGTH` | The minimum length the search term needs to have for unprivileged users when searching for users or groups. | |
|
||||
| | `OCIS_EVENTS_AUTH_USERNAME;GRAPH_EVENTS_AUTH_USERNAME` | The username to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services. | |
|
||||
| | `OCIS_EVENTS_AUTH_PASSWORD;GRAPH_EVENTS_AUTH_PASSWORD` | The password to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services. | |
|
||||
| | `OCIS_SERVICE_ACCOUNT_ID;GRAPH_SERVICE_ACCOUNT_ID` | The ID of the service account the service should use. See the 'auth-service' service description for more details. | |
|
||||
| | `OCIS_SERVICE_ACCOUNT_SECRET;GRAPH_SERVICE_ACCOUNT_SECRET` | The service account secret. | |
|
||||
| | `OCIS_ENABLE_RESHARING;GRAPH_ENABLE_RESHARING` | Changing this value is NOT supported. Enables the support for resharing in the clients. | |
|
||||
| services/idp/pkg/config/config.go | `IDP_LOGIN_BACKGROUND_URL` | Configure an alternative URL to the background image for the login page. | |
|
||||
| services/notifications/pkg/config/config.go | `OCIS_DEFAULT_LANGUAGE` | The default language used by services and the WebUI. If not defined, English will be used as default. See the documentation for more details. | |
|
||||
| | `OCIS_EVENTS_AUTH_USERNAME;NOTIFICATIONS_EVENTS_AUTH_USERNAME` | The username to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services. | |
|
||||
| | `OCIS_EVENTS_AUTH_PASSWORD;NOTIFICATIONS_EVENTS_AUTH_PASSWORD` | The password to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services. | |
|
||||
| | `OCIS_SERVICE_ACCOUNT_ID;NOTIFICATIONS_SERVICE_ACCOUNT_ID` | The ID of the service account the service should use. See the 'auth-service' service description for more details. | |
|
||||
| | `OCIS_SERVICE_ACCOUNT_SECRET;NOTIFICATIONS_SERVICE_ACCOUNT_SECRET` | The service account secret. | |
|
||||
| services/ocdav/pkg/config/config.go | `OCDAV_OCM_NAMESPACE` | The human readable path prefix for the ocm shares. | |
|
||||
| services/ocm/pkg/config/config.go | `SHARING_OCM_PROVIDER_AUTHORIZER_DRIVER` | Driver to be used to persist ocm invites. Supported value is only 'json'. | `json` |
|
||||
| | `OCM_HTTP_ADDR` | The bind address of the HTTP service. | |
|
||||
| | `OCM_HTTP_PROTOCOL` | The transport protocol of the HTTP service. | |
|
||||
| | `OCM_HTTP_PREFIX` | The path prefix where OCM can be accessed (defaults to /). | |
|
||||
| | `OCIS_SERVICE_ACCOUNT_ID;OCM_SERVICE_ACCOUNT_ID` | The ID of the service account the service should use. See the 'auth-service' service description for more details. | |
|
||||
| | `OCIS_SERVICE_ACCOUNT_SECRET;OCM_SERVICE_ACCOUNT_SECRET` | The service account secret. | |
|
||||
| | `OCIS_CORS_ALLOW_ORIGINS;OCM_CORS_ALLOW_ORIGINS` | A list of allowed CORS origins. See following chapter for more details: *Access-Control-Allow-Origin* at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin. See the Environment Variable Types description for more details. | |
|
||||
| | `OCIS_CORS_ALLOW_METHODS;OCM_CORS_ALLOW_METHODS` | A list of allowed CORS methods. See following chapter for more details: *Access-Control-Allow-Methods* at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods. See the Environment Variable Types description for more details. | |
|
||||
| | `OCIS_CORS_ALLOW_HEADERS;OCM_CORS_ALLOW_HEADERS` | A list of allowed CORS headers. See following chapter for more details: *Access-Control-Allow-Headers* at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers. See the Environment Variable Types description for more details. | |
|
||||
| | `OCIS_CORS_ALLOW_CREDENTIALS;OCM_CORS_ALLOW_CREDENTIALS` | Allow credentials for CORS.See following chapter for more details: *Access-Control-Allow-Credentials* at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials. | |
|
||||
| | `OCM_GRPC_ADDR` | The bind address of the GRPC service. | |
|
||||
| | `OCM_GRPC_PROTOCOL` | The transport protocol of the GRPC service. | |
|
||||
| | `OCM_SCIENCEMESH_PREFIX` | URL path prefix for the ScienceMesh service. Note that the string must not start with '/'. | |
|
||||
| | `OCM_MESH_DIRECTORY_URL ` | URL of the mesh directory service. | |
|
||||
| | `OCM_OCMD_PREFIX` | URL path prefix for the OCMd service. Note that the string must not start with '/'. | |
|
||||
| | `OCM_OCMD_EXPOSE_RECIPIENT_DISPLAY_NAME` | Expose the display name of OCM share recipients. | |
|
||||
| | `OCM_OCM_INVITE_MANAGER_DRIVER` | Driver to be used to persist ocm invites. Supported value is only 'json'. | `json` |
|
||||
| | `OCM_OCM_INVITE_MANAGER_INSECURE` | Disable TLS certificate validation for the OCM connections. Do not set this in production environments. | |
|
||||
| | `OCM_OCM_INVITE_MANAGER_JSON_FILE` | Path to the JSON file where OCM invite data will be stored. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH:/storage. | |
|
||||
| | `OCM_OCM_PROVIDER_AUTHORIZER_PROVIDERS_FILE` | Path to the JSON file where ocm invite data will be stored. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH:/storage. | |
|
||||
| | `OCM_OCM_PROVIDER_AUTHORIZER_VERIFY_REQUEST_HOSTNAME` | Verify the hostname of the request against the hostname of the OCM provider. | |
|
||||
| | `OCM_OCM_CORE_DRIVER` | Driver to be used to persist ocm shares. Supported value is only 'json'. | `json` |
|
||||
| | `OCM_OCM_STORAGE_PROVIDER_INSECURE` | Disable TLS certificate validation for the OCM connections. Do not set this in production environments. | |
|
||||
| | `OCM_OCM_STORAGE_PROVIDER_STORAGE_ROOT` | Directory where the ocm storage provider persists its data like tus upload info files. | |
|
||||
| | `OCM_OCM_CORE_JSON_FILE` | Path to the JSON file where OCM share data will be stored. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH:/storage. | |
|
||||
| | `OCM_OCM_SHARE_PROVIDER_DRIVER` | Driver to be used to persist ocm shares. Supported value is only 'json'. | `json` |
|
||||
| | `OCM_OCM_SHARE_PROVIDER_INSECURE` | Disable TLS certificate validation for the OCM connections. Do not set this in production environments. | |
|
||||
| | `OCM_WEBAPP_TEMPLATE` | Template for the webapp url. | |
|
||||
| | `OCM_OCM_SHAREPROVIDER_JSON_FILE` | Path to the JSON file where OCM share data will be stored. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH:/storage. | |
|
||||
| services/ocm/pkg/config/debug.go | `OCM_DEBUG_ADDR` | Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed. | |
|
||||
| | `OCM_DEBUG_TOKEN` | Token to secure the metrics endpoint. | |
|
||||
| | `OCM_DEBUG_PPROF` | Enables pprof, which can be used for profiling. | |
|
||||
| | `OCM_DEBUG_ZPAGES` | Enables zpages, which can be used for collecting and viewing in-memory traces. | |
|
||||
| services/ocm/pkg/config/log.go | `OCIS_LOG_LEVEL;OCM_LOG_LEVEL` | The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'." | |
|
||||
| | `OCIS_LOG_PRETTY;OCM_LOG_PRETTY` | Activates pretty log output. | |
|
||||
| | `OCIS_LOG_COLOR;OCM_LOG_COLOR` | Activates colorized log output. | |
|
||||
| | `OCIS_LOG_FILE;OCM_LOG_FILE` | The path to the log file. Activates logging to this file if set. | |
|
||||
| services/ocm/pkg/config/tracing.go | `OCIS_TRACING_ENABLED;OCM_TRACING_ENABLED` | Activates tracing. | |
|
||||
| | `OCIS_TRACING_TYPE;OCM_TRACING_TYPE` | The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now."` | |
|
||||
| | `OCIS_TRACING_ENDPOINT;OCM_TRACING_ENDPOINT` | The endpoint of the tracing agent. | |
|
||||
| | `OCIS_TRACING_COLLECTOR;OCM_TRACING_COLLECTOR` | The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset. | |
|
||||
| services/ocs/pkg/config/config.go | `OCIS_CACHE_STORE;OCS_PRESIGNEDURL_SIGNING_KEYS_STORE` | The type of the signing key store. Supported values are: 'redis-sentinel' and 'nats-js-kv'. See the text description for details. | |
|
||||
| | `OCIS_CACHE_STORE_NODES;OCS_PRESIGNEDURL_SIGNING_KEYS_STORE_NODES` | A list of nodes to access the configured store. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details. | |
|
||||
| | `OCIS_CACHE_TTL;OCS_PRESIGNEDURL_SIGNING_KEYS_STORE_TTL` | Default time to live for signing keys. See the Environment Variable Types description for more details. | |
|
||||
| | `OCIS_CACHE_AUTH_USERNAME;OCS_PRESIGNEDURL_SIGNING_KEYS_STORE_AUTH_USERNAME` | The username to authenticate with the store. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| | `OCIS_CACHE_AUTH_PASSWORD;OCS_PRESIGNEDURL_SIGNING_KEYS_STORE_AUTH_PASSWORD` | The password to authenticate with the store. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| services/policies/pkg/config/config.go | `OCIS_EVENTS_AUTH_USERNAME;POLICIES_EVENTS_AUTH_USERNAME` | The username to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services. | |
|
||||
| | `OCIS_EVENTS_AUTH_PASSWORD;POLICIES_EVENTS_AUTH_PASSWORD` | The password to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services. | |
|
||||
| services/policies/pkg/config/tracing.go | `OCIS_TRACING_ENABLED;POLICIES_TRACING_ENABLED` | Activates tracing. | |
|
||||
| | `OCIS_TRACING_TYPE;POLICIES_TRACING_TYPE` | The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now."` | |
|
||||
| | `OCIS_TRACING_ENDPOINT;POLICIES_TRACING_ENDPOINT` | The endpoint of the tracing agent. | |
|
||||
| | `OCIS_TRACING_COLLECTOR;POLICIES_TRACING_COLLECTOR` | The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset. | |
|
||||
| services/postprocessing/pkg/config/config.go | `POSTPROCESSING_RETRY_BACKOFF_DURATION` | The base for the exponential backoff duration before retrying a failed postprocessing step. See the Environment Variable Types description for more details. | |
|
||||
| | `POSTPROCESSING_MAX_RETRIES` | The maximum number of retries for a failed postprocessing step. | |
|
||||
| | `OCIS_EVENTS_AUTH_USERNAME;POSTPROCESSING_EVENTS_AUTH_USERNAME` | The username to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services. | |
|
||||
| | `OCIS_EVENTS_AUTH_PASSWORD;POSTPROCESSING_EVENTS_AUTH_PASSWORD` | The password to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services. | |
|
||||
| | `OCIS_PERSISTENT_STORE_AUTH_USERNAME;POSTPROCESSING_STORE_AUTH_USERNAME` | The username to authenticate with the store. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| | `OCIS_PERSISTENT_STORE_AUTH_PASSWORD;POSTPROCESSING_STORE_AUTH_PASSWORD` | The password to authenticate with the store. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| services/postprocessing/pkg/config/tracing.go | `OCIS_TRACING_ENABLED;POSTPROCESSING_TRACING_ENABLED` | Activates tracing. | |
|
||||
| | `OCIS_TRACING_TYPE;POSTPROCESSING_TRACING_TYPE` | The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now."` | |
|
||||
| | `OCIS_TRACING_ENDPOINT;POSTPROCESSING_TRACING_ENDPOINT` | The endpoint of the tracing agent. | |
|
||||
| | `OCIS_TRACING_COLLECTOR;POSTPROCESSING_TRACING_COLLECTOR` | The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset. | |
|
||||
| services/proxy/pkg/config/config.go | `OCIS_CACHE_AUTH_USERNAME;PROXY_OIDC_USERINFO_CACHE_AUTH_USERNAME` | The username to authenticate with the cache. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| | `OCIS_CACHE_AUTH_PASSWORD;PROXY_OIDC_USERINFO_CACHE_AUTH_PASSWORD` | The password to authenticate with the cache. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| | `OCIS_CACHE_STORE;PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE` | The type of the signing key store. Supported values are: 'redis-sentinel' and 'nats-js-kv'. See the text description for details. | |
|
||||
| | `OCIS_CACHE_STORE_NODES;PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_NODES` | A list of nodes to access the configured store. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details. | |
|
||||
| | `OCIS_CACHE_TTL;PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_TTL` | Default time to live for signing keys. See the Environment Variable Types description for more details. | |
|
||||
| | `OCIS_CACHE_DISABLE_PERSISTENCE;PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_DISABLE_PERSISTENCE` | Disables persistence of the store. Only applies when store type 'nats-js-kv' is configured. Defaults to true. | |
|
||||
| | `OCIS_CACHE_AUTH_USERNAME;PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_AUTH_USERNAME` | The username to authenticate with the store. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| | `OCIS_CACHE_AUTH_PASSWORD;PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_AUTH_PASSWORD` | The password to authenticate with the store. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| | `OCIS_SERVICE_ACCOUNT_ID;PROXY_SERVICE_ACCOUNT_ID` | The ID of the service account the service should use. See the 'auth-service' service description for more details. | |
|
||||
| | `OCIS_SERVICE_ACCOUNT_SECRET;PROXY_SERVICE_ACCOUNT_SECRET` | The service account secret. | |
|
||||
| services/search/pkg/config/config.go | `OCIS_SERVICE_ACCOUNT_ID;SEARCH_SERVICE_ACCOUNT_ID` | The ID of the service account the service should use. See the 'auth-service' service description for more details. | |
|
||||
| | `OCIS_SERVICE_ACCOUNT_SECRET;SEARCH_SERVICE_ACCOUNT_SECRET` | The service account secret. | |
|
||||
| services/search/pkg/config/content.go | `SEARCH_EXTRACTOR_TIKA_CLEAN_STOP_WORDS` | Defines if stop words should be cleaned or not. See the documentation for more details. | |
|
||||
| services/search/pkg/config/search.go | `OCIS_EVENTS_AUTH_USERNAME;SEARCH_EVENTS_AUTH_USERNAME` | The username to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services. | |
|
||||
| | `OCIS_EVENTS_AUTH_PASSWORD;SEARCH_EVENTS_AUTH_PASSWORD` | The password to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services. | |
|
||||
| services/settings/pkg/config/config.go | `SETTINGS_SERVICE_ACCOUNT_IDS;OCIS_SERVICE_ACCOUNT_ID` | The list of all service account IDs. These will be assigned the hidden 'service-account' role. Note: When using 'OCIS_SERVICE_ACCOUNT_ID' this will contain only one value while 'SETTINGS_SERVICE_ACCOUNT_IDS' can have multiple. See the 'auth-service' service description for more details about service accounts. | |
|
||||
| | `OCIS_DEFAULT_LANGUAGE` | The default language used by services and the WebUI. If not defined, English will be used as default. See the documentation for more details. | |
|
||||
| | `OCIS_CACHE_DISABLE_PERSISTENCE;SETTINGS_CACHE_DISABLE_PERSISTENCE` | Disables persistence of the cache. Only applies when store type 'nats-js-kv' is configured. Defaults to false. | |
|
||||
| | `OCIS_CACHE_AUTH_USERNAME;SETTINGS_CACHE_AUTH_USERNAME` | The username to authenticate with the cache. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| | `OCIS_CACHE_AUTH_PASSWORD;SETTINGS_CACHE_AUTH_PASSWORD` | The password to authenticate with the cache. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| | `OCIS_EVENTS_AUTH_USERNAME;SETTINGS_EVENTS_AUTH_USERNAME` | The username to authenticate with the cache. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| | `OCIS_EVENTS_AUTH_PASSWORD;SETTINGS_EVENTS_AUTH_PASSWORD` | The password to authenticate with the cache. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| services/sharing/pkg/config/config.go | `OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD;SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD` | Set this to true if you want to enforce passwords on Uploader, Editor or Contributor shares. If not using the global OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD, you must define the FRONTEND_OCS_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD in the frontend service. | |
|
||||
| | `OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD;SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD` | Set this to true if you want to enforce passwords on all public shares. | |
|
||||
| | `OCIS_EVENTS_AUTH_USERNAME;SHARING_EVENTS_AUTH_USERNAME` | Username for the events broker. | |
|
||||
| | `OCIS_EVENTS_AUTH_PASSWORD;SHARING_EVENTS_AUTH_PASSWORD` | Password for the events broker. | |
|
||||
| | `OCIS_PASSWORD_POLICY_DISABLED;SHARING_PASSWORD_POLICY_DISABLED` | Disable the password policy. Defaults to false if not set. | |
|
||||
| | `OCIS_PASSWORD_POLICY_MIN_CHARACTERS;SHARING_PASSWORD_POLICY_MIN_CHARACTERS` | Define the minimum password length. Defaults to 0 if not set. | 0 |
|
||||
| | `OCIS_PASSWORD_POLICY_MIN_LOWERCASE_CHARACTERS;SHARING_PASSWORD_POLICY_MIN_LOWERCASE_CHARACTERS` | Define the minimum number of lowercase characters. Defaults to 0 if not set. | 0 |
|
||||
| | `OCIS_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS;SHARING_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS` | Define the minimum number of uppercase characters. Defaults to 0 if not set. | 0 |
|
||||
| | `OCIS_PASSWORD_POLICY_MIN_DIGITS;SHARING_PASSWORD_POLICY_MIN_DIGITS` | Define the minimum number of digits. Defaults to 0 if not set. | 0 |
|
||||
| | `OCIS_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS;SHARING_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS` | Define the minimum number of special characters. Defaults to 0 if not set. | 0 |
|
||||
| | `OCIS_PASSWORD_POLICY_BANNED_PASSWORDS_LIST;SHARING_PASSWORD_POLICY_BANNED_PASSWORDS_LIST` | Path to the 'banned passwords list' file. See the documentation for more details. | |
|
||||
| services/sse/pkg/config/config.go | `OCIS_LOG_LEVEL;SSE_LOG_LEVEL` | The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'." | |
|
||||
| | `OCIS_LOG_PRETTY;SSE_LOG_PRETTY` | Activates pretty log output. | |
|
||||
| | `OCIS_LOG_COLOR;SSE_LOG_COLOR` | Activates colorized log output. | |
|
||||
| | `OCIS_LOG_FILE;SSE_LOG_FILE` | The path to the log file. Activates logging to this file if set. | |
|
||||
| | `SSE_DEBUG_ADDR` | Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed. | |
|
||||
| | `SSE_DEBUG_TOKEN` | Token to secure the metrics endpoint. | |
|
||||
| | `SSE_DEBUG_PPROF` | Enables pprof, which can be used for profiling. | |
|
||||
| | `SSE_DEBUG_ZPAGES` | Enables zpages, which can be used for collecting and viewing in-memory traces. | |
|
||||
| | `OCIS_EVENTS_ENDPOINT;SSE_EVENTS_ENDPOINT` | The address of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture. | |
|
||||
| | `OCIS_EVENTS_CLUSTER;SSE_EVENTS_CLUSTER` | The clusterID of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture. Mandatory when using NATS as event system. | |
|
||||
| | `OCIS_INSECURE;SSE_EVENTS_TLS_INSECURE` | Whether to verify the server TLS certificates. | |
|
||||
| | `OCIS_EVENTS_TLS_ROOT_CA_CERTIFICATE;SSE_EVENTS_TLS_ROOT_CA_CERTIFICATE` | The root CA certificate used to validate the server's TLS certificate. If provided NOTIFICATIONS_EVENTS_TLS_INSECURE will be seen as false. | |
|
||||
| | `OCIS_EVENTS_ENABLE_TLS;SSE_EVENTS_ENABLE_TLS` | Enable TLS for the connection to the events broker. The events broker is the ocis service which receives and delivers events between the services.. | |
|
||||
| | `OCIS_EVENTS_AUTH_USERNAME;SSE_EVENTS_AUTH_USERNAME` | The username to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services.. | |
|
||||
| | `OCIS_EVENTS_AUTH_PASSWORD;SSE_EVENTS_AUTH_PASSWORD` | The password to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services.. | |
|
||||
| | `OCIS_CORS_ALLOW_ORIGINS;SSE_CORS_ALLOW_ORIGINS` | A list of allowed CORS origins. See following chapter for more details: *Access-Control-Allow-Origin* at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin. See the Environment Variable Types description for more details. | |
|
||||
| | `OCIS_CORS_ALLOW_METHODS;SSE_CORS_ALLOW_METHODS` | A list of allowed CORS methods. See following chapter for more details: *Access-Control-Allow-Methods* at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods. See the Environment Variable Types description for more details. | |
|
||||
| | `OCIS_CORS_ALLOW_HEADERS;SSE_CORS_ALLOW_HEADERS` | A list of allowed CORS headers. See following chapter for more details: *Access-Control-Allow-Headers* at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers. See the Environment Variable Types description for more details. | |
|
||||
| | `OCIS_CORS_ALLOW_CREDENTIALS;SSE_CORS_ALLOW_CREDENTIALS` | Allow credentials for CORS.See following chapter for more details: *Access-Control-Allow-Credentials* at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials. | |
|
||||
| | `SSE_HTTP_ADDR` | The bind address of the HTTP service. | |
|
||||
| | `SSE_HTTP_ROOT` | The root path of the HTTP service. | |
|
||||
| | `OCIS_JWT_SECRET;SSE_JWT_SECRET` | The secret to mint and validate jwt tokens. | |
|
||||
| services/sse/pkg/config/tracing.go | `OCIS_TRACING_ENABLED;SSE_TRACING_ENABLED` | Activates tracing. | |
|
||||
| | `OCIS_TRACING_TYPE;SSE_TRACING_TYPE` | The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now."` | |
|
||||
| | `OCIS_TRACING_ENDPOINT;SSE_TRACING_ENDPOINT` | The endpoint of the tracing agent. | |
|
||||
| | `OCIS_TRACING_COLLECTOR;SSE_TRACING_COLLECTOR` | The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset. | |
|
||||
| services/storage-system/pkg/config/config.go | `OCIS_CACHE_DISABLE_PERSISTENCE;STORAGE_SYSTEM_CACHE_DISABLE_PERSISTENCE` | Disables persistence of the cache. Only applies when store type 'nats-js-kv' is configured. Defaults to false. | false |
|
||||
| | `OCIS_CACHE_AUTH_USERNAME;STORAGE_SYSTEM_CACHE_AUTH_USERNAME` | Username for the configured store. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| | `OCIS_CACHE_AUTH_PASSWORD;STORAGE_SYSTEM_CACHE_AUTH_PASSWORD` | TPassword for the configured store. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| services/storage-users/pkg/config/config.go | `OCIS_GATEWAY_GRPC_ADDR;STORAGE_USERS_GATEWAY_GRPC_ADDR` | The bind address of the gateway GRPC address. | |
|
||||
| | `OCIS_MACHINE_AUTH_API_KEY;STORAGE_USERS_MACHINE_AUTH_API_KEY` | Machine auth API key used to validate internal requests necessary for the access to resources from other services. | |
|
||||
| | `STORAGE_USERS_CLI_MAX_ATTEMPTS_RENAME_FILE` | The maximum number of attempts to rename a file when a user restores a file to an existing destination with the same name. The minimum value is 100. | |
|
||||
| | `OCIS_EVENTS_AUTH_USERNAME;STORAGE_USERS_EVENTS_AUTH_USERNAME` | The username to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services. | |
|
||||
| | `OCIS_EVENTS_AUTH_PASSWORD;STORAGE_USERS_EVENTS_AUTH_PASSWORD` | The password to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services. | |
|
||||
| | `OCIS_CACHE_DISABLE_PERSISTENCE;STORAGE_USERS_STAT_CACHE_DISABLE_PERSISTENCE` | Disables persistence of the stat cache. Only applies when store type 'nats-js-kv' is configured. Defaults to false. | false |
|
||||
| | `OCIS_CACHE_DISABLE_PERSISTENCE;STORAGE_USERS_FILEMETADATA_CACHE_DISABLE_PERSISTENCE` | Disables persistence of the file metadata cache. Only applies when store type 'nats-js-kv' is configured. Defaults to false. | false |
|
||||
| | `OCIS_CACHE_AUTH_USERNAME;STORAGE_USERS_FILEMETADATA_CACHE_AUTH_USERNAME` | The username to authenticate with the cache store. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| | `OCIS_CACHE_AUTH_PASSWORD;STORAGE_USERS_FILEMETADATA_CACHE_AUTH_PASSWORD` | The password to authenticate with the cache store. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| | `OCIS_CACHE_DISABLE_PERSISTENCE;STORAGE_USERS_ID_CACHE_DISABLE_PERSISTENCE` | Disables persistence of the id cache. Only applies when store type 'nats-js-kv' is configured. Defaults to false. | false |
|
||||
| | `OCIS_CACHE_AUTH_USERNAME;STORAGE_USERS_ID_CACHE_AUTH_USERNAME` | The username to authenticate with the cache store. Only applies when store type 'nats-js-kv' is configured | |
|
||||
| | `OCIS_CACHE_AUTH_PASSWORD;STORAGE_USERS_ID_CACHE_AUTH_PASSWORD` | The password to authenticate with the cache store. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| | `OCIS_SERVICE_ACCOUNT_ID;STORAGE_USERS_SERVICE_ACCOUNT_ID` | The ID of the service account the service should use. See the 'auth-service' service description for more details. | |
|
||||
| | `OCIS_SERVICE_ACCOUNT_SECRET;STORAGE_USERS_SERVICE_ACCOUNT_SECRET` | The service account secret. | |
|
||||
| services/userlog/pkg/config/config.go | `OCIS_DEFAULT_LANGUAGE` | The default language used by services and the WebUI. If not defined, English will be used as default. See the documentation for more details. | |
|
||||
| | `OCIS_PERSISTENT_STORE_AUTH_USERNAME;USERLOG_STORE_AUTH_USERNAME` | The username to authenticate with the store. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| | `OCIS_PERSISTENT_STORE_AUTH_PASSWORD;USERLOG_STORE_AUTH_PASSWORD` | The password to authenticate with the store. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| | `OCIS_EVENTS_AUTH_USERNAME;USERLOG_EVENTS_AUTH_USERNAME` | The username to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services. | |
|
||||
| | `OCIS_EVENTS_AUTH_PASSWORD;USERLOG_EVENTS_AUTH_PASSWORD` | The password to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services. | |
|
||||
| | `OCIS_SERVICE_ACCOUNT_ID;USERLOG_SERVICE_ACCOUNT_ID` | The ID of the service account the service should use. See the 'auth-service' service description for more details. | |
|
||||
| | `OCIS_SERVICE_ACCOUNT_SECRET;USERLOG_SERVICE_ACCOUNT_SECRET` | The service account secret. | |
|
||||
| services/web/pkg/config/options.go | `WEB_OPTION_LOGIN_URL` | Specifies the target URL to the login page. This is helpful when an external IdP is used. This option is disabled by default. Example URL like: https://www.myidp.com/login. | | |
|
||||
| | `WEB_OPTION_DISABLED_EXTENSIONS` | A list to disable specific Web extensions identified by their ID. The ID can e.g. be taken from the 'index.ts' file of the web extension. Example: 'com.github.owncloud.web.files.search,com.github.owncloud.web.files.print'. See the Environment Variable Types description for more details. | |
|
||||
| | `WEB_OPTION_USER_LIST_REQUIRES_FILTER` | Defines whether one or more filters must be set in order to list users in the Web admin settings. Set this option to 'true' if running in an environment with a lot of users and listing all users could slow down performance. Defaults to 'false'. | false |
|
||||
| | `WEB_OPTION_EMBED_ENABLED` | Defines whether Web should be running in 'embed' mode. Setting this to 'true' will enable a stripped down version of Web with reduced functionality used to integrate Web into other applications like via iFrame. Setting it to 'false' or not setting it (default) will run Web as usual with all functionality enabled. See the text description for more details. | |
|
||||
| | `WEB_OPTION_EMBED_TARGET` | Defines how Web is being integrated when running in 'embed' mode. Currently, the only supported options are '' (empty) and 'location'. With '' which is the default, Web will run regular as defined via the 'embed.enabled' config option. With 'location', Web will run embedded as location picker. Resource selection will be disabled and the selected resources array always includes the current folder as the only item. See the text description for more details. | |
|
||||
| | `WEB_OPTION_EMBED_MESSAGES_ORIGIN` | Defines a URL under which Web can be integrated via iFrame in 'embed' mode. Note that setting this is mandatory when running Web in 'embed' mode. Use '*' as value to allow running the iFrame under any URL, although this is not recommended for security reasons. See the text description for more details. | |
|
||||
| | `WEB_OPTION_EMBED_DELEGATE_AUTHENTICATION` | Defines whether Web should require authentication to be done by the parent application when running in 'embed' mode. If set to 'true' Web will not try to authenticate the user on its own but will require an access token coming from the parent application. Defaults to being unset. | |
|
||||
| | `WEB_OPTION_EMBED_DELEGATE_AUTHENTICATION_ORIGIN` | Defines the host to validate the message event origin against when running Web in 'embed' mode with delegated authentication. Defaults to event message origin validation being omitted, which is only recommended for development setups. | |
|
||||
| | `WEB_OPTION_CONCURRENT_REQUESTS_RESOURCE_BATCH_ACTIONS` | Defines the maximum number of concurrent requests per file/folder/space batch action. Defaults to 4. | |
|
||||
| | `WEB_OPTION_CONCURRENT_REQUESTS_SSE` | Defines the maximum number of concurrent requests in SSE event handlers. Defaults to 4. | |
|
||||
| | `WEB_OPTION_CONCURRENT_REQUESTS_SHARES_CREATE` | Defines the maximum number of concurrent requests per sharing invite batch. Defaults to 4. | |
|
||||
| | `WEB_OPTION_CONCURRENT_REQUESTS_SHARES_LIST` | Defines the maximum number of concurrent requests when loading individual share information inside listings. Defaults to 2. | |
|
||||
@@ -0,0 +1,55 @@
|
||||
// Removed Variables between oCIS 4.0.0 and oCIS 5.0.0
|
||||
// commenting the headline to make it better includable
|
||||
|
||||
// table created based on the .md file per 2024.02.12
|
||||
// the table should be recreated/updated based on the final .md file
|
||||
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
|===
|
||||
| Service| Variable| Replacement| Description
|
||||
|
||||
| xref:{s-path}/auth-basic.adoc[auth-basic]
|
||||
| `LDAP_BIND_PASSWORD`
|
||||
| `OCIS_LDAP_BIND_PASSWORD`
|
||||
| Password to use for authenticating the 'bind_dn'.
|
||||
|
||||
| xref:{s-path}/graph.adoc[graph]
|
||||
| `LDAP_BIND_PASSWORD`
|
||||
| `OCIS_LDAP_BIND_PASSWORD`
|
||||
| Password to use for authenticating the 'bind_dn'.
|
||||
|
||||
| xref:{s-path}/groups.adoc[groups]
|
||||
| `LDAP_BIND_PASSWORD`
|
||||
| `OCIS_LDAP_BIND_PASSWORD`
|
||||
| Password to use for authenticating the 'bind_dn'.
|
||||
|
||||
| xref:{s-path}/idp.adoc[idp]
|
||||
| `LDAP_BIND_PASSWORD`
|
||||
| `OCIS_LDAP_BIND_PASSWORD`
|
||||
| Password to use for authenticating the 'bind_dn'.
|
||||
|
||||
| xref:{s-path}/sharing.adoc[sharing]
|
||||
| `SHARING_EVENTS_TLS_ROOT_CA_CERT`
|
||||
| `SHARING_EVENTS_TLS_ROOT_CA_CERTIFICATE`
|
||||
| The root CA certificate used to validate the server's TLS certificate. If provided SHARING_EVENTS_TLS_INSECURE will be seen as false.
|
||||
|
||||
| xref:{s-path}/users.adoc[users]
|
||||
| `LDAP_BIND_PASSWORD`
|
||||
| `OCIS_LDAP_BIND_PASSWORD`
|
||||
| Password to use for authenticating the 'bind_dn'.
|
||||
|
||||
|
|
||||
| `LDAP_USER_SCHEMA_ID_IS_OCTETSTRING`
|
||||
| `OCIS_LDAP_USER_SCHEMA_ID_IS_OCTETSTRING`
|
||||
| Set this to true if the defined 'ID' attribute for users is of the 'OCTETSTRING' syntax. This is e.g. required when using the 'objectGUID' attribute of Active Directory for the user ID's.
|
||||
|
||||
| xref:{s-path}/web.adoc[web]
|
||||
| `WEB_OPTION_IMPRINT_URL`
|
||||
| To be configured via the `theme.json` file
|
||||
| Specifies the target URL for the imprint link valid for the ocis instance in the account menu.
|
||||
|
||||
|
|
||||
| `WEB_OPTION_PRIVACY_URL`
|
||||
| To be configured via the `theme.json` file
|
||||
| Specifies the target URL for the privacy link valid for the ocis instance in the account menu.
|
||||
|===
|
||||
@@ -0,0 +1,13 @@
|
||||
# Removed Variables between oCIS 4.0.0 and oCIS 5.0.0
|
||||
|
||||
| File | Variable | Replacement | Description |
|
||||
|------------------------------------------|--------------------------------------|-------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| services/auth-basic/pkg/config/config.go | `LDAP_BIND_PASSWORD` | `OCIS_LDAP_BIND_PASSWORD` | Password to use for authenticating the 'bind_dn'. |
|
||||
| services/graph/pkg/config/config.go | `LDAP_BIND_PASSWORD` | `OCIS_LDAP_BIND_PASSWORD` | Password to use for authenticating the 'bind_dn'. |
|
||||
| services/groups/pkg/config/config.go | `LDAP_BIND_PASSWORD` | `OCIS_LDAP_BIND_PASSWORD` | Password to use for authenticating the 'bind_dn'. |
|
||||
| services/idp/pkg/config/config.go | `LDAP_BIND_PASSWORD` | `OCIS_LDAP_BIND_PASSWORD` | Password to use for authenticating the 'bind_dn'. |
|
||||
| services/sharing/pkg/config/config.go | `SHARING_EVENTS_TLS_ROOT_CA_CERT` | `SHARING_EVENTS_TLS_ROOT_CA_CERTIFICATE` | The root CA certificate used to validate the server's TLS certificate. If provided SHARING_EVENTS_TLS_INSECURE will be seen as false. |
|
||||
| services/users/pkg/config/config.go | `LDAP_BIND_PASSWORD` | `OCIS_LDAP_BIND_PASSWORD` | Password to use for authenticating the 'bind_dn'. |
|
||||
| | `LDAP_USER_SCHEMA_ID_IS_OCTETSTRING` | `OCIS_LDAP_USER_SCHEMA_ID_IS_OCTETSTRING` | Set this to true if the defined 'ID' attribute for users is of the 'OCTETSTRING' syntax. This is e.g. required when using the 'objectGUID' attribute of Active Directory for the user ID's. |
|
||||
| services/web/pkg/config/options.go | `WEB_OPTION_IMPRINT_URL` | To be configured via the `theme.json` file | Specifies the target URL for the imprint link valid for the ocis instance in the account menu. |
|
||||
| | `WEB_OPTION_PRIVACY_URL` | To be configured via the `theme.json` file | Specifies the target URL for the privacy link valid for the ocis instance in the account menu. |
|
||||
@@ -0,0 +1,637 @@
|
||||
// # Added Variables between oCIS 5.0.0 and oCIS 7.0.0
|
||||
// commenting the headline to make it better includable
|
||||
|
||||
// table created per 2024.12.02
|
||||
// the table should be recreated/updated on source () changes
|
||||
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
|===
|
||||
| Service | Variable | Description | Default
|
||||
|
||||
| xref:deployment/services/env-vars-special-scope.adoc[Special Scope Envvars]
|
||||
| OCIS_ASSET_THEMES_PATH
|
||||
| Serve ownCloud themes from a path on the filesystem instead of the builtin assets. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH/web/assets/themes
|
||||
| /var/lib/ocis/web/assets/themes
|
||||
|
||||
|
|
||||
| OCIS_DISABLE_VERSIONING
|
||||
| Disables versioning of files. When set to true, new uploads with the same filename will overwrite existing files instead of creating a new version.
|
||||
| false
|
||||
|
||||
|
|
||||
| OCIS_SHOW_USER_EMAIL_IN_RESULTS
|
||||
| Include user email addresses in responses. If absent or set to false emails will be omitted from results. Please note that admin users can always see all email addresses.
|
||||
| false
|
||||
|
||||
|
|
||||
| OCIS_TRANSLATION_PATH
|
||||
| (optional) Set this to a path with custom translations to overwrite the builtin translations. Note that file and folder naming rules apply, see the documentation for more details.
|
||||
|
|
||||
|
||||
|
|
||||
| OCIS_WOPI_DISABLE_CHAT
|
||||
| Disable chat in the office web frontend. This feature applies to OnlyOffice and Microsoft.
|
||||
| false
|
||||
|
||||
| xref:{s-path}/activitylog.adoc[Activitylog]
|
||||
| ACTIVITYLOG_TRANSLATION_PATH
|
||||
| (optional) Set this to a path with custom translations to overwrite the builtin translations. Note that file and folder naming rules apply, see the documentation for more details.
|
||||
|
|
||||
|
||||
| xref:{s-path}/antivirus.adoc[Antivirus]
|
||||
| ANTIVIRUS_WORKERS
|
||||
| The number of concurrent go routines that fetch events from the event queue.
|
||||
| 10
|
||||
|
||||
| xref:{s-path}/auth-app.adoc[Auth-App]
|
||||
| AUTH_APP_DEBUG_ADDR
|
||||
| Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed.
|
||||
| 127.0.0.1:9245
|
||||
|
||||
|
|
||||
| AUTH_APP_DEBUG_PPROF
|
||||
| Enables pprof, which can be used for profiling.
|
||||
| false
|
||||
|
||||
|
|
||||
| AUTH_APP_DEBUG_TOKEN
|
||||
| Token to secure the metrics endpoint.
|
||||
|
|
||||
|
||||
|
|
||||
| AUTH_APP_DEBUG_ZPAGES
|
||||
| Enables zpages, which can be used for collecting and viewing traces in-memory.
|
||||
| false
|
||||
|
||||
|
|
||||
| AUTH_APP_ENABLE_IMPERSONATION
|
||||
| Allows admins to create app tokens for other users. Used for migration. Do NOT use in productive deployments.
|
||||
| false
|
||||
|
||||
|
|
||||
| AUTH_APP_GRPC_ADDR
|
||||
| The bind address of the GRPC service.
|
||||
| 127.0.0.1:9246
|
||||
|
||||
|
|
||||
| AUTH_APP_GRPC_PROTOCOL
|
||||
| The transport protocol of the GRPC service.
|
||||
| tcp
|
||||
|
||||
|
|
||||
| AUTH_APP_JWT_SECRET
|
||||
| The secret to mint and validate jwt tokens.
|
||||
|
|
||||
|
||||
|
|
||||
| AUTH_APP_LOG_COLOR
|
||||
| Activates colorized log output.
|
||||
| false
|
||||
|
||||
|
|
||||
| AUTH_APP_LOG_FILE
|
||||
| The path to the log file. Activates logging to this file if set.
|
||||
|
|
||||
|
||||
|
|
||||
| AUTH_APP_LOG_LEVEL
|
||||
| The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'.
|
||||
|
|
||||
|
||||
|
|
||||
| AUTH_APP_LOG_PRETTY
|
||||
| Activates pretty log output.
|
||||
| false
|
||||
|
||||
|
|
||||
| AUTH_APP_MACHINE_AUTH_API_KEY
|
||||
| The machine auth API key used to validate internal requests necessary to access resources from other services.
|
||||
|
|
||||
|
||||
|
|
||||
| AUTH_APP_SKIP_USER_GROUPS_IN_TOKEN
|
||||
| Disables the encoding of the user's group memberships in the access token. This reduces the token size, especially when users are members of a large number of groups.
|
||||
| false
|
||||
|
||||
|
|
||||
| AUTH_APP_TRACING_COLLECTOR
|
||||
| The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset.
|
||||
|
|
||||
|
||||
|
|
||||
| AUTH_APP_TRACING_ENABLED
|
||||
| Activates tracing.
|
||||
| false
|
||||
|
||||
|
|
||||
| AUTH_APP_TRACING_ENDPOINT
|
||||
| The endpoint of the tracing agent.
|
||||
|
|
||||
|
||||
|
|
||||
| AUTH_APP_TRACING_TYPE
|
||||
| The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
|
||||
|
||||
| xref:{s-path}/collaboration.adoc[Collaboration]
|
||||
| COLLABORATION_APP_ADDR
|
||||
| The URL where the WOPI app is located, such as https://127.0.0.1:8080.
|
||||
| https://127.0.0.1:9980
|
||||
|
||||
|
|
||||
| COLLABORATION_APP_DESCRIPTION
|
||||
| App description
|
||||
| Open office documents with Collabora
|
||||
|
||||
|
|
||||
| COLLABORATION_APP_ICON
|
||||
| Icon for the app
|
||||
| image-edit
|
||||
|
||||
|
|
||||
| COLLABORATION_APP_INSECURE
|
||||
| Skip TLS certificate verification when connecting to the WOPI app
|
||||
| false
|
||||
|
||||
|
|
||||
| COLLABORATION_APP_LICENSE_CHECK_ENABLE
|
||||
| Enable license checking to edit files. Needs to be enabled when using Microsoft365 with the business flow.
|
||||
| false
|
||||
|
||||
|
|
||||
| COLLABORATION_APP_NAME
|
||||
| The name of the app which is shown to the user. You can chose freely but you are limited to a single word without special characters or whitespaces. We recommend to use pascalCase like 'CollaboraOnline'.
|
||||
| Collabora
|
||||
|
||||
|
|
||||
| COLLABORATION_APP_PRODUCT
|
||||
| The WebOffice app, either Collabora, OnlyOffice, Microsoft365 or MicrosoftOfficeOnline.
|
||||
| Collabora
|
||||
|
||||
|
|
||||
| COLLABORATION_APP_PROOF_DISABLE
|
||||
| Disable the proof keys verification
|
||||
| false
|
||||
|
||||
|
|
||||
| COLLABORATION_APP_PROOF_DURATION
|
||||
| Duration for the proof keys to be cached in memory, using time.ParseDuration format. If the duration can't be parsed, we'll use the default 12h as duration
|
||||
| 12h
|
||||
|
||||
|
|
||||
| COLLABORATION_CS3API_DATAGATEWAY_INSECURE
|
||||
| Connect to the CS3API data gateway insecurely.
|
||||
| false
|
||||
|
||||
|
|
||||
| COLLABORATION_DEBUG_ADDR
|
||||
| Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed.
|
||||
| 127.0.0.1:9304
|
||||
|
||||
|
|
||||
| COLLABORATION_DEBUG_PPROF
|
||||
| Enables pprof, which can be used for profiling.
|
||||
| false
|
||||
|
||||
|
|
||||
| COLLABORATION_DEBUG_TOKEN
|
||||
| Token to secure the metrics endpoint.
|
||||
|
|
||||
|
||||
|
|
||||
| COLLABORATION_DEBUG_ZPAGES
|
||||
| Enables zpages, which can be used for collecting and viewing in-memory traces.
|
||||
| false
|
||||
|
||||
|
|
||||
| COLLABORATION_GRPC_ADDR
|
||||
| The bind address of the GRPC service.
|
||||
| 127.0.0.1:9301
|
||||
|
||||
|
|
||||
| COLLABORATION_GRPC_PROTOCOL
|
||||
| The transport protocol of the GRPC service.
|
||||
| tcp
|
||||
|
||||
|
|
||||
| COLLABORATION_HTTP_ADDR
|
||||
| The bind address of the HTTP service.
|
||||
| 127.0.0.1:9300
|
||||
|
||||
|
|
||||
| COLLABORATION_LOG_COLOR
|
||||
| Activates colorized log output.
|
||||
| false
|
||||
|
||||
|
|
||||
| COLLABORATION_LOG_FILE
|
||||
| The path to the log file. Activates logging to this file if set.
|
||||
|
|
||||
|
||||
|
|
||||
| COLLABORATION_LOG_LEVEL
|
||||
| The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'.
|
||||
|
|
||||
|
||||
|
|
||||
| COLLABORATION_LOG_PRETTY
|
||||
| Activates pretty log output.
|
||||
| false
|
||||
|
||||
|
|
||||
| COLLABORATION_STORE
|
||||
| The type of the store. Supported values are: 'memory', 'nats-js-kv', 'redis-sentinel', 'noop'. See the text description for details.
|
||||
| nats-js-kv
|
||||
|
||||
|
|
||||
| COLLABORATION_STORE_AUTH_PASSWORD
|
||||
| The password to authenticate with the store. Only applies when store type 'nats-js-kv' is configured.
|
||||
|
|
||||
|
||||
|
|
||||
| COLLABORATION_STORE_AUTH_USERNAME
|
||||
| The username to authenticate with the store. Only applies when store type 'nats-js-kv' is configured.
|
||||
|
|
||||
|
||||
|
|
||||
| COLLABORATION_STORE_DATABASE
|
||||
| The database name the configured store should use.
|
||||
| collaboration
|
||||
|
||||
|
|
||||
| COLLABORATION_STORE_NODES
|
||||
| A list of nodes to access the configured store. This has no effect when 'memory' store is configured. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details.
|
||||
| [127.0.0.1:9233]
|
||||
|
||||
|
|
||||
| COLLABORATION_STORE_TABLE
|
||||
| The database table the store should use.
|
||||
|
|
||||
|
||||
|
|
||||
| COLLABORATION_STORE_TTL
|
||||
| Time to live for events in the store. Defaults to '30m' (30 minutes). See the Environment Variable Types description for more details.
|
||||
| 30m0s
|
||||
|
||||
|
|
||||
| COLLABORATION_TRACING_COLLECTOR
|
||||
| The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset.
|
||||
|
|
||||
|
||||
|
|
||||
| COLLABORATION_TRACING_ENABLED
|
||||
| Activates tracing.
|
||||
| false
|
||||
|
||||
|
|
||||
| COLLABORATION_TRACING_ENDPOINT
|
||||
| The endpoint of the tracing agent.
|
||||
|
|
||||
|
||||
|
|
||||
| COLLABORATION_TRACING_TYPE
|
||||
| The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
|
||||
|
||||
|
|
||||
| COLLABORATION_WOPI_DISABLE_CHAT
|
||||
| Disable chat in the office web frontend. This feature applies to OnlyOffice and Microsoft.
|
||||
| false
|
||||
|
||||
|
|
||||
| COLLABORATION_WOPI_PROXY_SECRET
|
||||
| Optional, the secret to authenticate against the ownCloud Office365 WOPI proxy. This secret can be obtained from ownCloud via the office365 proxy subscription.
|
||||
|
|
||||
|
||||
|
|
||||
| COLLABORATION_WOPI_PROXY_URL
|
||||
| The URL to the ownCloud Office365 WOPI proxy. Optional. To use this feature, you need an office365 proxy subscription. If you become part of the Microsoft CSP program (https://learn.microsoft.com/en-us/partner-center/enroll/csp-overview), you can use WebOffice without a proxy.
|
||||
|
|
||||
|
||||
|
|
||||
| COLLABORATION_WOPI_SECRET
|
||||
| Used to mint and verify WOPI JWT tokens and encrypt and decrypt the REVA JWT token embedded in the WOPI JWT token.
|
||||
|
|
||||
|
||||
|
|
||||
| COLLABORATION_WOPI_SHORTTOKENS
|
||||
| Use short access tokens for WOPI access. This is useful for office packages, like Microsoft Office Online, which have URL length restrictions. If enabled, a persistent store must be configured.
|
||||
| false
|
||||
|
||||
|
|
||||
| COLLABORATION_WOPI_SRC
|
||||
| The WOPI source base URL containing schema, host and port. Set this to the schema and domain where the collaboration service is reachable for the wopi app, such as https://office.owncloud.test.
|
||||
| https://localhost:9300
|
||||
|
||||
| xref:{s-path}/frontend.adoc[Frontend]
|
||||
| FRONTEND_APP_HANDLER_SECURE_VIEW_APP_ADDR
|
||||
| Service name or address of the app provider to use for secure view. Should match the service name or address of the registered CS3 app provider.
|
||||
| com.owncloud.api.collaboration
|
||||
|
||||
|
|
||||
| FRONTEND_MAX_CONCURRENCY
|
||||
| Maximum number of concurrent go-routines. Higher values can potentially get work done faster but will also cause more load on the system. Values of 0 or below will be ignored and the default value will be used.
|
||||
| 1
|
||||
|
||||
| xref:{s-path}/gateway.adoc[Gateway]
|
||||
| GATEWAY_APP_REGISTRY_ENDPOINT
|
||||
| The endpoint of the app-registry service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
|
||||
| com.owncloud.api.app-registry
|
||||
|
||||
|
|
||||
| GATEWAY_AUTH_APP_ENDPOINT
|
||||
| The endpoint of the auth-app service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
|
||||
| com.owncloud.api.auth-app
|
||||
|
||||
|
|
||||
| GATEWAY_AUTH_BASIC_ENDPOINT
|
||||
| The endpoint of the auth-basic service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
|
||||
| com.owncloud.api.auth-basic
|
||||
|
||||
|
|
||||
| GATEWAY_AUTH_BEARER_ENDPOINT
|
||||
| The endpoint of the auth-bearer service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
|
||||
|
|
||||
|
||||
|
|
||||
| GATEWAY_AUTH_MACHINE_ENDPOINT
|
||||
| The endpoint of the auth-machine service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
|
||||
| com.owncloud.api.auth-machine
|
||||
|
||||
|
|
||||
| GATEWAY_AUTH_SERVICE_ENDPOINT
|
||||
| The endpoint of the auth-service service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
|
||||
| com.owncloud.api.auth-service
|
||||
|
||||
|
|
||||
| GATEWAY_GROUPS_ENDPOINT
|
||||
| The endpoint of the groups service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
|
||||
| com.owncloud.api.groups
|
||||
|
||||
|
|
||||
| GATEWAY_OCM_ENDPOINT
|
||||
| The endpoint of the ocm service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
|
||||
| com.owncloud.api.ocm
|
||||
|
||||
|
|
||||
| GATEWAY_PERMISSIONS_ENDPOINT
|
||||
| The endpoint of the permissions service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
|
||||
| com.owncloud.api.settings
|
||||
|
||||
|
|
||||
| GATEWAY_SHARING_ENDPOINT
|
||||
| The endpoint of the shares service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
|
||||
| com.owncloud.api.sharing
|
||||
|
||||
|
|
||||
| GATEWAY_STORAGE_PUBLIC_LINK_ENDPOINT
|
||||
| The endpoint of the storage-publiclink service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
|
||||
| com.owncloud.api.storage-publiclink
|
||||
|
||||
|
|
||||
| GATEWAY_STORAGE_SHARES_ENDPOINT
|
||||
| The endpoint of the storage-shares service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
|
||||
| com.owncloud.api.storage-shares
|
||||
|
||||
|
|
||||
| GATEWAY_STORAGE_USERS_ENDPOINT
|
||||
| The endpoint of the storage-users service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
|
||||
| com.owncloud.api.storage-users
|
||||
|
||||
|
|
||||
| GATEWAY_USERS_ENDPOINT
|
||||
| The endpoint of the users service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
|
||||
| com.owncloud.api.users
|
||||
|
||||
| xref:{s-path}/graph.adoc[Graph]
|
||||
| GRAPH_AVAILABLE_ROLES
|
||||
| A comma separated list of roles that are available for assignment.
|
||||
| [b1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5 a8d5fe5e-96e3-418d-825b-534dbdf22b99 fb6c3e19-e378-47e5-b277-9732f9de6e21 58c63c02-1d89-4572-916a-870abc5a1b7d 2d00ce52-1fc2-4dbc-8b95-a73b73395f5a 1c996275-f1c9-4e71-abdf-a42f6495e960 312c0871-5ef7-4b3a-85b6-0e4074c64049]
|
||||
|
||||
|
|
||||
| GRAPH_MAX_CONCURRENCY
|
||||
| The maximum number of concurrent requests the service will handle.
|
||||
| 20
|
||||
|
||||
|
|
||||
| GRAPH_TRANSLATION_PATH
|
||||
| (optional) Set this to a path with custom translations to overwrite the builtin translations. Note that file and folder naming rules apply, see the documentation for more details.
|
||||
|
|
||||
|
||||
| xref:{s-path}/ocm.adoc[OCM]
|
||||
| OCM_OCM_INVITE_MANAGER_TIMEOUT
|
||||
| Timeout specifies a time limit for requests made to OCM endpoints.
|
||||
| 30s
|
||||
|
||||
|
|
||||
| OCM_OCM_INVITE_MANAGER_TOKEN_EXPIRATION
|
||||
| Expiry duration for invite tokens.
|
||||
| 24h0m0s
|
||||
|
||||
|
|
||||
| OCM_OCM_STORAGE_DATA_SERVER_URL
|
||||
| URL of the data server, needs to be reachable by the data gateway provided by the frontend service or the user if directly exposed.
|
||||
| http://localhost:9280/data
|
||||
|
||||
| xref:{s-path}/postprocessing.adoc[Postprocessing]
|
||||
| POSTPROCESSING_WORKERS
|
||||
| The number of concurrent go routines that fetch events from the event queue.
|
||||
| 3
|
||||
|
||||
| xref:{s-path}/proxy.adoc[Proxy]
|
||||
| PROXY_AUTOPROVISION_CLAIM_DISPLAYNAME
|
||||
| The name of the OIDC claim that holds the display name.
|
||||
| name
|
||||
|
||||
|
|
||||
| PROXY_AUTOPROVISION_CLAIM_EMAIL
|
||||
| The name of the OIDC claim that holds the email.
|
||||
| email
|
||||
|
||||
|
|
||||
| PROXY_AUTOPROVISION_CLAIM_GROUPS
|
||||
| The name of the OIDC claim that holds the groups.
|
||||
| groups
|
||||
|
||||
|
|
||||
| PROXY_AUTOPROVISION_CLAIM_USERNAME
|
||||
| The name of the OIDC claim that holds the username.
|
||||
| preferred_username
|
||||
|
||||
|
|
||||
| PROXY_CSP_CONFIG_FILE_LOCATION
|
||||
| The location of the CSP configuration file.
|
||||
|
|
||||
|
||||
|
|
||||
| PROXY_ENABLE_APP_AUTH
|
||||
| Allow app authentication. This can be used to authenticate 3rd party applications. Note that auth-app service must be running for this feature to work.
|
||||
| false
|
||||
|
||||
|
|
||||
| PROXY_EVENTS_AUTH_PASSWORD
|
||||
| The password to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services.
|
||||
|
|
||||
|
||||
|
|
||||
| PROXY_EVENTS_AUTH_USERNAME
|
||||
| The username to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services.
|
||||
|
|
||||
|
||||
|
|
||||
| PROXY_EVENTS_CLUSTER
|
||||
| The clusterID of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture.
|
||||
| ocis-cluster
|
||||
|
||||
|
|
||||
| PROXY_EVENTS_ENABLE_TLS
|
||||
| Enable TLS for the connection to the events broker. The events broker is the ocis service which receives and delivers events between the services.
|
||||
| false
|
||||
|
||||
|
|
||||
| PROXY_EVENTS_ENDPOINT
|
||||
| The address of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture. Set to a empty string to disable emitting events.
|
||||
| 127.0.0.1:9233
|
||||
|
||||
|
|
||||
| PROXY_EVENTS_TLS_INSECURE
|
||||
| Whether to verify the server TLS certificates.
|
||||
| false
|
||||
|
||||
|
|
||||
| PROXY_EVENTS_TLS_ROOT_CA_CERTIFICATE
|
||||
| The root CA certificate used to validate the server's TLS certificate. If provided PROXY_EVENTS_TLS_INSECURE will be seen as false.
|
||||
|
|
||||
|
||||
| xref:{s-path}/sharing.adoc[Sharing]
|
||||
| SHARING_USER_JSONCS3_MAX_CONCURRENCY
|
||||
| Maximum number of concurrent go-routines. Higher values can potentially get work done faster but will also cause more load on the system. Values of 0 or below will be ignored and the default value will be used.
|
||||
| 1
|
||||
|
||||
| xref:{s-path}/sse.adoc[SSE]
|
||||
| SSE_KEEPALIVE_INTERVAL
|
||||
| To prevent intermediate proxies from closing the SSE connection, send periodic SSE comments to keep it open.
|
||||
| 0s
|
||||
|
||||
| xref:{s-path}/storage-users.adoc[Storage-Users]
|
||||
| STORAGE_USERS_OCIS_GENERAL_SPACE_PATH_TEMPLATE
|
||||
| Template string to construct the paths of the projects space roots.
|
||||
|
|
||||
|
||||
|
|
||||
| STORAGE_USERS_OCIS_MAX_CONCURRENCY
|
||||
| Maximum number of concurrent go-routines. Higher values can potentially get work done faster but will also cause more load on the system. Values of 0 or below will be ignored and the default value will be used.
|
||||
| 1
|
||||
|
||||
|
|
||||
| STORAGE_USERS_OCIS_PERSONAL_SPACE_PATH_TEMPLATE
|
||||
| Template string to construct the paths of the personal space roots.
|
||||
|
|
||||
|
||||
|
|
||||
| STORAGE_USERS_PERMISSION_ENDPOINT
|
||||
| Endpoint of the permissions service. The endpoints can differ for 'ocis', 'posix' and 's3ng'.
|
||||
| com.owncloud.api.settings
|
||||
|
||||
|
|
||||
| STORAGE_USERS_POSIX_GENERAL_SPACE_PATH_TEMPLATE
|
||||
| Template string to construct the paths of the projects space roots.
|
||||
| projects/{{.SpaceId}}
|
||||
|
||||
|
|
||||
| STORAGE_USERS_POSIX_PERMISSIONS_ENDPOINT
|
||||
| Endpoint of the permissions service. The endpoints can differ for 'ocis', 'posix' and 's3ng'.
|
||||
| com.owncloud.api.settings
|
||||
|
||||
|
|
||||
| STORAGE_USERS_POSIX_PERSONAL_SPACE_PATH_TEMPLATE
|
||||
| Template string to construct the paths of the personal space roots.
|
||||
| users/{{.User.Username}}
|
||||
|
||||
|
|
||||
| STORAGE_USERS_POSIX_ROOT
|
||||
| The directory where the filesystem storage will store its data. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH/storage/users.
|
||||
| /var/lib/ocis/storage/users
|
||||
|
||||
|
|
||||
| STORAGE_USERS_POSIX_SCAN_DEBOUNCE_DELAY
|
||||
| The time in milliseconds to wait before scanning the filesystem for changes after a change has been detected.
|
||||
| 1s
|
||||
|
||||
|
|
||||
| STORAGE_USERS_POSIX_USE_SPACE_GROUPS
|
||||
| Use space groups to manage permissions on spaces.
|
||||
| false
|
||||
|
||||
|
|
||||
| STORAGE_USERS_POSIX_WATCH_FOLDER_KAFKA_BROKERS
|
||||
| Comma-separated list of kafka brokers to read the watchfolder events from.
|
||||
|
|
||||
|
||||
|
|
||||
| STORAGE_USERS_POSIX_WATCH_PATH
|
||||
| Path to the watch directory/file. Only applies to the 'gpfsfileauditlogging' and 'inotifywait' watcher, in which case it is the path of the file audit log file/base directory to watch.
|
||||
|
|
||||
|
||||
|
|
||||
| STORAGE_USERS_POSIX_WATCH_TYPE
|
||||
| Type of the watcher to use for getting notified about changes to the filesystem. Currently available options are 'inotifywait' (default), 'gpfswatchfolder' and 'gpfsfileauditlogging'.
|
||||
|
|
||||
|
||||
|
|
||||
| STORAGE_USERS_S3NG_GENERAL_SPACE_PATH_TEMPLATE
|
||||
| Template string to construct the paths of the projects space roots.
|
||||
|
|
||||
|
||||
|
|
||||
| STORAGE_USERS_S3NG_PERSONAL_SPACE_PATH_TEMPLATE
|
||||
| Template string to construct the paths of the personal space roots.
|
||||
|
|
||||
|
||||
|
|
||||
| STORAGE_USERS_SERVICE_NAME
|
||||
| Service name to use. Change this when starting an additional storage provider with a custom configuration to prevent it from colliding with the default 'storage-users' service.
|
||||
| storage-users
|
||||
|
||||
| xref:{s-path}/thumbnails.adoc[Thumbnails]
|
||||
| THUMBNAILS_MAX_CONCURRENT_REQUESTS
|
||||
| Number of maximum concurrent thumbnail requests. Default is 0 which is unlimited.
|
||||
| 0
|
||||
|
||||
|
|
||||
| THUMBNAILS_MAX_INPUT_HEIGHT
|
||||
| The maximum height of an input image which is being processed.
|
||||
| 7680
|
||||
|
||||
|
|
||||
| THUMBNAILS_MAX_INPUT_IMAGE_FILE_SIZE
|
||||
| The maximum file size of an input image which is being processed. Usable common abbreviations: [KB, KiB, MB, MiB, GB, GiB, TB, TiB, PB, PiB, EB, EiB], example: 2GB.
|
||||
| 50MB
|
||||
|
||||
|
|
||||
| THUMBNAILS_MAX_INPUT_WIDTH
|
||||
| The maximum width of an input image which is being processed.
|
||||
| 7680
|
||||
|
||||
| xref:{s-path}/userlog.adoc[Userlog]
|
||||
| USERLOG_MAX_CONCURRENCY
|
||||
| Maximum number of concurrent go-routines. Higher values can potentially get work done faster but will also cause more load on the system. Values of 0 or below will be ignored and the default value will be used.
|
||||
| 1
|
||||
|
||||
| xref:{s-path}/web.adoc[Web]
|
||||
| WEB_ASSET_APPS_PATH
|
||||
| Serve ownCloud Web apps assets from a path on the filesystem instead of the builtin assets. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH/web/assets/apps
|
||||
| /var/lib/ocis/web/assets/apps
|
||||
|
||||
|
|
||||
| WEB_ASSET_CORE_PATH
|
||||
| Serve ownCloud Web assets from a path on the filesystem instead of the builtin assets. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH/web/assets/core
|
||||
| /var/lib/ocis/web/assets/core
|
||||
|
||||
|
|
||||
| WEB_ASSET_THEMES_PATH
|
||||
| Serve ownCloud themes from a path on the filesystem instead of the builtin assets. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH/web/assets/themes
|
||||
| /var/lib/ocis/web/assets/themes
|
||||
|
||||
|===
|
||||
|
||||
@@ -0,0 +1,129 @@
|
||||
Note that the links provided in the service column are non functional when clicked.
|
||||
|
||||
| Service | Variable | Description | Default |
|
||||
| --- | --- | --- | --- |
|
||||
| [Special Scope Envvars](deployment/services/env-vars-special-scope.adoc) | OCIS_ASSET_THEMES_PATH | Serve ownCloud themes from a path on the filesystem instead of the builtin assets. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH/web/assets/themes | /var/lib/ocis/web/assets/themes |
|
||||
| | OCIS_DISABLE_VERSIONING | Disables versioning of files. When set to true, new uploads with the same filename will overwrite existing files instead of creating a new version. | false |
|
||||
| | OCIS_SHOW_USER_EMAIL_IN_RESULTS | Include user email addresses in responses. If absent or set to false emails will be omitted from results. Please note that admin users can always see all email addresses. | false |
|
||||
| | OCIS_TRANSLATION_PATH | (optional) Set this to a path with custom translations to overwrite the builtin translations. Note that file and folder naming rules apply, see the documentation for more details. | |
|
||||
| | OCIS_WOPI_DISABLE_CHAT | Disable chat in the office web frontend. This feature applies to OnlyOffice and Microsoft. | false |
|
||||
| [Activitylog]({s-path}/activitylog.adoc) | ACTIVITYLOG_TRANSLATION_PATH | (optional) Set this to a path with custom translations to overwrite the builtin translations. Note that file and folder naming rules apply, see the documentation for more details. | |
|
||||
| [Antivirus]({s-path}/antivirus.adoc) | ANTIVIRUS_WORKERS | The number of concurrent go routines that fetch events from the event queue. | 10 |
|
||||
| [Auth-App]({s-path}/auth-app.adoc) | AUTH_APP_DEBUG_ADDR | Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed. | 127.0.0.1:9245 |
|
||||
| | AUTH_APP_DEBUG_PPROF | Enables pprof, which can be used for profiling. | false |
|
||||
| | AUTH_APP_DEBUG_TOKEN | Token to secure the metrics endpoint. | |
|
||||
| | AUTH_APP_DEBUG_ZPAGES | Enables zpages, which can be used for collecting and viewing traces in-memory. | false |
|
||||
| | AUTH_APP_ENABLE_IMPERSONATION | Allows admins to create app tokens for other users. Used for migration. Do NOT use in productive deployments. | false |
|
||||
| | AUTH_APP_GRPC_ADDR | The bind address of the GRPC service. | 127.0.0.1:9246 |
|
||||
| | AUTH_APP_GRPC_PROTOCOL | The transport protocol of the GRPC service. | tcp |
|
||||
| | AUTH_APP_JWT_SECRET | The secret to mint and validate jwt tokens. | |
|
||||
| | AUTH_APP_LOG_COLOR | Activates colorized log output. | false |
|
||||
| | AUTH_APP_LOG_FILE | The path to the log file. Activates logging to this file if set. | |
|
||||
| | AUTH_APP_LOG_LEVEL | The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'. | |
|
||||
| | AUTH_APP_LOG_PRETTY | Activates pretty log output. | false |
|
||||
| | AUTH_APP_MACHINE_AUTH_API_KEY | The machine auth API key used to validate internal requests necessary to access resources from other services. | |
|
||||
| | AUTH_APP_SKIP_USER_GROUPS_IN_TOKEN | Disables the encoding of the user’s group memberships in the access token. This reduces the token size, especially when users are members of a large number of groups. | false |
|
||||
| | AUTH_APP_TRACING_COLLECTOR | The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset. | |
|
||||
| | AUTH_APP_TRACING_ENABLED | Activates tracing. | false |
|
||||
| | AUTH_APP_TRACING_ENDPOINT | The endpoint of the tracing agent. | |
|
||||
| | AUTH_APP_TRACING_TYPE | The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now. | |
|
||||
| [Collaboration]({s-path}/collaboration.adoc) | COLLABORATION_APP_ADDR | The URL where the WOPI app is located, such as https://127.0.0.1:8080. | https://127.0.0.1:9980 |
|
||||
| | COLLABORATION_APP_DESCRIPTION | App description | Open office documents with Collabora |
|
||||
| | COLLABORATION_APP_ICON | Icon for the app | image-edit |
|
||||
| | COLLABORATION_APP_INSECURE | Skip TLS certificate verification when connecting to the WOPI app | false |
|
||||
| | COLLABORATION_APP_LICENSE_CHECK_ENABLE | Enable license checking to edit files. Needs to be enabled when using Microsoft365 with the business flow. | false |
|
||||
| | COLLABORATION_APP_NAME | The name of the app which is shown to the user. You can chose freely but you are limited to a single word without special characters or whitespaces. We recommend to use pascalCase like 'CollaboraOnline'. | Collabora |
|
||||
| | COLLABORATION_APP_PRODUCT | The WebOffice app, either Collabora, OnlyOffice, Microsoft365 or MicrosoftOfficeOnline. | Collabora |
|
||||
| | COLLABORATION_APP_PROOF_DISABLE | Disable the proof keys verification | false |
|
||||
| | COLLABORATION_APP_PROOF_DURATION | Duration for the proof keys to be cached in memory, using time.ParseDuration format. If the duration can’t be parsed, we’ll use the default 12h as duration | 12h |
|
||||
| | COLLABORATION_CS3API_DATAGATEWAY_INSECURE | Connect to the CS3API data gateway insecurely. | false |
|
||||
| | COLLABORATION_DEBUG_ADDR | Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed. | 127.0.0.1:9304 |
|
||||
| | COLLABORATION_DEBUG_PPROF | Enables pprof, which can be used for profiling. | false |
|
||||
| | COLLABORATION_DEBUG_TOKEN | Token to secure the metrics endpoint. | |
|
||||
| | COLLABORATION_DEBUG_ZPAGES | Enables zpages, which can be used for collecting and viewing in-memory traces. | false |
|
||||
| | COLLABORATION_GRPC_ADDR | The bind address of the GRPC service. | 127.0.0.1:9301 |
|
||||
| | COLLABORATION_GRPC_PROTOCOL | The transport protocol of the GRPC service. | tcp |
|
||||
| | COLLABORATION_HTTP_ADDR | The bind address of the HTTP service. | 127.0.0.1:9300 |
|
||||
| | COLLABORATION_LOG_COLOR | Activates colorized log output. | false |
|
||||
| | COLLABORATION_LOG_FILE | The path to the log file. Activates logging to this file if set. | |
|
||||
| | COLLABORATION_LOG_LEVEL | The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'. | |
|
||||
| | COLLABORATION_LOG_PRETTY | Activates pretty log output. | false |
|
||||
| | COLLABORATION_STORE | The type of the store. Supported values are: 'memory', 'nats-js-kv', 'redis-sentinel', 'noop'. See the text description for details. | nats-js-kv |
|
||||
| | COLLABORATION_STORE_AUTH_PASSWORD | The password to authenticate with the store. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| | COLLABORATION_STORE_AUTH_USERNAME | The username to authenticate with the store. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| | COLLABORATION_STORE_DATABASE | The database name the configured store should use. | collaboration |
|
||||
| | COLLABORATION_STORE_NODES | A list of nodes to access the configured store. This has no effect when 'memory' store is configured. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details. | [127.0.0.1:9233] |
|
||||
| | COLLABORATION_STORE_TABLE | The database table the store should use. | |
|
||||
| | COLLABORATION_STORE_TTL | Time to live for events in the store. Defaults to '30m' (30 minutes). See the Environment Variable Types description for more details. | 30m0s |
|
||||
| | COLLABORATION_TRACING_COLLECTOR | The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset. | |
|
||||
| | COLLABORATION_TRACING_ENABLED | Activates tracing. | false |
|
||||
| | COLLABORATION_TRACING_ENDPOINT | The endpoint of the tracing agent. | |
|
||||
| | COLLABORATION_TRACING_TYPE | The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now. | |
|
||||
| | COLLABORATION_WOPI_DISABLE_CHAT | Disable chat in the office web frontend. This feature applies to OnlyOffice and Microsoft. | false |
|
||||
| | COLLABORATION_WOPI_PROXY_SECRET | Optional, the secret to authenticate against the ownCloud Office365 WOPI proxy. This secret can be obtained from ownCloud via the office365 proxy subscription. | |
|
||||
| | COLLABORATION_WOPI_PROXY_URL | The URL to the ownCloud Office365 WOPI proxy. Optional. To use this feature, you need an office365 proxy subscription. If you become part of the Microsoft CSP program (https://learn.microsoft.com/en-us/partner-center/enroll/csp-overview), you can use WebOffice without a proxy. | |
|
||||
| | COLLABORATION_WOPI_SECRET | Used to mint and verify WOPI JWT tokens and encrypt and decrypt the REVA JWT token embedded in the WOPI JWT token. | |
|
||||
| | COLLABORATION_WOPI_SHORTTOKENS | Use short access tokens for WOPI access. This is useful for office packages, like Microsoft Office Online, which have URL length restrictions. If enabled, a persistent store must be configured. | false |
|
||||
| | COLLABORATION_WOPI_SRC | The WOPI source base URL containing schema, host and port. Set this to the schema and domain where the collaboration service is reachable for the wopi app, such as https://office.owncloud.test. | https://localhost:9300 |
|
||||
| [Frontend]({s-path}/frontend.adoc) | FRONTEND_APP_HANDLER_SECURE_VIEW_APP_ADDR | Service name or address of the app provider to use for secure view. Should match the service name or address of the registered CS3 app provider. | com.owncloud.api.collaboration |
|
||||
| | FRONTEND_MAX_CONCURRENCY | Maximum number of concurrent go-routines. Higher values can potentially get work done faster but will also cause more load on the system. Values of 0 or below will be ignored and the default value will be used. | 1 |
|
||||
| [Gateway]({s-path}/gateway.adoc) | GATEWAY_APP_REGISTRY_ENDPOINT | The endpoint of the app-registry service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol. | com.owncloud.api.app-registry |
|
||||
| | GATEWAY_AUTH_APP_ENDPOINT | The endpoint of the auth-app service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol. | com.owncloud.api.auth-app |
|
||||
| | GATEWAY_AUTH_BASIC_ENDPOINT | The endpoint of the auth-basic service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol. | com.owncloud.api.auth-basic |
|
||||
| | GATEWAY_AUTH_BEARER_ENDPOINT | The endpoint of the auth-bearer service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol. | |
|
||||
| | GATEWAY_AUTH_MACHINE_ENDPOINT | The endpoint of the auth-machine service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol. | com.owncloud.api.auth-machine |
|
||||
| | GATEWAY_AUTH_SERVICE_ENDPOINT | The endpoint of the auth-service service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol. | com.owncloud.api.auth-service |
|
||||
| | GATEWAY_GROUPS_ENDPOINT | The endpoint of the groups service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol. | com.owncloud.api.groups |
|
||||
| | GATEWAY_OCM_ENDPOINT | The endpoint of the ocm service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol. | com.owncloud.api.ocm |
|
||||
| | GATEWAY_PERMISSIONS_ENDPOINT | The endpoint of the permissions service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol. | com.owncloud.api.settings |
|
||||
| | GATEWAY_SHARING_ENDPOINT | The endpoint of the shares service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol. | com.owncloud.api.sharing |
|
||||
| | GATEWAY_STORAGE_PUBLIC_LINK_ENDPOINT | The endpoint of the storage-publiclink service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol. | com.owncloud.api.storage-publiclink |
|
||||
| | GATEWAY_STORAGE_SHARES_ENDPOINT | The endpoint of the storage-shares service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol. | com.owncloud.api.storage-shares |
|
||||
| | GATEWAY_STORAGE_USERS_ENDPOINT | The endpoint of the storage-users service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol. | com.owncloud.api.storage-users |
|
||||
| | GATEWAY_USERS_ENDPOINT | The endpoint of the users service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol. | com.owncloud.api.users |
|
||||
| [Graph]({s-path}/graph.adoc) | GRAPH_AVAILABLE_ROLES | A comma separated list of roles that are available for assignment. | [b1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5 a8d5fe5e-96e3-418d-825b-534dbdf22b99 fb6c3e19-e378-47e5-b277-9732f9de6e21 58c63c02-1d89-4572-916a-870abc5a1b7d 2d00ce52-1fc2-4dbc-8b95-a73b73395f5a 1c996275-f1c9-4e71-abdf-a42f6495e960 312c0871-5ef7-4b3a-85b6-0e4074c64049] |
|
||||
| | GRAPH_MAX_CONCURRENCY | The maximum number of concurrent requests the service will handle. | 20 |
|
||||
| | GRAPH_TRANSLATION_PATH | (optional) Set this to a path with custom translations to overwrite the builtin translations. Note that file and folder naming rules apply, see the documentation for more details. | |
|
||||
| [OCM]({s-path}/ocm.adoc) | OCM_OCM_INVITE_MANAGER_TIMEOUT | Timeout specifies a time limit for requests made to OCM endpoints. | 30s |
|
||||
| | OCM_OCM_INVITE_MANAGER_TOKEN_EXPIRATION | Expiry duration for invite tokens. | 24h0m0s |
|
||||
| | OCM_OCM_STORAGE_DATA_SERVER_URL | URL of the data server, needs to be reachable by the data gateway provided by the frontend service or the user if directly exposed. | http://localhost:9280/data |
|
||||
| [Postprocessing]({s-path}/postprocessing.adoc) | POSTPROCESSING_WORKERS | The number of concurrent go routines that fetch events from the event queue. | 3 |
|
||||
| [Proxy]({s-path}/proxy.adoc) | PROXY_AUTOPROVISION_CLAIM_DISPLAYNAME | The name of the OIDC claim that holds the display name. | name |
|
||||
| | PROXY_AUTOPROVISION_CLAIM_EMAIL | The name of the OIDC claim that holds the email. | email |
|
||||
| | PROXY_AUTOPROVISION_CLAIM_GROUPS | The name of the OIDC claim that holds the groups. | groups |
|
||||
| | PROXY_AUTOPROVISION_CLAIM_USERNAME | The name of the OIDC claim that holds the username. | preferred_username |
|
||||
| | PROXY_CSP_CONFIG_FILE_LOCATION | The location of the CSP configuration file. | |
|
||||
| | PROXY_ENABLE_APP_AUTH | Allow app authentication. This can be used to authenticate 3rd party applications. Note that auth-app service must be running for this feature to work. | false |
|
||||
| | PROXY_EVENTS_AUTH_PASSWORD | The password to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services. | |
|
||||
| | PROXY_EVENTS_AUTH_USERNAME | The username to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services. | |
|
||||
| | PROXY_EVENTS_CLUSTER | The clusterID of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture. | ocis-cluster |
|
||||
| | PROXY_EVENTS_ENABLE_TLS | Enable TLS for the connection to the events broker. The events broker is the ocis service which receives and delivers events between the services. | false |
|
||||
| | PROXY_EVENTS_ENDPOINT | The address of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture. Set to a empty string to disable emitting events. | 127.0.0.1:9233 |
|
||||
| | PROXY_EVENTS_TLS_INSECURE | Whether to verify the server TLS certificates. | false |
|
||||
| | PROXY_EVENTS_TLS_ROOT_CA_CERTIFICATE | The root CA certificate used to validate the server’s TLS certificate. If provided PROXY_EVENTS_TLS_INSECURE will be seen as false. | |
|
||||
| [Sharing]({s-path}/sharing.adoc) | SHARING_USER_JSONCS3_MAX_CONCURRENCY | Maximum number of concurrent go-routines. Higher values can potentially get work done faster but will also cause more load on the system. Values of 0 or below will be ignored and the default value will be used. | 1 |
|
||||
| [SSE]({s-path}/sse.adoc) | SSE_KEEPALIVE_INTERVAL | To prevent intermediate proxies from closing the SSE connection, send periodic SSE comments to keep it open. | 0s |
|
||||
| [Storage-Users]({s-path}/storage-users.adoc) | STORAGE_USERS_OCIS_GENERAL_SPACE_PATH_TEMPLATE | Template string to construct the paths of the projects space roots. | |
|
||||
| | STORAGE_USERS_OCIS_MAX_CONCURRENCY | Maximum number of concurrent go-routines. Higher values can potentially get work done faster but will also cause more load on the system. Values of 0 or below will be ignored and the default value will be used. | 1 |
|
||||
| | STORAGE_USERS_OCIS_PERSONAL_SPACE_PATH_TEMPLATE | Template string to construct the paths of the personal space roots. | |
|
||||
| | STORAGE_USERS_PERMISSION_ENDPOINT | Endpoint of the permissions service. The endpoints can differ for 'ocis', 'posix' and 's3ng'. | com.owncloud.api.settings |
|
||||
| | STORAGE_USERS_POSIX_GENERAL_SPACE_PATH_TEMPLATE | Template string to construct the paths of the projects space roots. | projects/{{.SpaceId}} |
|
||||
| | STORAGE_USERS_POSIX_PERMISSIONS_ENDPOINT | Endpoint of the permissions service. The endpoints can differ for 'ocis', 'posix' and 's3ng'. | com.owncloud.api.settings |
|
||||
| | STORAGE_USERS_POSIX_PERSONAL_SPACE_PATH_TEMPLATE | Template string to construct the paths of the personal space roots. | users/{{.User.Username}} |
|
||||
| | STORAGE_USERS_POSIX_ROOT | The directory where the filesystem storage will store its data. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH/storage/users. | /var/lib/ocis/storage/users |
|
||||
| | STORAGE_USERS_POSIX_SCAN_DEBOUNCE_DELAY | The time in milliseconds to wait before scanning the filesystem for changes after a change has been detected. | 1s |
|
||||
| | STORAGE_USERS_POSIX_USE_SPACE_GROUPS | Use space groups to manage permissions on spaces. | false |
|
||||
| | STORAGE_USERS_POSIX_WATCH_FOLDER_KAFKA_BROKERS | Comma-separated list of kafka brokers to read the watchfolder events from. | |
|
||||
| | STORAGE_USERS_POSIX_WATCH_PATH | Path to the watch directory/file. Only applies to the 'gpfsfileauditlogging' and 'inotifywait' watcher, in which case it is the path of the file audit log file/base directory to watch. | |
|
||||
| | STORAGE_USERS_POSIX_WATCH_TYPE | Type of the watcher to use for getting notified about changes to the filesystem. Currently available options are 'inotifywait' (default), 'gpfswatchfolder' and 'gpfsfileauditlogging'. | |
|
||||
| | STORAGE_USERS_S3NG_GENERAL_SPACE_PATH_TEMPLATE | Template string to construct the paths of the projects space roots. | |
|
||||
| | STORAGE_USERS_S3NG_PERSONAL_SPACE_PATH_TEMPLATE | Template string to construct the paths of the personal space roots. | |
|
||||
| | STORAGE_USERS_SERVICE_NAME | Service name to use. Change this when starting an additional storage provider with a custom configuration to prevent it from colliding with the default 'storage-users' service. | storage-users |
|
||||
| [Thumbnails]({s-path}/thumbnails.adoc) | THUMBNAILS_MAX_CONCURRENT_REQUESTS | Number of maximum concurrent thumbnail requests. Default is 0 which is unlimited. | 0 |
|
||||
| | THUMBNAILS_MAX_INPUT_HEIGHT | The maximum height of an input image which is being processed. | 7680 |
|
||||
| | THUMBNAILS_MAX_INPUT_IMAGE_FILE_SIZE | The maximum file size of an input image which is being processed. Usable common abbreviations: [KB, KiB, MB, MiB, GB, GiB, TB, TiB, PB, PiB, EB, EiB], example: 2GB. | 50MB |
|
||||
| | THUMBNAILS_MAX_INPUT_WIDTH | The maximum width of an input image which is being processed. | 7680 |
|
||||
| [Userlog]({s-path}/userlog.adoc) | USERLOG_MAX_CONCURRENCY | Maximum number of concurrent go-routines. Higher values can potentially get work done faster but will also cause more load on the system. Values of 0 or below will be ignored and the default value will be used. | 1 |
|
||||
| [Web]({s-path}/web.adoc) | WEB_ASSET_APPS_PATH | Serve ownCloud Web apps assets from a path on the filesystem instead of the builtin assets. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH/web/assets/apps | /var/lib/ocis/web/assets/apps |
|
||||
| | WEB_ASSET_CORE_PATH | Serve ownCloud Web assets from a path on the filesystem instead of the builtin assets. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH/web/assets/core | /var/lib/ocis/web/assets/core |
|
||||
| | WEB_ASSET_THEMES_PATH | Serve ownCloud themes from a path on the filesystem instead of the builtin assets. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH/web/assets/themes | /var/lib/ocis/web/assets/themes |
|
||||
@@ -0,0 +1,102 @@
|
||||
// # Deprecated Variables between oCIS 5.0.0 and oCIS 7.0.0
|
||||
// commenting the headline to make it better includable
|
||||
|
||||
// table created per 2024.12.02
|
||||
// the table should be recreated/updated on source () changes
|
||||
|
||||
[width="100%",cols="~,~,~,~,~",options="header"]
|
||||
|===
|
||||
| Service | Variable | Description | Removal Version | Deprecation Info
|
||||
|
||||
| xref:{s-path}/clientlog.adoc[Clientlog]
|
||||
| CLIENTLOG_REVA_GATEWAY
|
||||
| CS3 gateway used to look up user metadata
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| CLIENTLOG_REVA_GATEWAY removed for simplicity.
|
||||
|
||||
| xref:{s-path}/frontend.adoc[Frontend]
|
||||
| FRONTEND_OCS_ADDITIONAL_INFO_ATTRIBUTE
|
||||
| Additional information attribute for the user like {{.Mail}}.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| The OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_ENABLE_DENIALS
|
||||
| EXPERIMENTAL: enable the feature to deny access on folders.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| The OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_INCLUDE_OCM_SHAREES
|
||||
| Include OCM sharees when listing sharees.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_INCLUDE_OCM_SHAREES, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_LIST_OCM_SHARES
|
||||
| Include OCM shares when listing shares. See the OCM service documentation for more details.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_LIST_OCM_SHARES, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_PERSONAL_NAMESPACE
|
||||
| Home namespace identifier.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| The OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_PREFIX
|
||||
| URL path prefix for the OCS service. Note that the string must not start with '/'.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| The OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_SHARE_PREFIX
|
||||
| Path prefix for shares as part of an ocis resource. Note that the path must start with '/'.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| The OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_AUTH_PASSWORD
|
||||
| The password to use for authentication. Only applies when using the 'nats-js-kv' store type.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_STAT_CACHE_AUTH_PASSWORD, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_AUTH_USERNAME
|
||||
| The username to use for authentication. Only applies when using the 'nats-js-kv' store type.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_STAT_CACHE_AUTH_USERNAME, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_DISABLE_PERSISTENCE
|
||||
| Disable persistence of the cache. Only applies when using the 'nats-js-kv' store type. Defaults to false.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_STAT_CACHE_DISABLE_PERSISTENCE, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_STORE
|
||||
| The type of the cache store. Supported values are: 'memory', 'redis-sentinel', 'nats-js-kv', 'noop'. See the text description for details.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_STAT_CACHE_STORE, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_STORE_NODES
|
||||
| A list of nodes to access the configured store. This has no effect when 'memory' store is configured. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_STAT_CACHE_STORE_NODES, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_TABLE
|
||||
| The database table the store should use.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| The OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_TTL
|
||||
| Default time to live for user info in the cache. Only applied when access tokens has no expiration. See the Environment Variable Types description for more details.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_STAT_CACHE_TTL, the OCS API is deprecated
|
||||
|
||||
|===
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
Note that the links provided in the service column are non functional when clicked.
|
||||
|
||||
| Service | Variable | Description | Removal Version | Deprecation Info |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| [Clientlog]({s-path}/clientlog.adoc) | CLIENTLOG_REVA_GATEWAY | CS3 gateway used to look up user metadata | %%NEXT_PRODUCTION_VERSION%% | CLIENTLOG_REVA_GATEWAY removed for simplicity. |
|
||||
| [Frontend]({s-path}/frontend.adoc) | FRONTEND_OCS_ADDITIONAL_INFO_ATTRIBUTE | Additional information attribute for the user like {{.Mail}}. | %%NEXT_PRODUCTION_VERSION%% | The OCS API is deprecated |
|
||||
| | FRONTEND_OCS_ENABLE_DENIALS | EXPERIMENTAL: enable the feature to deny access on folders. | %%NEXT_PRODUCTION_VERSION%% | The OCS API is deprecated |
|
||||
| | FRONTEND_OCS_INCLUDE_OCM_SHAREES | Include OCM sharees when listing sharees. | %%NEXT_PRODUCTION_VERSION%% | FRONTEND_OCS_INCLUDE_OCM_SHAREES, the OCS API is deprecated |
|
||||
| | FRONTEND_OCS_LIST_OCM_SHARES | Include OCM shares when listing shares. See the OCM service documentation for more details. | %%NEXT_PRODUCTION_VERSION%% | FRONTEND_OCS_LIST_OCM_SHARES, the OCS API is deprecated |
|
||||
| | FRONTEND_OCS_PERSONAL_NAMESPACE | Home namespace identifier. | %%NEXT_PRODUCTION_VERSION%% | The OCS API is deprecated |
|
||||
| | FRONTEND_OCS_PREFIX | URL path prefix for the OCS service. Note that the string must not start with '/'. | %%NEXT_PRODUCTION_VERSION%% | The OCS API is deprecated |
|
||||
| | FRONTEND_OCS_SHARE_PREFIX | Path prefix for shares as part of an ocis resource. Note that the path must start with '/'. | %%NEXT_PRODUCTION_VERSION%% | The OCS API is deprecated |
|
||||
| | FRONTEND_OCS_STAT_CACHE_AUTH_PASSWORD | The password to use for authentication. Only applies when using the 'nats-js-kv' store type. | %%NEXT_PRODUCTION_VERSION%% | FRONTEND_OCS_STAT_CACHE_AUTH_PASSWORD, the OCS API is deprecated |
|
||||
| | FRONTEND_OCS_STAT_CACHE_AUTH_USERNAME | The username to use for authentication. Only applies when using the 'nats-js-kv' store type. | %%NEXT_PRODUCTION_VERSION%% | FRONTEND_OCS_STAT_CACHE_AUTH_USERNAME, the OCS API is deprecated |
|
||||
| | FRONTEND_OCS_STAT_CACHE_DISABLE_PERSISTENCE | Disable persistence of the cache. Only applies when using the 'nats-js-kv' store type. Defaults to false. | %%NEXT_PRODUCTION_VERSION%% | FRONTEND_OCS_STAT_CACHE_DISABLE_PERSISTENCE, the OCS API is deprecated |
|
||||
| | FRONTEND_OCS_STAT_CACHE_STORE | The type of the cache store. Supported values are: 'memory', 'redis-sentinel', 'nats-js-kv', 'noop'. See the text description for details. | %%NEXT_PRODUCTION_VERSION%% | FRONTEND_OCS_STAT_CACHE_STORE, the OCS API is deprecated |
|
||||
| | FRONTEND_OCS_STAT_CACHE_STORE_NODES | A list of nodes to access the configured store. This has no effect when 'memory' store is configured. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details. | %%NEXT_PRODUCTION_VERSION%% | FRONTEND_OCS_STAT_CACHE_STORE_NODES, the OCS API is deprecated |
|
||||
| | FRONTEND_OCS_STAT_CACHE_TABLE | The database table the store should use. | %%NEXT_PRODUCTION_VERSION%% | The OCS API is deprecated |
|
||||
| | FRONTEND_OCS_STAT_CACHE_TTL | Default time to live for user info in the cache. Only applied when access tokens has no expiration. See the Environment Variable Types description for more details. | %%NEXT_PRODUCTION_VERSION%% | FRONTEND_OCS_STAT_CACHE_TTL, the OCS API is deprecated |
|
||||
@@ -0,0 +1,257 @@
|
||||
// # Removed Variables between oCIS 5.0.0 and oCIS 7.0.0
|
||||
// commenting the headline to make it better includable
|
||||
|
||||
// table created per 2024.12.02
|
||||
// the table should be recreated/updated on source () changes
|
||||
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
|===
|
||||
| Service | Variable | Description | Default
|
||||
|
||||
| xref:deployment/services/env-vars-special-scope.adoc[Special Scope Envvars]
|
||||
| OCIS_CACHE_SIZE
|
||||
| The maximum quantity of items in the user info cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default.
|
||||
| 0
|
||||
|
||||
|
|
||||
| OCIS_DECOMPOSEDFS_METADATA_BACKEND
|
||||
| The backend to use for storing metadata. Supported values are 'messagepack' and 'xattrs'. The setting 'messagepack' uses a dedicated file to store file metadata while 'xattrs' uses extended attributes to store file metadata. Defaults to 'messagepack'.
|
||||
| messagepack
|
||||
|
||||
|
|
||||
| OCIS_ENABLE_RESHARING
|
||||
| Changing this value is NOT supported. Enables the support for re-sharing in the clients.
|
||||
| false
|
||||
|
||||
|
|
||||
| OCIS_PERSISTENT_STORE_SIZE
|
||||
| The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default.
|
||||
| 0
|
||||
|
||||
| xref:{s-path}/antivirus.adoc[Antivirus]
|
||||
| ANTIVIRUS_ICAP_TIMEOUT
|
||||
| Timeout for the ICAP client.
|
||||
| 0
|
||||
|
||||
| xref:{s-path}/eventhistory.adoc[Eventhistory]
|
||||
| EVENTHISTORY_STORE_SIZE
|
||||
| The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived and used from the ocmem package though no explicit default was set.
|
||||
| 0
|
||||
|
||||
| xref:{s-path}/frontend.adoc[Frontend]
|
||||
| FRONTEND_ENABLE_RESHARING
|
||||
| Changing this value is NOT supported. Enables the support for re-sharing in the clients.
|
||||
| false
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_SIZE
|
||||
| Max number of entries to hold in the cache.
|
||||
| 0
|
||||
|
||||
| xref:{s-path}/gateway.adoc[Gateway]
|
||||
| GATEWAY_CREATE_HOME_CACHE_SIZE
|
||||
| The maximum quantity of items in the cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not explicitly set as default.
|
||||
| 0
|
||||
|
||||
|
|
||||
| GATEWAY_PROVIDER_CACHE_SIZE
|
||||
| The maximum quantity of items in the cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not explicitly set as default.
|
||||
| 0
|
||||
|
||||
| xref:{s-path}/graph.adoc[Graph]
|
||||
| GRAPH_CACHE_SIZE
|
||||
| The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not explicitly set as default.
|
||||
| 0
|
||||
|
||||
|
|
||||
| GRAPH_ENABLE_RESHARING
|
||||
| Changing this value is NOT supported. Enables the support for re-sharing.
|
||||
| false
|
||||
|
||||
| xref:{s-path}/ocm.adoc[OCM]
|
||||
| OCM_OCM_PROVIDER_AUTHORIZER_VERIFY_REQUEST_HOSTNAME
|
||||
| Verify the hostname of the incoming request against the hostname of the OCM provider.
|
||||
| false
|
||||
|
||||
| xref:{s-path}/postprocessing.adoc[Postprocessing]
|
||||
| POSTPROCESSING_STORE_SIZE
|
||||
| The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default.
|
||||
| 0
|
||||
|
||||
| xref:{s-path}/proxy.adoc[Proxy]
|
||||
| PROXY_OIDC_USERINFO_CACHE_SIZE
|
||||
| The maximum quantity of items in the user info cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not explicitly set as default.
|
||||
| 0
|
||||
|
||||
| xref:{s-path}/settings.adoc[Settings]
|
||||
| SETTINGS_CACHE_SIZE
|
||||
| The maximum quantity of items in the cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default.
|
||||
| 0
|
||||
|
||||
|
|
||||
| SETTINGS_DATA_PATH
|
||||
| The directory where the filesystem storage will store ocis settings. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH:/settings.
|
||||
| /var/lib/ocis/settings
|
||||
|
||||
|
|
||||
| SETTINGS_STORE_TYPE
|
||||
| Store type configures the persistency driver. Supported values are 'metadata' and 'filesystem'. Note that the value 'filesystem' is considered deprecated.
|
||||
| metadata
|
||||
|
||||
| xref:{s-path}/sharing.adoc[Sharing]
|
||||
| SHARING_ENABLE_RESHARING
|
||||
| Changing this value is NOT supported. Enables the support for resharing.
|
||||
| false
|
||||
|
||||
| xref:{s-path}/storage-system.adoc[Storage-System]
|
||||
| STORAGE_SYSTEM_CACHE_SIZE
|
||||
| The maximum quantity of items in the user info cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default.
|
||||
| 0
|
||||
|
||||
|
|
||||
| STORAGE_SYSTEM_OCIS_METADATA_BACKEND
|
||||
| The backend to use for storing metadata. Supported values are 'messagepack' and 'xattrs'. The setting 'messagepack' uses a dedicated file to store file metadata while 'xattrs' uses extended attributes to store file metadata. Defaults to 'messagepack'.
|
||||
| messagepack
|
||||
|
||||
| xref:{s-path}/storage-users.adoc[Storage-Users]
|
||||
| STORAGE_USERS_FILEMETADATA_CACHE_SIZE
|
||||
| The maximum quantity of items in the user info cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default.
|
||||
| 0
|
||||
|
||||
|
|
||||
| STORAGE_USERS_ID_CACHE_SIZE
|
||||
| The maximum quantity of items in the user info cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default.
|
||||
| 0
|
||||
|
||||
|
|
||||
| STORAGE_USERS_OCIS_METADATA_BACKEND
|
||||
| The backend to use for storing metadata. Supported values are 'messagepack' and 'xattrs'. The setting 'messagepack' uses a dedicated file to store file metadata while 'xattrs' uses extended attributes to store file metadata. Defaults to 'messagepack'.
|
||||
| messagepack
|
||||
|
||||
|
|
||||
| STORAGE_USERS_S3NG_METADATA_BACKEND
|
||||
| The backend to use for storing metadata. Supported values are 'xattrs' and 'messagepack'. The setting 'xattrs' uses extended attributes to store file metadata while 'messagepack' uses a dedicated file to store file metadata. Defaults to 'xattrs'.
|
||||
| messagepack
|
||||
|
||||
| The `Store` service has been removed completely
|
||||
| STORE_DATA_PATH
|
||||
| The directory where the filesystem storage will store ocis settings. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH:/store.
|
||||
| /var/lib/ocis/store
|
||||
|
||||
|
|
||||
| STORE_DEBUG_ADDR
|
||||
| Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed.
|
||||
| 127.0.0.1:9464
|
||||
|
||||
|
|
||||
| STORE_DEBUG_PPROF
|
||||
| Enables pprof, which can be used for profiling.
|
||||
| false
|
||||
|
||||
|
|
||||
| STORE_DEBUG_TOKEN
|
||||
| Token to secure the metrics endpoint.
|
||||
|
|
||||
|
||||
|
|
||||
| STORE_DEBUG_ZPAGES
|
||||
| Enables zpages, which can be used for collecting and viewing in-memory traces.
|
||||
| false
|
||||
|
||||
|
|
||||
| STORE_GRPC_ADDR
|
||||
| The bind address of the GRPC service.
|
||||
| 127.0.0.1:9460
|
||||
|
||||
|
|
||||
| STORE_LOG_COLOR
|
||||
| Activates colorized log output.
|
||||
| false
|
||||
|
||||
|
|
||||
| STORE_LOG_FILE
|
||||
| The path to the log file. Activates logging to this file if set.
|
||||
|
|
||||
|
||||
|
|
||||
| STORE_LOG_LEVEL
|
||||
| The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'.
|
||||
|
|
||||
|
||||
|
|
||||
| STORE_LOG_PRETTY
|
||||
| Activates pretty log output.
|
||||
| false
|
||||
|
||||
|
|
||||
| STORE_TRACING_COLLECTOR
|
||||
| The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset.
|
||||
|
|
||||
|
||||
|
|
||||
| STORE_TRACING_ENABLED
|
||||
| Activates tracing.
|
||||
| false
|
||||
|
||||
|
|
||||
| STORE_TRACING_ENDPOINT
|
||||
| The endpoint of the tracing agent.
|
||||
|
|
||||
|
||||
|
|
||||
| STORE_TRACING_TYPE
|
||||
| The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
|
||||
|
||||
| xref:{s-path}/userlog.adoc[Userlog]
|
||||
| USERLOG_STORE_SIZE
|
||||
| The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default.
|
||||
| 0
|
||||
|
||||
| xref:{s-path}/web.adoc[Web]
|
||||
| WEB_ASSET_PATH
|
||||
| Serve ownCloud Web assets from a path on the filesystem instead of the builtin assets.
|
||||
|
|
||||
|
||||
|
|
||||
| WEB_OPTION_DISABLE_PREVIEWS
|
||||
| Set this option to 'true' to disable previews in all the different web file listing views. This can speed up file listings in folders with many files. The only list view that is not affected by this setting is the trash bin, as it does not allow previewing at all.
|
||||
| false
|
||||
|
||||
|
|
||||
| WEB_OPTION_HOME_FOLDER
|
||||
| Specifies a folder that is used when the user navigates 'home'. Navigating home gets triggered by clicking on the 'All files' menu item. The user will not be jailed in that directory, it simply serves as a default location. A static location can be provided, or variables of the user object to come up with a user specific home path can be used. This uses the twig template variable style and allows picking a value or a substring of a value of the authenticated user. Examples are '/Shares', '/{{.Id}}' and '/{{substr 0 3 .Id}}/{{.Id}'.
|
||||
|
|
||||
|
||||
|
|
||||
| WEB_OPTION_HOVERABLE_QUICK_ACTIONS
|
||||
| Set this option to 'true' to hide quick actions (buttons appearing on file rows) and only show them when the user hovers over the row with his mouse. Defaults to 'false'.
|
||||
| false
|
||||
|
||||
|
|
||||
| WEB_OPTION_OPEN_LINKS_WITH_DEFAULT_APP
|
||||
| Specifies whether single file link shares should be opened with the default app or not. If not opened by the default app, the Web UI just displays the file details.
|
||||
| true
|
||||
|
||||
|
|
||||
| WEB_OPTION_PREVIEW_FILE_MIMETYPES
|
||||
| A list of mimeTypes to specify which ones will be previewed in the UI. For example, to only preview jpg and text files, set this option to 'image/jpeg,text/plain'. See the Environment Variable Types description for more details.
|
||||
| [image/gif image/png image/jpeg text/plain image/tiff image/bmp image/x-ms-bmp application/vnd.geogebra.slides]
|
||||
|
||||
|
|
||||
| WEB_OPTION_ROUTING_ID_BASED
|
||||
| Enable or disable fileIds being added to the URL. Defaults to 'true', because otherwise spaces with name clashes cannot be resolved correctly. Note: Only disable this if you can guarantee on the server side, that spaces of the same namespace cannot have name clashes.
|
||||
| true
|
||||
|
||||
|
|
||||
| WEB_OPTION_SHARING_RECIPIENTS_PER_PAGE
|
||||
| Sets the number of users shown as recipients in the dropdown menu when sharing resources.
|
||||
| 200
|
||||
|
||||
|
|
||||
| WEB_OPTION_SIDEBAR_SHARES_SHOW_ALL_ON_LOAD
|
||||
| Sets the list of the (link) shares list in the sidebar to be initially expanded. Default is a collapsed state, only showing the first three shares.
|
||||
| false
|
||||
|
||||
|===
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
Note that the links provided in the service column are non functional when clicked.
|
||||
|
||||
| Service | Variable | Description | Default |
|
||||
| --- | --- | --- | --- |
|
||||
| [Special Scope Envvars](deployment/services/env-vars-special-scope.adoc) | OCIS_CACHE_SIZE | The maximum quantity of items in the user info cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default. | 0 |
|
||||
| | OCIS_DECOMPOSEDFS_METADATA_BACKEND | The backend to use for storing metadata. Supported values are 'messagepack' and 'xattrs'. The setting 'messagepack' uses a dedicated file to store file metadata while 'xattrs' uses extended attributes to store file metadata. Defaults to 'messagepack'. | messagepack |
|
||||
| | OCIS_ENABLE_RESHARING | Changing this value is NOT supported. Enables the support for re-sharing in the clients. | false |
|
||||
| | OCIS_PERSISTENT_STORE_SIZE | The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default. | 0 |
|
||||
| [Antivirus]({s-path}/antivirus.adoc) | ANTIVIRUS_ICAP_TIMEOUT | Timeout for the ICAP client. | 0 |
|
||||
| [Eventhistory]({s-path}/eventhistory.adoc) | EVENTHISTORY_STORE_SIZE | The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived and used from the ocmem package though no explicit default was set. | 0 |
|
||||
| [Frontend]({s-path}/frontend.adoc) | FRONTEND_ENABLE_RESHARING | Changing this value is NOT supported. Enables the support for re-sharing in the clients. | false |
|
||||
| | FRONTEND_OCS_STAT_CACHE_SIZE | Max number of entries to hold in the cache. | 0 |
|
||||
| [Gateway]({s-path}/gateway.adoc) | GATEWAY_CREATE_HOME_CACHE_SIZE | The maximum quantity of items in the cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not explicitly set as default. | 0 |
|
||||
| | GATEWAY_PROVIDER_CACHE_SIZE | The maximum quantity of items in the cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not explicitly set as default. | 0 |
|
||||
| [Graph]({s-path}/graph.adoc) | GRAPH_CACHE_SIZE | The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not explicitly set as default. | 0 |
|
||||
| | GRAPH_ENABLE_RESHARING | Changing this value is NOT supported. Enables the support for re-sharing. | false |
|
||||
| [OCM]({s-path}/ocm.adoc) | OCM_OCM_PROVIDER_AUTHORIZER_VERIFY_REQUEST_HOSTNAME | Verify the hostname of the incoming request against the hostname of the OCM provider. | false |
|
||||
| [Postprocessing]({s-path}/postprocessing.adoc) | POSTPROCESSING_STORE_SIZE | The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default. | 0 |
|
||||
| [Proxy]({s-path}/proxy.adoc) | PROXY_OIDC_USERINFO_CACHE_SIZE | The maximum quantity of items in the user info cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not explicitly set as default. | 0 |
|
||||
| [Settings]({s-path}/settings.adoc) | SETTINGS_CACHE_SIZE | The maximum quantity of items in the cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default. | 0 |
|
||||
| | SETTINGS_DATA_PATH | The directory where the filesystem storage will store ocis settings. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH:/settings. | /var/lib/ocis/settings |
|
||||
| | SETTINGS_STORE_TYPE | Store type configures the persistency driver. Supported values are 'metadata' and 'filesystem'. Note that the value 'filesystem' is considered deprecated. | metadata |
|
||||
| [Sharing]({s-path}/sharing.adoc) | SHARING_ENABLE_RESHARING | Changing this value is NOT supported. Enables the support for resharing. | false |
|
||||
| [Storage-System]({s-path}/storage-system.adoc) | STORAGE_SYSTEM_CACHE_SIZE | The maximum quantity of items in the user info cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default. | 0 |
|
||||
| | STORAGE_SYSTEM_OCIS_METADATA_BACKEND | The backend to use for storing metadata. Supported values are 'messagepack' and 'xattrs'. The setting 'messagepack' uses a dedicated file to store file metadata while 'xattrs' uses extended attributes to store file metadata. Defaults to 'messagepack'. | messagepack |
|
||||
| [Storage-Users]({s-path}/storage-users.adoc) | STORAGE_USERS_FILEMETADATA_CACHE_SIZE | The maximum quantity of items in the user info cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default. | 0 |
|
||||
| | STORAGE_USERS_ID_CACHE_SIZE | The maximum quantity of items in the user info cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default. | 0 |
|
||||
| | STORAGE_USERS_OCIS_METADATA_BACKEND | The backend to use for storing metadata. Supported values are 'messagepack' and 'xattrs'. The setting 'messagepack' uses a dedicated file to store file metadata while 'xattrs' uses extended attributes to store file metadata. Defaults to 'messagepack'. | messagepack |
|
||||
| | STORAGE_USERS_S3NG_METADATA_BACKEND | The backend to use for storing metadata. Supported values are 'xattrs' and 'messagepack'. The setting 'xattrs' uses extended attributes to store file metadata while 'messagepack' uses a dedicated file to store file metadata. Defaults to 'xattrs'. | messagepack |
|
||||
| The `Store` service has been removed completely | STORE_DATA_PATH | The directory where the filesystem storage will store ocis settings. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH:/store. | /var/lib/ocis/store |
|
||||
| | STORE_DEBUG_ADDR | Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed. | 127.0.0.1:9464 |
|
||||
| | STORE_DEBUG_PPROF | Enables pprof, which can be used for profiling. | false |
|
||||
| | STORE_DEBUG_TOKEN | Token to secure the metrics endpoint. | |
|
||||
| | STORE_DEBUG_ZPAGES | Enables zpages, which can be used for collecting and viewing in-memory traces. | false |
|
||||
| | STORE_GRPC_ADDR | The bind address of the GRPC service. | 127.0.0.1:9460 |
|
||||
| | STORE_LOG_COLOR | Activates colorized log output. | false |
|
||||
| | STORE_LOG_FILE | The path to the log file. Activates logging to this file if set. | |
|
||||
| | STORE_LOG_LEVEL | The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'. | |
|
||||
| | STORE_LOG_PRETTY | Activates pretty log output. | false |
|
||||
| | STORE_TRACING_COLLECTOR | The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset. | |
|
||||
| | STORE_TRACING_ENABLED | Activates tracing. | false |
|
||||
| | STORE_TRACING_ENDPOINT | The endpoint of the tracing agent. | |
|
||||
| | STORE_TRACING_TYPE | The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now. | |
|
||||
| [Userlog]({s-path}/userlog.adoc) | USERLOG_STORE_SIZE | The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default. | 0 |
|
||||
| [Web]({s-path}/web.adoc) | WEB_ASSET_PATH | Serve ownCloud Web assets from a path on the filesystem instead of the builtin assets. | |
|
||||
| | WEB_OPTION_DISABLE_PREVIEWS | Set this option to 'true' to disable previews in all the different web file listing views. This can speed up file listings in folders with many files. The only list view that is not affected by this setting is the trash bin, as it does not allow previewing at all. | false |
|
||||
| | WEB_OPTION_HOME_FOLDER | Specifies a folder that is used when the user navigates 'home'. Navigating home gets triggered by clicking on the 'All files' menu item. The user will not be jailed in that directory, it simply serves as a default location. A static location can be provided, or variables of the user object to come up with a user specific home path can be used. This uses the twig template variable style and allows picking a value or a substring of a value of the authenticated user. Examples are '/Shares', '/{{.Id}}' and '/{{substr 0 3 .Id}}/{{.Id}'. | |
|
||||
| | WEB_OPTION_HOVERABLE_QUICK_ACTIONS | Set this option to 'true' to hide quick actions (buttons appearing on file rows) and only show them when the user hovers over the row with his mouse. Defaults to 'false'. | false |
|
||||
| | WEB_OPTION_OPEN_LINKS_WITH_DEFAULT_APP | Specifies whether single file link shares should be opened with the default app or not. If not opened by the default app, the Web UI just displays the file details. | true |
|
||||
| | WEB_OPTION_PREVIEW_FILE_MIMETYPES | A list of mimeTypes to specify which ones will be previewed in the UI. For example, to only preview jpg and text files, set this option to 'image/jpeg,text/plain'. See the Environment Variable Types description for more details. | [image/gif image/png image/jpeg text/plain image/tiff image/bmp image/x-ms-bmp application/vnd.geogebra.slides] |
|
||||
| | WEB_OPTION_ROUTING_ID_BASED | Enable or disable fileIds being added to the URL. Defaults to 'true', because otherwise spaces with name clashes cannot be resolved correctly. Note: Only disable this if you can guarantee on the server side, that spaces of the same namespace cannot have name clashes. | true |
|
||||
| | WEB_OPTION_SHARING_RECIPIENTS_PER_PAGE | Sets the number of users shown as recipients in the dropdown menu when sharing resources. | 200 |
|
||||
| | WEB_OPTION_SIDEBAR_SHARES_SHOW_ALL_ON_LOAD | Sets the list of the (link) shares list in the sidebar to be initially expanded. Default is a collapsed state, only showing the first three shares. | false |
|
||||
@@ -0,0 +1,57 @@
|
||||
// # Added Variables between oCIS 7.0.0 and oCIS 7.1.0
|
||||
// commenting the headline to make it better includable
|
||||
|
||||
// table created per 2025.01.10
|
||||
// the table should be recreated/updated on source () changes
|
||||
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
|===
|
||||
| Service | Variable | Description | Default
|
||||
|
||||
| xref:{s-path}/frontend.adoc[Fontend]
|
||||
| FRONTEND_CONFIGURABLE_NOTIFICATIONS
|
||||
| Allow configuring notifications via web client.
|
||||
| false
|
||||
|
||||
| xref:{s-path}/notifications.adoc[Notifications]
|
||||
| NOTIFICATIONS_STORE
|
||||
| The type of the store. Supported values are: 'memory', 'nats-js-kv', 'redis-sentinel', 'noop'. See the text description for details.
|
||||
| nats-js-kv
|
||||
|
||||
|
|
||||
| NOTIFICATIONS_STORE_AUTH_PASSWORD
|
||||
| The password to authenticate with the store. Only applies when store type 'nats-js-kv' is configured.
|
||||
|
|
||||
|
||||
|
|
||||
| NOTIFICATIONS_STORE_AUTH_USERNAME
|
||||
| The username to authenticate with the store. Only applies when store type 'nats-js-kv' is configured.
|
||||
|
|
||||
|
||||
|
|
||||
| NOTIFICATIONS_STORE_DATABASE
|
||||
| The database name the configured store should use.
|
||||
| notifications
|
||||
|
||||
|
|
||||
| NOTIFICATIONS_STORE_NODES
|
||||
| A list of nodes to access the configured store. This has no effect when 'memory' store is configured. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details.
|
||||
| [127.0.0.1:9233]
|
||||
|
||||
|
|
||||
| NOTIFICATIONS_STORE_TABLE
|
||||
| The database table the store should use.
|
||||
|
|
||||
|
||||
|
|
||||
| NOTIFICATIONS_STORE_TTL
|
||||
| Time to live for notifications in the store. Defaults to '336h' (2 weeks). See the Environment Variable Types description for more details.
|
||||
| 336h0m0s
|
||||
|
||||
| xref:{s-path}/settings.adoc[Settings]
|
||||
| SETTINGS_TRANSLATION_PATH
|
||||
| (optional) Set this to a path with custom translations to overwrite the builtin translations. Note that file and folder naming rules apply, see the documentation for more details.
|
||||
|
|
||||
|
||||
|===
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
Note that the links provided in the service column are non functional when clicked.
|
||||
|
||||
| Service | Variable | Description | Default |
|
||||
| --- | --- | --- | --- |
|
||||
| [Fontend]({s-path}/frontend.adoc) | FRONTEND_CONFIGURABLE_NOTIFICATIONS | Allow configuring notifications via web client. | false |
|
||||
| [Notifications]({s-path}/notifications.adoc) | NOTIFICATIONS_STORE | The type of the store. Supported values are: 'memory', 'nats-js-kv', 'redis-sentinel', 'noop'. See the text description for details. | nats-js-kv |
|
||||
| | NOTIFICATIONS_STORE_AUTH_PASSWORD | The password to authenticate with the store. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| | NOTIFICATIONS_STORE_AUTH_USERNAME | The username to authenticate with the store. Only applies when store type 'nats-js-kv' is configured. | |
|
||||
| | NOTIFICATIONS_STORE_DATABASE | The database name the configured store should use. | notifications |
|
||||
| | NOTIFICATIONS_STORE_NODES | A list of nodes to access the configured store. This has no effect when 'memory' store is configured. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details. | [127.0.0.1:9233] |
|
||||
| | NOTIFICATIONS_STORE_TABLE | The database table the store should use. | |
|
||||
| | NOTIFICATIONS_STORE_TTL | Time to live for notifications in the store. Defaults to '336h' (2 weeks). See the Environment Variable Types description for more details. | 336h0m0s |
|
||||
| [Settings]({s-path}/settings.adoc) | SETTINGS_TRANSLATION_PATH | (optional) Set this to a path with custom translations to overwrite the builtin translations. Note that file and folder naming rules apply, see the documentation for more details. | |
|
||||
@@ -0,0 +1,105 @@
|
||||
// # Deprecated Variables between oCIS 7.0.0 and oCIS 7.1.0
|
||||
// commenting the headline to make it better includable
|
||||
|
||||
// table created per 2025.01.10
|
||||
// the table should be recreated/updated on source () changes
|
||||
|
||||
Note that these environment variables were listed for deprecation in 7.0.0 already. Removal has been delayed for an upcoming production version. They are listed here for consistency.
|
||||
|
||||
|
||||
[width="100%",cols="~,~,~,~,~",options="header"]
|
||||
|===
|
||||
| Service | Variable | Description | Removal Version | Deprecation Info
|
||||
|
||||
| xref:{s-path}/clientlog.adoc[Clientlog]
|
||||
| CLIENTLOG_REVA_GATEWAY
|
||||
| CS3 gateway used to look up user metadata
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| CLIENTLOG_REVA_GATEWAY removed for simplicity.
|
||||
|
||||
| xref:{s-path}/frontend.adoc[Frontend]
|
||||
| FRONTEND_OCS_ADDITIONAL_INFO_ATTRIBUTE
|
||||
| Additional information attribute for the user like {{.Mail}}.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| The OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_ENABLE_DENIALS
|
||||
| EXPERIMENTAL: enable the feature to deny access on folders.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| The OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_INCLUDE_OCM_SHAREES
|
||||
| Include OCM sharees when listing sharees.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_INCLUDE_OCM_SHAREES, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_LIST_OCM_SHARES
|
||||
| Include OCM shares when listing shares. See the OCM service documentation for more details.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_LIST_OCM_SHARES, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_PERSONAL_NAMESPACE
|
||||
| Home namespace identifier.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| The OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_PREFIX
|
||||
| URL path prefix for the OCS service. Note that the string must not start with '/'.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| The OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_SHARE_PREFIX
|
||||
| Path prefix for shares as part of an ocis resource. Note that the path must start with '/'.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| The OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_AUTH_PASSWORD
|
||||
| The password to use for authentication. Only applies when using the 'nats-js-kv' store type.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_STAT_CACHE_AUTH_PASSWORD, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_AUTH_USERNAME
|
||||
| The username to use for authentication. Only applies when using the 'nats-js-kv' store type.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_STAT_CACHE_AUTH_USERNAME, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_DISABLE_PERSISTENCE
|
||||
| Disable persistence of the cache. Only applies when using the 'nats-js-kv' store type. Defaults to false.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_STAT_CACHE_DISABLE_PERSISTENCE, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_STORE
|
||||
| The type of the cache store. Supported values are: 'memory', 'redis-sentinel', 'nats-js-kv', 'noop'. See the text description for details.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_STAT_CACHE_STORE, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_STORE_NODES
|
||||
| A list of nodes to access the configured store. This has no effect when 'memory' store is configured. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_STAT_CACHE_STORE_NODES, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_TABLE
|
||||
| The database table the store should use.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| The OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_TTL
|
||||
| Default time to live for user info in the cache. Only applied when access tokens has no expiration. See the Environment Variable Types description for more details.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_STAT_CACHE_TTL, the OCS API is deprecated
|
||||
|
||||
|===
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
Note that the links provided in the service column are non functional when clicked.
|
||||
|
||||
Note that these environment variables were listed for deprecation in 7.0.0 already. Removal has been delayed for an upcoming production version. They are listed here for consistency.
|
||||
|
||||
| Service | Variable | Description | Removal Version | Deprecation Info |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| [Clientlog]({s-path}/clientlog.adoc) | CLIENTLOG_REVA_GATEWAY | CS3 gateway used to look up user metadata | %%NEXT_PRODUCTION_VERSION%% | CLIENTLOG_REVA_GATEWAY removed for simplicity. |
|
||||
| [Frontend]({s-path}/frontend.adoc) | FRONTEND_OCS_ADDITIONAL_INFO_ATTRIBUTE | Additional information attribute for the user like {{.Mail}}. | %%NEXT_PRODUCTION_VERSION%% | The OCS API is deprecated |
|
||||
| | FRONTEND_OCS_ENABLE_DENIALS | EXPERIMENTAL: enable the feature to deny access on folders. | %%NEXT_PRODUCTION_VERSION%% | The OCS API is deprecated |
|
||||
| | FRONTEND_OCS_INCLUDE_OCM_SHAREES | Include OCM sharees when listing sharees. | %%NEXT_PRODUCTION_VERSION%% | FRONTEND_OCS_INCLUDE_OCM_SHAREES, the OCS API is deprecated |
|
||||
| | FRONTEND_OCS_LIST_OCM_SHARES | Include OCM shares when listing shares. See the OCM service documentation for more details. | %%NEXT_PRODUCTION_VERSION%% | FRONTEND_OCS_LIST_OCM_SHARES, the OCS API is deprecated |
|
||||
| | FRONTEND_OCS_PERSONAL_NAMESPACE | Home namespace identifier. | %%NEXT_PRODUCTION_VERSION%% | The OCS API is deprecated |
|
||||
| | FRONTEND_OCS_PREFIX | URL path prefix for the OCS service. Note that the string must not start with '/'. | %%NEXT_PRODUCTION_VERSION%% | The OCS API is deprecated |
|
||||
| | FRONTEND_OCS_SHARE_PREFIX | Path prefix for shares as part of an ocis resource. Note that the path must start with '/'. | %%NEXT_PRODUCTION_VERSION%% | The OCS API is deprecated |
|
||||
| | FRONTEND_OCS_STAT_CACHE_AUTH_PASSWORD | The password to use for authentication. Only applies when using the 'nats-js-kv' store type. | %%NEXT_PRODUCTION_VERSION%% | FRONTEND_OCS_STAT_CACHE_AUTH_PASSWORD, the OCS API is deprecated |
|
||||
| | FRONTEND_OCS_STAT_CACHE_AUTH_USERNAME | The username to use for authentication. Only applies when using the 'nats-js-kv' store type. | %%NEXT_PRODUCTION_VERSION%% | FRONTEND_OCS_STAT_CACHE_AUTH_USERNAME, the OCS API is deprecated |
|
||||
| | FRONTEND_OCS_STAT_CACHE_DISABLE_PERSISTENCE | Disable persistence of the cache. Only applies when using the 'nats-js-kv' store type. Defaults to false. | %%NEXT_PRODUCTION_VERSION%% | FRONTEND_OCS_STAT_CACHE_DISABLE_PERSISTENCE, the OCS API is deprecated |
|
||||
| | FRONTEND_OCS_STAT_CACHE_STORE | The type of the cache store. Supported values are: 'memory', 'redis-sentinel', 'nats-js-kv', 'noop'. See the text description for details. | %%NEXT_PRODUCTION_VERSION%% | FRONTEND_OCS_STAT_CACHE_STORE, the OCS API is deprecated |
|
||||
| | FRONTEND_OCS_STAT_CACHE_STORE_NODES | A list of nodes to access the configured store. This has no effect when 'memory' store is configured. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details. | %%NEXT_PRODUCTION_VERSION%% | FRONTEND_OCS_STAT_CACHE_STORE_NODES, the OCS API is deprecated |
|
||||
| | FRONTEND_OCS_STAT_CACHE_TABLE | The database table the store should use. | %%NEXT_PRODUCTION_VERSION%% | The OCS API is deprecated |
|
||||
| | FRONTEND_OCS_STAT_CACHE_TTL | Default time to live for user info in the cache. Only applied when access tokens has no expiration. See the Environment Variable Types description for more details. | %%NEXT_PRODUCTION_VERSION%% | FRONTEND_OCS_STAT_CACHE_TTL, the OCS API is deprecated |
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
// # Removed Variables between oCIS 7.2.0 and oCIS 7.3.0
|
||||
// # Removed Variables between oCIS 7.0.0 and oCIS 7.1.0
|
||||
// commenting the headline to make it better includable
|
||||
|
||||
// table created per 2025.09.22
|
||||
// table created per 2025.01.10
|
||||
// the table should be recreated/updated on source () changes
|
||||
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -0,0 +1,4 @@
|
||||
Note that the links provided in the service column are non functional when clicked.
|
||||
|
||||
| Service | Variable | Description | Default |
|
||||
| --- | --- | --- | --- |
|
||||
@@ -0,0 +1,42 @@
|
||||
// # Added Variables between oCIS 7.1.0 and oCIS 7.2.0
|
||||
// commenting the headline to make it better includable
|
||||
|
||||
// table created per 2025.06.13
|
||||
// the table should be recreated/updated on source () changes
|
||||
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
|===
|
||||
| Service | Variable | Description | Default
|
||||
|
||||
| xref:deployment/services/env-vars-special-scope.adoc[Special Scope Envvars]
|
||||
| OCIS_CLAIM_MANAGED_SPACES_CLAIMNAME
|
||||
| The name of the claim used to manage Spaces.
|
||||
|
|
||||
|
||||
|
|
||||
| OCIS_CLAIM_MANAGED_SPACES_ENABLED
|
||||
| Enables Space management through OIDC claims. See the text description for more details.
|
||||
| false
|
||||
|
||||
|
|
||||
| OCIS_CLAIM_MANAGED_SPACES_MAPPING
|
||||
| (Optional) Mapping of OIDC roles to ocis Space roles. Example: 'oidcroleA:viewer,oidcroleB:manager'
|
||||
| []
|
||||
|
||||
|
|
||||
| OCIS_CLAIM_MANAGED_SPACES_REGEXP
|
||||
| The regular expression that extracts Space IDs and roles from a claim.
|
||||
|
|
||||
|
||||
|
|
||||
| OCIS_MAX_TAG_LENGTH
|
||||
| Define the maximum tag length. Defaults to 100 if not set. Set to 0 to not limit the tag length. Changes only impact the validation of new tags.
|
||||
| 100
|
||||
|
||||
| xref:{s-path}/search.adoc[search]
|
||||
| SEARCH_ENGINE_BLEVE_SCALE
|
||||
| Enable scaling of the search index (bleve). If set to 'true', the instance of the search service will no longer have exclusive write access to the index. Note when scaling search, all instances of the search service must be set to true! For 'false', which is the default, the running search service has exclusive access to the index as long it is running. This locks out other search processes tying to access the index.
|
||||
| false
|
||||
|
||||
|===
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
Note that the links provided in the service column are non functional when clicked.
|
||||
|
||||
| Service | Variable | Description | Default |
|
||||
| --- | --- | --- | --- |
|
||||
| [Special Scope Envvars](deployment/services/env-vars-special-scope.adoc) | OCIS_CLAIM_MANAGED_SPACES_CLAIMNAME | The name of the claim used to manage Spaces. | |
|
||||
| | OCIS_CLAIM_MANAGED_SPACES_ENABLED | Enables Space management through OIDC claims. See the text description for more details. | false |
|
||||
| | OCIS_CLAIM_MANAGED_SPACES_MAPPING | (Optional) Mapping of OIDC roles to ocis Space roles. Example: 'oidcroleA:viewer,oidcroleB:manager' | [] |
|
||||
| | OCIS_CLAIM_MANAGED_SPACES_REGEXP | The regular expression that extracts Space IDs and roles from a claim. | |
|
||||
| | OCIS_MAX_TAG_LENGTH | Define the maximum tag length. Defaults to 100 if not set. Set to 0 to not limit the tag length. Changes only impact the validation of new tags. | 100 |
|
||||
| [search]({s-path}/search.adoc) | SEARCH_ENGINE_BLEVE_SCALE | Enable scaling of the search index (bleve). If set to 'true', the instance of the search service will no longer have exclusive write access to the index. Note when scaling search, all instances of the search service must be set to true! For 'false', which is the default, the running search service has exclusive access to the index as long it is running. This locks out other search processes tying to access the index. | false |
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
// # Deprecated Variables between oCIS 7.3.0 and oCIS 8.0.0
|
||||
// # Deprecated Variables between oCIS 7.1.0 and oCIS 7.2.0
|
||||
// commenting the headline to make it better includable
|
||||
|
||||
// table created per 2026.01.21
|
||||
// table created per 2025.06.13
|
||||
// the table should be recreated/updated on source () changes
|
||||
|
||||
[width="100%",cols="~,~,~,~,~",options="header"]
|
||||
+2
@@ -1,2 +1,4 @@
|
||||
Note that the links provided in the service column are non functional when clicked.
|
||||
|
||||
| Service | Variable | Description | Removal Version | Deprecation Info |
|
||||
| --- | --- | --- | --- | --- |
|
||||
@@ -0,0 +1,97 @@
|
||||
// # Removed Variables between oCIS 7.1.0 and oCIS 7.2.0
|
||||
// commenting the headline to make it better includable
|
||||
|
||||
// table created per 2025.06.13
|
||||
// the table should be recreated/updated on source () changes
|
||||
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
|===
|
||||
| Service | Variable | Description | Default
|
||||
|
||||
| xref:{s-path}/clientlog.adoc[clientlog]
|
||||
| CLIENTLOG_REVA_GATEWAY
|
||||
| CS3 gateway used to look up user metadata
|
||||
| com.owncloud.api.gateway
|
||||
|
||||
| xref:{s-path}/frontend.adoc[frontend]
|
||||
| FRONTEND_OCS_ADDITIONAL_INFO_ATTRIBUTE
|
||||
| Additional information attribute for the user like {{.Mail}}.
|
||||
| {{.Mail}}
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_ENABLE_DENIALS
|
||||
| EXPERIMENTAL: enable the feature to deny access on folders.
|
||||
| false
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_INCLUDE_OCM_SHAREES
|
||||
| Include OCM sharees when listing sharees.
|
||||
| false
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_LIST_OCM_SHARES
|
||||
| Include OCM shares when listing shares. See the OCM service documentation for more details.
|
||||
| true
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_PERSONAL_NAMESPACE
|
||||
| Home namespace identifier.
|
||||
| /users/{{.Id.OpaqueId}}
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_PREFIX
|
||||
| URL path prefix for the OCS service. Note that the string must not start with '/'.
|
||||
| ocs
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_PUBLIC_SHARE_MUST_HAVE_PASSWORD
|
||||
| Set this to true if you want to enforce passwords on all public shares.
|
||||
| true
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD
|
||||
| Set this to true if you want to enforce passwords for writable shares. Only effective if the setting for 'passwords on all public shares' is set to false.
|
||||
| false
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_SHARE_PREFIX
|
||||
| Path prefix for shares as part of an ocis resource. Note that the path must start with '/'.
|
||||
| /Shares
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_AUTH_PASSWORD
|
||||
| The password to use for authentication. Only applies when using the 'nats-js-kv' store type.
|
||||
|
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_AUTH_USERNAME
|
||||
| The username to use for authentication. Only applies when using the 'nats-js-kv' store type.
|
||||
|
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_DISABLE_PERSISTENCE
|
||||
| Disable persistence of the cache. Only applies when using the 'nats-js-kv' store type. Defaults to false.
|
||||
| false
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_STORE
|
||||
| The type of the cache store. Supported values are: 'memory', 'redis-sentinel', 'nats-js-kv', 'noop'. See the text description for details.
|
||||
| memory
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_STORE_NODES
|
||||
| A list of nodes to access the configured store. This has no effect when 'memory' store is configured. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details.
|
||||
| [127.0.0.1:9233]
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_TABLE
|
||||
| The database table the store should use.
|
||||
|
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_TTL
|
||||
| Default time to live for user info in the cache. Only applied when access tokens has no expiration. See the Environment Variable Types description for more details.
|
||||
| 5m0s
|
||||
|
||||
|===
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
Note that the links provided in the service column are non functional when clicked.
|
||||
|
||||
| Service | Variable | Description | Default |
|
||||
| --- | --- | --- | --- |
|
||||
| [clientlog]({s-path}/clientlog.adoc) | CLIENTLOG_REVA_GATEWAY | CS3 gateway used to look up user metadata | com.owncloud.api.gateway |
|
||||
| [frontend]({s-path}/frontend.adoc) | FRONTEND_OCS_ADDITIONAL_INFO_ATTRIBUTE | Additional information attribute for the user like {{.Mail}}. | {{.Mail}} |
|
||||
| | FRONTEND_OCS_ENABLE_DENIALS | EXPERIMENTAL: enable the feature to deny access on folders. | false |
|
||||
| | FRONTEND_OCS_INCLUDE_OCM_SHAREES | Include OCM sharees when listing sharees. | false |
|
||||
| | FRONTEND_OCS_LIST_OCM_SHARES | Include OCM shares when listing shares. See the OCM service documentation for more details. | true |
|
||||
| | FRONTEND_OCS_PERSONAL_NAMESPACE | Home namespace identifier. | /users/{{.Id.OpaqueId}} |
|
||||
| | FRONTEND_OCS_PREFIX | URL path prefix for the OCS service. Note that the string must not start with '/'. | ocs |
|
||||
| | FRONTEND_OCS_PUBLIC_SHARE_MUST_HAVE_PASSWORD | Set this to true if you want to enforce passwords on all public shares. | true |
|
||||
| | FRONTEND_OCS_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD | Set this to true if you want to enforce passwords for writable shares. Only effective if the setting for 'passwords on all public shares' is set to false. | false |
|
||||
| | FRONTEND_OCS_SHARE_PREFIX | Path prefix for shares as part of an ocis resource. Note that the path must start with '/'. | /Shares |
|
||||
| | FRONTEND_OCS_STAT_CACHE_AUTH_PASSWORD | The password to use for authentication. Only applies when using the 'nats-js-kv' store type. | |
|
||||
| | FRONTEND_OCS_STAT_CACHE_AUTH_USERNAME | The username to use for authentication. Only applies when using the 'nats-js-kv' store type. | |
|
||||
| | FRONTEND_OCS_STAT_CACHE_DISABLE_PERSISTENCE | Disable persistence of the cache. Only applies when using the 'nats-js-kv' store type. Defaults to false. | false |
|
||||
| | FRONTEND_OCS_STAT_CACHE_STORE | The type of the cache store. Supported values are: 'memory', 'redis-sentinel', 'nats-js-kv', 'noop'. See the text description for details. | memory |
|
||||
| | FRONTEND_OCS_STAT_CACHE_STORE_NODES | A list of nodes to access the configured store. This has no effect when 'memory' store is configured. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details. | [127.0.0.1:9233] |
|
||||
| | FRONTEND_OCS_STAT_CACHE_TABLE | The database table the store should use. | |
|
||||
| | FRONTEND_OCS_STAT_CACHE_TTL | Default time to live for user info in the cache. Only applied when access tokens has no expiration. See the Environment Variable Types description for more details. | 5m0s |
|
||||
@@ -0,0 +1,37 @@
|
||||
---
|
||||
title: Deltas Between Versions
|
||||
date: 2024-02-08T00:00:00+00:00
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/services/general-info/envvars/env-var-deltas
|
||||
geekdocFilePath: _index.md
|
||||
geekdocCollapseSection: true
|
||||
---
|
||||
|
||||
## General Information
|
||||
|
||||
This section provides information about `added`, `removed` and `deprecated` environment variables between two major/minor versions.
|
||||
|
||||
To create the changed envvar tables, you must proceed the following steps in order:
|
||||
|
||||
1. Install, if not already done, the converter for adoc to markdown tables: `npm install -g downdoc`\
|
||||
This is only required when converting adoc to markdown tables but highly recommended!
|
||||
|
||||
2. Run `make -C docs docs-generate` from the ocis root.\
|
||||
A file named `env_vars.yaml` is generated. Check for validity. If issues are found, fix them in the service sources first which need to be merged before you rerun make. When the changes are fine, create a PR and merge it. Any delta information is based on an actual `env_vars.yaml` file which is pull from master by the python script described below!
|
||||
|
||||
3. Configure the Python script `docs/helpers/changed_envvars.py` variables for the new version.\
|
||||
Note that you **must** use semver and not code names!
|
||||
|
||||
4. Run the python script from the ocis root such as `python3 docs/helpers/changed_envvars.py`.\
|
||||
Note that the script pulls data from the master branch only, therefore the `env_vars.yaml` file MUST be up to date.\
|
||||
adoc tables will be generated which are used for the admin docs and are the basis for markdown.
|
||||
|
||||
5. Because the script can not determine the link target in the `Service` column, you must manually adapt them in the generated adoc files with respect to the name and target. Only one entry per identical service block is required, delete the cell content for the rest for ease of readability.
|
||||
|
||||
6. Run `npx downdoc <filename.adoc>` for each of the newly generated `added`, `removed` and `deprecated` files.
|
||||
|
||||
7. Add in each markdown file on top the following sentence:\
|
||||
`Note that the links provided in the service column are non functional when clicked.` including a newline.
|
||||
|
||||
8. Create a PR and merge it.
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the eventhistory service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`EVENTHISTORY_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
a| `GRPC_MAX_CONNECTION_AGE` +
|
||||
a| [subs=-attributes]
|
||||
@@ -74,7 +73,6 @@ a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
++The base directory location used by several services and for user data. See the General Info section in the documentation for more details on defaults. Services can have, if available, an individual setting with an own environment variable. ++
|
||||
|
||||
|
||||
a| `OCIS_CONFIG_DIR` +
|
||||
a| [subs=-attributes]
|
||||
@@ -83,14 +81,6 @@ a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
++The default directory location for config files. See the General Info section in the documentation for more details on defaults. ++
|
||||
|
||||
a| `OCIS_INSECURE` +
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
++Insecure TLS mode is only allowed in development environments with OCIS_INSECURE=true ++
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the frontend service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -108,7 +108,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`FRONTEND_TRACING_ENDPOINT` +
|
||||
@@ -477,18 +477,6 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
Minimum number of characters to enter before a client should start a search for Share receivers. This setting can be used to customize the user experience if e.g too many results are displayed.
|
||||
|
||||
a|`OCIS_USER_SEARCH_DISPLAYED_ATTRIBUTES` +
|
||||
`FRONTEND_USER_SEARCH_DISPLAYED_ATTRIBUTES` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.3.0 ++
|
||||
a| [subs=-attributes]
|
||||
++[]string ++
|
||||
a| [subs=-attributes]
|
||||
++[] ++
|
||||
a| [subs=-attributes]
|
||||
A list of user attributes to display in the user search results.
|
||||
|
||||
a|`OCIS_EDITION` +
|
||||
`FRONTEND_EDITION` +
|
||||
|
||||
@@ -617,7 +605,7 @@ a| [subs=-attributes]
|
||||
Path prefix for the data gateway.
|
||||
|
||||
a|`OCIS_CACHE_STORE` +
|
||||
xref:deprecation-note-2026-03-23-00-11-05[Deprecation Note]
|
||||
xref:deprecation-note-2026-02-16-03-31-19[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++pre5.0 ++
|
||||
a| [subs=-attributes]
|
||||
@@ -628,7 +616,7 @@ a| [subs=-attributes]
|
||||
The type of the cache store. Supported values are: 'memory', 'redis-sentinel', 'nats-js-kv', 'noop'. See the text description for details.
|
||||
|
||||
a|`OCIS_CACHE_STORE_NODES` +
|
||||
xref:deprecation-note-2026-03-23-00-11-05[Deprecation Note]
|
||||
xref:deprecation-note-2026-02-16-03-31-19[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++pre5.0 ++
|
||||
a| [subs=-attributes]
|
||||
@@ -639,7 +627,7 @@ a| [subs=-attributes]
|
||||
A list of nodes to access the configured store. This has no effect when 'memory' store is configured. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details.
|
||||
|
||||
a|`OCIS_CACHE_DATABASE` +
|
||||
xref:deprecation-note-2026-03-23-00-11-05[Deprecation Note]
|
||||
xref:deprecation-note-2026-02-16-03-31-19[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++pre5.0 ++
|
||||
a| [subs=-attributes]
|
||||
@@ -650,7 +638,7 @@ a| [subs=-attributes]
|
||||
The database name the configured store should use.
|
||||
|
||||
a|`OCIS_CACHE_TTL` +
|
||||
xref:deprecation-note-2026-03-23-00-11-05[Deprecation Note]
|
||||
xref:deprecation-note-2026-02-16-03-31-19[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++pre5.0 ++
|
||||
a| [subs=-attributes]
|
||||
@@ -661,7 +649,7 @@ a| [subs=-attributes]
|
||||
Default time to live for user info in the cache. Only applied when access tokens has no expiration. See the Environment Variable Types description for more details.
|
||||
|
||||
a|`OCIS_CACHE_DISABLE_PERSISTENCE` +
|
||||
xref:deprecation-note-2026-03-23-00-11-05[Deprecation Note]
|
||||
xref:deprecation-note-2026-02-16-03-31-19[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++5.0 ++
|
||||
a| [subs=-attributes]
|
||||
@@ -672,7 +660,7 @@ a| [subs=-attributes]
|
||||
Disable persistence of the cache. Only applies when using the 'nats-js-kv' store type. Defaults to false.
|
||||
|
||||
a|`OCIS_CACHE_AUTH_USERNAME` +
|
||||
xref:deprecation-note-2026-03-23-00-11-05[Deprecation Note]
|
||||
xref:deprecation-note-2026-02-16-03-31-19[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++5.0 ++
|
||||
a| [subs=-attributes]
|
||||
@@ -683,7 +671,7 @@ a| [subs=-attributes]
|
||||
The username to use for authentication. Only applies when using the 'nats-js-kv' store type.
|
||||
|
||||
a|`OCIS_CACHE_AUTH_PASSWORD` +
|
||||
xref:deprecation-note-2026-03-23-00-11-05[Deprecation Note]
|
||||
xref:deprecation-note-2026-02-16-03-31-19[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++5.0 ++
|
||||
a| [subs=-attributes]
|
||||
@@ -694,7 +682,7 @@ a| [subs=-attributes]
|
||||
The password to use for authentication. Only applies when using the 'nats-js-kv' store type.
|
||||
|
||||
a|`OCIS_ENABLE_OCM` +
|
||||
xref:deprecation-note-2026-03-23-00-11-05[Deprecation Note]
|
||||
xref:deprecation-note-2026-02-16-03-31-19[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++5.0 ++
|
||||
a| [subs=-attributes]
|
||||
@@ -705,7 +693,7 @@ a| [subs=-attributes]
|
||||
Include OCM shares when listing shares. See the OCM service documentation for more details.
|
||||
|
||||
a|`OCIS_ENABLE_OCM` +
|
||||
xref:deprecation-note-2026-03-23-00-11-05[Deprecation Note]
|
||||
xref:deprecation-note-2026-02-16-03-31-19[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++5.0 ++
|
||||
a| [subs=-attributes]
|
||||
@@ -716,7 +704,7 @@ a| [subs=-attributes]
|
||||
Include OCM sharees when listing sharees.
|
||||
|
||||
a|`OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD` +
|
||||
xref:deprecation-note-2026-03-23-00-11-05[Deprecation Note]
|
||||
xref:deprecation-note-2026-02-16-03-31-19[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++5.0 ++
|
||||
a| [subs=-attributes]
|
||||
@@ -727,7 +715,7 @@ a| [subs=-attributes]
|
||||
Set this to true if you want to enforce passwords on all public shares.
|
||||
|
||||
a|`OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD` +
|
||||
xref:deprecation-note-2026-03-23-00-11-05[Deprecation Note]
|
||||
xref:deprecation-note-2026-02-16-03-31-19[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++5.0 ++
|
||||
a| [subs=-attributes]
|
||||
@@ -737,6 +725,17 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
Set this to true if you want to enforce passwords for writable shares. Only effective if the setting for 'passwords on all public shares' is set to false.
|
||||
|
||||
a|`OCIS_SHOW_USER_EMAIL_IN_RESULTS` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++6.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
Include user email addresses in responses. If absent or set to false emails will be omitted from results. Please note that admin users can always see all email addresses.
|
||||
|
||||
a|`FRONTEND_CHECKSUMS_SUPPORTED_TYPES` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1028,27 +1027,5 @@ a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
Enables Space management through OIDC claims. See the text description for more details.
|
||||
|
||||
a|`OCIS_MFA_ENABLED` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.3.0 ++
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
Set to true to enable multi factor authentication. See the documentation for more details.
|
||||
|
||||
a|`OCIS_MFA_AUTH_LEVEL_NAMES` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.3.0 ++
|
||||
a| [subs=-attributes]
|
||||
++[]string ++
|
||||
a| [subs=-attributes]
|
||||
++[advanced] ++
|
||||
a| [subs=-attributes]
|
||||
This authentication level name indicates that multi-factor authentication was performed. The name must match the ACR claim in the access token received. Note: If multiple names are required, use a comma-separated list. The front-end service will use the first name in the list when requesting multi-factor authentication (MFA).
|
||||
|===
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the gateway service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`GATEWAY_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -46,7 +46,7 @@ a| [subs=-attributes]
|
||||
++ ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
ID of the user who collects all necessary information for deletion. Consider that the UUID can be encoded in some LDAP deployment configurations like in .ldif files. These need to be decoded beforehand.
|
||||
ID of the user that should receive admin privileges. Consider that the UUID can be encoded in some LDAP deployment configurations like in .ldif files. These need to be decoded beforehand.
|
||||
a| `OCIS_ASYNC_UPLOADS`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -90,7 +90,7 @@ a| [subs=-attributes]
|
||||
++ ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
The password to authenticate with the cache store. Only applies when store type 'nats-js-kv' is configured.
|
||||
The password to authenticate with the cache. Only applies when store type 'nats-js-kv' is configured.
|
||||
a| `OCIS_CACHE_AUTH_USERNAME`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -116,7 +116,7 @@ a| [subs=-attributes]
|
||||
++ ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
The username to authenticate with the cache store. Only applies when store type 'nats-js-kv' is configured.
|
||||
The username to authenticate with the cache. Only applies when store type 'nats-js-kv' is configured.
|
||||
a| `OCIS_CACHE_DATABASE`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -136,7 +136,7 @@ a| [subs=-attributes]
|
||||
++string ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++storage-users ++
|
||||
++settings-cache ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
The database name the configured store should use.
|
||||
@@ -239,10 +239,10 @@ a| [subs=-attributes]
|
||||
++Duration ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++24m0s ++
|
||||
++10m0s ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
Default time to live for user info in the user info cache. Only applied when access tokens has no expiration. See the Environment Variable Types description for more details.
|
||||
Default time to live for entries in the cache. Only applied when access tokens has no expiration. See the Environment Variable Types description for more details.
|
||||
a| `OCIS_CLAIM_MANAGED_SPACES_ENABLED`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -263,7 +263,7 @@ Enables Space management through OIDC claims. See the text description for more
|
||||
a| `OCIS_CORS_ALLOW_CREDENTIALS`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++5.0 ++
|
||||
++pre5.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/activitylog.adoc[activitylog] +
|
||||
@@ -287,14 +287,14 @@ a| [subs=-attributes]
|
||||
++bool ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
++true ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
Allow credentials for CORS.See following chapter for more details: *Access-Control-Allow-Credentials* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials.
|
||||
a| `OCIS_CORS_ALLOW_HEADERS`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++5.0 ++
|
||||
++pre5.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/activitylog.adoc[activitylog] +
|
||||
@@ -318,14 +318,14 @@ a| [subs=-attributes]
|
||||
++[]string ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++[Origin Accept Content-Type Depth Authorization Ocs-Apirequest If-None-Match If-Match Destination Overwrite X-Request-Id X-Requested-With Tus-Resumable Tus-Checksum-Algorithm Upload-Concat Upload-Length Upload-Metadata Upload-Defer-Length Upload-Expires Upload-Checksum Upload-Offset X-HTTP-Method-Override Cache-Control] ++
|
||||
++[Authorization Origin Content-Type Accept X-Requested-With X-Request-Id] ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
A list of allowed CORS headers. See following chapter for more details: *Access-Control-Request-Headers* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers. See the Environment Variable Types description for more details.
|
||||
a| `OCIS_CORS_ALLOW_METHODS`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++5.0 ++
|
||||
++pre5.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/activitylog.adoc[activitylog] +
|
||||
@@ -349,14 +349,14 @@ a| [subs=-attributes]
|
||||
++[]string ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++[OPTIONS HEAD GET PUT POST DELETE MKCOL PROPFIND PROPPATCH MOVE COPY REPORT SEARCH] ++
|
||||
++[GET POST PUT PATCH DELETE OPTIONS] ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
A list of allowed CORS methods. See following chapter for more details: *Access-Control-Request-Method* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Method. See the Environment Variable Types description for more details.
|
||||
a| `OCIS_CORS_ALLOW_ORIGINS`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++5.0 ++
|
||||
++pre5.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/activitylog.adoc[activitylog] +
|
||||
@@ -380,7 +380,7 @@ a| [subs=-attributes]
|
||||
++[]string ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++[https://localhost:9200] ++
|
||||
++[*] ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
A list of allowed CORS origins. See following chapter for more details: *Access-Control-Allow-Origin* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin. See the Environment Variable Types description for more details.
|
||||
@@ -666,7 +666,7 @@ a| [subs=-attributes]
|
||||
++ ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
The root CA certificate used to validate the server's TLS certificate. If provided OCM_EVENTS_TLS_INSECURE will be seen as false.
|
||||
The root CA certificate used to validate the server's TLS certificate. If provided AUDIT_EVENTS_TLS_INSECURE will be seen as false.
|
||||
a| `OCIS_GATEWAY_GRPC_ADDR`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -763,7 +763,7 @@ TLS mode for grpc connection to the go-micro based grpc services. Possible value
|
||||
a| `OCIS_GRPC_PROTOCOL`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++pre5.0 ++
|
||||
++7.0.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/app-provider.adoc[app-provider] +
|
||||
@@ -1080,7 +1080,7 @@ a| [subs=-attributes]
|
||||
++string ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++uid=reva,ou=sysusers,o=libregraph-idm ++
|
||||
++uid=idp,ou=sysusers,o=libregraph-idm ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
LDAP DN to use for simple bind authentication with the target LDAP server.
|
||||
@@ -1123,7 +1123,7 @@ a| [subs=-attributes]
|
||||
++/var/lib/ocis/idm/ldap.crt ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
Path/File name for the root CA certificate (in PEM format) used to validate TLS server certificates of the LDAP service. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH/idm.
|
||||
Path/File name for the root CA certificate (in PEM format) used to validate TLS server certificates of the LDAP service. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH/idp.
|
||||
a| `OCIS_LDAP_DISABLED_USERS_GROUP_DN`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1159,7 +1159,7 @@ a| [subs=-attributes]
|
||||
++attribute ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
An option to control the behavior for disabling users. Valid options are 'none', 'attribute' and 'group'. If set to 'group', disabling a user via API will add the user to the configured group for disabled users, if set to 'attribute' this will be done in the ldap user entry, if set to 'none' the disable request is not processed.
|
||||
An option to control the behavior for disabling users. Supported options are 'none', 'attribute' and 'group'. If set to 'group', disabling a user via API will add the user to the configured group for disabled users, if set to 'attribute' this will be done in the ldap user entry, if set to 'none' the disable request is not processed. Default is 'attribute'.
|
||||
a| `OCIS_LDAP_GROUP_BASE_DN`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1216,7 +1216,7 @@ a| [subs=-attributes]
|
||||
++groupOfNames ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
The object class to use for groups in the default group search filter like 'groupOfNames'.
|
||||
The object class to use for groups in the default group search filter ('groupOfNames').
|
||||
a| `OCIS_LDAP_GROUP_SCHEMA_DISPLAYNAME`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1272,7 +1272,7 @@ a| [subs=-attributes]
|
||||
++ownclouduuid ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
LDAP Attribute to use as the unique ID for groups. This should be a stable globally unique ID like a UUID.
|
||||
LDAP Attribute to use as the unique id for groups. This should be a stable globally unique ID like a UUID.
|
||||
a| `OCIS_LDAP_GROUP_SCHEMA_ID_IS_OCTETSTRING`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1347,7 +1347,7 @@ a| [subs=-attributes]
|
||||
++sub ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
LDAP search scope to use when looking up groups. Supported values are 'base', 'one' and 'sub'.
|
||||
LDAP search scope to use when looking up groups. Supported scopes are 'base', 'one' and 'sub'.
|
||||
a| `OCIS_LDAP_INSECURE`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1404,7 +1404,7 @@ a| [subs=-attributes]
|
||||
++ldaps://localhost:9235 ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
URI of the LDAP Server to connect to. Supported URI schemes are 'ldaps://' and 'ldap://'
|
||||
Url of the LDAP service to use as IDP.
|
||||
a| `OCIS_LDAP_USER_BASE_DN`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1443,7 +1443,7 @@ a| [subs=-attributes]
|
||||
++ownCloudUserEnabled ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
LDAP attribute to use as a flag telling if the user is enabled or disabled.
|
||||
LDAP Attribute to use as a flag telling if the user is enabled or disabled.
|
||||
a| `OCIS_LDAP_USER_FILTER`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1483,7 +1483,7 @@ a| [subs=-attributes]
|
||||
++inetOrgPerson ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
The object class to use for users in the default user search filter like 'inetOrgPerson'.
|
||||
LDAP User ObjectClass like 'inetOrgPerson'.
|
||||
a| `OCIS_LDAP_USER_SCHEMA_DISPLAYNAME`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1519,10 +1519,10 @@ a| [subs=-attributes]
|
||||
++string ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++ownclouduuid ++
|
||||
++ownCloudUUID ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
LDAP Attribute to use as the unique ID for users. This should be a stable globally unique ID like a UUID.
|
||||
LDAP User UUID attribute like 'uid'.
|
||||
a| `OCIS_LDAP_USER_SCHEMA_ID_IS_OCTETSTRING`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1561,7 +1561,7 @@ a| [subs=-attributes]
|
||||
++mail ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
LDAP Attribute to use for the email address of users.
|
||||
LDAP User email attribute like 'mail'.
|
||||
a| `OCIS_LDAP_USER_SCHEMA_USERNAME`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1578,10 +1578,10 @@ a| [subs=-attributes]
|
||||
++string ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++uid ++
|
||||
++displayName ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
LDAP Attribute to use for username of users.
|
||||
LDAP User name attribute like 'displayName'.
|
||||
a| `OCIS_LDAP_USER_SCHEMA_USER_TYPE`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1618,7 +1618,7 @@ a| [subs=-attributes]
|
||||
++sub ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
LDAP search scope to use when looking up users. Supported values are 'base', 'one' and 'sub'.
|
||||
LDAP search scope to use when looking up users. Supported scopes are 'base', 'one' and 'sub'.
|
||||
a| `OCIS_LOG_COLOR`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1850,7 +1850,7 @@ Activates pretty log output.
|
||||
a| `OCIS_MACHINE_AUTH_API_KEY`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++5.0 ++
|
||||
++pre5.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/auth-app.adoc[auth-app] +
|
||||
@@ -1907,74 +1907,6 @@ a| [subs=-attributes]
|
||||
|
||||
a| [subs=-attributes]
|
||||
Define the maximum tag length. Defaults to 100 if not set. Set to 0 to not limit the tag length. Changes only impact the validation of new tags.
|
||||
a| `OCIS_MFA_AUTH_LEVEL_NAMES`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.3.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/frontend.adoc[frontend] +
|
||||
* xref:{s-path}/proxy.adoc[proxy] +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++[]string ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++[advanced] ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
This authentication level name indicates that multi-factor authentication was performed. The name must match the ACR claim in the access token received. Note: If multiple names are required, use a comma-separated list. The front-end service will use the first name in the list when requesting multi-factor authentication (MFA).
|
||||
a| `OCIS_MFA_ENABLED`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.3.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/frontend.adoc[frontend] +
|
||||
* xref:{s-path}/proxy.adoc[proxy] +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
Enable MFA enforcement. If enabled users need to complete MFA before they can access specific paths
|
||||
a| `OCIS_MULTI_INSTANCE_ENABLED`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/graph.adoc[graph] +
|
||||
* xref:{s-path}/proxy.adoc[proxy] +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
Enable multiple instances of Infinite Scale.
|
||||
a| `OCIS_MULTI_INSTANCE_INSTANCEID`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/graph.adoc[graph] +
|
||||
* xref:{s-path}/proxy.adoc[proxy] +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
The unique id of this instance
|
||||
a| `OCIS_OIDC_ISSUER`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1998,7 +1930,7 @@ a| [subs=-attributes]
|
||||
++https://localhost:9200 ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
URL of the OIDC issuer. It defaults to URL of the builtin IDP.
|
||||
The OIDC issuer URL to assign to the demo users.
|
||||
a| `OCIS_PASSWORD_POLICY_BANNED_PASSWORDS_LIST`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -2121,7 +2053,7 @@ Define the minimum number of lowercase letters. Defaults to 1 if not set.
|
||||
a| `OCIS_PERSISTENT_STORE`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
++7.0.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/activitylog.adoc[activitylog] +
|
||||
@@ -2129,7 +2061,6 @@ a| [subs=attributes+]
|
||||
* xref:{s-path}/eventhistory.adoc[eventhistory] +
|
||||
* xref:{s-path}/notifications.adoc[notifications] +
|
||||
* xref:{s-path}/postprocessing.adoc[postprocessing] +
|
||||
* xref:{s-path}/storage-publiclink.adoc[storage-publiclink] +
|
||||
* xref:{s-path}/userlog.adoc[userlog] +
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -2143,7 +2074,7 @@ The type of the store. Supported values are: 'memory', 'nats-js-kv', 'redis-sent
|
||||
a| `OCIS_PERSISTENT_STORE_AUTH_PASSWORD`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
++7.0.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/activitylog.adoc[activitylog] +
|
||||
@@ -2151,7 +2082,6 @@ a| [subs=attributes+]
|
||||
* xref:{s-path}/eventhistory.adoc[eventhistory] +
|
||||
* xref:{s-path}/notifications.adoc[notifications] +
|
||||
* xref:{s-path}/postprocessing.adoc[postprocessing] +
|
||||
* xref:{s-path}/storage-publiclink.adoc[storage-publiclink] +
|
||||
* xref:{s-path}/userlog.adoc[userlog] +
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -2165,7 +2095,7 @@ The password to authenticate with the store. Only applies when store type 'nats-
|
||||
a| `OCIS_PERSISTENT_STORE_AUTH_USERNAME`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
++7.0.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/activitylog.adoc[activitylog] +
|
||||
@@ -2173,7 +2103,6 @@ a| [subs=attributes+]
|
||||
* xref:{s-path}/eventhistory.adoc[eventhistory] +
|
||||
* xref:{s-path}/notifications.adoc[notifications] +
|
||||
* xref:{s-path}/postprocessing.adoc[postprocessing] +
|
||||
* xref:{s-path}/storage-publiclink.adoc[storage-publiclink] +
|
||||
* xref:{s-path}/userlog.adoc[userlog] +
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -2187,7 +2116,7 @@ The username to authenticate with the store. Only applies when store type 'nats-
|
||||
a| `OCIS_PERSISTENT_STORE_NODES`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
++7.0.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/activitylog.adoc[activitylog] +
|
||||
@@ -2195,7 +2124,6 @@ a| [subs=attributes+]
|
||||
* xref:{s-path}/eventhistory.adoc[eventhistory] +
|
||||
* xref:{s-path}/notifications.adoc[notifications] +
|
||||
* xref:{s-path}/postprocessing.adoc[postprocessing] +
|
||||
* xref:{s-path}/storage-publiclink.adoc[storage-publiclink] +
|
||||
* xref:{s-path}/userlog.adoc[userlog] +
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -2291,13 +2219,13 @@ a| [subs=attributes+]
|
||||
* xref:{s-path}/userlog.adoc[userlog] +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
++[]string ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
++[service-user-id] ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
The ID of the service account the service should use. See the 'auth-service' service description for more details.
|
||||
The list of all service account IDs. These will be assigned the hidden 'service-account' role. Note: When using 'OCIS_SERVICE_ACCOUNT_ID' this will contain only one value while 'SETTINGS_SERVICE_ACCOUNT_IDS' can have multiple. See the 'auth-service' service description for more details about service accounts.
|
||||
a| `OCIS_SERVICE_ACCOUNT_SECRET`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -2358,6 +2286,23 @@ a| [subs=-attributes]
|
||||
|
||||
a| [subs=-attributes]
|
||||
Set this to true if you want to enforce passwords for writable shares. Only effective if the setting for 'passwords on all public shares' is set to false.
|
||||
a| `OCIS_SHOW_USER_EMAIL_IN_RESULTS`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++6.0.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/frontend.adoc[frontend] +
|
||||
* xref:{s-path}/graph.adoc[graph] +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
Include user email addresses in responses. If absent or set to false emails will be omitted from results. Please note that admin users can always see all email addresses.
|
||||
a| `OCIS_SPACES_MAX_QUOTA`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -2664,7 +2609,7 @@ a| [subs=-attributes]
|
||||
++ ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
a| `OCIS_TRANSFER_SECRET`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -2681,11 +2626,11 @@ a| [subs=-attributes]
|
||||
++ ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
Transfer secret for signing file up- and download requests.
|
||||
The storage transfer secret.
|
||||
a| `OCIS_TRANSLATION_PATH`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++pre5.0 ++
|
||||
++7.1.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/activitylog.adoc[activitylog] +
|
||||
@@ -2735,24 +2680,7 @@ a| [subs=-attributes]
|
||||
++https://localhost:9200 ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
URL of the OIDC issuer. It defaults to URL of the builtin IDP.
|
||||
a| `OCIS_USER_SEARCH_DISPLAYED_ATTRIBUTES`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.3.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/frontend.adoc[frontend] +
|
||||
* xref:{s-path}/graph.adoc[graph] +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++[]string ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++[] ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
The attributes to display in the user search results.
|
||||
The OIDC issuer URL to assign to the demo users.
|
||||
a| `OCIS_WOPI_DISABLE_CHAT`
|
||||
|
||||
a| [subs=-attributes]
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the graph service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`GRAPH_TRACING_ENDPOINT` +
|
||||
@@ -423,16 +423,16 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
The minimum length the search term needs to have for unprivileged users when searching for users or groups.
|
||||
|
||||
a|`OCIS_USER_SEARCH_DISPLAYED_ATTRIBUTES` +
|
||||
a|`OCIS_SHOW_USER_EMAIL_IN_RESULTS` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.3.0 ++
|
||||
++6.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++[]string ++
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++[] ++
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
The attributes to display in the user search results.
|
||||
Include user email addresses in responses. If absent or set to false emails will be omitted from results. Please note that admin users can always see all email addresses.
|
||||
|
||||
a|`OCIS_REVA_GATEWAY` +
|
||||
|
||||
@@ -850,18 +850,6 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
LDAP Attribute to use as a flag telling if the user is enabled or disabled.
|
||||
|
||||
a|`OCIS_LDAP_USER_SCHEMA_EXTERNAL_ID` +
|
||||
`GRAPH_LDAP_EXTERNAL_ID_ATTRIBUTE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++owncloudExternalID ++
|
||||
a| [subs=-attributes]
|
||||
LDAP attribute that references the external ID of users during the provisioning process. The final ID is provided by an external identity provider. If it is not set, a default attribute will be used instead.
|
||||
|
||||
a|`OCIS_LDAP_DISABLE_USER_MECHANISM` +
|
||||
`GRAPH_DISABLE_USER_MECHANISM` +
|
||||
|
||||
@@ -1092,127 +1080,6 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
When setting a 'terminationDate' for a school, require the date to be at least this number of days in the future.
|
||||
|
||||
a|`GRAPH_LDAP_REQUIRE_EXTERNAL_ID` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
If enabled, the 'OCIS_LDAP_USER_SCHEMA_EXTERNAL_ID' is used as primary identifier for the provisioning API.
|
||||
|
||||
a|`OCIS_LDAP_USER_MEMBER_ATTRIBUTE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
LDAP Attribute to signal the user is member of an instance. Requires OCIS_MULTI_INSTANCE_ENABLED.
|
||||
|
||||
a|`OCIS_LDAP_USER_GUEST_ATTRIBUTE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
LDAP Attribute to signal the user is guest of an instance. Requires OCIS_MULTI_INSTANCE_ENABLED.
|
||||
|
||||
a|`OCIS_LDAP_GROUP_AFFILIATION_ATTRIBUTE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
LDAP Attribute to signal which instance the group is belonging to. Requires OCIS_MULTI_INSTANCE_ENABLED.
|
||||
|
||||
a|`OCIS_LDAP_PRECISE_SEARCH_ATTRIBUTE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
LDAP Attribute to be used for searching users on other instances. Requires OCIS_MULTI_INSTANCE_ENABLED.
|
||||
|
||||
a|`OCIS_LDAP_INSTANCE_MAPPER_ENABLED` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
The InstanceMapper allows mapping instance names (user readable) to instance IDs (machine readable) based on an LDAP query. See other _INSTANCE_MAPPER_ env vars. Requires OCIS_MULTI_INSTANCE_ENABLED.
|
||||
|
||||
a|`OCIS_LDAP_INSTANCE_MAPPER_BASE_DN` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
BaseDN of the 'instancename to instanceid' mapper in LDAP. Requires OCIS_MULTI_INSTANCE_ENABLED.
|
||||
|
||||
a|`OCIS_LDAP_INSTANCE_MAPPER_NAME_ATTRIBUTE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
LDAP Attribute of the instance name. Requires OCIS_MULTI_INSTANCE_ENABLED.
|
||||
|
||||
a|`OCIS_LDAP_INSTANCE_MAPPER_ID_ATTRIBUTE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
LDAP Attribute of the instance ID. Requires OCIS_MULTI_INSTANCE_ENABLED.
|
||||
|
||||
a|`OCIS_LDAP_CROSS_INSTANCE_REFERENCE_TEMPLATE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
Template for the users unique reference across oCIS instances. Requires OCIS_MULTI_INSTANCE_ENABLED.
|
||||
|
||||
a|`OCIS_LDAP_INSTANCE_URL_TEMPLATE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
Template for the instance URL. Requires OCIS_MULTI_INSTANCE_ENABLED.
|
||||
|
||||
a|`OCIS_ENABLE_OCM` +
|
||||
`GRAPH_INCLUDE_OCM_SHAREES` +
|
||||
|
||||
@@ -1428,39 +1295,6 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
The service account secret.
|
||||
|
||||
a|`OCIS_MULTI_INSTANCE_ENABLED` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
Enable multiple instances of Infinite Scale.
|
||||
|
||||
a|`OCIS_MULTI_INSTANCE_INSTANCEID` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The unique ID of this instance.
|
||||
|
||||
a|`OCIS_MULTI_INSTANCE_QUERY_TEMPLATE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The regular expression extracting username and instancename from a user provided search.
|
||||
|
||||
a|`OCIS_MAX_TAG_LENGTH` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the groups service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`GROUPS_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the idm service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`IDM_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the idp service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -64,7 +64,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`IDP_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the invitations service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`INVITATIONS_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the nats service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`NATS_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the notifications service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`NOTIFICATIONS_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the ocdav service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`OCDAV_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the ocm service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`OCM_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the ocs service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`OCS_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the policies service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -273,7 +273,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`POLICIES_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the postprocessing service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`POSTPROCESSING_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the proxy service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`PROXY_TRACING_ENDPOINT` +
|
||||
@@ -226,17 +226,6 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
Enable/Disable HTTPS for external HTTP services. Must be set to 'true' if the built-in IDP service an no reverse proxy is used. See the text description for details.
|
||||
|
||||
a|`PROXY_FORCE_STRICT_TRANSPORT_SECURITY` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
Force emission of the Strict-Transport-Security header on all responses, including plain HTTP requests. See also: PROXY_TLS
|
||||
|
||||
a|`OCIS_REVA_GATEWAY` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -888,82 +877,5 @@ a| [subs=-attributes]
|
||||
++[] ++
|
||||
a| [subs=-attributes]
|
||||
(Optional) Mapping of OIDC roles to ocis Space roles. Example: 'oidcroleA:viewer,oidcroleB:manager'
|
||||
|
||||
a|`OCIS_MFA_ENABLED` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.3.0 ++
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
Enable MFA enforcement. If enabled users need to complete MFA before they can access specific paths
|
||||
|
||||
a|`OCIS_MFA_AUTH_LEVEL_NAMES` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.3.0 ++
|
||||
a| [subs=-attributes]
|
||||
++[]string ++
|
||||
a| [subs=-attributes]
|
||||
++[advanced] ++
|
||||
a| [subs=-attributes]
|
||||
This authentication level name indicates that multi-factor authentication was performed. The name must match the ACR claim in the access token received. Note: If multiple names are required, use a comma-separated list. The front-end service will use the first name in the list when requesting multi-factor authentication (MFA).
|
||||
|
||||
a|`OCIS_MULTI_INSTANCE_ENABLED` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
Enable multiple instances of Infinite Scale.
|
||||
|
||||
a|`OCIS_MULTI_INSTANCE_INSTANCEID` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The unique id of this instance
|
||||
|
||||
a|`OCIS_MULTI_INSTANCE_MEMBER_CLAIM` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The claim name for the 'memberOf' property
|
||||
|
||||
a|`OCIS_MULTI_INSTANCE_GUEST_CLAIM` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The claim name for the 'guestOf' property
|
||||
|
||||
a|`OCIS_MULTI_INSTANCE_GUEST_ROLE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The role that should be assigned to a guest user
|
||||
|===
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the search service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`SEARCH_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2026-02-16-03-31-19]
|
||||
[caption=]
|
||||
.Deprecation notes for the settings service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`SETTINGS_TRACING_ENDPOINT` +
|
||||
|
||||
Loaded 100 of 217 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user