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.
For a self-hosted ONLYOFFICE Workspace portal, enable scheduled copies in the Control Panel under Common Settings > Backup > Automatic backup, choose a destination, set a schedule and retention limit, then save. ONLYOFFICE Workspace Cloud uses a similar control in Settings > Data Management > Backup, but automatic backup is available only on plans that include it. A saved schedule is only the start: confirm that an archive reaches the destination and keep a recovery copy separate from the portal.
This walkthrough focuses on the built-in automatic backup feature documented for ONLYOFFICE Workspace. Menu wording and available destinations can vary by deployment and connected integrations. For the current product steps, see ONLYOFFICE’s Control Panel backup and restore instructions.
A backup is a restorable archive of portal data. In the self-hosted Control Panel, the Mail Server may need additional access settings for Mail files; consult ONLYOFFICE’s separate Backup Mail data instructions for your deployment. The linked Mail procedure explicitly says it does not apply to Windows. Retention is how many backup copies the system keeps before removing older ones. Choose settings with both recovery and storage capacity in mind.



Saving archives inside the portal’s own Documents storage is straightforward, but it consumes portal storage. It can also leave the archive exposed to the same storage or server incident as the live portal. For stronger recovery, consider a connected third-party destination that your team can access independently, subject to your organization’s security and retention rules. This is an operational recommendation, not a guarantee that any particular provider is suitable for every deployment.
Retention is a count, not a time period. For example, keeping four weekly copies gives you four scheduled recovery points; it does not guarantee a full month of history if a schedule is changed or a run fails. Estimate archive size and available destination capacity before choosing the maximum. The Control Panel documentation says the maximum can be set from 1 to 30 copies; it does not promise a specific archive size or completion time.

After saving, return to the Automatic backup section and confirm that the feature remains enabled and that the destination, Mail choice, schedule, and maximum-copy count match your plan. Then inspect the selected destination after the first scheduled run. The Control Panel guide says completed backups are stored as .tar.gz files, with a name in the form portal-name_date_time.tar.gz. A schedule visible on screen does not by itself prove that an archive was created.
If the file is absent, check whether the chosen storage is still connected and writable, whether the next scheduled time has passed, and whether the archive may have been saved in a different selected folder. Do not “fix” this by lowering permissions broadly or storing credentials in an exposed location; use the service’s supported connection settings and administrator permissions.
For higher confidence, perform a controlled restore test using the official restore procedure in a suitable test environment, rather than overwriting a live portal. A backup has practical value only if your team can locate it and restore the data it needs. Also note two limits in the Control Panel guide: the license data is not included, so the license file must be uploaded again after restoration; and a Mail backup requires the documented Mail Server configuration and access when that component is external to the portal.
Final check: the feature is enabled, the destination is reachable, the Mail choice is deliberate, the schedule and retention are saved, and a newly created archive is visible at the destination. Keep at least one recovery copy outside the portal’s primary storage when your recovery plan requires protection from a portal-wide incident.
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.