I’m trying to install owncloud 9.1 on a shared hosting (kreativmedia) but i get the following error:
Error
ownCloud is NOT installed
download of ownCloud source file failed.
SSL: certificate subject name ‘.owncloud.com’ does not match target host > name ‘download.owncloud.org’SSL: certificate subject name ‘.owncloud.com’ > does not match target host name ‘download.owncloud.org’
I’ve tried to change this two option in the setup-owncloud.php file to FALSE
if (Setup::isCertInfoAvailable()){
curl_setopt($ch, CURLOPT_CERTINFO, TRUE);
}
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, TRUE);
but whit the same error.
I’ve tried to download the files via FTP, and to run the installer, it failed whith this error:
Error
ownCloud is NOT installed
The selected folder seems to already contain a ownCloud installation. – You cannot use this script to update existing installations.
I have no admin rights on this server, just a Plesk 12 access. Any idea?
2
Answers
It’s looks like you catch temporary SSL certificate’s issue with download.owncloud.org:
'.owncloud.com' does not match target host > name 'download.owncloud.org'
Now there everything fine with https://download.owncloud.org but it’s forwards to owncloud.org
I have the same problem. I opened the script and I found url https://download.owncloud.org/download/community/owncloud-latest.zip
Tried in web browser and it downloads fine. Also tried without HTTPS.
So open the file setup-owncloud.php go to line 139 (or search for
https://download.owncloud.org/download/community/owncloud-latest.zip
) and replacehttps
withhttp
. Upload modified script to the server and try again.It worked for me.