Permission error when uploading from ios


#1


Steps to reproduce

  1. settings (file size etc.) are correctly set with the web interface or desktop application
    2.Try to upload anything or even make a new text file from the ios application
    3.through web interface or desktop application (OSX), uploading is not a problem

Expected behaviour

Files get uploaded

Actual behaviour

Independent on the directory I choose, I get "a "no permission" error (german: Berechtigungsfehler)

Server configuration

Web server:
From my provider - no admin rights on it.

Database:
mySQL

PHP version:
From my provider

ownCloud version:
8.2 I guess (where can I see this?)

Storage backend (external storage):

Client

iOS version:

ownCloud app version:

Device model:

Logs

Web server error log

Not available```

#### ownCloud log (data/owncloud.log)

{"reqId":"WbEtZn8AAAIAAHXQglQAAAAg","remoteAddr":"62.23.117.21","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\/1.1 404 File with name InstantUpload\\/Photo-2017-08-24-21-22-59_1719.JPG could not be located\",\"Exception\":\"Sabre\\DAV\\Exception\\NotFound\",\"Code\":0,\"Trace\":\"#0 \\/home\\/www\\/web453\\/html\\/zcloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(920): OC\\Connector\\Sabre\\ObjectTree->getNodeForPath('InstantUpload\\/P...')\n#1 \\/home\\/www\\/web453\\/html\\/zcloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/CorePlugin.php(327): Sabre\\DAV\\Server->getPropertiesForPath('InstantUpload\\/P...', Array, 0)\n#2 [internal function]: Sabre\\DAV\\CorePlugin->httpPropfind(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#3 \\/home\\/www\\/web453\\/html\\/zcloud\\/3rdparty\\/sabre\\/event\\/lib\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#4 \\/home\\/www\\/web453\\/html\\/zcloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(469): Sabre\\Event\\EventEmitter->emit('method:PROPFIND', Array)\n#5 \\/home\\/www\\/web453\\/html\\/zcloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#6 \\/home\\/www\\/web453\\/html\\/zcloud\\/apps\\/files\\/appinfo\\/remote.php(56): Sabre\\DAV\\Server->exec()\n#7 \\/home\\/www\\/web453\\/html\\/zcloud\\/remote.php(149): require_once('\\/home\\/www\\/web45...')\n#8 {main}\",\"File\":\"\\/home\\/www\\/web453\\/html\\/zcloud\\/lib\\/private\\/connector\\/sabre\\/objecttree.php\",\"Line\":159}","level":0,"time":"2017-09-07T11:28:38+00:00","method":"PROPFIND","url":"\/zcloud\/remote.php\/webdav\/InstantUpload\/Photo-2017-08-24-21-22-59_1719.JPG"}
{"reqId":"WbEti38AAAIAAALhTP0AAAAG","remoteAddr":"185.46.214.75","app":"core","message":"Generating preview for \"\/InstantUpload\/IMG_1411.jpg\" with \"OC\Preview\JPEG\"","level":0,"time":"2017-09-07T11:29:15+00:00","method":"GET","url":"\/zcloud\/index.php\/core\/preview.png?file=%2FInstantUpload%2FIMG_1411.jpg&c=2bebc019eb0a69f989edfee345a8e03c&x=32&y=32&forceIcon=0"}
{"reqId":"WbEti38AAAIAAALhTP0AAAAG","remoteAddr":"185.46.214.75","app":"core","message":"OC_Image->fixOrientation() Orientation: 1","level":0,"time":"2017-09-07T11:29:15+00:00","method":"GET","url":"\/zcloud\/index.php\/core\/preview.png?file=%2FInstantUpload%2FIMG_1411.jpg&c=2bebc019eb0a69f989edfee345a8e03c&x=32&y=32&forceIcon=0"}
{"reqId":"WbEu538AAAIAAApUuRYAAAAF","remoteAddr":"62.23.117.21","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\/1.1 404 File with name InstantUpload\\/Neue Textdatei.txt could not be located\",\"Exception\":\"Sabre\\DAV\\Exception\\NotFound\",\"Code\":0,\"Trace\":\"#0 \\/home\\/www\\/web453\\/html\\/zcloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(920): OC\\Connector\\Sabre\\ObjectTree->getNodeForPath('InstantUpload\\/N...')\n#1 \\/home\\/www\\/web453\\/html\\/zcloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/CorePlugin.php(327): Sabre\\DAV\\Server->getPropertiesForPath('InstantUpload\\/N...', Array, 0)\n#2 [internal function]: Sabre\\DAV\\CorePlugin->httpPropfind(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#3 \\/home\\/www\\/web453\\/html\\/zcloud\\/3rdparty\\/sabre\\/event\\/lib\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#4 \\/home\\/www\\/web453\\/html\\/zcloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(469): Sabre\\Event\\EventEmitter->emit('method:PROPFIND', Array)\n#5 \\/home\\/www\\/web453\\/html\\/zcloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#6 \\/home\\/www\\/web453\\/html\\/zcloud\\/apps\\/files\\/appinfo\\/remote.php(56): Sabre\\DAV\\Server->exec()\n#7 \\/home\\/www\\/web453\\/html\\/zcloud\\/remote.php(149): require_once('\\/home\\/www\\/web45...')\n#8 {main}\",\"File\":\"\\/home\\/www\\/web453\\/html\\/zcloud\\/lib\\/private\\/connector\\/sabre\\/objecttree.php\",\"Line\":159}","level":0,"time":"2017-09-07T11:35:03+00:00","method":"PROPFIND","url":"\/zcloud\/remote.php\/webdav\/InstantUpload\/Neue%20Textdatei.txt"}
{"reqId":"WbEu6H8AAAIAAAL5dG0AAAAY","remoteAddr":"62.23.117.21","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\/1.1 404 File with name InstantUpload\\/Neue Textdatei.txt could not be located\",\"Exception\":\"Sabre\\DAV\\Exception\\NotFound\",\"Code\":0,\"Trace\":\"#0 \\/home\\/www\\/web453\\/html\\/zcloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(920): OC\\Connector\\Sabre\\ObjectTree->getNodeForPath('InstantUpload\\/N...')\n#1 \\/home\\/www\\/web453\\/html\\/zcloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/CorePlugin.php(327): Sabre\\DAV\\Server->getPropertiesForPath('InstantUpload\\/N...', Array, 0)\n#2 [internal function]: Sabre\\DAV\\CorePlugin->httpPropfind(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#3 \\/home\\/www\\/web453\\/html\\/zcloud\\/3rdparty\\/sabre\\/event\\/lib\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#4 \\/home\\/www\\/web453\\/html\\/zcloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(469): Sabre\\Event\\EventEmitter->emit('method:PROPFIND', Array)\n#5 \\/home\\/www\\/web453\\/html\\/zcloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#6 \\/home\\/www\\/web453\\/html\\/zcloud\\/apps\\/files\\/appinfo\\/remote.php(56): Sabre\\DAV\\Server->exec()\n#7 \\/home\\/www\\/web453\\/html\\/zcloud\\/remote.php(149): require_once('\\/home\\/www\\/web45...')\n#8 {main}\",\"File\":\"\\/home\\/www\\/web453\\/html\\/zcloud\\/lib\\/private\\/connector\\/sabre\\/objecttree.php\",\"Line\":159}","level":0,"time":"2017-09-07T11:35:04+00:00","method":"PROPFIND","url":"\/zcloud\/remote.php\/webdav\/InstantUpload\/Neue%20Textdatei.txt"}
{"reqId":"WbEwRH8AAAIAABmM5pEAAAAQ","remoteAddr":"185.46.214.75","app":"DeleteOrphanedSharesJob","message":"0 orphaned share(s) deleted","level":0,"time":"2017-09-07T11:40:53+00:00","method":"GET","url":"\/zcloud\/cron.php"}

`

Tell us what could be improved:

I have seen similar issues, but none of them solved or directed to a "common guide" to new guys to owncloud like myself.


#2

Anyone any idea / info / experience? I can't figure out why this is not working


#3

You can get this info either via your config/config.php or your admin backend. If you're running 8.2 you should upgrade ASAP to a supported version listed here: https://owncloud.org/changelog/


#4

started getting same thing post upgrade

says i dont have permission to upload to this folder
i switched authorization to oauth2 after i got first error from basic auth


#5

i see what happend to me (my fault )

prior to upgrade i mv data to data and created an extra data folder inside data folder .

suprise my upgrade worked .

i corrected the data/users folder and all good now — phew