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.
To show an S3-compatible bucket in Nextcloud, enable the bundled External Storage Support app, add an Amazon S3 mount in the administration settings, and enter the provider’s bucket, access key, secret key, and endpoint details. For a non-Amazon provider, the hostname and path-style setting are usually the fields that need the most attention. Confirm the mount is green, then test with a disposable file before granting wider access.
This procedure creates an external mount: Nextcloud connects to an existing bucket and presents it as a folder in Files. It does not migrate files into the bucket, make the bucket Nextcloud’s primary storage, or replace the Nextcloud data directory.
Nextcloud 35’s Administration Manual documents the Amazon S3 backend for Amazon S3 and compatible services. Providers differ in their S3 API behavior, endpoint format, signing region, and required permissions, so consult the provider’s own setup page for those values. Start with a new or empty bucket, or a clearly isolated test prefix, if you are uncertain how existing objects will appear.
If the backend does not appear in the storage dropdown, check that the app is enabled and that your account has administrator privileges. Menu labels can vary slightly between releases; use the matching version of the Nextcloud Administration Manual if your installation is not on version 35.
Archive. This is the name users see in Nextcloud; it is not a bucket name or a path. Do not include slashes.auto.https://endpoint.example/bucket instead of https://bucket.endpoint.example. The provider’s S3 guide is the source of truth for this setting.Required fields are saved when complete. A green status indicator means Nextcloud can connect; a yellow or red indicator means it could not validate the mount. If an error state remains, click the status icon or reload the Admin page to recheck it. Nextcloud notes that an errored mount may be marked unavailable for ten minutes.
Open the row’s options menu to review mount-level settings. Sharing is disabled by default; enable it only if users should share files from this mount. You can also set the mount to read-only for reference data, enable previews where useful, and choose how often Nextcloud checks for external changes. These options affect how the mount behaves inside Nextcloud; they do not change the storage provider’s bucket policy.
Do not assume that adding a mount makes direct changes in the provider console appear immediately in Nextcloud. Nextcloud maintains a file cache. When files are created, changed, or deleted outside Nextcloud, the cached listing can remain stale until a scan updates it. For S3 and other backends without provider push notifications, Nextcloud documents periodic scans with occ files_external:scan <mount_id>. Find the ID with occ files_external:list; run OCC from the Nextcloud installation directory as the web server user, adapting the user and command wrapper to your installation.
Photos//cat.png, and their contents are ignored.Wait for the mount’s status to turn green. Open Files as a user in the allowed scope, open the mount folder, upload a small uniquely named test file, download it, and delete it through Nextcloud. If practical, verify that the expected object appears in the provider’s bucket view. Then test with a second user only if group access is part of the plan. Finally, confirm that a user outside the selected scope cannot see the mount. Remove the test object and retain the least-privilege credentials.
For version-specific field descriptions, see the Nextcloud 35 Amazon S3 configuration and the Nextcloud 35 External Storage administration guide.
Mount a compatible object-storage bucket in Nextcloud using its S3 backend, with the right endpoint, credentials, access scope, and verification steps.
Safely move a Linux Nextcloud data directory to an external drive using a persistent UUID mount, maintenance mode, a verified copy, and the original-path symlink.
Restore Nextcloud access after an update by diagnosing SQL errors, checking database connectivity, and safely completing interrupted migrations.
Use Nextcloud’s OCC command to reset an administrator password from the server shell, with guidance for usernames, permissions, and external login providers.
Clear Nextcloud’s HSTS warning by setting the header at Apache, NGINX, or your TLS proxy, then verify the public HTTPS response safely.
Trace App Store installation failures to DNS, HTTPS, proxy, TLS, or configuration issues from the Nextcloud server itself.
Move thumbnail work to a controlled background schedule, trim unused preview sizes, and verify the queue without overwhelming your Nextcloud server.
Find the file, exclusion rule, connection issue, or client database state holding up Nextcloud sync, then verify uploads and downloads safely.
Find the PHP OPcache limit triggering Nextcloud’s warning, update the correct web PHP configuration, restart safely, and verify the result.
Compare built-in and Docker-based CODE, then connect Collabora Online to Nextcloud through a secure HTTPS reverse proxy.