How to install ONLYOFFICE on Synology
With ONLYOFFICE Docs on your Synology NAS, you can edit documents, spreadsheets, presentations, and PDFs directly in your private cloud, ensuring security and efficiency for your workflows. This guide provides step-by-step instructions on how to install ONLYOFFICE Docs on Synology.
About Synology
Synology NAS (Network-Attached Storage) is a network-attached storage solution that enables secure, accessible data storage and sharing for authorized users. Operating on Synology DiskStation Manager (DSM), a Linux-based OS, Synology NAS optimizes data organization, team collaboration, and secure file storage in one integrated system.
Adding ONLYOFFICE Docs to Synology makes document editing and management more efficient by enabling real-time co-editing, direct access, and secure storage of files — all managed from within your NAS. This setup streamlines teamwork, keeps files secure on your server, and provides a powerful editing suite tailored to your storage environment.
How to install ONLYOFFICE Docs on Synology
Now, let’s look at the steps required to install ONLYOFFICE Docs Community on Synology using the simplest way — via Docker. You also have the option of choosing ONLYOFFICE Docs Enterprise, designed for larger teams and delivered with enhanced support.
Setting up your Synology NAS device
Step 1. Connect to the network
Connect your device to the network and to the local network.
Start the device, download, and install the operating system via the convenient and understandable wizard — follow the wizard using default options. Add a user and a password.
Optionally, add disks in a RAID configuration to enhance data redundancy.
Step 2. Install container manager
Click the Package Center shortcut on the desktop. In the All Packages category find Container Manager and install it by clicking the corresponding button.
Step 3. Add Community package source
Enable additional packages from the Synology Community repository to access the usual Linux utilities.
Go to Package Center > Settings. Under the Package Sources tab, click Add.
Specify Syno Community in the Name field and https://packages.synocommunity.com/ in the Location field. Click OK.
Step 4. Install SynoCli file tools
In the Package Center, select the Community tab on the left. Install SynoCli File Tools.
Step 5. Enable SSH access
To proceed with the installation, go to Control Panel > Terminal & SNMP. Enable SSH by checking the Enable SSH service box and clicking Apply.
Step 6. Connect via SSH
On Linux, you can use an SSH client like OpenSSH. Enter ssh username@ip_address to your terminal and click Yes to continue connecting to the server.
Installing ONLYOFFICE Docs via Docker
You can now proceed to the installation of ONLYOFFICE Docs. The recommended option is to install via Docker.
Step 1. Run ONLYOFFICE Docs
Follow these instructions to install the Docker version of ONLYOFFICE Docs.
Ensure you specify a different port, such as 8000, if port 80 is already being used by another application.
Step 2. Access the ONLYOFFICE Docs interface
Once installed, open ONLYOFFICE Docs by entering http://<IP_address>:<Port>/ in a browser. This will load the ONLYOFFICE Docs Welcome page.
Exploring ONLYOFFICE Docs features on Synology
To explore the solution functionality, enable our test example which will allow you to upload your local files for testing. To do that, execute the following command:
sudo docker exec $(sudo docker ps -q) sudo supervisorctl start ds:example
Add the example to the autostart:
sudo docker exec $(sudo docker ps -q) sudo sed 's,autostart=false,autostart=true,' -i /etc/supervisor/conf.d/ds-example.conf
Now you can open the ONLYOFFICE Docs example page in your browser.
From the ONLYOFFICE Docs example page, you can:
- Upload a file stored on your PC using the Upload file option.
- Create a new blank text document, spreadsheet, presentation, or PDF form using the Create new -> Document, Spreadsheet, Presentation, or PDF form options. If you want to create a file with sample content, first check the With sample content box.
- Test co-editing capabilities by selecting another test user from the Username list and then clicking on the same document in the Your documents list to open it in a new browser tab.
Integrating ONLYOFFICE Docs into your platform
Now, you can integrate ONLYOFFICE Docs into your platforms, enhancing your document management and editing capabilities. ONLYOFFICE Docs features ready-made connectors for popular systems such as Nextcloud, ownCloud, Alfresco, SharePoint, Moodle, Confluence, and WordPress. Сheck the full integration list:
Useful links
Get ONLYOFFICE Docs: Community / Enterprise