Change ONLYOFFICE Workspace’s Default Storage Location

To move ONLYOFFICE Workspace portal data from the local disk to a supported cloud storage service, connect that service under portal Settings → Integration, then open Control Panel → Common Settings → Storage, configure it, and click CONNECT. ONLYOFFICE says the connection starts a data migration and may take some time. If by “storage location” you mean the host directory used by a Docker installation, change the Community Server data volume in your deployment instead; that is a separate operation.

Which storage location are you trying to change?

ONLYOFFICE uses the phrase “storage” for more than one thing. The Control Panel’s Storage page can switch portal data from Disk Default to supported third-party storage for static data. This is the admin setting most people mean when they want to move Workspace portal data off the server’s local disk. It is not the same as choosing a folder inside the Documents module, connecting an external drive for an individual user, changing a backup destination, or relocating Docker’s data directory.

Your goalUse this settingTrade-off
Move portal static data to object storageControl Panel → StorageRequires prior provider integration and starts migration.
Put Community Server data on another host diskDocker bind mount or volumeRequires a planned file copy and container restart.
Let users browse an external account in DocumentsDocuments module third-party connectionAdds an external resource; it does not replace the portal’s default storage.

The Control Panel documentation lists Google Cloud Storage, Amazon AWS S3, Rackspace Cloud Storage, and Selectel Cloud Storage for portal storage. Only Amazon S3 and Selectel are listed there as CDN choices. A CDN is a separate setting intended to distribute static portal content for delivery; it is not a substitute for the Storage selection. Review the current ONLYOFFICE storage instructions for the provider options and fields shown in your installation.

What should you prepare before starting?

You need an administrator account that can access the Control Panel. Connect the chosen provider in the portal’s Integration settings first; otherwise, its storage option will be unavailable or grayed out. Prepare the destination’s required details, such as an S3 bucket name and region, and confirm that the credentials and bucket permissions allow the Workspace server to use it.

Make a current backup before changing the storage destination. The Control Panel backup guide describes backup destinations and how to create a portal backup. If this is a production portal, choose a quieter period and tell users that storage migration is starting. The documentation says migration may take time; it does not provide a fixed duration, so do not schedule around an assumed completion time.

How do you switch portal storage in the Control Panel?

  1. Connect the provider. Open the portal Settings and go to Integration. Add the cloud service you plan to use and save its connection settings. Return to the Control Panel only after the service is available there.
ONLYOFFICE-style Integration settings panel with an Amazon AWS S3 service entry
The Integration page lists the cloud service that must be connected before selecting it as portal storage.
  1. Open Storage. Sign in with an administrator account. Open the Control Panel from the Start Page, or use Settings → Control Panel. In the left sidebar under COMMON SETTINGS, choose Storage. In the Storage section, Disk Default is selected initially; choose the connected third-party provider you intend to use.
Control Panel Storage panel showing Disk Default selected and Amazon AWS S3 as another option
The Storage selector distinguishes the local Disk Default option from a connected cloud storage provider.
  1. Enter the provider details and connect. Fill in the fields displayed for that service, then review them before clicking CONNECT. For Amazon S3, the documented fields include Bucket and Region, with optional endpoint settings such as Service Url. Other providers have different fields, so use only the values required for the selected service.
Storage configuration form with Bucket, Region, optional Service Url fields, and a CONNECT button
The provider form shows the bucket and region fields used to configure an Amazon S3 destination.
  1. Let the migration finish. After you click CONNECT, the page reloads and the data migration process starts. Keep the browser open or return to the Control Panel later to check the Storage page. Avoid making another storage change while migration is underway. Once it completes, ONLYOFFICE says the Storage page loads with the connected destination selected.
Storage page showing a Migration in progress indicator and Amazon AWS S3 selected
The Storage page may show migration activity before returning with the connected provider selected.

What if you meant the Docker host directory?

The portal’s Storage selector does not change Docker’s bind-mounted data directory. The ONLYOFFICE Community Server Docker documentation identifies /var/www/onlyoffice/Data as the container path for Community Server data and shows it mapped to a host folder such as /app/onlyoffice/CommunityServer/data. To use another disk, edit the host-side source path in your Compose file while keeping the container destination the same. For example:

services:
  communityserver:
    volumes:
      - /srv/onlyoffice/community-data:/var/www/onlyoffice/Data

Do not point the running container at a new empty directory and expect existing data to appear there. Back up the current data, stop the relevant stack, copy the old mounted data to the new host directory while preserving ownership and permissions, update the bind mount, and restart. Confirm the portal loads and that files and settings are present before removing the old copy. Exact service names and volume mappings vary by Compose file and install method; inspect your actual configuration first. The vendor’s Docker Community Server data-volume documentation explains the supported container path and host mount approach.

How can you verify the new location?

For a cloud storage change, revisit Control Panel → Storage and confirm the intended provider is selected after migration. Open the Documents module and test a few existing files and a newly uploaded file using an administrator and a regular user. For a Docker host-path change, inspect the running container’s mounts and verify the expected host directory maps to /var/www/onlyoffice/Data; then confirm the portal can still read and write files after restart. If migration does not complete or data is missing, keep the original backup and storage copy intact, collect the portal and container logs, and consult ONLYOFFICE support before repeating a migration.

Leave a Comment

Change ONLYOFFICE Workspace’s Default Storage Location

Change ONLYOFFICE Workspace’s Default Storage Location

Move portal data from Disk Default to a supported cloud storage provider, or relocate Docker data safely by changing its host volume mapping.

Completely Remove ONLYOFFICE Document Server from Linux

Completely Remove ONLYOFFICE Document Server from Linux

Identify whether Document Server uses a Linux package or Docker, remove only its components, and check remaining data without deleting shared services by mistake.

Stop ONLYOFFICE Co-Editing Lag by Finding the Bottleneck

Stop ONLYOFFICE Co-Editing Lag by Finding the Bottleneck

Trace slow collaborative editing to Docker resource pressure, proxy connections, or document load, then choose the fix that matches your measurements.

Add Fonts to ONLYOFFICE Document Server: Docker vs Linux

Add Fonts to ONLYOFFICE Document Server: Docker vs Linux

Install custom fonts in ONLYOFFICE Document Server, compare persistent Docker mounts with direct copies, rebuild the font list, and verify the result.

Configure HTTPS for ONLYOFFICE Docs in Docker

Configure HTTPS for ONLYOFFICE Docs in Docker

Choose where TLS should terminate, mount a trusted certificate and private key safely, and verify HTTPS access to a Dockerized ONLYOFFICE Docs server.

Connect a PHP App to ONLYOFFICE Docs and Save Edits

Connect a PHP App to ONLYOFFICE Docs and Save Edits

Embed the ONLYOFFICE editor in your PHP app, sign its configuration with JWT, and save edited files through a secure callback.

Keep ONLYOFFICE Spell Check on the Language You Choose

Keep ONLYOFFICE Spell Check on the Language You Choose

Set the proofing language for the whole document or selected text, confirm spell checking is active, and identify when a server dictionary is missing.

Keep Track Changes On When a Document Reopens

Keep Track Changes On When a Document Reopens

Enable persistent Track Changes for everyone in one ONLYOFFICE document, verify edits are recorded, and understand the limits of this setting.

Trace the Upstream to Clear ONLYOFFICE’s Nginx 502

Trace the Upstream to Clear ONLYOFFICE’s Nginx 502

Find whether Nginx, Docker networking, or an internal ONLYOFFICE service is returning 502, then verify the corrected upstream and health check.

Trace the Save Callback When ONLYOFFICE Won’t Save to Nextcloud

Trace the Save Callback When ONLYOFFICE Won’t Save to Nextcloud

Diagnose failed ONLYOFFICE saves by checking the Nextcloud callback route, proxy redirects, and storage logs, then verify the edited file persists.