-
Notifications
You must be signed in to change notification settings - Fork 26
write instruction how to enable MS-Office formats in the new button … #706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Svanvith
wants to merge
1
commit into
main
Choose a base branch
from
add-enable-microsoft-formats
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| { | ||
| "label": "Collabora", | ||
| "position": 30 | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
112 changes: 112 additions & 0 deletions
112
docs/admin/configuration/collabora/collabora-ms-office-formats.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | ||
| ``` | ||
|
|
||
| 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 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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?