Ok, thanks. In the end I found some sort of solution:
If you get this very general cURL 35 error, you have to get more information on what is wrong. If the software that uses cURL is not yours you have to search where the programmer set the options for running cURL to turn on verbosity.
To find this, I searched the owncloud code for the curl_setop command using grep:
grep -r curl_setop *
Then I got around 20 entries. As I knew the problem was somewhere with the updater I looked at this file:
Here the curl options are defined using PHP function curl_setopt_array($handle, $options);
So I needed to add the verbosity option to the $options array, So before the code calls curl_setopt_array($handle, $options); I added a new option for the options array:
$options[CURLOPT_VERBOSE] = true;
I saved the file and ran the updater again. Now you should see your specific cURL error. Either directly on your screen or in the error log of the web server.
In my case I saw the following error:
Web executor is not allowed to run from a host
By googling the web I found that somehow I needed to allow my own host in the file:
There was a line:
$allowedHosts = [’::1’, ‘127.0.0.1’, ‘localhost’];
and I added my servers IP to the list:
`$allowedHosts = [’::1’, ‘127.0.0.1’, ‘localhost’, ];
Then I saved the file and now the updater works.