Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version: 15.0.4
Operating system and version : Ubuntu 16.0.4
Nginx version: 1.10.3
PHP version:7.2.14
The issue you are facing:
LDAP user can successfully authenticate, upload and share files to other ldap, internal users and by share link. However when the ldap user logoff and if any one try to access the share file via public link following error appears in web page. The shared files are only accessible to anyone as long as the file owner is logged in. This happens after LDAP/AD Integration apps settings Cache-Time-To Live expires.
Internal Server Error
The server was unable to complete your request.
If this happens again, please send the technical details below to the server administrator.
More details can be found in the server log.
Technical details
Remote Address:
Request ID: OTWxBlIHEEHPR4bqZ1GR
Is this the first time you’ve seen this error? (Y/N):Yes
The output of your Nextcloud log in Admin > Logging:
[no app in context] Error: OC\User\NoUserException: user@example.com is not a valid user anymore at <<closure>>
0. <<closure>>
getHome("user@example.com")
1. /appfiles/nextcloud/apps/user_ldap/lib/User_Proxy.php line 81
call_user_func_array([OCA\User_LDAP\User_LDAP {},"getHome"], ["user@example.com"])
2. /appfiles/nextcloud/apps/user_ldap/lib/Proxy.php line 152
walkBackends("user@example.com", "getHome", ["user@example.com"])
3. /appfiles/nextcloud/apps/user_ldap/lib/User_Proxy.php line 227
handleRequest("user@example.com", "getHome", ["user@example.com"])
4. /appfiles/nextcloud/lib/private/User/User.php line 282
getHome("user@example.com")
5. /appfiles/nextcloud/lib/private/Files/Storage/Home.php line 53
getHome()
6. /appfiles/nextcloud/lib/private/Files/Mount/MountPoint.php line 147
__construct({user: OC\User\User {}})
7. /appfiles/nextcloud/lib/private/Files/Mount/MountPoint.php line 172
createStorage()
8. /appfiles/nextcloud/lib/private/Files/Filesystem.php line 321
getStorage()
9. /appfiles/nextcloud/lib/private/Files/Filesystem.php line 443
getStorage("user@example.com")
10. /appfiles/nextcloud/lib/private/Files/Filesystem.php line 376
initMountPoints("user@example.com")
11. /appfiles/nextcloud/lib/private/legacy/util.php line 308
init("user@example.com", "/user@example.com/files")
12. /appfiles/nextcloud/apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php line 99
setupFS("user@example.com")
13. /appfiles/nextcloud/apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php line 82
setupFS("user@example.com")
14. /appfiles/nextcloud/lib/private/User/Manager.php line 535
OCA\Files_Trashbin\BackgroundJob\{closure}("*** sensitive parameters replaced ***")
15. /appfiles/nextcloud/apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php line 87
callForSeenUsers(Closure {})
16. /appfiles/nextcloud/lib/private/BackgroundJob/Job.php line 61
run(null)
17. /appfiles/nextcloud/lib/private/BackgroundJob/TimedJob.php line 55
execute(OC\BackgroundJob\JobList {}, OC\Log {})
18. /appfiles/nextcloud/cron.php line 123
execute(OC\BackgroundJob\JobList {}, OC\Log {})
at 2019-02-19T08:00:02+00:00
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'oc2y456onfyht',
'passwordsalt' => 'password',
'secret' => 'secrect password',
'trusted_domains' =>
array (
0 => 'cloud.example.com',
),
'datadirectory' => '/opt/nxtfiles/data',
'overwrite.cli.url' => 'https://cloud.example.com',
'dbtype' => 'mysql',
'version' => '15.0.4.0',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud_user',
'dbpassword' => '<removed sensitive info>',
'installed' => true,
'trashbin_retention_obligation' => '30, 31',
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'filelocking.enabled' => 'true',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
),
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'updater.release.channel' => 'stable',
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'tls',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'noreply',
'mail_domain' => '<removed sensitive info>',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => '<removed sensitive info>',
'mail_smtpport' => '587',
'mail_smtpname' => '<removed sensitive info>',
'mail_smtppassword' => '<removed sensitive info>',
);