Nextcloud update stopped working

Dear yunohost,

i tried to fix it myself but i have no idea where to start anymore.

https://paste.yunohost.org/raw/opumubutax

i have no idea how it went wrong
and how i can fix it. I updated with

sudo yunohost tools update && sudo yunohost tools upgrade --system

but multiple programs don’t function anymore after this.

Can anybody help me, i’m totally lost in how to fix this.

thanks in advance

Hello @arnoudspammer,

Could you please fill the support template when you submit a ticket? It’ll be much easier to help you.

I can see this line in your log file:

2020-02-14 12:10:49,188: DEBUG - This version of Nextcloud is not compatible with > PHP 7.3.
You are currently running 7.4.2.+ ynh_die ‘–message=Unable to install Nextcloud’

Have you somehow upgraded the PHP version of your server?

Thank you french speaking people :slight_smile:

I have no idea how my server was upgraded to 7.4. ;(

I tried the solution of
apt remove php7.4*
apt install php7.0-zip
nextcloud installs just fine, no warnings whatsoever. Looked good, but
but my nextcloud says on the landing page of nextcloud that no php is installed.
What do i do :sob:

Could you please tell us on what hardware your yunohost is installed? What other apps are installed? And give the exact error displayed on the Nextcloud homepage? Thanks

I too had the problem today. The error is from cronjobs that run /usr/bin/php -f /var/www/nextcloud/cron.php:

This version of Nextcloud is not compatible with > PHP 7.3.<br/>You are currently running 7.4.2.

PHP7.4 is installed through sury:

Package: php7.4
Version: 7.4.2-5+0~20200202.10+debian9~1.gbp3a5fde
Priority: optional
Section: php
Maintainer: Debian PHP Maintainers <team+pkg-php@tracker.debian.org>
Installed-Size: 70.7 kB
Provides: php
Depends: libapache2-mod-php7.4 | php7.4-fpm | php7.4-cgi, php7.4-common
Homepage: http://www.php.net/
Download-Size: 35.2 kB
APT-Sources: https://packages.sury.org/php stretch/main amd64 Packages

Instead of deleting php7.4 you can set php7.0 as default and everything works again:

update-alternatives --config php

Where sury comes from - I don’t really know.

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