DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
World desk10 min

How to Update Nextcloud Safely: A Step-by-Step Guide for 2026

Update Nextcloud safely by matching the procedure to your installation, taking a complete backup, moving through every major release, completing migrations, and verifying the instance before reopening it.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The safe way to update Nextcloud is to identify how it was installed, make a complete and restorable backup, update one major release at a time, disable incompatible third-party apps, complete the database migrations, and verify the instance before leaving maintenance mode. The detailed procedure below is for an archive-based installation. Snap, Docker, pre-built VM, and package-manager deployments must use the update process supplied by that distribution.

Plan for an outage: maintenance mode blocks existing sessions and new logins while files are replaced and migrations run. Never rely on the updater’s internal backup alone; it covers the code tree, not your database or data directory.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

1. Identify your Nextcloud installation method

Nextcloud’s update commands depend on the deployment method. Mixing an archive procedure with a Snap or Docker deployment can leave the instance unusable, so establish this first.

Deployment Correct update approach What this guide covers
Archive (downloaded files served by your web server) Built-in web or command-line updater, or a manual downloaded archive Yes; the detailed workflow below
Snap The Snap package’s own refresh and rollback procedures No; do not use archive commands
Docker Update the image and follow the container’s migration procedure No; do not replace files inside a running container as if it were an archive install
Pre-built virtual machine The appliance provider’s update process No
Package manager The operating system or repository package’s update process No

If you do not know which method you have, inspect how Nextcloud is managed: an archive install normally has a persistent Nextcloud directory such as /var/www/nextcloud and an occ command; a Snap, container, appliance, or distribution package has its own service or image lifecycle. Do not proceed until the update instructions match that lifecycle.

#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter | 4Pack Type C Female to A Male Cable Converter for Apple Duo 17 16 15 14 Plus,iWatch Watch 12 11 10,iPad 9 8 Air,Airpods 5 4
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

2. Check the target release and support status

Read the release notes and critical changes for every major version you intend to install. Look specifically for PHP, database, operating-system, web-server, and app requirements, plus changes that affect authentication, storage, or background jobs.

Nextcloud’s release schedule publishes a major version about every four months. Each major line is supported for one year with monthly maintenance releases. On the schedule page revised October 6, 2026, versions 33, 34, and 35 were supported, with version 35 listed as the latest line. Treat that status as date-sensitive: confirm the current schedule immediately before your maintenance window.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose the latest point (maintenance) release in your current major line as the first target, then the latest point release in the next major line. Continue that pattern until you reach your desired version. Nextcloud’s administration manual is explicit: You cannot skip major releases.

3. Schedule the maintenance window

Updating replaces application code and can run database and app migrations. Announce an outage long enough to cover downloads, migrations, verification, and possible retries. Stop automated jobs or integrations that would keep writing to the instance while you take the backup, and ensure you have administrative shell access if the web updater fails.

Maintenance mode locks existing sessions and prevents new logins. The built-in updater enables it automatically. If you need to enable it yourself on an archive installation, run this from the Nextcloud directory as the HTTP user:

sudo -E -u www-data php occ maintenance:mode --on

The account may differ on your system; use the user your web server actually runs as. Running occ as the wrong user can create permission problems or fail to read the configuration.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Sale
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter | USB C Dongle with 90W Max Power Delivery, 3×5Gbps USB A Data Ports, for MacBook, Dell, and More (Charger Not Included)
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

4. Make a complete, tested backup

Create a fresh backup before every release step, not just before the first major upgrade. It must be restorable and must contain all four of these components:

  • Database: the complete Nextcloud database, including tables created by installed apps.
  • Data directory: every user file, version, trash item, and file-cache record stored there.
  • Configuration: the Nextcloud configuration, including database credentials, trusted domains, encryption settings, and storage definitions.
  • Code tree: the currently running Nextcloud files and app code.

Use your database engine’s normal, documented backup tool and your existing file-backup process; the exact command depends on whether the database is MySQL/MariaDB, PostgreSQL, or another supported engine. Store the backup where a failed server or disk cannot destroy both the live instance and its recovery copy. Check that files can be read, the database dump completes without errors, and at least one restore test has succeeded before treating the backup as usable.

The built-in updater’s code backup is only a safety net for the application files. It is stored beneath /updater-INSTANCEID/backups/nextcloud-CURRENTVERSION/ and does not include the database or /data. A successful updater download therefore never substitutes for your own full backup.

5. Review and disable third-party apps

Inventory every app that did not ship with the Nextcloud core. For each one, check whether its release supports the target Nextcloud major version and whether it has special migration instructions. Pay attention to authentication, storage, calendar, contacts, workflow, and external-integration apps because they can block an upgrade even when the core files are correct.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Disable third-party apps before starting the upgrade. Leave them disabled while you confirm that the core upgrade, database migration, login, and file access work. Re-enable only apps that explicitly support the new release, one at a time, checking the administrator status page and logs after each change.

6. Upgrade one release step at a time

  1. Install the latest point release of your current major version.
  2. Complete its database and app migration and verify the instance.
  3. Run the updater again for the latest point release of the next major version.
  4. Repeat the migration, background-job, and verification checks after each major step.

For example, an instance on an older major line must move to that line’s newest maintenance release before moving to the next line, then continue sequentially. A direct jump over a major version is unsupported, even if the downloaded archive appears to install cleanly.

Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter | 85W Max PD, 2 USB 3.0 & 1 USBC Data Ports, SD/TF Card Reader, for Laptops/Mac and Other Type C Devices (Charger Not Included)
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

7. Choose the archive upgrade method

Option Best when Strengths Limits and recovery considerations
Web updater You have reliable administrator-browser access and a maintenance window shorter than your web server’s timeout limits Guided checks for expected files and write permissions; enables maintenance mode; downloads, extracts, and replaces the archive through the Administration interface A browser or proxy timeout can interrupt a long download or migration; shell access is useful for retrying and running occ upgrade
Command-line updater You have shell access, long-running upgrades, or repeatable operations Less dependent on browser timeouts; supports batch mode; can use a custom archive URL; gives direct access to occ and updater output Requires correct shell user, paths, permissions, and command-line access
Manual downloaded archive You need administrator-controlled file staging or the built-in updater cannot be used Direct control over when the archive is downloaded and how files are replaced You must perform the file replacement and migration work yourself and preserve the existing configuration and data locations

8. Run the built-in web updater

On an archive installation, sign in as an administrator and open Administration settings > Overview > Version. The web flow performs the same core checks as the command-line updater:

  1. Checks expected files and write permissions.
  2. Enables maintenance mode.
  3. Creates its limited code-only backup.
  4. Downloads and extracts the selected archive.
  5. Replaces the old application files with the new code.

Keep the browser window open until the updater reports completion. Do not refresh repeatedly or start a second updater process. If the web server or proxy times out, use the command-line updater and inspect the updater log rather than assuming that a timeout means the files were untouched.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

9. Run the command-line updater

From the archive installation directory, execute the updater as the HTTP user. A typical path is:

sudo -E -u www-data php /var/www/nextcloud/updater/updater.phar

Replace both the user and path with the values used by your server. The command-line updater is suitable for a long migration because it is not held open by a browser request. It also supports batch operation for scripted maintenance, a custom archive URL when you have staged a specific release, and an option to disable the updater’s limited code backup when your own backup policy already covers the code tree. Disabling that internal backup does not remove the requirement for a complete database, data, configuration, and code backup.

10. Use a manual archive when necessary

If you choose a manual archive, download the exact point release selected in your version sequence, enable maintenance mode, and replace the old application code while retaining the existing configuration and data locations. Do not delete the only copy of the old code until the full backup and new files are verified. After the files are in place, run the database and app migration command described in the next section, then perform the same checks as an updater run.

11. Complete database and app migrations

Replacing files is only the code phase. The built-in updater documentation states: The built-in updater itself only replaces the existing files with the ones from the version it updates to. The migration phase upgrades the database schema and app state and must be run afterward.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray | Data transfer & Fast charging for MacBook, iPhone 17/16/15, iPad, Samsung Galaxy, Apple Watch
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

From the Nextcloud directory, run:

sudo -u www-data php ./occ upgrade

Use the correct HTTP user for your server. Alternatively, use the web upgrade page when the updater presents that option and maintenance mode is being held for the migration. Watch the command output for an explicit success result and address any reported app or schema error before attempting the next release step.

12. Allow background migrations to finish

Major releases can schedule work that is intentionally processed by cron rather than during the foreground upgrade. After each major upgrade, run your configured cron job two or three times before beginning another major step. Then open the Administration settings and complete any long-running database maintenance commands it reports. Starting the next major upgrade while these jobs are pending increases the chance of a prolonged outage or migration failure.

13. Verify the upgraded instance

Keep maintenance mode on while you perform the initial checks. Review:

  • the updater and occ upgrade output for errors or skipped migrations;
  • the Nextcloud log and web-server/PHP logs for fatal errors;
  • administrator status checks and required environment warnings;
  • administrator and normal-user login;
  • file listing, upload, download, sharing, and external storage access;
  • background jobs and the configured cron execution;
  • the status of each re-enabled third-party app.

When the checks pass, turn maintenance mode off:

sudo -E -u www-data php occ maintenance:mode --off

Confirm that a fresh login works and that background jobs continue after users return. Record the installed version, migration output, backup identifier, and any app changes in your maintenance log.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

14. Recover from a failed updater run

An updater failure does not automatically mean that the installation is lost. Read the reported error, correct the underlying permission, disk-space, network, or compatibility problem, and retry. The updater is designed to resume from the failed step. Its log is updater.log in the configured data directory.

  • Permission or ownership error: stop, correct ownership and write access for the HTTP user, and rerun the updater. Do not make the entire server world-writable.
  • Insufficient disk space: free space or extend the filesystem, then verify that the archive can be downloaded and extracted before retrying.
  • Web timeout: switch to the command-line updater and monitor it from the shell.
  • App migration error: keep maintenance mode enabled, identify the incompatible app in the output or logs, and follow that app’s compatibility instructions before retrying.
  • Database migration error: do not repeatedly guess at schema changes. Preserve the logs and use the tested backup if the cause cannot be corrected safely.

Do not delete the data directory or database to make a retry “clean.” Those are the parts the updater does not back up.

Best Value
Sale
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display | 85W Max PD, 1 Powered USB-C 5Gbps & 2 Powered USB-A 3.0 5Gbps Data Ports, for MacBook Pro, MacBook Air, Dell and More (Black)
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

15. Understand downgrade and restore limits

Nextcloud does not support downgrading. Its administration manual warns: Downgrading is not supported and risks corrupting your data! Replacing newer code with an older archive can leave database migrations and app state incompatible.

If the new release cannot be repaired, recovery means restoring the database, data directory, configuration, and code from a known-good backup into a fresh installation of the original version. Keep the restored instance isolated until you have verified its login, files, apps, and background jobs; then plan a new, sequential upgrade with the compatibility issue resolved.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

16. Deployment-specific boundaries

Snap

Use the Snap package’s documented refresh process and its own service controls. Archive paths, the updater.phar workflow, and archive ownership commands do not apply automatically.

Docker

Update the image and persistent volumes according to the image documentation. The container’s entrypoint and database migration behavior determine when occ upgrade is run; do not copy an archive installation’s file-replacement steps into a running container.

Pre-built virtual machines

Follow the appliance publisher’s release and snapshot procedure. Take a VM snapshot only as an additional safeguard; it does not replace a tested database and data backup.

Package-manager installations

Use the package repository’s versioning and service restart instructions. Package-managed files, configuration paths, and service users may differ from an archive deployment.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

17. A concise pre-flight and post-flight checklist

Before starting

  • Installation method identified and matching documentation selected.
  • Target release notes reviewed, including environment and app requirements.
  • Sequential major-version path written down.
  • Fresh, tested backup of database, data, configuration, and code completed.
  • Third-party apps checked and disabled.
  • Maintenance window and shell access available.

After each release step

  • Code update completed without unresolved updater errors.
  • occ upgrade or the web migration completed successfully.
  • Background cron run two or three times after a major upgrade.
  • Administration checks, logs, login, files, sharing, and jobs verified.
  • Only compatible third-party apps re-enabled.
  • Maintenance mode disabled only after verification.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.