Nextcloud Server 27.0.0 → 28.0.0
9 versions, 5 critical-change sections in 1 version, 1 required stop
Required stops
- 27.1.11
Latest 27.x release.
Nextcloud must be upgraded step by step:
- Before you can upgrade to the next major release, you need to upgrade to the latest point release of your current major version.
- Then run the upgrade again to upgrade to the next major release’s latest point release.
- You cannot skip major releases. Please re-run the upgrade until you have reached the highest available (or applicable) release.
- Example: 18.0.5 -> 18.0.11 -> 19.0.5 -> 20.0.2
Wait for background migrations to finish after major upgrades. After upgrading to a new major version, some migrations are scheduled to run as a background job. If you plan to upgrade directly to another major version (e.g. 24 -> 25 -> 26) you need to make sure these migrations were executed before starting the next upgrade. To do so you should run the
cron.phpfile 2-3 times, for example:$ sudo -E -u www-data php -f /var/www/nextcloud/cron.phpSource: https://docs.nextcloud.com/server/latest/admin_manual/maintenance/upgrade.html (checked 2026-09-26)
Version by version, oldest first
27.0.1 – 27.1.4: no action items (7 versions)
27.1.5 – 27.1.9: released after 28.0.0; not on this route
27.1.11 2024-06-25
Required stop
28.0.0 2023-12-12
Quoted from docs.nextcloud.com/server/latest/admin_manual/release_notes/upgrade_to_28.html
Critical change
System requirements
- PHP 8.3 is now supported, but 8.2 is recommended.
Critical change
Web server configuration
- The recommended nginx configuration changed as Nextcloud Talk now serves audio files with
.ogg/.flacextension, make sure to add these extensions to the list of static files. - As some core app now make use of JavaScript modules, make sure your web server is not rewriting requests to
.mjsfiles, but serves them withtext/javascriptMIME type and properCache-Controlheader, like.jsand other static file extensions.
- When using Apache with
.htaccessconfiguration, this will be done automatically. - For Nginx, please refer to our recommended Nginx configuration.
- For other setups, make sure to add
.mjsto the list of static file extensions in web server configs and in case define its MIME type in/etc/mime.types.
Critical change
Setup Checks
The setup checks (the ones visible under Administration settings->Overview) that previously ran from the web browser now run server-side rather than from the browser.
This means that some false positives may be triggered in existing installations after upgrading. This does not mean the checks are invalid or broken. It does mean that local configuration matters that may not have had obvious side effects previously may now prevent the tests from getting accurate results.
In nearly all cases the resolution is one or more of the following:
- verifying all entries in
trusted_domainsand the value ofoverwrite.cli.urlare valid, resolvable in DNS, and reachable from the Nextcloud Server itself - verifying that the Server can reach its own URL(s)
- verifying all
overwrite*config values are reasonable
In diagnosing the above, many admins have found it useful to review not only their config.php (for cleanup) but also:
- their local DNS resolvers and
/etc/hostsfiles for reasonableness - their firewall configurations
- their container network configuration if using Docker/etc (especially for outbound connectivity)
Tip
Testing of connectivity and reachability of specific URLs can usually be tested from servers or containers via
curlorwget.
Critical change
Monitoring
Beginning with Nextcloud 28, the monitoring endpoint no longer provides information about available app updates, as gathering the data always involves at least one external request to apps.nextcloud.com.
You can still ask the monitoring endpoint to show new app updates by using the URL parameter skipApps=false. However, please do not check this endpoint too often.
Critical change
Previews for Office files using LibreOffice
Nextcloud can generate previews for Office files using LibreOffice.
Since Nextcloud 28, you can also create previews for EMF files. To enable it, add 'OC\Preview\EMF' to enabledPreviewProviders.
Until Nextcloud 28, the same LibreOffice user profile was used to generate the previews. LibreOffice can only be invoked once per user profile, so the generation of a preview for an office file would fail if another one were created right now.
Beginning with Nextcloud 28, a different LibreOffice user profile is used for each file. Downside: If you upload 100 emf files, you may end up with 100 LibreOffice invocations. Though, you can use preview_concurrency_new and preview_concurrency_all to limit the number of previews that can be generated concurrently when php-sysvsem is available.
The configuration option preview_office_cl_parameters was removed with Nextcloud 28. We expect LibreOffice to be started with the given parameters, so it's unfavorable to have a configuration option to change the parameters. Please reach out to us via https://github.com/nextcloud/server/pull/41395 if that's causing any trouble for you.
Tip
Previews for EMF files can be enabled without a local LibreOffice installation if you are already using Nextcloud Office / Collabora. Make sure you have Nextcloud Office 8.3.0 installed and add
'OCA\Richdocuments\Preview\EMF'toenabledPreviewProviders.
Release notes from github.com/nextcloud/server/releases, and Upgrade to Nextcloud 28, checked 17 hours ago. Only text the vendor marks as breaking, or puts in a warning/caution/important note, is shown; read the full notes for anything else. Nextcloud's GitHub release notes are lists of merged pull requests and mark nothing as breaking. What is quoted instead is the admin manual's “Critical changes” page for each major version (Upgrade to Nextcloud 26, 27, 28, 30, 31, 32, 33 and 35; there is none for 29 or 34), one item per section, labelled “Critical change”, on the x.0.0 release. The manual has no such pages before 26. Versions are covered from 23.0.0; GitHub has no complete release list before that. Required stops are the latest point release of each major version on the way, per the manual's upgrade page.