How do I tell what version of owncloud is runnig / need to upgrade

Hi. ime looking at a server that has been upgraded to Ubuntu 20.04 and ownCloud needs upgrading. I am getting an error

This version of ownCloud is not compatible with PHP 7.4
You are currently running PHP 7.4.3.

So I need to upgrade OC but can’t work out what version of OC is on the server. So how do I work this out? The next question will be what is the best way to upgrade but one thing at once ;).

occ -V

Or, if you don‘t have the helper script described in our docs

Cd /var/www/ownCloud

Sudo -u www-data php occ -V

Or you can go in to the admin settings, general, and scroll down to the bottom of the page

If your ownCloud is not running at all you may open the file version.php in your installation directory, the variable $OC_VersionString contains your version.


$OC_VersionString = ‘10.4.0’;

So it’s 10.4 which is great as I can do a manual upgrade to latest version.


1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.