Nextcloud

Introduction

ONLYOFFICE allows you to edit the files stored in your Nextcloud account and collaborate on them using both online and desktop editors. Thereby, you can use not only online collaboration tools but also the features available in your desktop application:

  • access to system fonts, the clipboard, and system printers.

To take full advantage of all these editing options, you’ll need to install and configure several components:

  1. It's supposed that you already have a Nextcloud server instance installed and configured. If not, you can refer to the Nextcloud official installation instructions.
  2. Install ONLYOFFICE Docs. Please note that the Nextcloud server and ONLYOFFICE Docs must be accessible to each other over the network.
  3. Enable our official integration app in the Nextcloud administrator account.
    One of the easiest ways to install and configure all the components at once (ONLYOFFICE Docs, Nextcloud server, and the integration app) is to use our Docker installation. You can refer to the corresponding instructions for Nextcloud.
  4. Connect your Nextcloud server to ONLYOFFICE Desktop Editors.
An Internet connection is required for connecting your Nextcloud server, as well as for real-time co-editing.

Step 1. Install ONLYOFFICE Docs

The easiest way to install ONLYOFFICE Docs is to use Docker. Execute the following command:

sudo docker run -i -t -d -p 80:80 --restart=always onlyoffice/documentserver

If you want to install ONLYOFFICE Docs on the same machine where your Nextcloud server is installed, you’ll need to change the default port used by ONLYOFFICE Docs (both ONLYOFFICE Docs and Nextcloud work on port 80 by default).

When installing ONLYOFFICE Docs using Docker, you can easily change the mapping port with the following command:

sudo docker run -i -t -d -p <PORT_NUMBER>:80 --restart=always onlyoffice/documentserver

Where <PORT_NUMBER> is the number of port you want ONLYOFFICE Docs to use.

To find more detailed instructions on how to install ONLYOFFICE Docs using Docker, you can refer to this article.

To make sure that ONLYOFFICE Docs is installed successfully, enter the IP address and, optionally, port (if it has been changed during the installation) in your browser address bar, e.g., http://192.168.3.202:81 - the ONLYOFFICE Docs welcome page should open.

Step 2. Install and configure the ONLYOFFICE connector for Nextcloud

In your Nextcloud account, click your user name in the upper-right corner and choose the Apps option in the menu. In the Nextcloud app store, select the Tools application category in the list on the left. Find the ONLYOFFICE connector and click the Download and enable button.

Click your user name in the upper-right corner and choose the Settings option in the menu. Click the ONLYOFFICE item in the left-side menu to open the ONLYOFFICE application settings page.

When the connector is installed, you need to configure it. On the ONLYOFFICE application settings page, specify the address of the machine where the ONLYOFFICE Docs is installed in the Document Editing Service address field. If you’ve changed the port during the installation, do not forget to specify it, e.g. http://192.168.3.202:81. Click the Save button to apply the settings.

To find out more details on configuring the integration app, you can refer to the corresponding article for Nextcloud.

Step 3. Connect to Nextcloud server

Launch ONLYOFFICE Desktop Editors. To connect Desktop Editors to your Nextcloud server, perform the following actions:

  1. Click the Plus button Plus button next to the Clouds section on the left side panel.
  2. Click the Nextcloud cloud service button, or use the Connect now link at the bottom.
    Connect to cloud tab Connect to cloud tab
  3. If you pressed the Nextcloud service button, the Connect to cloud office window opens with Nextcloud selected. If you used the Connect now link, choose Nextcloud cloud storage from the drop-down list.
    • in the Cloud office URL field, enter your Nextcloud server domain name or IP address. When ready, click the Connect now button.
      Connect to cloud office window Connect to cloud office window
    • The Nextcloud sign in page will open in a new tab of the Desktop Editors interface.

      • Specify your Username or email and the Password you use to access your Nextcloud account,
      • Click the Log in button.
      Connect to cloud office window Connect to cloud office window

The Files section of your Nextcloud account will open. Now you can edit your existing files and create new ones, share your documents, and collaborate on them with Nextcloud users using ONLYOFFICE editors.

Step 4. Manage your connected accounts

Click the logo in the upper left corner of the Desktop Editors interface to return to the main program window. All the connected cloud accounts appear on the left-side panel below the Clouds section. Click the three dots Dots icon that appear as you hover the mouse over the connected cloud to access the cloud contex menu options:

  • Open - to switch to the corresponding cloud storage tab if you are already logged in to this account, or to open the Connect to cloud office window if you are not currently logged in (in this case, you will need to enter your credentials),
  • Logout - to exit from your account,
  • Remove from list - to disconnect the selected account and remove it from the list.

To add several accounts or clouds, click the Plus button Plus button next to the Clouds section on the left side panel.

Connected accounts list Connected accounts list
Article with the tag:
Browse all tags