Php help issue after updating ubuntu server

So you don’t have this error if the last is from the 3rd of April ?

1 Like

When I go to my cloud on the web I get this

This version of Nextcloud is not compatible with > PHP 7.3.
You are currently running 7.4.3.

Does this answer you question?

Ahaha ! I’m not the only one who get trolled by this. Why you didn’t tell it before ?

You are using v18 or v17 ?
Did you disabled all apache2 php 7.3 modules ?

1 Like

Nextcloud version
And yes I did, apache2 would not start with the PHP 7.3 mods enabled

if i run a2enmod php7.3 && systemctl reload apache2 I get ```Job for apache2.service failed because the control process exited with error code.

See “systemctl status apache2.service” and “journalctl -xe” for details.```

Excuse me i misread.
V17 won’t work with php 7.4.
V18 yes.
So You have the choice :
Install nextcloud 18 or
Remove php 7.4 and tell us logs about your problems with apache2 / php7.3

Type in your console
journalctl -xe
you will get clues

1 Like

How do I install php 7.3?

Exemple :
When someone tell you :
sudo apt install php-curl

You have to write it like this to be sure :
sudo apt install php7.3-curl

Redo your installation with this in mind

1 Like

Ok I will try this

Building dependency tree       
Reading state information... Done
Package php7.3-curl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'php7.3-curl' has no installation candidate

I get this for eveything i try to install with php7.3

You are on Ubuntu 20.04 ?

1 Like

Yes Ubuntu 20.04 LTS (GNU/Linux 5.4.0-29-generic x86_64)

This ubuntu is bundled with php 7.4 by default you can’t install php7.3 by just apt install you have to install a non official repo for this.

Search for install php7.3 ubuntu 20.04

1 Like

How do I update from CLI?

You can’t because you don’t have php7.3 the upgrade process can’t be lunched

1 Like

So what can I do?

Reinstall on Debian 10 or similar.

Or pay someone to manage nextcloud for you.

Or upgrade to v18.


Follow a how to install php7.3 on ubuntu 20.04
Then migrate then uninstall 7.3

1 Like