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

Clear Nextcloud’s File Locking Warning with Redis

Enable reliable Nextcloud file locking, choose the right Redis or Valkey backend, and verify the warning clears without risking concurrent file changes.

What It Takes to Target an A+ Nextcloud Security Rating

What It Takes to Target an A+ Nextcloud Security Rating

Fix common Nextcloud scan findings with current updates, HTTPS and HSTS, precise reverse-proxy trust, and checks against the public server.

Automate Consistent Nextcloud Backups with Restic and Cron

Automate Consistent Nextcloud Backups with Restic and Cron

Back up Nextcloud’s files and MariaDB together, schedule encrypted Restic snapshots with cron, and verify recovery without risking the live server.

Enable Nextcloud Server-Side Encryption with Measured Impact

Configure Nextcloud SSE for the storage that needs it, protect encryption keys, and measure transfer and CPU impact before encrypting existing files.

Add Elasticsearch Full-Text Search to Nextcloud

Connect Nextcloud’s file search to Elasticsearch, index document contents, and choose a setup that fits your server and security needs.

Set a Reliable Expiration Policy for Nextcloud Deleted Files

Set a Reliable Expiration Policy for Nextcloud Deleted Files

Configure Nextcloud to remove deleted files after a defined retention period, schedule background jobs reliably, and avoid commands that purge every user’s trash.

Clear Nextcloud’s Missing Database Indexes Warning

Clear Nextcloud’s Missing Database Indexes Warning

Run Nextcloud’s OCC repair safely, preview the database changes, and check why the warning might remain.

Raise Nextcloud’s Web Upload Limit Past 2 GB

Raise Nextcloud’s Web Upload Limit Past 2 GB

Allow larger Nextcloud browser uploads by aligning PHP, Nginx or Apache, temporary storage, and timeout settings—and verify which limit is blocking the file.

Clear Nextcloud’s PHP Memory Warning at the Web Server

Set the PHP memory limit Nextcloud actually uses, restart the right service, and confirm the 512 MB setting in Admin Overview.

Connect an S3-Compatible Bucket to Nextcloud External Storage

Mount a compatible object-storage bucket in Nextcloud using its S3 backend, with the right endpoint, credentials, access scope, and verification steps.