07 September 2014

owncloud - isWebDAVWorking: NO - Reason: Method not allowed (Sabre_DAV_Exception_MethodNotAllowed)

While installing both the 6.0.5 and 7.0.2 version of the owncloud app, I receive the following error:
isWebDAVWorking: NO - Reason: Method not allowed (Sabre_DAV_Exception_MethodNotAllowed)
The fix is simple. It seems that webdav needs to be able to contact itself. So in case you're behind a NAT like I am, you need to add a record to your /etc/hosts file (linux) or c:\windows\system32\drivers\etc\hosts (windows) pointing to your webserver IP. In my case, the line is:
127.0.0.1 cloud.local

No comments:

Post a Comment