running Nextcloud 10.0 stable on Ubuntu 16.04 LTS with PHP7 modules, everything working well so far.
When i upload through clients i get an error saying:
Exception: {“Message”:“Requested uri (/nextcloud//remote.php/webdav/Rechnungen/R16002-14.10.2016-.pdf) is out of base uri (/nextcloud//remote.php/webdav/)”,“Exception”:“LogicException”,“Code”:0,“Trace”:"#0 /var/www/nextcloud/apps/dav/lib/Connector/Sabre/LockPlugin.php(60): Sabre\HTTP\Request->getPath()\n#1 [internal function]: OCA\DAV\Connector\Sabre\LockPlugin->getLock(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#2 /var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#3 /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(446): Sabre\Event\EventEmitter->emit(‘beforeMethod’, Array)\n#4 /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(248): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#5 /var/www/nextcloud/apps/dav/appinfo/v1/webdav.php(60): Sabre\DAV\Server->exec()\n#6 /var/www/nextcloud/remote.php(165): require_once(’/var/www/nextcl…’)\n#7 {main}",“File”:"/var/www/nextcloud/3rdparty/sabre/http/lib/Request.php",“Line”:214,“User”:“User01”}
Note: The Logging shows that User01 logged in successfully just before the error occurs!
Did you setup redis as filelocking cache? Not sure if file-locking is creating this error (LockPlugin->getLock(Object(Sabre\HTTP\Request)). With redis you normally have a better performance, so I would try this.
I successfully installed redis on the server, working just fine with no errors. That uploading error from post #1 still occurs though… Any idea anyone?
You seem to have two slashes in your URL, /nextcloud//remote.php/webdav/, can you check your configuration files if you added somewhere two slashes by accident? Could also be within rewrite rules if you use some.
No, i did not add two slashes in my configuration files by accident, I still have the same problem. What kind of possible reasons do you think are possible?
edit: Jep, two backslashes was the problem, the URL needed to be like server/nextcloud instead of server/nextcloud/ on client settings