Owncloud 10.4.0-1 on Ubuntu 20.04 problem

Error Message “This version of ownCloud is not compatible with PHP 7.4
You are currently running PHP 7.4.3.”
The only thing I could find on the internet was installing an older version of php and making that work side by side with 7.4.3 which I couldn’t get running.

My understanding is 7.3 is highest version supported , don’t quote me

1 Like

You’re right, but in 20.04 php 7.4.3 installs by default. Is the answer to uninstall that then install 7.3 and then “pin” that old version so it won’t upgrade? I’d like to hear how other people solved this problem. My first impulse was to do a fresh install of ubuntu 18.04 and forget about 20.04

Hey,

i have read something similar that ownCloud currently supports PHP up to 7.3. I think you have a few possibilities:

  1. try to figure out how to install and use PHP 7.3 on Ubuntu 20.04
  2. use Ubuntu 19.10 or earlier with PHP 7.2 - 7.3 (AFAIK one of the next ownCloud versions will stop supporting PHP 7.1)
  3. wait for one of the next ownCloud versions supporting PHP 7.4
  4. use a docker container with PHP 7.3
  5. use the ownCloud application / virtual machine

thanks for your answers. The one I liked best was waiting for an owncloud version that supports php 7.4, but how long would I have to wait? I rely on owncloud everyday running on ubuntu 10.04 p4 single core processor server for notes, files on all of my devices so that would leave me stuck using my old server indefinately.

Hey,

i know the following page where the ownCloud team seems to maintain a rough list of expected release dates for the next version. I think we only need to find out which of the upcoming ownCloud versions will support PHP 7.4.

Use the ondrej/php ppa, this will install PHP7.3 alongside PHP7.4.
Use update-alternatives to enable PHP7.3 by default on the CLI and a2dis/enmod to disable PHP7.4 and enable PHP7.3 for mod_php in apache.

2 Likes

FWIK php 7.4 is supported in the upcoming version 10.5.0, which is planned to be rolled out in May
Quote from github:

It’s coming “real soon now” ™ :slight_smile:

For the current status you might want to refer to https://github.com/owncloud/core/issues/36509

2 Likes

I had done this in the beta version of Ubuntu 20.04 and it worked fine.
However somehow this broke with the release and there is currently no PHP 7.3 available through the PPA:

1 Like

Got the same problem yesterday. Even managed to downgrade to 7.3 and then again report that it is not supported. Stopped at php7.2. Alas, there is another problem at the end of installation (already reported by someone - https://central.owncloud.org/t/sqlstate-hy000-2054/26180/3)

How to downgrade - check this link: [https://www.mysterydata.com/how-to-upgrade-php-7-0-to-php-7-1-or-php-7-2-on-ubuntu-vestacp/]

Does anyone know a release date of owncloud 10.5?

Since today the release date was updated to July on https://github.com/owncloud/core/wiki/Maintenance-and-Release-Schedule we can expect a release within the next two weeks.

2 Likes