NotFoundException when sharing private folder/file

Hi, I'm having trouble with Owncloud links not working after upgrading from v8 to v9, I only get internal server error and the logs don't make any sense. Group shares work fine, but sharing from private folder doesn't. Can anyone help?

Steps to reproduce
1. Share file or folder in private folder (not group shares)
2. Open up share link with another user

Expected behaviour
Link should open up

Actual behaviour
Internal server error message

Server configuration
Operating system: Ubuntu 16.04.2
Web server: Apache 2
Database: MySQL
PHP version: 7
ownCloud version (see ownCloud admin page): 9.1.4 (stable)
Updated from an older ownCloud or fresh install: Updated
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):
Mounted iSCSI storage, LDAP Active Directory login bind and group shares
ownCloud log (data/owncloud.log)

Exception: {"Exception":"OCP\\Files\\NotFoundException","Message":"\/407DB21E-04B2-4EC1-94BC-936CF853BB54\/files_trashbin\/files","Code":0,"Trace":"#0 \/var\/www\/owncloud\/apps\/files\/lib\/Controller\/ViewController.php(285): OC\\Files\\Node\\Root->get('\/407DB21E-04B2-...')\n#1 [internal function]: OCA\\Files\\Controller\\ViewController->showFile('1382482')\n#2 \/var\/www\/owncloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(159): call_user_func_array(Array, Array)\n#3 \/var\/www\/owncloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(89): OC\\AppFramework\\Http\\Dispatcher->executeController(Object(OCA\\Files\\Controller\\ViewController), 'showFile')\n#4 \/var\/www\/owncloud\/lib\/private\/AppFramework\/App.php(99): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OCA\\Files\\Controller\\ViewController), 'showFile')\n#5 \/var\/www\/owncloud\/lib\/public\/AppFramework\/App.php(135): OC\\AppFramework\\App::main('ViewController', 'showFile', Object(OC\\AppFramework\\DependencyInjection\\DIContainer))\n#6 \/var\/www\/owncloud\/core\/routes.php(122): OCP\\AppFramework\\App->dispatch('ViewController', 'showFile')\n#7 [internal function]: OC\\Route\\Router->{closure}(Array)\n#8 \/var\/www\/owncloud\/lib\/private\/Route\/Router.php(280): call_user_func(Object(Closure), Array)\n#9 \/var\/www\/owncloud\/lib\/base.php(891): OC\\Route\\Router->match('\/f\/1382482')\n#10 \/var\/www\/owncloud\/index.php(54): OC::handleRequest()\n#11 {main}","File":"\/var\/www\/owncloud\/lib\/private\/Files\/Node\/Root.php","Line":184}

Integrity status for oC9+

Example Domain
This domain is established to be used for illustrative examples in documents. You may use this domain in examples without prior coordination or asking for permission.
More information...

Please report issues happening after an upgrade directly to the developers reachable at https://github.com/owncloud/core/issues