How to Install OnlyOffice on Your Synology NAS

How to Install OnlyOffice on Your Synology NAS

OnlyOffice Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx etc. In this step by step guide I will show you how to install OnlyOffice on your Synology NAS using Docker.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Docker via Synology “Package Center”.

Install Docker Synology DSM 7

  • STEP 3

Install Text Editor via Synology “Package Center”.

1 Synology DSM 7 Install Text Editor

  • STEP 4

Open the Text Editor. Click on Preferences. On the Edit Tab select the Chaos Theme. Click Save. Follow the instructions in the image below.

OnlyOffice Synology NAS Set up 1

  • STEP 5

Go to File Station and open the docker folder. Inside the docker folder, create one new folder and name it onlyoffice. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

OnlyOffice Synology NAS Set up 2

  • STEP 6

Now create two new folders inside the onlyoffice folder that you created at STEP 5. Name one “data” and the other “logs“. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

OnlyOffice Synology NAS Set up 3

  • STEP 7

Go to Control Panel / Task Scheduler / Create / Scheduled Task / User-defined script. Follow the instructions in the image below.

OnlyOffice Synology NAS Set up 4

  • STEP 8

Once you click on User-defined script a new window will open. Follow the instructions below:

  1. General: In the Task field type in “Install Onlyoffice“. Uncheck “Enabled” option. Select root User.
  2. Schedule: Select Run on the following date then select “Do not repeat“.
  3. Task Settings: Check “Send run details by email“, add your email then copy paste the code below in the Run command area. After that click OK.
docker run -d --name=onlyoffice \
-p 8467:80 \
-v /volume1/docker/onlyoffice/logs:/var/log/onlyoffice \
-v /volume1/docker/onlyoffice/data:/var/www/onlyoffice/Data \
--restart always \
onlyoffice/documentserver

OnlyOffice Synology NAS Set up 5

  • STEP 9

After you click OK on STEP 8 a new warning pop up window will open. Click OK.

OnlyOffice Synology NAS Set up 6

  • STEP 10

After you click OK on STEP 9, select your “Install Onlyoffice” Task then click the “Run” tab. You will be asked to run Install Onlyoffice – click Yes. Follow the instructions in the image below.

OnlyOffice Synology NAS Set up 7

  • STEP 11

Go back to STEP 1 or you will deal with karma 🙂

  • STEP 12

The installation process can take up to a few seconds/minutes. It will depend on your Internet speed connection. Now open your browser and type in http://Synology-ip-address:8467
Note
: Before your try to access http://Synology-ip-address:8467 you should wait 5-10 minutes because the installation process will take some time. If try to access http://Synology-ip-address:8467 sooner, you will get a blank “unable to connect” page. Refresh the page after 5-10 minutes. If you can see the OnlyOffice Welcome page, then know everything has been installed perfectly.
Note: The OnlyOffice image is about 3.7 GB.

OnlyOffice Synology NAS Set up 8

Note: Can I run Docker on my Synology NAS? See the supported models.
Note: Find out how to update OnlyOffice container with the latest image.
Note: How to Free Disk Space on Your NAS if You Run Docker.

  • STEP 13

Install Nextcloud using my Standard Guide or my Docker Guide. If you already have Nextcloud installed on your Synology NAS, skip this STEP.

  • STEP 14

Go to File Station. Find your Nextcloud folder. Double click on it. Follow the instructions in the image below.

OnlyOffice Synology NAS Nextcloud Set up 1

  • STEP 15

Double click on the config folder. Follow the instructions in the image below.

OnlyOffice Synology NAS Nextcloud Set up 1.2

  • STEP 16

Double click on the config.php file. Follow the instructions in the image below.

OnlyOffice Synology NAS Nextcloud Set up 2

  • STEP 17

Once the config.php file is open, add the line below then save the file. Follow the instructions in the image below.

'allow_local_remote_servers' => true,

OnlyOffice Synology NAS Nextcloud Set up 3

  • STEP 18

Log in to your Nextcloud account. On the top right click on + Apps. Follow the instructions in the image below.

1 Nextcloud OnlyOffice Set Up Synology NAS

  • STEP 19

After you click on + Apps on STEP 18, click on the search icon and search for “onlyoffice“. Follow the instructions in the image below.

2 Nextcloud OnlyOffice Set Up Synology NAS

  • STEP 20

Click Download and enable. Follow the instructions in the image below.

3 Nextcloud OnlyOffice Set Up Synology NAS

  • STEP 21

On the top right click on “Settings“. You will find the ONLYOFFICE app in the menu on the left – click on it. In the Document Editing Service address field add http://Synology-ip-address:8467 – Click Save. Follow the instructions in the image below.

4 Nextcloud OnlyOffice Set Up Synology NAS

  • STEP 22

If everything goes right, you will see this message at the top right of your screen: “Settings have been successfully updated“. Follow the instructions in the image below.

5 Nextcloud OnlyOffice Set Up Synology NAS

Note: At this point you can select the formats for which you want OnlyOffice to be the default application. Remember to Save the settings again.

  • STEP 23

Now you can open all your files and edit them in real time using OnlyOffice.

6 Nextcloud OnlyOffice Set Up Synology NAS

  • STEP 24

For example, I wrote something in the marius.docx document using OnlyOffice.

7 Nextcloud OnlyOffice Set Up Synology NAS

  • STEP 25

Same for .xlsx documents.

8 Nextcloud OnlyOffice Set Up Synology NAS

  • STEP 26

Note: Nextcloud has its own office app named Collabora Online. You should first disable the Collabora Online App if you decide to use the OnlyOffice App.

You can easily create new documents and edit them with OnlyOffice.

Nextcloud OnlyOffice Synology NAS create new file 1

  • STEP 27

Enjoy your OnlyOffice integrated with Nextcloud!

Nextcloud OnlyOffice Synology NAS create new file 2

Note: This guide is compatible with Docker – Nextcloud – compatible Synology NAS devices and DSM 7.
Note: Nextcloud together with the OnlyOffice document server present themselves as a very interesting alternative to Synology Office.

This post was updated on Monday / May 17th, 2021 at 11:57 AM