Segfault when upgrading from @ijurisic 's NC 21

Helloo,

I just upgraded to nextcloud-server 21 from @ijurisic 's debian repo, and I am in trouble right now:

[root@awak:~]$ aptitude
Performing actions...
Lecture des fichiers de modifications (« changelog »)... Terminé
(Lecture de la base de données... 109851 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../nextcloud-server_21.0.0-1~deb10_all.deb ...
Dépaquetage de nextcloud-server (21.0.0-1~deb10) sur (20.0.8-1~deb10) ...
Paramétrage de nextcloud-server (21.0.0-1~deb10) ...
Installation de la nouvelle version du fichier de configuration /var/www/nextcloud/.htaccess ...
Conf nextcloud already enabled
Segmentation fault
Segmentation fault
Got unexpect answer, occ status can't to read satus of nextcloud. Check php installation.
Press Return to continue, 'q' followed by Return to quit.

Now when I run occ --help by hand it quickly grows to 40GB using 100% CPU and segfaults because of OOM.

Does anyone have a hint to quickly resolve this ?

For now I have downgraded back to 20.0.8 and it works well. But I’m wary of trying an upgrade again, if someone knows what’s the problem is I’d be glad to learn how to workaround it.

Check this article Unable to run occ on command line - PHP fatal error memory exhausted in autoreload_real.php