Hello everyone,
I receive this error whenever I delete a file within my external storage folder (Dropbox) from the ownCloud desktop client directory. This error does not occur if I delete files from other folders within the ownCloud desktop client. I can also login to the ownCloud web interface and delete the file in the external storage folder with no problems. Would anyone know how I could fix this issue?
Expected behaviour
When I delete a file within the ownCloud desktop client directory it should delete
Actual behaviour
It does not delete
Steps to reproduce
- Copied file to external storage folder located within the ownCloud desktop client directory
- Deleted said file
- ownCloud desktop client does not delete and reports error: "403 Forbidden to DELETE…"
Server configuration
Operating system: Ubuntu 18.04; Kernel: 4.15.0-29-generic
Web server: Apache/2.4.29 (Ubuntu)
Database: maria-db 1:10.1.29-6
PHP version: PHP 7.2.7-0ubuntu0.18.04.2
ownCloud version: ownCloud 10.0.8.5
Storage backend (external storage): Dropbox
Client configuration
Client version: Version 2.4.2 (build 10200)
Operating system: macOS High Sierra Version 10.13.5
OS language: English
Client package (From ownCloud or distro) (Linux only): External Storage: Dropbox 1.0.1
Installation path of client: Macintosh HDD/Applications/owncloud
Logs
This is the only thing that showed up after deleting external storage file from within the ownCloud desktop client in: /var/log/apache2/error.log:
[Wed Jul 25 19:00:36.562249 2018] [autoindex:error] [pid 2799] [client "myip:myport"] AH01276: Cannot serve directory /var/www/owncloud/core/doc/user/_static/: No matching DirectoryIndex (index.php,index.html) found, and server-generated directory index forbidden by Options directive, referer: https://"myurl".net/core/doc/user/index.html
This showed up in /var/oc_data/owncloud.log…but I see many of these type of: base.php#596" errors!
{"reqId":"eb7bda41-2500-4061-b8f8-61960acbf4b4","level":3,"time":"2018-07-25T15:34:43-04:00","remoteAddr":"myip","user":"--","app":"PHP","method":"PUT","url":"\/remote.php\/dav\/files\/me\/Dropbox\/20130322_163421_001.jpg","message":"ini_set(): A session is active. You cannot change the session module's ini settings at this time at \/var\/www\/owncloud\/lib\/base.php#596"}
Here’s my apache owncloud.conf:
<VirtualHost *:80>
ServerName myurl.net
Redirect permanent / https://myurl.net
</VirtualHost>
<VirtualHost _default_:443>
ServerName myurl.net
DocumentRoot "/var/www/owncloud"
Alias / "/var/www/owncloud/"
<Directory /var/www/owncloud/>
Options +FollowSymlinks
AllowOverride All
<IfModule mod_dav.c>
Dav off
</IfModule>
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
</Directory>
SSLEngine On
SSLProtocol all -SSLv2 -SSLv3
SSLHonorCipherOrder On
SSLCipherSuite "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aRSA+RC4 EECDH EDH+aRSA RC4 !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS"
SSLCertificateFile /etc/ssl/certs/myurl_net.crt
SSLCertificateKeyFile /etc/ssl/private/myurl_net.key
SSLCACertificateFile /etc/ssl/certs/myurl_net.ca-bundle
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"
</IfModule>
</VirtualHost>