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.
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.
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 goal | Use this setting | Trade-off |
|---|---|---|
| Move portal static data to object storage | Control Panel → Storage | Requires prior provider integration and starts migration. |
| Put Community Server data on another host disk | Docker bind mount or volume | Requires a planned file copy and container restart. |
| Let users browse an external account in Documents | Documents module third-party connection | Adds 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.
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.




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.
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.
Enable reliable Nextcloud file locking, choose the right Redis or Valkey backend, and verify the warning clears without risking concurrent file changes.
Fix common Nextcloud scan findings with current updates, HTTPS and HSTS, precise reverse-proxy trust, and checks against the public server.
Back up Nextcloud’s files and MariaDB together, schedule encrypted Restic snapshots with cron, and verify recovery without risking the live server.
Configure Nextcloud SSE for the storage that needs it, protect encryption keys, and measure transfer and CPU impact before encrypting existing files.
Connect Nextcloud’s file search to Elasticsearch, index document contents, and choose a setup that fits your server and security needs.
Configure Nextcloud to remove deleted files after a defined retention period, schedule background jobs reliably, and avoid commands that purge every user’s trash.
Run Nextcloud’s OCC repair safely, preview the database changes, and check why the warning might remain.
Allow larger Nextcloud browser uploads by aligning PHP, Nginx or Apache, temporary storage, and timeout settings—and verify which limit is blocking the file.
Set the PHP memory limit Nextcloud actually uses, restart the right service, and confirm the 512 MB setting in Admin Overview.
Mount a compatible object-storage bucket in Nextcloud using its S3 backend, with the right endpoint, credentials, access scope, and verification steps.