Error deleting file "filename"


#1

Please help us by providing the following info. Before posting please also check the pinned "Known issues" threads and make sure that you're running the latest available version for your oC release: https://owncloud.org/changelog/

Steps to reproduce
1. Open the folder
2. Select image
3. Click on delte button

Expected behaviour
Image should delete after pressing on delete button

Actual behaviour
Error deleting file "filename"

Server configuration
Operating system: Ubuntu
Web server: cloud.digitalocean
Database:
PHP version:
ownCloud version (see ownCloud admin page): 9.0.3.2
Updated from an older ownCloud or fresh install:
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):

ownCloud log (data/owncloud.log)

Please paste possible errors in the following code block, see https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808 for more info

{"reqId":"cF5JPAOUF2H9r9LpH2eh","remoteAddr":"49.207.61.147","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 403 Forbidden\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\Forbidden\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Tree.php(179): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->delete()\\n#1 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(285): Sabre\\\\DAV\\\\Tree->delete('Projects\\\/Vodafo...')\\n#2 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpDelete(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#3 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#4 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(459): Sabre\\\\Event\\\\EventEmitter->emit('method:DELETE', Array)\\n#5 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#6 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(55): Sabre\\\\DAV\\\\Server->exec()\\n#7 \\\/var\\\/www\\\/owncloud\\\/remote.php(138): require_once('\\\/var\\\/www\\\/ownclo...')\\n#8 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/connector\\\/sabre\\\/file.php\",\"Line\":335,\"User\":\"admin\"}","level":0,"time":"2017-04-20T12:06:37+00:00","method":"DELETE","url":"\/remote.php\/webdav\/Projects\/Vodafone\/D2C\/D2C%20Project\/April%20-%202017\/6th%20to%209th%20April\/Swathi\/Pallavi%20Sharma\/Pallavi-5.png","user":"admin"}
{"reqId":"4MXRYaVuqemrFL0GH3Yp","remoteAddr":"49.207.61.147","app":"core","message":"Generating preview for \"\/Projects\/Vodafone\/D2C\/D2C Project\/April - 2017\/6th to 9th April\/Swathi\/Pallavi Sharma\/Pallavi-5.png\" with \"OC\\Preview\\PNG\"","level":0,"time":"2017-04-20T12:06:37+00:00","method":"GET","url":"\/index.php\/core\/preview.png?file=%2FProjects%2FVodafone%2FD2C%2FD2C+Project%2FApril+-+2017%2F6th+to+9th+April%2FSwathi%2FPallavi+Sharma%2FPallavi-5.png&c=5ab4d798360eb1ce0d1d18f1e33bae62&x=32&y=32&forceIcon=0","user":"admin"}
{"reqId":"4MXRYaVuqemrFL0GH3Yp","remoteAddr":"49.207.61.147","app":"core","message":"OC_Image->fixOrientation() Image is not a JPEG.","level":0,"time":"2017-04-20T12:06:37+00:00","method":"GET","url":"\/index.php\/core\/preview.png?file=%2FProjects%2FVodafone%2FD2C%2FD2C+Project%2FApril+-+2017%2F6th+to+9th+April%2FSwathi%2FPallavi+Sharma%2FPallavi-5.png&c=5ab4d798360eb1ce0d1d18f1e33bae62&x=32&y=32&forceIcon=0","user":"admin"}
{"reqId":"4MXRYaVuqemrFL0GH3Yp","remoteAddr":"49.207.61.147","app":"core","message":"OC_Image->fixOrientation() Orientation: -1","level":0,"time":"2017-04-20T12:06:37+00:00","method":"GET","url":"\/index.php\/core\/preview.png?file=%2FProjects%2FVodafone%2FD2C%2FD2C+Project%2FApril+-+2017%2F6th+to+9th+April%2FSwathi%2FPallavi+Sharma%2FPallavi-5.png&c=5ab4d798360eb1ce0d1d18f1e33bae62&x=32&y=32&forceIcon=0","user":"admin"}

Integrity status for oC9+

Error deleting file "filename"

#2

From the issue template you have filled out:

Before posting please make sure that you're running the latest available version for your oC release: https://owncloud.org/changelog/

9.0.3 is far from being recent (There is 9.0.9 for the 9.0.x branch or 9.1.5 for the 9.1.x branch). Please avoid posting issues with such outdated versions like 9.0.3 and always update to a recent version first.

This avoids that you're reporting issues which might be already fixed in newer available versions.


#3

Sorry dear, but now upgraded.
Now can you please update the solution.


#4

What solution should be updated?


#5

Use following procedure.

https://doc.owncloud.org/server/9.1/admin_manual/maintenance/upgrade.html#reverse-upgrade


#6

Hi, I have the same issue, can anybody help please.


#7

Below a solution was presented, did you follow the steps?