Hello,
after updating, the following problem appeared.
Steps to reproduce
- Log in to panel
- Go to Files
Expected behaviour
Files and folders should be displayed.
Actual behaviour
No folders / files are shown in the files panel.
An error is displayed “This directory is unavailable, please check the logs or contact the administrator”.
Server configuration detail
Operating system: Linux 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08) x86_64
Webserver: Apache (fpm-fcgi)
Database: mysql 10.5.12
PHP version:
8.0.16
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, intl, ldap, exif, mysqli, pdo_mysql, Phar, posix, readline, redis, shmop, SimpleXML, smbclient, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, libsmbclient, Zend OPcache
Nextcloud version: 23.0.2 - 23.0.2.1
Updated from an older Nextcloud/ownCloud or fresh install: 22.2.5
List of activated apps
Enabled:
- accessibility: 1.9.0
- activity: 2.15.0
- admin_audit: 1.13.0
- bruteforcesettings: 2.3.0
- circles: 23.0.1
- cloud_federation_api: 1.6.0
- comments: 1.13.0
- contactsinteraction: 1.4.0
- dashboard: 7.3.0
- dav: 1.21.0
- federatedfilesharing: 1.13.0
- federation: 1.13.0
- files: 1.18.0
- files_antivirus: 3.2.2
- files_external: 1.15.0
- files_pdfviewer: 2.4.0
- files_rightclick: 1.2.0
- files_sharing: 1.15.0
- files_trashbin: 1.13.0
- files_versions: 1.16.0
- files_videoplayer: 1.12.0
- firstrunwizard: 2.12.0
- issuetemplate: 0.7.0
- logreader: 2.8.0
- lookup_server_connector: 1.11.0
- nextcloud_announcements: 1.12.0
- notifications: 2.11.1
- oauth2: 1.11.0
- onlyoffice: 7.3.2
- password_policy: 1.13.0
- photos: 1.5.0
- privacy: 1.7.0
- provisioning_api: 1.13.0
- recommendations: 1.2.0
- serverinfo: 1.13.0
- settings: 1.5.0
- sharebymail: 1.13.0
- survey_client: 1.11.0
- systemtags: 1.13.0
- text: 3.4.0
- theming: 1.14.0
- twofactor_backupcodes: 1.12.0
- twofactor_totp: 6.2.0
- updatenotification: 1.13.0
- user_ldap: 1.13.1
- user_status: 1.3.1
- viewer: 1.7.0
- weather_status: 1.3.0
- workflowengine: 2.5.0
Disabled:
- encryption
- support
Configuration (config/config.php)
{
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***",
"10.71.71.100"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "23.0.2.1",
"overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"htaccess.RewriteBase": "\/",
"mail_smtpmode": "smtp",
"mail_smtpsecure": "ssl",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "PLAIN",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"trashbin_retention_obligation": "auto, 30",
"filelocking.enabled": "true",
"memcache.local": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"dbindex": 0,
"password": "***REMOVED SENSITIVE VALUE***",
"timeout": 1.5
},
"log_type": "file",
"logfile": "\/var\/log\/nextcloud\/nextcloud.log",
"loglevel": 1,
"logtimezone": "Europe\/Warsaw",
"theme": "",
"default_phone_region": "PL",
"enable_previews": true,
"simpleSignUpLink.shown": false,
"skeletondirectory": "",
"ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
"allow_local_remote_servers": true,
"maintenance": false,
"versions_retention_obligation": "auto, 60",
"lost_password_link": "disabled",
"app_install_overwrite": [
"issuetemplate"
]
}
Are you using external storage, if yes which one: FTP
Are you using encryption:
Are you using an external user-backend, if yes which one: LDAP
LDAP configuration
background_sync_interval: 41698background_sync_offset: 500background_sync_prefix: s01cleanUpJobOffset: 50enabled: yesinstalled_version: 1.13.1s01_lastChange: 1646655001s01has_memberof_filter_support: 1s01home_folder_naming_rule: s01last_jpegPhoto_lookup: 0s01ldap_agent_password: R2N6QDIwMjIhs01ldap_attributes_for_group_search: s01ldap_attributes_for_user_search: sn
givennames01ldap_backup_host: s01ldap_backup_port: s01ldap_base: DC=ad,DC=***REMOVED SENSITIVE VALUE***,DC=pls01ldap_base_groups: DC=ad,DC=***REMOVED SENSITIVE VALUE***,DC=pls01ldap_base_users: DC=ad,DC=***REMOVED SENSITIVE VALUE***,DC=pls01ldap_cache_ttl: 600s01ldap_configuration_active: 1s01ldap_default_ppolicy_dn: s01ldap_display_name: displaynames01ldap_dn: CN=NC-Admin,OU=NC,OU=Groups,OU=ITRS,DC=ad,DC=***REMOVED SENSITIVE VALUE***,DC=pls01ldap_dynamic_group_member_url: s01ldap_email_attr: mails01ldap_experienced_admin: 0s01ldap_expert_username_attr: s01ldap_expert_uuid_group_attr: s01ldap_expert_uuid_user_attr: s01ldap_ext_storage_home_attribute: s01ldap_gid_number: gidNumbers01ldap_group_display_name: cns01ldap_group_filter: (&(|(objectclass=group))(|(cn=NC-Admins)(cn=NC-Users)))s01ldap_group_filter_mode: 0s01ldap_group_member_assoc_attribute: members01ldap_groupfilter_groups: NC-Admins
NC-Userss01ldap_groupfilter_objectclass: groups01ldap_host: 10.71.71.244s01ldap_login_filter: (&(&(|(objectclass=person))(|(|(memberof=CN=NC-Users,OU=NC,OU=Groups,OU=ITRS,DC=ad,DC=***REMOVED SENSITIVE VALUE***,DC=pl)(primaryGroupID=9695))(|(memberof=CN=NC-Admins,OU=NC,OU=Groups,OU=ITRS,DC=ad,DC=cichy-zasada,DC=pl)(primaryGroupID=9697))))(|(samaccountname=%uid)(|(memberOf=%uid))))s01ldap_login_filter_mode: 1s01ldap_loginfilter_attributes: memberOfs01ldap_loginfilter_email: 0s01ldap_loginfilter_username: 1s01ldap_matching_rule_in_chain_state: unknowns01ldap_nested_groups: 0s01ldap_override_main_server: s01ldap_paging_size: 500s01ldap_port: 389s01ldap_quota_attr: s01ldap_quota_def: s01ldap_tls: 0s01ldap_turn_off_cert_check: 0s01ldap_turn_on_pwd_change: 0s01ldap_user_avatar_rule: defaults01ldap_user_display_name_2: s01ldap_user_filter_mode: 0s01ldap_userfilter_groups: NC-Users
NC-Adminss01ldap_userfilter_objectclass: persons01ldap_userlist_filter: (&(|(objectclass=person))(|(|(memberof=CN=NC-Users,OU=NC,OU=Groups,OU=ITRS,DC=ad,DC=cichy-zasada,DC=pl)(primaryGroupID=9695))(|(memberof=CN=NC-Admins,OU=NC,OU=Groups,OU=ITRS,DC=ad,DC=***REMOVED SENSITIVE VALUE***,DC=pl)(primaryGroupID=9697))))s01use_memberof_to_detect_membership: 1types: authentication
Client configuration
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0
Operating system:
Logs
Web server error log
Nextcloud log
{"reqId":"Ocx2qv93MhCkEsdkFCZe","level":3,"time":"2022-03-07T13:12:20+01:00","remoteAddr":"37.30.19.172","user":"admin","app":"index","method":"GET","url":"/apps/recommendations/api/recommendations","message":"Call to a member function getTimestamp() on bool in file '/var/www/nextcloud/httpdocs/apps/files_external/lib/Lib/Storage/FTP.php' line 358","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36","version":"23.0.2.1","exception":{"Exception":"Exception","Message":"Call to a member function getTimestamp() on bool in file '/var/www/nextcloud/httpdocs/apps/files_external/lib/Lib/Storage/FTP.php' line 358","Code":0,"Trace":[{"file":"/var/www/nextcloud/httpdocs/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/httpdocs/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/httpdocs/lib/base.php","line":1006,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/httpdocs/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/httpdocs/lib/private/AppFramework/Http/Dispatcher.php","Line":158,"Previous":{"Exception":"Error","Message":"Call to a member function getTimestamp() on bool","Code":0,"Trace":[{"file":"/var/www/nextcloud/httpdocs/lib/private/Files/Storage/Wrapper/PermissionsMask.php","line":157,"function":"getDirectoryContent","class":"OCA\\Files_External\\Lib\\Storage\\FTP","type":"->"},{"function":"getDirectoryContent","class":"OC\\Files\\Storage\\Wrapper\\PermissionsMask","type":"->"},{"file":"/var/www/nextcloud/httpdocs/lib/private/Files/Cache/Scanner.php","line":410,"function":"iterator_to_array"},{"file":"/var/www/nextcloud/httpdocs/lib/private/Files/Cache/Scanner.php","line":390,"function":"handleChildren","class":"OC\\Files\\Cache\\Scanner","type":"->"},{"file":"/var/www/nextcloud/httpdocs/lib/private/Files/Cache/Scanner.php","line":342,"function":"scanChildren","class":"OC\\Files\\Cache\\Scanner","type":"->"},{"file":"/var/www/nextcloud/httpdocs/lib/private/Files/View.php","line":1349,"function":"scan","class":"OC\\Files\\Cache\\Scanner","type":"->"},{"file":"/var/www/nextcloud/httpdocs/lib/private/Files/View.php","line":1393,"function":"getCacheEntry","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/httpdocs/lib/private/Files/Node/Root.php","line":200,"function":"getFileInfo","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/httpdocs/lib/private/Files/Node/Node.php","line":286,"function":"get","class":"OC\\Files\\Node\\Root","type":"->"},{"file":"/var/www/nextcloud/httpdocs/apps/recommendations/lib/Service/RecentlyEditedFilesSource.php","line":57,"function":"getParent","class":"OC\\Files\\Node\\Node","type":"->"},{"function":"OCA\\Recommendations\\Service\\{closure}","class":"OCA\\Recommendations\\Service\\RecentlyEditedFilesSource","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/httpdocs/apps/recommendations/lib/Service/RecentlyEditedFilesSource.php","line":65,"function":"array_map"},{"file":"/var/www/nextcloud/httpdocs/apps/recommendations/lib/Service/RecommendationService.php","line":90,"function":"getMostRecentRecommendation","class":"OCA\\Recommendations\\Service\\RecentlyEditedFilesSource","type":"->"},{"function":"OCA\\Recommendations\\Service\\{closure}","class":"OCA\\Recommendations\\Service\\RecommendationService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/httpdocs/apps/recommendations/lib/Service/RecommendationService.php","line":91,"function":"array_reduce"},{"file":"/var/www/nextcloud/httpdocs/apps/recommendations/lib/Controller/RecommendationController.php","line":70,"function":"getRecommendations","class":"OCA\\Recommendations\\Service\\RecommendationService","type":"->"},{"file":"/var/www/nextcloud/httpdocs/lib/private/AppFramework/Http/Dispatcher.php","line":217,"function":"index","class":"OCA\\Recommendations\\Controller\\RecommendationController","type":"->"},{"file":"/var/www/nextcloud/httpdocs/lib/private/AppFramework/Http/Dispatcher.php","line":126,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/httpdocs/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/httpdocs/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/httpdocs/lib/base.php","line":1006,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/httpdocs/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/httpdocs/apps/files_external/lib/Lib/Storage/FTP.php","Line":358},"CustomMessage":"--"},"id":"6225f852167d2"}