nextcloud update

how is it possible to update nextcloud in dietpi to last version?

Just use the internal updater from its web UI.

not work

wow, you use the wrong command…

Which version of dietpi, server, nextcloud? What did you try, what are the error texts?

Btw, after DietPi v6.23/v6.24 it is now possible to update Nextcloud to v16. Before this was not possible since it did not support PHP7.0 any more.

how can i update?

Hi,

You can try first upgrade PHP to 7.3 and after that upgrade Nextcloud.

I have Odroid XU4 and after freshly installed DietPi, I try to install Nextcloud without success, because the Nextcloud 16 can’t be installed with old PHP 7.0 version. So I updated PHP to 7.3 and after that everything was OK.
The full description can be found in my webpage: https://itechbg.net/install-nextcloud-16-in-dietpi-linux-os/

If you use Apache2 web server the next lines can help you in your case, but please keep in mind that it was tested only on a freshly installed DietPi without any applications and in your case could damage your applications:

  1. Add repos for PHP 7.3:

apt install ca-certificates apt-transport-https
wget -q https://packages.sury.org/php/apt.gpg -O- | sudo apt-key add -
echo “deb https://packages.sury.org/php/ stretch main” | sudo tee /etc/apt/sources.list.d/php.list
apt update
apt upgrade


2. Install the PHP 7.3 and modules that you need:

apt install php7.3 php7.3-cli php7.3-common php7.3-curl php7.3-fpm php7.3-gd php7.3-intl php7.3-json php7.3-mbstring php7.3-mysql php7.3-opcache php7.3-readline php7.3-xml php7.3-zip php7.3-bz2 php7.3-ldap php-apcu imagemagick php-imagick php-smbclient libapache2-mod-php7.3 php7.3-recode php7.3-tidy php7.3-xmlrpc


3. Now disable mpm_event and activate php7.3 apache modules

a2dismod mpm_event
a2enmod php7.3
systemctl restart apache2

  1. Open your web browser and login with your admin account to your Nextcloud. Go to Administration settings and upgrade your Nextcloud.


    Please let me know if you try to do it and is it successful.

Best regards,
I. Balabozov

i.balabozov
Many thanks for your step-by-step instructions.

Just a little hint: The current DietPi update will do exactly the same :wink:.

Hello everyone,

I just updated to Dietpi v6.24.1 today, and I can’t access the Nextcloud web console anymore.
I have the following message :

This version of Nextcloud is not compatible with > PHP 7.2.
You are currently running 7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7.

How can I update Nextcloud without access to the admin console ?

Thanks !

Tassman
Strange, your Nextcloud instance should have been upgraded to 14. Btw you should keep it up-to-date yourself via web UI whenever an update is available, at least via production channel. Nextcloud 14 is EOL for a long time already. Or are you on a Jessie system?

Can you please paste the dietpi-update log to check why this have not been done:

cat /var/tmp/dietpi/logs/dietpi-update.log

MichaIng Thanks for reaching out

Here is the update log :

[  OK  ] DietPi-Update | wget https://raw.githubusercontent.com/MichaIng/DietPi/master/dietpi/pre-patch_file -O pre-patch_file

 DietPi-Pre-patch
─────────────────────────────────────────────────────
 Mode: Applying pre-patches

[  OK  ] Successfully applied pre-patches

[ INFO ] DietPi-Update | APT update, please wait...
Get:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB]
Hit:2 http://dev2day.de/pms stretch InRelease
Hit:4 https://archive.raspberrypi.org/debian stretch InRelease
Get:3 https://www.bchemnet.com/suldr debian InRelease [10.9 kB]
Ign:3 https://www.bchemnet.com/suldr debian InRelease
Fetched 25.8 kB in 1s (15.4 kB/s)
Reading package lists...
W: GPG error: https://www.bchemnet.com/suldr debian InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FB510D557CC3E840
W: The repository 'http://www.bchemnet.com/suldr debian InRelease' is not signed.
[  OK  ] DietPi-Update | G_AGUP
[ INFO ] DietPi-Update | APT upgrade, please wait...
[  OK  ] DietPi-Update | G_AGUG
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   120    0   120    0     0    298      0 --:--:-- --:--:-- --:--:--   299
100 2531k  100 2531k    0     0  1641k      0  0:00:01  0:00:01 --:--:-- 2436k
[  OK  ] DietPi-Update | Unpack update archive
[  OK  ] DietPi-Update | Copy DietPi core files to RAMdisk
[  OK  ] DietPi-Update | Copy DietPi rootfs files in place
[  OK  ] DietPi-Update | Set execute permissions for DietPi scripts
[ SUB1 ] DietPi-Set_software > verify_dietpi.txt ()
[  OK  ] DietPi-Set_software | Connection test: https://raw.githubusercontent.com/MichaIng/DietPi/master/dietpi.txt
[  OK  ] DietPi-Set_software | Patching dietpi.txt
[  OK  ] DietPi-Set_software | Downloading current dietpi.txt
[  OK  ] DietPi-Set_software | dietpi.txt verification completed
[  OK  ] verify_dietpi.txt  | Completed

 DietPi-Update
─────────────────────────────────────────────────────
 Mode: Running incremental patching

[ INFO ] DietPi-Update | Current version : v6.22.3 (branch: Fourdee/master)
[ INFO ] DietPi-Update | Latest version  : v6.24.1 (branch: MichaIng/master)
[ INFO ] DietPi-Update | Patching 6.22.3 to 6.23
[  OK  ] DietPi-Patchfile | cp -a /etc/php /mnt/dietpi_userdata/php_bak
[  OK  ] DietPi-Software | Initialised database
[  OK  ] DietPi-Software | Reading database
[ SUB2 ] DietPi-Software > Automated reinstall
[ INFO ] DietPi-Software | 34: Subsonic is not currently installed
[ INFO ] DietPi-Software | The program must be installed, before reinstall can be used
[  OK  ] DietPi-Software | No changes applied for: Subsonic
[ INFO ] DietPi-Software | 35: Logitech Media Server is not currently installed
[ INFO ] DietPi-Software | The program must be installed, before reinstall can be used
[  OK  ] DietPi-Software | No changes applied for: Logitech Media Server
[ INFO ] DietPi-Software | 42: Plex Media Server is not currently installed
[ INFO ] DietPi-Software | The program must be installed, before reinstall can be used
[  OK  ] DietPi-Software | No changes applied for: Plex Media Server
[ INFO ] DietPi-Software | 139: SABnzbd is not currently installed
[ INFO ] DietPi-Software | The program must be installed, before reinstall can be used
[  OK  ] DietPi-Software | No changes applied for: SABnzbd
[ INFO ] DietPi-Software | 147: Jackett is not currently installed
[ INFO ] DietPi-Software | The program must be installed, before reinstall can be used
[  OK  ] DietPi-Software | No changes applied for: Jackett
[  OK  ] DietPi-Software | Reinstalling PHP: Hypertext Preprocessor for dynamic web content
[  OK  ] DietPi-Software | Free space check: path=/ | available=54691 MiB | required=500 MiB
[  OK  ] DietPi-Software | Connection test: http://raspbian.raspberrypi.org/raspbian
[  OK  ] NTPD: time sync | Completed
[ SUB3 ] DietPi-Services > unmask
[  OK  ] DietPi-Services | unmask all: avahi-daemon
[  OK  ] DietPi-Services | unmask all: nmbd
[  OK  ] DietPi-Services | unmask all: smbd
[  OK  ] DietPi-Services | unmask all: redis-server
[  OK  ] DietPi-Services | unmask all: mariadb
[  OK  ] DietPi-Services | unmask all: php7.0-fpm
[  OK  ] DietPi-Services | unmask all: lighttpd
[  OK  ] DietPi-Services | unmask all: cups
[  OK  ] DietPi-Services | unmask all: cloudprintd
[  OK  ] DietPi-Services | unmask all: noip2
[  OK  ] DietPi-Services | unmask all: webmin
[  OK  ] DietPi-Services | unmask all: cron
[ SUB2 ] DietPi-Software > Update & upgrade APT
[ INFO ] DietPi-Software | APT update, please wait...
Hit:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Hit:3 https://archive.raspberrypi.org/debian stretch InRelease
Get:2 https://www.bchemnet.com/suldr debian InRelease [10.9 kB]
Ign:2 https://www.bchemnet.com/suldr debian InRelease
Fetched 10.9 kB in 1s (6,700 B/s)
Reading package lists...
W: GPG error: https://www.bchemnet.com/suldr debian InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FB510D557CC3E840
W: The repository 'http://www.bchemnet.com/suldr debian InRelease' is not signed.
[  OK  ] DietPi-Software | G_AGUP
[ INFO ] DietPi-Software | Running apt simulation to check for errors, please wait...
[ INFO ] DietPi-Software | APT installation for: bash-doc -s, please wait...
Inst bash-doc (4.4-5 Raspbian:stable [all])
Conf bash-doc (4.4-5 Raspbian:stable [all])
[  OK  ] DietPi-Software | G_AGI bash-doc -s
[ INFO ] DietPi-Software | APT upgrade, please wait...
[  OK  ] DietPi-Software | G_AGUG
[ SUB2 ] DietPi-Software > Checking for prerequisite software
[ SUB3 ] DietPi-Services > stop
[  OK  ] DietPi-Services | stop : cron
[  OK  ] DietPi-Services | stop : webmin
[  OK  ] DietPi-Services | stop : noip2
[  OK  ] DietPi-Services | stop : cloudprintd
[  OK  ] DietPi-Services | stop : cups
[  OK  ] DietPi-Services | stop : lighttpd
[  OK  ] DietPi-Services | stop : php7.0-fpm
[  OK  ] DietPi-Services | stop : mariadb
[  OK  ] DietPi-Services | stop : redis-server
[  OK  ] DietPi-Services | stop : smbd
[  OK  ] DietPi-Services | stop : nmbd
[  OK  ] DietPi-Services | stop : avahi-daemon
[ SUB3 ] DietPi-Services > stop
[  OK  ] DietPi-Services | stop : cron
[  OK  ] DietPi-Services | stop : webmin
[  OK  ] DietPi-Services | stop : noip2
[  OK  ] DietPi-Services | stop : cloudprintd
[  OK  ] DietPi-Services | stop : cups
[  OK  ] DietPi-Services | stop : lighttpd
[  OK  ] DietPi-Services | stop : php7.0-fpm
[  OK  ] DietPi-Services | stop : mariadb
[  OK  ] DietPi-Services | stop : redis-server
[  OK  ] DietPi-Services | stop : smbd
[  OK  ] DietPi-Services | stop : nmbd
[  OK  ] DietPi-Services | stop : avahi-daemon
[  OK  ] DietPi-Software | Connection test: https://packages.sury.org/php/apt.gpg
Warning: apt-key output should not be parsed (stdout is not a terminal)
OK
[ INFO ] DietPi-Software | APT update, please wait...
Hit:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Get:3 https://packages.sury.org/php stretch InRelease [6,760 B]
Hit:4 https://archive.raspberrypi.org/debian stretch InRelease
Get:2 https://www.bchemnet.com/suldr debian InRelease [10.9 kB]
Get:5 https://packages.sury.org/php stretch/main armhf Packages [110 kB]
Ign:2 https://www.bchemnet.com/suldr debian InRelease
Fetched 128 kB in 3s (38.6 kB/s)
Reading package lists...
W: GPG error: https://www.bchemnet.com/suldr debian InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FB510D557CC3E840
W: The repository 'http://www.bchemnet.com/suldr debian InRelease' is not signed.
[  OK  ] DietPi-Software | G_AGUP
[ INFO ] DietPi-Software | APT installation for: php7.3-fpm php7.3-apcu php7.3-curl php7.3-gd php7.3-mbstring php7.3-xml php7.3-zip php7.3-mysql php7.3-redis, please wait...
Extracting templates from packages: 100%
(Reading database ... 69855 files and directories currently installed.)
Preparing to unpack .../00-php-common_2%3a69+0~20190303094804.15+stretch~1.gbp0f7465_all.deb ...
Unpacking php-common (2:69+0~20190303094804.15+stretch~1.gbp0f7465) over (1:49) ...
Preparing to unpack .../01-libzip4_1.5.1-4+0~20190318173229.9+stretch~1.gbp333132_armhf.deb ...
Unpacking libzip4:armhf (1.5.1-4+0~20190318173229.9+stretch~1.gbp333132) over (1.1.2-1.1) ...
Preparing to unpack .../02-php7.0-zip_7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff_armhf.deb ...
Unpacking php7.0-zip (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) over (7.0.33-0+deb9u3) ...
Preparing to unpack .../03-php7.0-xml_7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff_armhf.deb ...
Unpacking php7.0-xml (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) over (7.0.33-0+deb9u3) ...
Preparing to unpack .../04-php7.0-readline_7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff_armhf.deb ...
Unpacking php7.0-readline (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) over (7.0.33-0+deb9u3) ...
Preparing to unpack .../05-php7.0-opcache_7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff_armhf.deb ...
Unpacking php7.0-opcache (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) over (7.0.33-0+deb9u3) ...
Preparing to unpack .../06-php7.0-mysql_7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff_armhf.deb ...
Unpacking php7.0-mysql (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) over (7.0.33-0+deb9u3) ...
Preparing to unpack .../07-php7.0-mcrypt_7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff_armhf.deb ...
Unpacking php7.0-mcrypt (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) over (7.0.33-0+deb9u3) ...
Preparing to unpack .../08-php7.0-mbstring_7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff_armhf.deb ...
Unpacking php7.0-mbstring (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) over (7.0.33-0+deb9u3) ...
Preparing to unpack .../09-php7.0-json_7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff_armhf.deb ...
Unpacking php7.0-json (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) over (7.0.33-0+deb9u3) ...
Selecting previously unselected package libicu64:armhf.
Preparing to unpack .../10-libicu64_64.1-0.1+0~20190410090943.5+stretch~1.gbp38f694_armhf.deb ...
Unpacking libicu64:armhf (64.1-0.1+0~20190410090943.5+stretch~1.gbp38f694) ...
Preparing to unpack .../11-php7.0-intl_7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff_armhf.deb ...
Unpacking php7.0-intl (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) over (7.0.33-0+deb9u3) ...
Preparing to unpack .../12-php7.0-gd_7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff_armhf.deb ...
Unpacking php7.0-gd (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) over (7.0.33-0+deb9u3) ...
Preparing to unpack .../13-libpcre3_2%3a8.42-1+0~20190203125157.5+stretch~1.gbp79d75d_armhf.deb ...
Unpacking libpcre3:armhf (2:8.42-1+0~20190203125157.5+stretch~1.gbp79d75d) over (2:8.39-3) ...
Setting up libpcre3:armhf (2:8.42-1+0~20190203125157.5+stretch~1.gbp79d75d) ...
(Reading database ... 69872 files and directories currently installed.)
Preparing to unpack .../00-php7.0-cli_7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff_armhf.deb ...
Unpacking php7.0-cli (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) over (7.0.33-0+deb9u3) ...
Preparing to unpack .../01-php7.0-fpm_7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff_armhf.deb ...
Unpacking php7.0-fpm (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) over (7.0.33-0+deb9u3) ...
Preparing to unpack .../02-php7.0-curl_7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff_armhf.deb ...
Unpacking php7.0-curl (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) over (7.0.33-0+deb9u3) ...
Preparing to unpack .../03-php7.0-common_7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff_armhf.deb ...
Unpacking php7.0-common (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) over (7.0.33-0+deb9u3) ...
Selecting previously unselected package php7.3-common.
Preparing to unpack .../04-php7.3-common_7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7_armhf.deb ...
Unpacking php7.3-common (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...
Selecting previously unselected package php7.3-json.
Preparing to unpack .../05-php7.3-json_7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7_armhf.deb ...
Unpacking php7.3-json (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...
Selecting previously unselected package php7.3-opcache.
Preparing to unpack .../06-php7.3-opcache_7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7_armhf.deb ...
Unpacking php7.3-opcache (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...
Selecting previously unselected package php7.3-readline.
Preparing to unpack .../07-php7.3-readline_7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7_armhf.deb ...
Unpacking php7.3-readline (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...
Selecting previously unselected package libargon2-1:armhf.
Preparing to unpack .../08-libargon2-1_0~20171227-1~20190119054414.2+stretch_armhf.deb ...
Unpacking libargon2-1:armhf (0~20171227-1~20190119054414.2+stretch) ...
Selecting previously unselected package libpcre2-8-0:armhf.
Preparing to unpack .../09-libpcre2-8-0_10.32-4+0~20190202200700.3+stretch~1.gbpd4ef41_armhf.deb ...
Unpacking libpcre2-8-0:armhf (10.32-4+0~20190202200700.3+stretch~1.gbpd4ef41) ...
Selecting previously unselected package libsodium23:armhf.
Preparing to unpack .../10-libsodium23_1.0.17-0.1+0~20190131101845.5+stretch~1.gbp8cf594_armhf.deb ...
Unpacking libsodium23:armhf (1.0.17-0.1+0~20190131101845.5+stretch~1.gbp8cf594) ...
Selecting previously unselected package php7.3-cli.
Preparing to unpack .../11-php7.3-cli_7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7_armhf.deb ...
Unpacking php7.3-cli (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...
Selecting previously unselected package php7.3-fpm.
Preparing to unpack .../12-php7.3-fpm_7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7_armhf.deb ...
Unpacking php7.3-fpm (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...
Setting up php-common (2:69+0~20190303094804.15+stretch~1.gbp0f7465) ...
(Reading database ... 70017 files and directories currently installed.)
Preparing to unpack .../0-php-apcu_5.1.17+4.0.11-1+0~20190217111312.9+stretch~1.gbp192528_armhf.deb ...
find: ‘/etc/php/7.2’: No such file or directory
find: ‘/etc/php/7.1’: No such file or directory
find: ‘/etc/php/5.6’: No such file or directory
WARNING: Module apcu ini file doesn't exist under /etc/php/7.3/mods-available
WARNING: Module apcu ini file doesn't exist under /etc/php/7.3/mods-available
Unpacking php-apcu (5.1.17+4.0.11-1+0~20190217111312.9+stretch~1.gbp192528) over (5.1.8+4.0.11-1) ...
Preparing to unpack .../1-php-redis_4.3.0-1+0~20190606080331.12+stretch~1.gbp0171a6_armhf.deb ...
WARNING: Module redis ini file doesn't exist under /etc/php/7.3/mods-available
WARNING: Module redis ini file doesn't exist under /etc/php/7.3/mods-available
Unpacking php-redis (4.3.0-1+0~20190606080331.12+stretch~1.gbp0171a6) over (3.1.1-1) ...
Selecting previously unselected package php7.3-curl.
Preparing to unpack .../2-php7.3-curl_7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7_armhf.deb ...
Unpacking php7.3-curl (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...
Selecting previously unselected package php7.3-gd.
Preparing to unpack .../3-php7.3-gd_7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7_armhf.deb ...
Unpacking php7.3-gd (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...
Selecting previously unselected package php7.3-mbstring.
Preparing to unpack .../4-php7.3-mbstring_7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7_armhf.deb ...
Unpacking php7.3-mbstring (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...
Selecting previously unselected package php7.3-mysql.
Preparing to unpack .../5-php7.3-mysql_7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7_armhf.deb ...
Unpacking php7.3-mysql (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...
Selecting previously unselected package php7.3-xml.
Preparing to unpack .../6-php7.3-xml_7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7_armhf.deb ...
Unpacking php7.3-xml (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...
Selecting previously unselected package php7.3-zip.
Preparing to unpack .../7-php7.3-zip_7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7_armhf.deb ...
Unpacking php7.3-zip (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...
Setting up php7.3-common (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...

Creating config file /etc/php/7.3/mods-available/calendar.ini with new version

Creating config file /etc/php/7.3/mods-available/ctype.ini with new version

Creating config file /etc/php/7.3/mods-available/exif.ini with new version

Creating config file /etc/php/7.3/mods-available/fileinfo.ini with new version

Creating config file /etc/php/7.3/mods-available/ftp.ini with new version

Creating config file /etc/php/7.3/mods-available/gettext.ini with new version

Creating config file /etc/php/7.3/mods-available/iconv.ini with new version

Creating config file /etc/php/7.3/mods-available/pdo.ini with new version

Creating config file /etc/php/7.3/mods-available/phar.ini with new version

Creating config file /etc/php/7.3/mods-available/posix.ini with new version

Creating config file /etc/php/7.3/mods-available/shmop.ini with new version

Creating config file /etc/php/7.3/mods-available/sockets.ini with new version

Creating config file /etc/php/7.3/mods-available/sysvmsg.ini with new version

Creating config file /etc/php/7.3/mods-available/sysvsem.ini with new version

Creating config file /etc/php/7.3/mods-available/sysvshm.ini with new version

Creating config file /etc/php/7.3/mods-available/tokenizer.ini with new version
Setting up php7.3-curl (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...

Creating config file /etc/php/7.3/mods-available/curl.ini with new version
Setting up libzip4:armhf (1.5.1-4+0~20190318173229.9+stretch~1.gbp333132) ...
Setting up php7.3-opcache (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...

Creating config file /etc/php/7.3/mods-available/opcache.ini with new version
Setting up php7.3-xml (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...

Creating config file /etc/php/7.3/mods-available/dom.ini with new version

Creating config file /etc/php/7.3/mods-available/simplexml.ini with new version

Creating config file /etc/php/7.3/mods-available/wddx.ini with new version

Creating config file /etc/php/7.3/mods-available/xml.ini with new version

Creating config file /etc/php/7.3/mods-available/xmlreader.ini with new version

Creating config file /etc/php/7.3/mods-available/xmlwriter.ini with new version

Creating config file /etc/php/7.3/mods-available/xsl.ini with new version
Setting up libsodium23:armhf (1.0.17-0.1+0~20190131101845.5+stretch~1.gbp8cf594) ...
Setting up php7.3-gd (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...

Creating config file /etc/php/7.3/mods-available/gd.ini with new version
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up php7.3-mysql (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...

Creating config file /etc/php/7.3/mods-available/mysqlnd.ini with new version

Creating config file /etc/php/7.3/mods-available/mysqli.ini with new version

Creating config file /etc/php/7.3/mods-available/pdo_mysql.ini with new version
Processing triggers for systemd (232-25+deb9u11) ...
Setting up php7.3-readline (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...

Creating config file /etc/php/7.3/mods-available/readline.ini with new version
Setting up php7.0-common (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Setting up libargon2-1:armhf (0~20171227-1~20190119054414.2+stretch) ...
Setting up libpcre2-8-0:armhf (10.32-4+0~20190202200700.3+stretch~1.gbpd4ef41) ...
Setting up php7.0-xml (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Setting up libicu64:armhf (64.1-0.1+0~20190410090943.5+stretch~1.gbp38f694) ...
Setting up php7.0-mysql (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Setting up php7.3-zip (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...

Creating config file /etc/php/7.3/mods-available/zip.ini with new version
Setting up php7.3-mbstring (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...

Creating config file /etc/php/7.3/mods-available/mbstring.ini with new version
Setting up php7.0-readline (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Setting up php7.3-json (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...

Creating config file /etc/php/7.3/mods-available/json.ini with new version
Setting up php7.0-opcache (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Setting up php7.0-mbstring (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Setting up php7.0-gd (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Setting up php7.0-mcrypt (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Setting up php7.0-curl (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Setting up php7.0-zip (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Setting up php7.3-cli (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...
update-alternatives: using /usr/bin/php7.3 to provide /usr/bin/php (php) in auto mode
update-alternatives: using /usr/bin/phar7.3 to provide /usr/bin/phar (phar) in auto mode
update-alternatives: using /usr/bin/phar.phar7.3 to provide /usr/bin/phar.phar (phar.phar) in auto mode

Creating config file /etc/php/7.3/cli/php.ini with new version
Setting up php7.0-json (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Setting up php7.3-fpm (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...

Creating config file /etc/php/7.3/fpm/php.ini with new version
Created symlink /etc/systemd/system/multi-user.target.wants/php7.3-fpm.service → /lib/systemd/system/php7.3-fpm.service.Setting up php7.0-intl (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Setting up php-apcu (5.1.17+4.0.11-1+0~20190217111312.9+stretch~1.gbp192528) ...
Setting up php7.0-cli (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Replacing config file /etc/php/7.0/cli/php.ini with new version
Setting up php-redis (4.3.0-1+0~20190606080331.12+stretch~1.gbp0171a6) ...
Setting up php7.0-fpm (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for systemd (232-25+deb9u11) ...
[  OK  ] DietPi-Software | G_AGI php7.3-fpm php7.3-apcu php7.3-curl php7.3-gd php7.3-mbstring php7.3-xml php7.3-zip php7.3-mysql php7.3-redis
[ SUB3 ] DietPi-Services > stop
[  OK  ] DietPi-Services | stop : cron
[  OK  ] DietPi-Services | stop : webmin
[  OK  ] DietPi-Services | stop : noip2
[  OK  ] DietPi-Services | stop : cloudprintd
[  OK  ] DietPi-Services | stop : cups
[  OK  ] DietPi-Services | stop : lighttpd
[  OK  ] DietPi-Services | stop : php7.3-fpm
[  OK  ] DietPi-Services | stop : php7.0-fpm
[  OK  ] DietPi-Services | stop : mariadb
[  OK  ] DietPi-Services | stop : redis-server
[  OK  ] DietPi-Services | stop : smbd
[  OK  ] DietPi-Services | stop : nmbd
[  OK  ] DietPi-Services | stop : avahi-daemon
[ SUB2 ] DietPi-Software > Optimise and configure software
[ INFO ] DietPi-Software | Applying DietPi optimizations and configurations for RPi 3 Model B (armv7l), please wait...

[ SUB2 ] DietPi-Software > Configuring PHP: Hypertext Preprocessor for dynamic web content
[  OK  ] DietPi-Software | Added setting upload_tmp_dir=/var/tmp/php_upload_tmp to end of file /etc/php/7.3/mods-available/dietpi.ini
PHP Warning:  PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/lib/php/20180731/redis.so (/usr/lib/php/20180731/redis.so: undefined symbol: igbinary_serialize), /usr/lib/php/20180731/redis.so.so (/usr/lib/php/20180731/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[  OK  ] DietPi-Software | Added setting upload_max_filesize=2047M to end of file /etc/php/7.3/mods-available/dietpi.ini[  OK  ] DietPi-Software | Added setting post_max_size=2047M to end of file /etc/php/7.3/mods-available/dietpi.ini
[  OK  ] DietPi-Software | Added setting default_charset="UTF-8" to end of file /etc/php/7.3/mods-available/dietpi.ini
[  OK  ] DietPi-Software | Added setting opcache.enable=1 to end of file /etc/php/7.3/mods-available/dietpi.ini
[  OK  ] DietPi-Software | Added setting opcache.memory_consumption=22 to end of file /etc/php/7.3/mods-available/dietpi.ini
[  OK  ] DietPi-Software | Added setting opcache.revalidate_freq=60 to end of file /etc/php/7.3/mods-available/dietpi.ini
[  OK  ] DietPi-Software | Added setting apc.shm_size=22M to end of file /etc/php/7.3/mods-available/dietpi.ini
[  OK  ] DietPi-Software | Added setting apc.ttl=259200 to end of file /etc/php/7.3/mods-available/dietpi.ini
[ INFO ] DietPi-Software | G_THREAD_START_0 | wget https://raw.githubusercontent.com/rlerdorf/opcache-status/master/opcache.php -O /var/www/opcache.php
[ INFO ] DietPi-Software | G_THREAD_START_1 | wget https://github.com/krakjoe/apcu/raw/master/apc.php -O /var/www/apc.php
[ INFO ] DietPi-Software | G_THREAD_WAIT_0 | wget https://raw.githubusercontent.com/rlerdorf/opcache-status/master/opcache.php -O /var/www/opcache.php
[  OK  ] DietPi-Software | G_THREAD: All threads finished
[ SUB2 ] DietPi-Software > Configuring VNC4 Server: desktop for remote connection
[ SUB3 ] DietPi-Services > dietpi_controlled
[  OK  ] DietPi-Services | dietpi_controlled : avahi-daemon
[  OK  ] DietPi-Services | dietpi_controlled : nmbd
[  OK  ] DietPi-Services | dietpi_controlled : smbd
[  OK  ] DietPi-Services | dietpi_controlled : redis-server
[  OK  ] DietPi-Services | dietpi_controlled : mariadb
[  OK  ] DietPi-Services | dietpi_controlled : php7.0-fpm
[  OK  ] DietPi-Services | dietpi_controlled : php7.3-fpm
[  OK  ] DietPi-Services | dietpi_controlled : lighttpd
[  OK  ] DietPi-Services | dietpi_controlled : cups
[  OK  ] DietPi-Services | dietpi_controlled : cloudprintd
[  OK  ] DietPi-Services | dietpi_controlled : noip2
[  OK  ] DietPi-Services | dietpi_controlled : webmin
[  OK  ] DietPi-Services | dietpi_controlled : cron
[ SUB3 ] DietPi-Set_hardware > headless (disable)
[  OK  ] DietPi-Set_hardware | Comment in /DietPi/config.txt converted to setting: #hdmi_ignore_hotplug=0
[  OK  ] DietPi-Set_hardware | Comment in /DietPi/config.txt converted to setting: #hdmi_ignore_composite=0
[  OK  ] DietPi-Set_hardware | Comment in /DietPi/config.txt converted to setting: #hdmi_blanking=0
[  OK  ] headless disable | Completed
[ SUB2 ] DietPi-Software > Installation completed
[ INFO ] DietPi-Patchfile | Not installed, ignoring: php5-*
[ INFO ] DietPi-Patchfile | Install verified: php7.0-*
[ INFO ] DietPi-Patchfile | Not installed, ignoring: php7.1-*
[ INFO ] DietPi-Patchfile | Not installed, ignoring: libapache2-mod-php5
[ INFO ] DietPi-Patchfile | Not installed, ignoring: libapache2-mod-php7.0
[ INFO ] DietPi-Patchfile | Not installed, ignoring: libapache2-mod-php7.1
[ INFO ] DietPi-Patchfile | APT removal for: php7.0-* , please wait...
(Reading database ... 70176 files and directories currently installed.)
Removing php-mcrypt (1:7.0+49) ...
(Reading database ... 70173 files and directories currently installed.)
Preparing to unpack .../php-fpm_2%3a7.3+69+0~20190303094804.15+stretch~1.gbp0f7465_all.deb ...
Unpacking php-fpm (2:7.3+69+0~20190303094804.15+stretch~1.gbp0f7465) over (1:7.0+49) ...
Preparing to unpack .../php-igbinary_3.0.1+2.0.8-1+0~20190503122633.10+stretch~1.gbp63e2f2_armhf.deb ...
WARNING: Module igbinary ini file doesn't exist under /etc/php/7.3/mods-available
WARNING: Module igbinary ini file doesn't exist under /etc/php/7.3/mods-available
Unpacking php-igbinary (3.0.1+2.0.8-1+0~20190503122633.10+stretch~1.gbp63e2f2) over (2.0.1-1) ...
(Reading database ... 70209 files and directories currently installed.)
Removing php7.0-fpm (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Removing php7.0-cli (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
(Reading database ... 70182 files and directories currently installed.)
Preparing to unpack .../php-zip_2%3a7.3+69+0~20190303094804.15+stretch~1.gbp0f7465_all.deb ...
Unpacking php-zip (2:7.3+69+0~20190303094804.15+stretch~1.gbp0f7465) over (1:7.0+49) ...
(Reading database ... 70182 files and directories currently installed.)
Removing php7.0-zip (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
(Reading database ... 70173 files and directories currently installed.)
Preparing to unpack .../php-xml_2%3a7.3+69+0~20190303094804.15+stretch~1.gbp0f7465_all.deb ...
Unpacking php-xml (2:7.3+69+0~20190303094804.15+stretch~1.gbp0f7465) over (1:7.0+49) ...
(Reading database ... 70173 files and directories currently installed.)
Removing php7.0-xml (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
dpkg: php7.0-common: dependency problems, but removing anyway as you requested:
 php7.0-intl depends on php7.0-common (= 7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff).
 php7.0-json depends on php7.0-common (= 7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff).
 php7.0-curl depends on php7.0-common (= 7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff).
 php7.0-mcrypt depends on php7.0-common (= 7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff).
 php7.0-gd depends on php7.0-common (= 7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff).
 php7.0-mbstring depends on php7.0-common (= 7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff).
 php7.0-opcache depends on php7.0-common (= 7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff).
 php7.0-readline depends on php7.0-common (= 7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff).
 php7.0-mysql depends on php7.0-common (= 7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff).

Removing php7.0-common (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
(Reading database ... 70096 files and directories currently installed.)
Preparing to unpack .../php-curl_2%3a7.3+69+0~20190303094804.15+stretch~1.gbp0f7465_all.deb ...
Unpacking php-curl (2:7.3+69+0~20190303094804.15+stretch~1.gbp0f7465) over (1:7.0+49) ...
(Reading database ... 70096 files and directories currently installed.)
Removing php7.0-curl (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
(Reading database ... 70087 files and directories currently installed.)
Preparing to unpack .../php-gd_2%3a7.3+69+0~20190303094804.15+stretch~1.gbp0f7465_all.deb ...
Unpacking php-gd (2:7.3+69+0~20190303094804.15+stretch~1.gbp0f7465) over (1:7.0+49) ...
(Reading database ... 70087 files and directories currently installed.)
Removing php7.0-gd (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Selecting previously unselected package php7.3-intl.
(Reading database ... 70078 files and directories currently installed.)
Preparing to unpack .../php7.3-intl_7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7_armhf.deb ...
Unpacking php7.3-intl (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...
Preparing to unpack .../php-intl_2%3a7.3+69+0~20190303094804.15+stretch~1.gbp0f7465_all.deb ...
Unpacking php-intl (2:7.3+69+0~20190303094804.15+stretch~1.gbp0f7465) over (1:7.0+49) ...
(Reading database ... 70087 files and directories currently installed.)
Removing php7.0-intl (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Removing php7.0-json (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
(Reading database ... 70069 files and directories currently installed.)
Preparing to unpack .../php-mbstring_2%3a7.3+69+0~20190303094804.15+stretch~1.gbp0f7465_all.deb ...
Unpacking php-mbstring (2:7.3+69+0~20190303094804.15+stretch~1.gbp0f7465) over (1:7.0+49) ...
(Reading database ... 70069 files and directories currently installed.)
Removing php7.0-mbstring (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Removing php7.0-mcrypt (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
(Reading database ... 70051 files and directories currently installed.)
Preparing to unpack .../php-mysql_2%3a7.3+69+0~20190303094804.15+stretch~1.gbp0f7465_all.deb ...
Unpacking php-mysql (2:7.3+69+0~20190303094804.15+stretch~1.gbp0f7465) over (1:7.0+49) ...
(Reading database ... 70051 files and directories currently installed.)
Removing php7.0-mysql (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Removing php7.0-opcache (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Removing php7.0-readline (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Setting up php-igbinary (3.0.1+2.0.8-1+0~20190503122633.10+stretch~1.gbp63e2f2) ...
Setting up php-curl (2:7.3+69+0~20190303094804.15+stretch~1.gbp0f7465) ...
Setting up php-zip (2:7.3+69+0~20190303094804.15+stretch~1.gbp0f7465) ...
Setting up php-xml (2:7.3+69+0~20190303094804.15+stretch~1.gbp0f7465) ...
Setting up php-mbstring (2:7.3+69+0~20190303094804.15+stretch~1.gbp0f7465) ...
Setting up php-fpm (2:7.3+69+0~20190303094804.15+stretch~1.gbp0f7465) ...
Setting up php-gd (2:7.3+69+0~20190303094804.15+stretch~1.gbp0f7465) ...
Processing triggers for php7.3-fpm (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...
Setting up php7.3-intl (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...

Creating config file /etc/php/7.3/mods-available/intl.ini with new version
Setting up php-mysql (2:7.3+69+0~20190303094804.15+stretch~1.gbp0f7465) ...
Setting up php-intl (2:7.3+69+0~20190303094804.15+stretch~1.gbp0f7465) ...
(Reading database ... 70020 files and directories currently installed.)
Purging configuration files for php7.0-mysql (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Purging configuration files for php7.0-readline (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Purging configuration files for php7.0-opcache (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Purging configuration files for php7.0-mbstring (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Purging configuration files for php7.0-gd (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Purging configuration files for php7.0-mcrypt (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Purging configuration files for php7.0-curl (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Purging configuration files for php7.0-cli (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
dpkg: warning: while removing php7.0-cli, directory '/etc/php/7.0/cli/conf.d' not empty so not removed
Purging configuration files for php7.0-fpm (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
dpkg: warning: while removing php7.0-fpm, directory '/etc/php/7.0/fpm/conf.d' not empty so not removed
Purging configuration files for php7.0-zip (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Purging configuration files for php7.0-json (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Purging configuration files for php7.0-common (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Purging configuration files for php7.0-xml (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Purging configuration files for php7.0-intl (7.0.33-8+0~20190531121058.14+stretch~1.gbpe7d4ff) ...
Processing triggers for systemd (232-25+deb9u11) ...
Processing triggers for php7.3-fpm (7.3.6-1+0~20190531112735.39+stretch~1.gbp6131b7) ...
[  OK  ] DietPi-Patchfile | G_AGP php5-* php7.0-* php7.1-* libapache2-mod-php5 libapache2-mod-php7.0 libapache2-mod-php7.1
[ INFO ] DietPi-Patchfile | Not installed, ignoring: php7.2-*
[ INFO ] DietPi-Patchfile | Not installed, ignoring: libapache2-mod-php7.2
[ INFO ] DietPi-Patchfile | None of the requested packages are currently installed. Aborting...
[  OK  ] DietPi-Patchfile | G_AGP php7.2-* libapache2-mod-php7.2
[ INFO ] DietPi-Patchfile | APT installation for: php7.3-intl, please wait...
[  OK  ] DietPi-Patchfile | G_AGI php7.3-intl
[ INFO ] DietPi-Update | Patching 6.23.1 to 6.24
[  OK  ] DietPi-Update | Patching to v6.24.1 completed

Indeed Nextcloud update was somehow just skilled. Can you please paste:

grep '$OC_VersionString' /var/www/nextcloud/version.php | sed "s/^.*= '//" | sed 's/\..*$//g'

Okay so to fix this, we need to make the update manually, and install PHP7.2:

apt install php7.2-cli php7.2-mysql php7.2-curl php7.2-gd php7.2-mbstring php7.2-xml php7.2-zip

… and the following steps depend on your Nextcloud version.