FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

doc: extend ONLYOFFICE setup instructions for stable versions. by camilasan · Pull Request #450 · nextcloud/nextcloud-docker-dev · GitHub

Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .md  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
35 changes: 34 additions & 1 deletion docs/services/onlyoffice.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
Expand Up @@ -11,7 +11,6 @@ cd ~/nextcloud-docker-dev/workspace/server/apps-extra
git clone https://github.com/ONLYOFFICE/onlyoffice-nextcloud onlyoffice
```


A script is available to automatically setup ONLYOFFICE for you combined with an already running Nextcloud container.

It requires to have the onlyoffice integration app cloned into your apps directory.
Expand All @@ -20,6 +19,40 @@ It requires to have the onlyoffice integration app cloned into your apps directo
./scripts/enable-onlyoffice <container-name>
```

## Stable Nextcloud versions

1. Make sure to clone <https://github.com/ONLYOFFICE/onlyoffice-nextcloud> as explained above.
2. Create a `worktree` pointing to the stable version you want e.g. `stable32` to run `onlyoffice` with.
The second parameter in the command can be a existing tag or branch from their repo e.g. `tags/v9.12.0`.

```bash
cd ~/nextcloud-docker-dev/workspace/server/apps-extra/onlyoffice
git worktree add ../../../<stablexy>/apps-extra/onlyoffice <tag | branch name>
```

3. Set up onlyoffice as partially explained in <https://github.com/ONLYOFFICE/onlyoffice-nextcloud?tab=readme-ov-file#installing-onlyoffice-app-for-nextcloud->

3.1. Initiate the submodules:
```bash
git submodule update --init --recursive
```
3.2. Build webpack:
```bash
npm install
npm run build
```
3.3. Install Composer dependencies
```bash
composer install
```

4. After starting your stable branch container, run:
```bash
./scripts/enable-onlyoffice <container-name>
```

!!! note You can check if everything is set up correctly by accessing the settings page in your stable container at <http://stablexy.local/index.php/settings/admin/onlyoffice> or by logging into the container and running the occ command: `occ onlyoffice:documentserver --check`.

## Manual steps

- Make sure to have the ONLYOFFICE hostname setup in your `/etc/hosts` file: `127.0.0.1 onlyoffice.local`
Expand Down
Loading

Back | FazBrowse Home | New Git URL