Steps to reproduce
- Create a public share link
- Access to it by an utility like winscp or Cadaver
List the content
Erreur 405 Method not allowed or Could not open Collection
Operating system: centos 6.9
Web server: Apache 2.2
ownCloud version: (see ownCloud admin page) Latest 9.1
Updated from an older ownCloud or fresh install: Updated
Where did you install ownCloud from:
Signing status (ownCloud 9.0 and above):
Login as admin user into your ownCloud and access http://example.com/index.php/settings/integrity/failed paste the results into https://gist.github.com/ and puth the link here.
The content of config/config.php:
Log in to the web-UI with an administrator account and click on 'admin' -> 'Generate Config Report' -> 'Download ownCloud config report' This report includes the config.php settings, the list of activated apps and other details in a well sanitized form. or If you have access to your command line run e.g.: sudo -u www-data php occ config:list system from within your ownCloud installation folder *ATTENTION:* Do not post your config.php file in public as is. Please use one of the above methods whenever possible. Both, the generated reports from the web-ui and from occ config:list consistently remove sensitive data. You still may want to review the report before sending. If done manually then it is critical for your own privacy to dilligently remove *all* host names, passwords, usernames, salts and other credentials before posting. You should assume that attackers find such information and will use them against your systems.
List of activated apps:
If you have access to your command line run e.g.: sudo -u www-data php occ app:list from within your ownCloud installation folder.
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption: no
I need a script for a windows and a linux machine to copy each night a file in a R/W public share of my Owncloud server. I found that I can easyly script it by using winscp on Windows and cadaver on Linux.
On both clients, the connection does not work : winscp report a 405 error Method not allowed and cadaver on linux say could not open collection 302 found.
In the apache.log, I have :
192.168.1.183 - - [19/Mar/2018:14:24:17 +0100] "OPTIONS /owncloud/index.php/s/qSRvBYgZitg9aYZ HTTP/1.1" 200 16336
192.168.1.183 - - [19/Mar/2018:14:24:17 +0100] "PROPFIND /owncloud/index.php/s/qSRvBYgZitg9aYZ/ HTTP/1.1" 405 -
I precise that :
- the owncloud client is working fine
- the link of the public share is good and accessible from a web server
- AllowOverride is set to all in the httpd.conf
- SeLinux is disabled
If you have an idea ....