Tell us what should happen
system has updated packages and installed php7.4.4
Tell us what happens instead
script ended with many errors
Nextcloud server version: (see your admin page)
18.0.3
Server OS (Ubuntu server is default)
Ubuntu 18.0.4 LTS
How did you install the VM? (Scripted install from master OR Released version)
Script install from your Github Repo
Do you use DHCP?
no
Is port 80 and/or 443 open?
outgoing yes - published over Sophos UTM Web Application Firewall
https://0bin.net/paste/OkiJRdJPveBDGSsZ#wM7y-X88CIuzKNvP82R9F6mTRsLtcW6/nT66GDmE+lx
Insert your nextcloud.log file here
Insert the CLI output here
Yeah, that seems like a fatal error indeed.
Problem is, you shouldn't be using PHP 7.4 and custom configurations are not supported officially. Actually, updating to any other version than PHP 7.2 should be blocked: https://github.com/nextcloud/vm/blob/master/nextcloud_update.sh#L54
Maybe I should add 7.4 there as well.
In any case, please revert to your latest backup and redo the process like this: sudo bash /var/scripts/update.sh
This commit should fix your issue: https://github.com/nextcloud/vm/commit/d72fb49dc23d42a9a4e777fbd1d28f266f075941
Because the installation was still working ...
$ update-alternatives --list php
/usr/bin/php7.2
/usr/bin/php7.4
Apache2 PHP7.4 Module was not activated
switch back to PHP7.2 ...
sudo update-alternatives --set php /usr/bin/php7.2
sudo update-alternatives --set phar /usr/bin/phar7.2
sudo update-alternatives --set phar.phar /usr/bin/phar.phar7.2
sudo update-alternatives --set phpize /usr/bin/phpize7.2
sudo update-alternatives --set php-config /usr/bin/php-config7.2
update script finished successfully
Great news! Thanks for the info.
Please uninstall PHP7.4 if it's not crucial to you.
Most helpful comment
Because the installation was still working ...
$ update-alternatives --list php
/usr/bin/php7.2
/usr/bin/php7.4
Apache2 PHP7.4 Module was not activated
switch back to PHP7.2 ...
sudo update-alternatives --set php /usr/bin/php7.2
sudo update-alternatives --set phar /usr/bin/phar7.2
sudo update-alternatives --set phar.phar /usr/bin/phar.phar7.2
sudo update-alternatives --set phpize /usr/bin/phpize7.2
sudo update-alternatives --set php-config /usr/bin/php-config7.2
update script finished successfully