我一直试图在我的服务器上托pipe自己的云,但每次我尝试它告诉我这一点:
Your web server is not yet properly setup to allow files synchronization because the WebDAV interface seems to be broken. Please double check the installation guides.
这是我的设置:
Windows Server 2012 R2 IIS 8.5 PHP 5.5.11 ownCloud 6.0.3 MySQL 5.6.17
我试图谷歌的错误,但我似乎无法find任何有用的东西。
有人说我应该尝试,如果这个工程: https : //cloud.mcsoftworks.net/remote.php/webdav/是的,我可以导航到这个文件夹,我可以从那里打开文件。
日历工作,我也可以从这里上传文件https://cloud.mcsoftworks.net/唯一不似乎工作的是同步客户端。
同步客户端不会说任何它只是不连接(屏幕截图: http : //prntscr.com/3p2apz )
这是错误日志:
Warning core isWebDAVWorking: NO - Reason: [CURL] Error while making request: Could not resolve host: cloud.mcsoftworks.net (error code: 6) (Sabre_DAV_Exception) 2014-06-02T19:56:00+00:00 Warning core isWebDAVWorking: NO - Reason: [CURL] Error while making request: Could not resolve host: cloud.mcsoftworks.net (error code: 6) (Sabre_DAV_Exception) 2014-06-02T19:55:47+00:00 Warning core isWebDAVWorking: NO - Reason: [CURL] Error while making request: Could not resolve host: cloud.mcsoftworks.net (error code: 6) (Sabre_DAV_Exception) 2014-06-02T19:55:34+00:00 Warning core isWebDAVWorking: NO - Reason: [CURL] Error while making request: Could not resolve host: cloud.mcsoftworks.net (error code: 6) (Sabre_DAV_Exception) 2014-06-02T19:55:34+00:00 Fatal webdav Sabre_DAV_Exception_Forbidden: Path does not exist, or escaping from the base path was detected 2014-06-02T19:54:37+00:00 Fatal webdav Sabre_DAV_Exception_Forbidden: Path does not exist, or escaping from the base path was detected 2014-06-02T19:54:36+00:00 Fatal webdav Sabre_DAV_Exception_Forbidden: Path does not exist, or escaping from the base path was detected 2014-06-02T19:54:36+00:00 Fatal webdav Sabre_DAV_Exception_Forbidden: Path does not exist, or escaping from the base path was detected 2014-06-02T19:54:36+00:00 Warning core isWebDAVWorking: NO - Reason: [CURL] Error while making request: Could not resolve host: cloud.mcsoftworks.net (error code: 6) (Sabre_DAV_Exception) 2014-06-02T19:51:24+00:00
这是我的php.ini: http : //pastebin.com/es3MB8Uh
有没有人有任何想法,我应该如何得到这个工作? 我一直试图让这个工作大约14天,现在开始烦我= P
更新:
好,所以今天我在我的电脑上安装了客户端的最新版本,这个客户端返回了一个错误,我想另一个客户端没有显示这个错误,但是错误是:
下载[主机名] /remote.php/webdav/-服务器时出错回复:方法不允许
http://prntscr.com/3p9dx1
日志文件更新:
Fatal webdav Sabre_DAV_Exception_Forbidden: Path does not exist, or escaping from the base path was detected 2014-06-03T13:40:17+00:00 Fatal webdav Sabre_DAV_Exception_Forbidden: Path does not exist, or escaping from the base path was detected 2014-06-03T13:40:17+00:00 Fatal webdav Sabre_DAV_Exception_Forbidden: Path does not exist, or escaping from the base path was detected 2014-06-03T13:40:16+00:00 Fatal webdav Sabre_DAV_Exception_Forbidden: Path does not exist, or escaping from the base path was detected 2014-06-03T13:40:15+00:00 Fatal webdav Sabre_DAV_Exception_Forbidden: Path does not exist, or escaping from the base path was detected 2014-06-03T13:39:28+00:00 Fatal webdav Sabre_DAV_Exception_Forbidden: Path does not exist, or escaping from the base path was detected 2014-06-03T13:39:24+00:00 Fatal webdav Sabre_DAV_Exception_Forbidden: Path does not exist, or escaping from the base path was detected 2014-06-03T13:30:32+00:00 Fatal webdav Sabre_DAV_Exception_Forbidden: Path does not exist, or escaping from the base path was detected 2014-06-03T13:30:31+00:00 Fatal webdav Sabre_DAV_Exception_Forbidden: Path does not exist, or escaping from the base path was detected 2014-06-03T13:30:31+00:00 Warning core isWebDAVWorking: NO - Reason: [CURL] Error while making request: Could not resolve host: cloud.mcsoftworks.net (error code: 6) (Sabre_DAV_Exception) 2014-06-02T20:09:05+00:00 Error PHP Undefined index: accessclass at D:\Websites\MCS-oCloud\apps\calendar\lib\object.php#889 2014-06-02T20:02:16+00:00 Warning core isWebDAVWorking: NO - Reason: [CURL] Error while making request: Could not resolve host: cloud.mcsoftworks.net (error code: 6) (Sabre_DAV_Exception) 2014-06-02T19:56:07+00:00 Warning core isWebDAVWorking: NO - Reason: [CURL] Error while making request: Could not resolve host: cloud.mcsoftworks.net (error code: 6) (Sabre_DAV_Exception) 2014-06-02T19:56:00+00:00 Warning core isWebDAVWorking: NO - Reason: [CURL] Error while making request: Could not resolve host: cloud.mcsoftworks.net (error code: 6) (Sabre_DAV_Exception) 2014-06-02T19:55:47+00:00
这个错误的最可能的原因是你的服务器不能与自己通信。 这可能是因为您的路由器没有NATreflection,所以您的服务器无法在其公共IP上与自己进行通信。 尝试添加一个cloud.mcsoftworks.net指向您的hosts文件(或您的内部DNS,如果有的话) 127.0.0.1 ,以便服务器知道联系自己,而不是在互联网上出去。
或者,这可能是因为您的服务器不允许WebDAV HTTP动词到PHP。 有关确保这些设置设置正确的说明,请参阅个人云端安装指南 。
如OwnCloud论坛中所述,OwnCloud同步客户端也不一定适用于自签名证书。 尝试暂时切换到HTTP,看看是否有效。 (但是,其他人已经得到了自签名authentication,没有问题,并且你收到的错误并不是说这是问题,尽pipe症状是相同的。)
您可能也只是有一个问题,即WebDAV正常工作,但testing失败,从而防止WebDAV工作。 您可以通过将check_for_working_webdav=false添加到config.php文件来绕过pipe理站点中的WebDAVtesting 。
好吧,我发现问题是什么。 在IIS 8.5pipe理器中有一个名为模块的选项卡,如果打开它显示大量模块searchWebDavModule并将其删除。
@Moshe_Katz感谢您的帮助..它指出我在正确的方向。