为什么 ownCloud 9.0.1 在共享主机上安装失败?

Why does ownCloud 9.0.1 install on shared hosting fails?

我正在尝试在共享主机 (kreativmedia) 上安装 owncloud 9.1,但出现以下错误:

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'

我已经尝试将 setup-owncloud.php 文件中的这两个选项更改为 FALSE

    if (Setup::isCertInfoAvailable()){
        curl_setopt($ch, CURLOPT_CERTINFO, TRUE);
    }
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, TRUE);

但出现同样的错误。

我尝试通过 FTP 下载文件,然后 运行 安装程序,但失败并出现以下错误:

Error ownCloud is NOT installed The selected folder seems to already contain a ownCloud installation. - You cannot use this script to update existing installations.

我没有此服务器的管理员权限,只有 Plesk 12 访问权限。有什么想法吗?

您似乎发现临时 SSL 证书的问题 download.owncloud.org:

'.owncloud.com' does not match target host > name 'download.owncloud.org'

现在 https://download.owncloud.org 一切正常,但它转发到 owncloud.org

我也遇到了同样的问题。我打开脚本,发现 url https://download.owncloud.org/download/community/owncloud-latest.zip 在网络浏览器中试过,它下载正常。也尝试过不使用 HTTPS。

因此打开文件 setup-owncloud.php 转到第 139 行(或搜索 https://download.owncloud.org/download/community/owncloud-latest.zip)并将 https 替换为 http。将修改后的脚本上传到服务器,然后重试。

它对我有用。