Nextcloud 15.0.10: Button "Open Updater" missing

Nextcloud version (eg, 12.0.2): 15.0.10
Operating system and version (eg, Ubuntu 17.04): Ubuntu 16.04.6 LTS
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.18 (Ubuntu)
PHP version (eg, 7.1): PHP 7.0.33-0ubuntu0.16.04.5

The issue you are facing:

I have just upgraded from 15.0.7 to 15.0.10 which worked as expected. Now 16.0.3 is available and I wanted to upgrade but there is “Open Updater” button shown. All I see is:

Version

Nextcloud 15.0.10

A new version is available: Nextcloud 16.0.3
All apps have an update for this version available

Apps with available updates

No “Open Updater” nor “Download” button shown. I am on stable channel which in my understanding should allow me to upgrade.

Is this the first time you’ve seen this error? (Y/N): Y

Welcome to the forum gvde

Please could you try this in another browser? It’s unusual but it could be the browser or some setting in the browser causing this issue.

I have tried this with various browsers:

MacOS Safari and Firefox (latest)
Windows 10 Firefox (latest), Edge
iOS Safari

It’s looking the same everywhere: no buttons.

Same problem for me using Firefox with Linux Mint

Me too.
Win7 + Chrome

Same here, web settings shows update available with no update button, but occ upgrade says “Nextcloud is already latest version”

I’m guessing this is because, according to the documentation, nextcloud 16 requires php 7.1 and I’m running Ubuntu 16.04.6 LTS which only has php 7.0.33 in its repos. If that’s the case it would be nice to indicate this on the settings page for administrators.

Yes. You are right. occ update:check says:

Nextcloud 16.0.3 is available. Get more information on how to update at https://nextcloud.com/outdated-php-7-0/.

Of course the argument is poor for a ubuntu LTS distribution which is supported for 5 years.

Running a Nextcloud release without security and stability updates puts your data at risk.

Even though it is php 7.0 it still gets security updates and thus is not or little risk. Much less risk then forcing people to possibly compile the latest php version themselves or taking updated php packages from the next best repository they find in the internet without any idea how well that would be maintained by whoever provides them.

Or forcing people to upgrade to the next ubuntu 18.04 LTS (which of course means in the end that maybe in two years you are in the same situation, again). Not that that will go so easily and well that in the end everything is as secure and stable as before…

Of course, paid customers can get a LTS version of nextcloud… What does that tell me??

Thus, I guess in the end this will simply mean that in a couple of months from now there will be more and more nextcloud installations in the internet with a number of potential security issues that won’t be fixed…

In particular, because at least for the Ubuntu release schedule end of support for Nextcloud 15 end of 2019 it means another 4 months until the release of Ubuntu 20.04 LTS. Thus, end of 2019 when I have to decide to upgrade to Ubuntu 18.04 LTS only to get php 7.2 for updated nextcloud or wait another four months and hope nothing happens and then upgrade to 20.04 LTS and the latest nextcloud.

So it would be much nicer if nextcloud 15 was supported until mid of 2020…

2 Likes

I had the exact same issue today…

The “Apps with available updates” showed two apps: Two-factor U2F and Group Folders.
I disabled the Two-factor U2F app and refreshed… The Open Updater button appeared…

I’m guessing this is because, according to the documentation, nextcloud 16 requires
php 7.1 and I’m running Ubuntu 16.04.6 LTS which only has php 7.0.33 in its repos.

For me this was happening even after updating PHP to 7.2…

Thus, end of 2019 when I have to decide to upgrade to Ubuntu
18.04 LTS only to get php 7.2 for updated nextcloud

Upgrading to PHP 7.2 and staying on Nextcloud 15 / Ubuntu 16.04 works just fine…

Same problem here. I’m using Nextcloud 15.0.10 with Ubuntu 16.04.6 LTS which is not providing PHP 7.2. A manual “hacking-Update” from 7.0.33 to 7.2 is (imho) not an option.

Ubuntu 16.04 LTS is a fully supported OS with actual security-updates (including PHP). There are security-concerns because of php-version in Ubuntu 16.04.6 LTS? Really…? Can somebody please make it possible to support Ubuntu 16.04 LTS at least until 20.04 LTS is comming out?

1 Like

A manual “hacking-Update” from 7.0.33 to 7.2 is (imho) not an option.

Why is it “hacking”?

Well “Hacking” maybe is the wrong word. But in our production-envirement it is good practice to use LTS-Versions of the OS - Including the provided packages of the distributor.

Just like already says:

Blockquote
Even though it is php 7.0 it still gets security updates and thus is not or little risk. Much less risk then forcing people to possibly compile the latest php version themselves or taking updated php packages from the next best repository they find in the internet without any idea how well that would be maintained by whoever provides them.

Am I understanding this correctly? My Nextcloud installation is notifying me of an update being available from 15.0.10 to 16.0.3, but the update button is missing because of a PHP version bump requirement that isn’t mentioned anywhere. That seems like a remarkably poor user experience - I’m receiving notifications every time I boot various devices that I can do nothing about because Nextcloud isn’t telling me what the problem is.

1 Like

hello

it’s mention on prerequist list on official docs.

https://docs.nextcloud.com/server/16/admin_manual/installation/system_requirements.html

Am I understanding this correctly? My Nextcloud installation is notifying me of an update being available from 15.0.10 to 16.0.3, but the update button is missing because of a PHP version bump requirement that isn’t mentioned anywhere…

From my experience - no you don’t (see above)…

Yes, definitely - that’s really a poor UI.

I’d be ok with staying with Nextcloud 15, as I understand that new major releases may change the required installation prerequisites.

But - how can I then easily upgrade to 15.0.11 once it’s out (and which works on my Debian 9 Stretch system) until I upgrade the base system, if Nextcloud only offers (or not…) Nextcloud 16.0.3 which then cannot be installed?

Mh…

For anyone else who comes across this thread, I solved the problem by upgrading the PHP version of my server from 7.0 to 7.1, whereupon the button reappeared and I was able to update to Nextcloud 16.0.3 without issue.

Although the new PHP version dependency is listed in Nextcloud’s docs, it’s still a poor user experience to notify them of updates they cannot install without researching why a button might be missing from the UI. There is no indication in the admin panel as to why you might not be able to install the update. This could be handled better by having the update notification read something like this instead:

An update to Nextcloud 16.0.3 is available, but your server does not currently meet the requirements to install it. Please upgrade your server’s PHP version to at least 7.1 to install Nextcloud 16.0.3.

2 Likes

Thank you. Now I did an Update too…
I can confirm that 16.0.3 works on Ubuntu 16.04 with php 7.1 with no issue so far. this Guide helped me to do the Update: https://markus-blog.de/index.php/2018/01/15/nextcloud-12-mit-php-7-1-auf-ubuntu-16-04-lts-beschleunigen/

So you fully trust Ondřej Surý and his PHP packages. You fully trust they quickly get important, security updates. You fully reviewed the process how those packages are built and trust the process and all people involved. You fully trust those packages don‘t have any side effects on your system and they won‘t temper with your system?

Of course it works. But there is a good reason why many people choose to use only the official packages from your distribution for highest level of system stability and security within a reasonable setting, even if it means that you don’t always have the latest version.

And updating php to a different version can have effects on any of your installed web apps, so in that process you need to review and possibly reconfigure those as well.

That’s why I choose a LTS version of ubuntu so that I mostly have to do that every four years only when I switch to the next Ubuntu LTS…

I cannot agree more. This whole “Nextcloud Update-Behaviour” is not what I expect from a professional solution. I would expect, that a product like nextcloud whould define a clear release-strategy. For example: “Distro xy LTS is supportet until …” And of course I would expect, that the LTS-Versions of the “big distros” are included. But I couldn’t find something like this.

So options are (some, not all options):

  • Stay on Nextcloud 15 without any security-patches from now
    => No, defenitly not :frowning:
  • Update to Ubuntu 18.04 LTS and migrate the whole nextcloud-server to it
    => Öm…No. I planed to do a Distro-Update when 20.04 is there.
  • Do the PHP-Update and trust mr. Ondřej Surý
    => Not the best option either (you name it).
  • Do the PHP-Update by myself
    => No option too (at least for me).
  • Pay Nextcloud to do the Update
    => Not possible too

So finaly I go with option 3 until Ubuntu 20.04 is there.

For a professional operator, this update-siuation is frustrating. I definitly hope nextcloud will improve the update-strategy in the future…