NC17 does not offer update via web updater

hello all

I am running a Nextcloud 17.0.10 on a raspery pi.

I always did updates since version ~14 until 17 since years, but now it wont offer me to update any longer and I am stuck in the version 17.0.10.

How can I get the update to a next version without having to use the console (i am not so firm with linux…)

thank you all

What version of php do you use? Perhaps that is not compatible with NC 18? However if there is a check it should show you such “problems”.

Hello, using:
PHP 7.1.33-25+0~20210112.45+debian9~1.gbp1a89bf (cli) (built: Jan 12 2021 14:01:28) ( NTS )
the errors shown are those:

  • MySQL wird als Datenbank verwendet, unterstützt jedoch keine 4-Byte-Zeichen. Um beispielsweise 4-Byte-Zeichen (wie Emojis) ohne Probleme mit Dateinamen oder Kommentaren verarbeiten zu können, wird empfohlen, die 4-Byte-Unterstützung in MySQL zu aktivieren. Für weitere Details lesen Sie bitte die Dokumentationsseite hierzu.
  • Der "Strict-Transport-Security“-HTTP-Header ist nicht auf mindestens "15552000“ Sekunden eingestellt. Für mehr Sicherheit wird das Aktivieren von HSTS empfohlen, wie es in den Sicherheitshinweisen erläutert ist.
  • Es wurde kein PHP-Memory-Cache konfiguriert. Zur Erhöhung der Leistungsfähigkeit kann ein Memory-Cache konfiguriert werden. Weitere Informationen finden Sie in der Dokumentation.
  • Dieser Installation fehlen einige empfohlene PHP-Module. Für bessere Leistung und bessere Kompatibilität wird dringend empfohlen, diese zu installieren.
    - imagick

Do I need to upgrate PHP?
actually php 7.4 is installed (i saw it when i run updates) but obviously not in use. I once tried to use it but had to load a saved image later… :wink:

thank you

It needs php 7.2-7.4 (System requirements — Nextcloud latest Administration Manual latest documentation). So the 7.1 could be the reason it didn’t work.

7.4 is not supported by NC 17 (System requirements — Nextcloud latest Administration Manual latest documentation). Could work anyway.

The errors shown are recommendation, it will make your Nextcloud faster. Can you run the upgrade with more information from command line when you are in the NC main folder:

sudo -u www-data php occ updater/updater.phar

Ok, so I need to update PHP. hm…

PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php/20160303/apc.so’ - /usr/lib/php/20160303/apc.so: undefined symbol: zif_apcu_store in Unknown on line 0

Command “updater/updater.phar” is not defined