Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/admin/configuration/collabora/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "Collabora",
"position": 30
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 70
id: collabora
sidebar_position: 10
id: collabora-fonts
title: Collabora additional fonts
description: How to add additional fonts to Collabora
draft: false
Expand Down Expand Up @@ -29,7 +29,7 @@ apt install ttf-mscorefonts-installer

During the installation, you will be prompted to accept the EULA (End User License Agreement).

<img src={require("./img/collabora/accept-eula.png").default} alt="Accept EULA" width="1920"/>
<img src={require("../img/collabora/accept-eula.png").default} alt="Accept EULA" width="1920"/>

## 3. Restart Collabora

Expand All @@ -41,4 +41,4 @@ docker compose restart

Once restarted, Collabora will recognize the newly installed fonts, and they will be available when editing documents.

<img src={require("./img/collabora/new-fonts.png").default} alt="New Fonts added" width="1920"/>
<img src={require("../img/collabora/new-fonts.png").default} alt="New Fonts added" width="1920"/>
112 changes: 112 additions & 0 deletions docs/admin/configuration/collabora/collabora-ms-office-formats.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
---
sidebar_position: 20
id: collabora-ms-office-formats
title: Enable MS-Office formats
description: How to enable MS-Office formats
draft: false
---

## Enable Microsoft file formats in the New menu

:::note
Starting with version 5.2.0, OpenCloud no longer enables Microsoft file formats as default creation options in the New menu. To make them available again, you must define them explicitly in `app-registry.yaml`.
:::

### Create the configuration file

Create an `app-registry.yaml` file in your `config/opencloud` directory.

If your deployment uses a bind mount for the OpenCloud configuration, place the file in the corresponding directory on the host system. In that case, use the path from your own Docker Compose setup rather than `config/opencloud`.

```bash
config/opencloud/app-registry.yaml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this really work without a bind mount config folder?

```

Insert following content:

```yaml
app_registry:
mimetypes:
- mime_type: application/pdf
extension: pdf
name: PDF
description: PDF document
icon: ''
default_app: ''
allow_creation: false
- mime_type: application/vnd.oasis.opendocument.text
extension: odt
name: Document
description: OpenDocument text document
icon: ''
default_app: Collabora
allow_creation: true
- mime_type: application/vnd.oasis.opendocument.spreadsheet
extension: ods
name: Spreadsheet
description: OpenDocument spreadsheet document
icon: ''
default_app: Collabora
allow_creation: true
- mime_type: application/vnd.oasis.opendocument.presentation
extension: odp
name: Presentation
description: OpenDocument presentation document
icon: ''
default_app: Collabora
allow_creation: true
- mime_type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
extension: docx
name: Microsoft Word
description: Microsoft Word document
icon: ''
default_app: Collabora
allow_creation: true
- mime_type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
extension: xlsx
name: Microsoft Excel
description: Microsoft Excel document
icon: ''
default_app: Collabora
allow_creation: true
- mime_type: application/vnd.openxmlformats-officedocument.presentationml.presentation
extension: pptx
name: Microsoft PowerPoint
description: Microsoft PowerPoint document
icon: ''
default_app: Collabora
allow_creation: true
- mime_type: application/vnd.jupyter
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can remove the Jupyter part

extension: ipynb
name: Jupyter Notebook
description: Jupyter Notebook
icon: ''
default_app: ''
allow_creation: true
```

### Verify ownership and permissions

:::important UID/GID and volume permissions
Make sure that `app-registry.yaml` can be read by the user running the OpenCloud container. Incorrect ownership or permissions on mounted files can prevent OpenCloud from using the configuration.
:::

By default, OpenCloud uses:

```bash
UID=1000
GID=1000
```

Adjust the file ownership and permissions if your container runs with different values.

### Restart OpenCloud

Restart your deployment after creating the file:

```bash
docker compose down
docker compose up -d
```

After the restart, Microsoft formats such as Word, Excel, and PowerPoint are available again in the New menu.
2 changes: 1 addition & 1 deletion docs/admin/configuration/frontend-update-check.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 15
sidebar_position: 35
id: frontend-check-updates
title: Frontend Update check
description: How to disable the frontend check for updates in OpenCloud.
Expand Down
Loading