I recently upgraded Ubuntu 16.04 with a working Owncloud version 10.0.9.5
all went well with the Ubuntu upgrade but Owncloud failed to operate with a notification on the web-browser that PHP cURL was not installed.
My other Apache2 applications were all operating correctly though.
I am not aware of any owncloud ppa for the installation or upgrade of Owncloud .
after some research, I discovered that I needed Owncloud on version 10.0.10 to accommodate the php7.2 that the Ubuntu upgrade installed. I downloaded Owncloud from the website.
I located the manual owncloud upgrade at https://doc.owncloud.org/server/latest/admin_manual/maintenance/manual_upgrade.html
I used the power user upgrade procedure.
This procedure failed to upgrade my system to a working version of Owncloud. (thank goodness I backed everything up)
I then discovered that in the upgrade of Ubuntu, that PHP-pgsql was not installed (I had previously converted database to PostgreSQL)
I tried again (actually there were several attempts before I got it right) and the upgrade appeared to work, but still failed with the no curl notice on the web-browser.
after many more searches on the web, I found the missing command that fixed the problem. The problem was that both php7.0 and php7.2 were installed side by side which is apparently legal. (in my situation there were no other versions of php installed)
I did install other php software as I though maybe the nextcloud installed phps might fix my problem. So I dont know if any of those were required to fix my problem but I doubt it
in any case I found the following suggestion from:
Michaelng on next-cloud suggested to someone else
" I guess you installed PHP7.2 after using PHP7.0? As different PHP versions can be installed beside each other, did you assure that Apache uses 7.2? E.g.: a2dismod php7.0 a2enmod php7.2"
So I disabled php7.0 and everything seems to operate correctly now. (php7.2 was already enabled at least due to my many failed attempts to fix the problem)
I would suggest someone upgrade the upgrade instructions to on the website for the manual upgrade of an existing Owncloud system to include notes to
- if using postgres to ensure the php-pgsql is installed.
- if multiple php version were installed use the a2dismod to disable the older versions of php and a2enmod to enable the php7.2 version.
hopefully these notes may also help someone else.