# Upgrading from NC 30.0.4

**URL:** <https://help.nextcloud.com/t/upgrading-from-nc-30-0-4/246609>\
**Category:** ℹ️ Support\
**Tags:** nc30, office, collabora-built-in\
**Created:** [July 6, 2026, 11:10am UTC](https://help.nextcloud.com/t/upgrading-from-nc-30-0-4/246609 "2026-07-06T11:10:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sharky21](https://help.nextcloud.com/letter_avatar/sharky21/32/6_22734026db12803ebb3e059622ac3534.png) [@Sharky21](https://help.nextcloud.com/u/Sharky21)\
**Post date:** [July 6, 2026, 11:10am UTC](https://help.nextcloud.com/t/upgrading-from-nc-30-0-4/246609/1 "2026-07-06T11:10:27Z")

</div>

I’ve recently inherited a Nextcloud on-premise installation that is in need of an upgrade.

The Basics

- Nextcloud Server version _(e.g., 29.x.x)_:
  - `Nextcloud Hub 9 (30.0.4)`

- Operating system and version _(e.g., Ubuntu 24.04)_:
  - `Ubuntu 24.04.3 LTS`

- Web server and version _(e.g, Apache 2.4.25)_:
  - `2.4.58`

- PHP version _(e.g, 8.3)_:
  - `8.3.6`

- Database version:
  - `MySQL 5.7.42`

- Installation method _(e.g. AlO, NCP, Bare Metal/Archive, etc.)_
  - `bare metal`

There are a little over 100 users on the platform but less than 75 are actively using it.

On the Admin overview page it says:

_ **Update** _

_The version you are running is not maintained any more. Please make sure to update to a supported version as soon as possible._

_A new version is available: Nextcloud **30.0.17** _

_All apps have a compatible version for this Nextcloud version available._

_Apps with compatible version\*_

_Calendar ↗  
Contacts ↗  
End-to-End Encryption ↗  
Retention ↗  
Group folders ↗  
Mail ↗  
Memories ↗  
Preview Generator ↗  
Nextcloud Office ↗  
Collabora Online - Built-in CODE Server ↗  
SnappyMail ↗_

\*\*\*Please note that the web updater is not recommended with more than 100 accounts! Please use the command line updater instead!

* * *

My first question is, with around 75 active users is it still recommended to use the command line updater or would the web updater be a viable option?

If the web updater works will it take me to the latest (last) version 30.0.17 and from there will I be able to use the web updater to then go to the latest version of 31 → 32 → 33 and finally 34?

How reliable is the web updater?

If, however, the web updater is not the way to go, can anyone point me to any official step-by-step documentation on getting from 30.0.4 to 30.0.17 and then up to the latest version one by one?

Secondly, the current version of MySQL being used by our Nextcloud is 5.7.42. Is this a deal-breaker to get any higher than 30.0.17 and should it even be upgraded before trying to go from 30.0.4 to 30.0.17?

The system requirements in docs such as [this](https://docs.nextcloud.com/server/30/admin_manual/installation/system_requirements.html) and for higher versions of NC are recommendations. I know MySQL 5.7.x is ancient but is it likely to cause the upgrade of NC to fail at some point?

Thanks

---

<div class="post-metadata">

**Author:** ![Simon\_Meyer](https://help.nextcloud.com/user_avatar/help.nextcloud.com/simon_meyer/32/55138_2.png) [@Simon\_Meyer](https://help.nextcloud.com/u/Simon_Meyer)\
**Post date:** [July 6, 2026, 3:51pm UTC](https://help.nextcloud.com/t/upgrading-from-nc-30-0-4/246609/2 "2026-07-06T15:51:03Z")

</div>

I can’t comment on the MySQL version but what you should verify before upgrading is that the appropriate PHP version is available for your Ubuntu installation.

> [@Sharky21](#):
>
> My first question is, with around 75 active users is it still recommended to use the command line updater or would the web updater be a viable option?

When you update the first step is to put NC into maintenance mode =\> 0 active users.  
Personally I recommend the cli updater. It outputs all error messages (if something bad happens).

> [@Sharky21](#):
>
> If the web updater works will it take me to the latest (last) version 30.0.17 and from there will I be able to use the web updater to then go to the latest version of 31 → 32 → 33 and finally 34?

> **[How to upgrade — Nextcloud 34 Administration Manual](https://docs.nextcloud.com/server/stable/admin_manual/maintenance/upgrade.html)**

**You cannot skip major releases.** Please re-run the upgrade until you have reached the highest available (or applicable) release.

> [@Sharky21](#):
>
> How reliable is the web updater?

I once had a [really strange issue](https://help.nextcloud.com/t/update-from-27-to-28-fails-updates-between-multiple-major-versions-and-downgrades-are-unsupported/192684) where web update would fail but didn’t give me any clue why. Only cli updater printed additional information that helped me identify the root cause of the failed update.

> [@Sharky21](#):
>
> If, however, the web updater is not the way to go, can anyone point me to any official step-by-step documentation on getting from 30.0.4 to 30.0.17 and then up to the latest version one by one?

If you feel more comfortable using web updater - try it. If for any reason you run into an issue and web updater doesn’t provide any hints but just throws a generic error, switch to cli.  
I’ve linked the official documentation above. If you’re lucky and don’t run into any issues you will hit the update button in admin menu 6 times and then you’re on the latest version.

---

<div class="post-metadata">

**Author:** ![jtr](https://help.nextcloud.com/letter_avatar/jtr/32/6_22734026db12803ebb3e059622ac3534.png) [@jtr](https://help.nextcloud.com/u/jtr)\
**Post date:** [July 6, 2026, 7:26pm UTC](https://help.nextcloud.com/t/upgrading-from-nc-30-0-4/246609/3 "2026-07-06T19:26:02Z")

</div>

> [@Sharky21](#):
>
> How reliable is the web updater?

The command line updater is always more reliable. It, at a minimum, is immune to web infrastructure end to end timeouts.

> [@](#):
>
> The system requirements in docs such as [this](https://docs.nextcloud.com/server/30/admin_manual/installation/system_requirements.html) and for higher versions of NC are recommendations. I know MySQL 5.7.x is ancient but is it likely to cause the upgrade of NC to fail at some point?

No one can answer that because it literally means that version of Nextcloud is untested with that version of MySQL. Also, it depends on numerous other things, such as what database features are relied upon by your particular mixture of enabled apps (as well as what database bugs may be relevant to said combination).

I’d flip the question around: why aren’t you considering using an appropriate version of MySQL (or MariaDB)? (Some problems may not even be noticable until down the road… At which your database may already have corrupted data, for example).

---

<div class="post-metadata">

**Author:** ![awelzel](https://help.nextcloud.com/user_avatar/help.nextcloud.com/awelzel/32/74585_2.png) [@awelzel](https://help.nextcloud.com/u/awelzel)\
**Post date:** [July 7, 2026, 6:36am UTC](https://help.nextcloud.com/t/upgrading-from-nc-30-0-4/246609/4 "2026-07-07T06:36:37Z")

</div>

I always recommend using the command line updater, even for less than 100 users, since you then have much more control over the process. Also the command line updater enables the maintenance mode during the upgrade, so no user can accidentally connect or change things during the upgrade process.

Things to consider:

1. Always make sure you have a backup of everything - files and database.
2. Upgrading MySQL is not needed and also no that simple, since this package comes with Ubuntu 24.04 you may need a PPA for this.
3. You can upgrade PHP 8.4 and 8.5 after Nextcloud was upgraded as well using the repositories of [https://deb.sury.org](https://deb.sury.org). Do not use newer versions of PHP before you upgraded Nextcloud to the respective version according to [Releases and PHP versions · nextcloud/server Wiki · GitHub](https://github.com/nextcloud/server/wiki/Releases-and-PHP-versions) .
4. On the host you should use tools like `screen` or `termux` to avoid losing the session if your SSH connection is terminated before the upgrader is done.
5. Keep in mind, that the upgrader should run with the user, which is used to host Nextcloud an **not** `root`. See the owner the the current files using `ls -l` and then run the updater with `sudo USERNAME php updater/updater.phar` within the Nextcloud root folder where `USERNAME` is the name of the user used for the Nextcloud hosting.

---

<div class="post-metadata">

**Author:** ![bb77](https://help.nextcloud.com/letter_avatar/bb77/32/6_22734026db12803ebb3e059622ac3534.png) [@bb77](https://help.nextcloud.com/u/bb77)\
**Post date:** [July 7, 2026, 7:11am UTC](https://help.nextcloud.com/t/upgrading-from-nc-30-0-4/246609/5 "2026-07-07T07:11:43Z")

</div>

> [@awelzel](#):
>
> 1. Upgrading MySQL is not needed and also no that simple, since this package comes with Ubuntu 24.04 you may need a PPA for this.

@Sharky21 is running MySQL 5.7, which is outdated and has been [EOL](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) since 2023.

Ubuntu 24.04 ships with MySQL 8.0, which is [end of life](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) as well. However, at least it’s still supported by Ubuntu, so it should still receive security updates for critical vulnerabilities. It’s also still officially supported by Nextcloud, even with the current release: [System requirements — Nextcloud 34 Administration Manual](https://docs.nextcloud.com/server/34/admin_manual/installation/system_requirements.html).

So I’m wondering: are they running the database on a separate server? Or are they using a PPA, Oracle’s APT repository, or some other third-party source to install MySQL 5.7?

Either way, it should be updated, and perhaps they could also consider migrating to MariaDB while they’re at it…? 😉

---

<div class="post-metadata">

**Author:** ![awelzel](https://help.nextcloud.com/user_avatar/help.nextcloud.com/awelzel/32/74585_2.png) [@awelzel](https://help.nextcloud.com/u/awelzel)\
**Post date:** [July 7, 2026, 7:18am UTC](https://help.nextcloud.com/t/upgrading-from-nc-30-0-4/246609/6 "2026-07-07T07:18:07Z")

</div>

> [@bb77](#):
>
> Ubuntu 24.04 ships with MySQL 8.0

Yes, of course you’re right: [Ubuntu – Package Search Results -- mysql](https://packages.ubuntu.com/search?suite=noble&searchon=names&keywords=mysql)

In this case I wonder, how MySQL was installed in the first place as this is obviously not the version provided by Ubuntu. So, yes, that should be upgraded as well, after creating a dump of the current database of course.

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [October 5, 2026, 7:18am UTC](https://help.nextcloud.com/t/upgrading-from-nc-30-0-4/246609/7 "2026-10-05T07:18:56Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
