Error after Upgrade: PHP-Modul cURL not installed

Steps to reproduce

  1. open the owncloud-web-page

Expected behaviour

I want to open my owncloud-start page and hope to see the login form..
I'm running owncloud on an Ubuntu 16.04-Server. Recently I added the owncloud-"Stable"-Repository an upgraded from an (working) onwcloud 9.1.6-Installation to owncloud 10 via apt-get.

Actual behaviour

I get the error messag "PHP-Modul cURL nicht installiert. Bitte frage, für die Installation des Moduls, Deinen Server-Administrator."
In english it means as much as PHP-Module cURL is not installed. Please contact the server-admin for the installation.
My problem is that the module seems to be installed as far as I can see.
php -v gives me PHP v7.1.9 and
apt-get install php-curl says the latest version 7.1-55 is already installed.

Now I'm looking for help.

Server configuration

Operating system:
Ubuntu 16.04

Web server:
Apache2

Database:
MySQL

PHP version:
7.1.9-1+ubuntu16.04

ownCloud version:
should be 10.0.3

Updated from an older ownCloud or fresh install:
Upgrade from 9.1.6

Where did you install ownCloud from:
Repository:
https://download.owncloud.org/download/repositories/stable/owncloud/

Log in to the web-UI is impossible.

Client configuration

Browser:
Firefox
Chromium

Operating system:
Ubuntu 16.04

The module might be installed but not enabled?

run php -m an see if it is there

to enable a module try phpenmod curl

Thank's for you reply @DeepDiver1975. php -m gives me:

[PHP Modules]
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gettext
hash
iconv
json
libxml
openssl
pcntl
pcre
PDO
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zlib

[Zend Modules]
Zend OPcache

So it looks like the module is there.

are you by accident having php7 and php5.6 installed and apache and cli are running on different versions?

you might also want to try a reboot of apache

Yes, that might have been part of the problem.
I removed all php5.6 packages (which where indeed still installed) and now owncloud is starting again and I'm able to login.
Thank you!

1 Like