You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ocis/README.md
+92-36Lines changed: 92 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,22 @@
1
1
# ocis
2
2
3
-
The ocis package contains the Infinite Scale runtime and the commands for the Infinite Scale CLI.
3
+
The ocis package includes the Infinite Scale runtime and commands for the Infinite Scale command-line interface (CLI), which are not bound to a service.
| 2 | ViewerListGrants | d5041006-ebb3-4b4a-b6a4-7c180ecfb17d | disabled | View, download and show all invite
120
+
121
+
### Move Stuck Uploads
122
+
123
+
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.
Note: This is a safety measure. You must specify `--dry-run=false` for the command to be effective.
134
+
135
+
*`--filename` value (default: "received.json")\
136
+
File to move from `uploads/` to share manager metadata `blobs/`
137
+
70
138
### Revisions CLI
71
139
72
140
The revisions command allows removing the revisions of files in the storage.
@@ -92,51 +160,39 @@ Prints additional information about the revisions that are removed.
92
160
*`--glob-mechanism` (default: `glob`\
93
161
(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.
94
162
95
-
### Trash CLI
163
+
### Service Health
96
164
97
-
The trash cli allows removing empty folders from the trashbin. This should be used to speed up trash bin operations.
165
+
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.
Do not remove any empty folders but print the empty folders that would be removed.
173
+
* The `collaboration` service has been started but not configured and is therefore not in a healthy state:
174
+
```bash
175
+
ocis collaboration health
176
+
177
+
The WOPI secret has not been set properly in your config forcollaboration. 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 manuallyin the config/corresponding environment variable).
178
+
```
107
179
108
-
### List Unified Roles
180
+
* The `antivirus` service has not been started, the health check responds accordingly:
181
+
```bash
182
+
ocis antivirus health
183
+
184
+
{"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"}
185
+
```
186
+
187
+
### Trash CLI
109
188
110
-
This command simplifies the process of finding out which UID belongs to which role. The command is:
189
+
The trash cli allows removing empty folders from the trashbin. This should be used to speed up trash bin operations.
0 commit comments