Steps to reproduce
- Share a file and set a password
- Go to link, enter password
Expected behaviour
The file should be visible to download
Actual behaviour
Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times and include the technical details below in your report.
More details can be found in the server log.
Technical details
Remote Address: 192.168.XXX.YYY
Request ID: 726YmuJNkoEju1h6x3Et
Server configuration
Operating system: Ubuntu 18.04.5
Web server: ?
Database: ?
PHP version: 7.2
ownCloud version: 10.6.0
Updated from an older ownCloud or fresh install: Updated from 10.4.0 because of this issue, to try fix it.
Where did you install ownCloud from: Ubuntu
Signing status (ownCloud 9.0 and above):
Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results into https://gist.github.com/ and puth the link here.
No errors have been found.
The content of config/config.php:
Access Forbidden
Log in to the web-UI with an administrator account and click on
'admin' -> 'Generate Config Report' -> 'Download ownCloud config report'
This report includes the config.php settings, the list of activated apps
and other details in a well sanitized form.
Save this, where do I attach?
### Client configuration
**Browser:** Chrome/Firefox/Edge
**Operating system:** Windows/Centos/MacOS
#### ownCloud log (data/owncloud.log)
{"reqId":"dCYkiyxKDVUEr6DdLzXP","level":3,"time":"2021-02-26T07:41:17+00:00",
"remoteAddr":"192.168.254.14",
"user":"--",
"app":"index",
"method":"GET",
"url":"\/s\/Di6PSomybRnXFmh",
"message":"Exception: {\"Exception\":\"Error\",\"Message\":\"Call to a member function getOwner() on null\",\"Code\":0,\"Trace\":\"#0
/var/www/html/apps-external/admin_audit/helper.php(61): OC\Files\Filesystem::getOwner('/dbirkinshaw/fi...')\\n#1
/var/www/html/apps-external/admin_audit/handlers/sharing.php(374): OCA\Admin_Audit\Helper::getOwner('/dbirkinshaw/fi...')\\n#2
/var/www/html/lib/private/legacy/hook.php(103): OCA\Admin_Audit\Handlers\Sharing::share_link_access(Array)\\n#3
/var/www/html/apps/files_sharing/lib/Controllers/ShareController.php(237): OC_Hook::emit('OCP\\Share', 'share_link_acce...', Array)\\n#4
/var/www/html/apps/files_sharing/lib/Controllers/ShareController.php(389): OCA\Files_Sharing\Controllers\ShareController->emitAccessShareHook(Object(OC\Share20\Share))\\n#5
/var/www/html/lib/private/AppFramework/Http/Dispatcher.php(153): OCA\Files_Sharing\Controllers\ShareController->showShare('Di6PSomybRnXFmh', '')\\n#6
/var/www/html/lib/private/AppFramework/Http/Dispatcher.php(85): OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\Files_Sharing\Controllers\ShareController), 'showShare')\\n#7
/var/www/html/lib/private/AppFramework/App.php(100): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Files_Sharing\Controllers\ShareController), 'showShare')\\n#8
/var/www/html/lib/public/AppFramework/App.php(132): OC\AppFramework\App::main('ShareController', 'showShare', Object(OC\AppFramework\DependencyInjection\DIContainer))\\n#9
/var/www/html/core/routes.php(105): OCP\AppFramework\App->dispatch('ShareController', 'showShare')\\n#10
/var/www/html/lib/private/Route/Router.php(342): OC\Route\Router::{closure}(Array)\\n#11
/var/www/html/lib/base.php(920): OC\Route\Router->match('/s/Di6PSomybRnX...')\\n#12
/var/www/html/index.php(54): OC::handleRequest()\\n#13 {main}\",\"File\":\"/var/www/html/lib/private/Files/Filesystem.php\",\"Line\":1072}"}