On a Nextcloud server with server-side encrpytion files that are shared with its users don't show up anymore.
The shared files should be shown - or - a message telling that there are no files.
The content area of the "shared with you" view is blank: No files are displayed and no message appears that there are no files.
Operating system:
Linux
Web server:
Apache
Database:
mysql
Version: 5.6.26
PHP version:
5.6.26
Nextcloud version:
11.0.0 (stable)
Updated from an older Nextcloud/ownCloud or fresh install:
updated from an older Nextcloud
Where did you install Nextcloud from:
updater app
Signing status:
Signing status
Can't get the status by http://****/index.php/settings/integrity/failed. It results in a redirecton error ("Umleitungsfehler").
List of activated apps:
App list
Activity 2.4.1
Auditing / Logging 1.1.0
Collaborative tags 1.1.3
Comments 1.1.0
Default encryption module 1.4.1
Deleted files 1.1.0
Federation 1.1.1
File sharing 1.1.1
First run wizard 2.0
Gallery 16.0.0
Log reader 2.0
Mail template editor 0.2
Nextcloud annoucements 1.0
Notifications 1.0.1
Password policy 1.1.0
PDF viewer 1.0.1
Server info 1.1.1
Share by mail 1.0.1
Text editor 2.2
Theming 1.1.1
Updated notification 1.1.1
Usage survey 0.1.5
Versions 1.4.0
Video player 1.0.0
Spreed video calls 1.1.2
The content of config/config.php:
Config report
$CONFIG = array (
'instanceid' => '***',
'passwordsalt' => '******',
'secret' => '************',
'trusted_domains' =>
array (
0 => '***',
),
'datadirectory' => '/home/httpd/vhosts/*/cloud_data',
'dbtype' => 'mysql',
'version' => '11.0.0.10',
'dbname' => '**',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => 'nc',
'dbpassword' => '***',
'logtimezone' => 'UTC',
'installed' => true,
'forcessl' => true,
'memcache.local' => '\OC\Memcache\ArrayCache',
'mail_smtpmode' => 'smtp',
'mail_from_address' => '*',
'mail_domain' => '****',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtphost' => '******',
'mail_smtpport' => '25',
'overwrite.cli.url' => 'https://****:443',
'overwriteprotocol' => 'https',
'theme' => '',
'loglevel' => 2,
'maintenance' => false,
);
Are you using external storage, if yes which one:
no
Are you using encryption:
yes
Are you using an external user-backend, if yes which one:
no
Browser:
Firefox
Operating system:
various (OS X, Windows 7)
Web server error log
2017-01-02 20:18:39 Warning ... mod_fcgid: stderr: PHP Fatal error: Call to a member function getMimetype() on boolean in /home/httpd/vhosts/**/***/apps/files_sharing/lib/Controller/RemoteController.php on line 115 Apache-Fehler
(...this warning repeats itself...)
Error Default encryption module not loaded 2017-01-02T21:18:43+0100
Error Default encryption module not loaded 2017-01-02T21:18:43+0100
Error Default encryption module not loaded 2017-01-02T21:18:43+0100
Error Default encryption module not loaded 2017-01-02T21:18:43+0100
Error Default encryption module not loaded 2017-01-02T21:18:42+0100
Error Default encryption module not loaded 2017-01-02T21:18:42+0100
Error Default encryption module not loaded 2017-01-02T21:18:42+0100
Error Default encryption module not loaded 2017-01-02T21:18:42+0100
Error Default encryption module not loaded 2017-01-02T21:18:42+0100
Error Default encryption module not loaded 2017-01-02T21:18:42+0100
Error Default encryption module not loaded 2017-01-02T21:18:42+0100
Error Default encryption module not loaded 2017-01-02T21:18:42+0100
(...)
Ran into the same issue. The page stays blank and the network request to {server}/owncloud/ocs/v1.php/apps/files_sharing/api/v1/remote_shares?format=json returns a 500.
For me this was caused by a corrupted (?) external share.
After deleting the entry from the mysql table oc_share_external the error message disappeared and the webbrowser did load the shares correctly again.
I can't say what was the problem with this peticular shared file, though.
@schiessle
@anonymosh This doesn't solved the problem for me. Still working on this issue.
I don't get the 500-error, because access is forbidden, due to failed CSRF check.
In the log, I had the error, that there is no encryption module loaded.
I solved this for me by:
php occ maintenance:singleuser --onphp occ encryption:disablephp occ maintenance:singleuser --offI experience the same behaviour on NC 12 - no external shares are shown, encryption is activated. Deleting everything from the mysql table oc_share_external and later accepting new shares does not change anything; they still don't show up.
In case this might be related: I am experiencing https://github.com/nextcloud/server/issues/5755
can't reproduce it. Feel free to re-open if this is still an issue with the latest version of Nextcloud
Feel free to re-open if this is still an issue with the latest version of Nextcloud
I assume you forgot to close this.