I just set up a self hosted nextcloud installation with the goal of being able to share files more easily. When I click on the share icon for a file, the share sidebar comes up on the right with sharing options, as expected. However, when I click the same share icon for any folder in my nextcloud, the sidebar comes up and the loader just keeps loading forever, and I don’t seem to be able to share any folders. Does anyone have any ideas on what might be causing this?
I looked at the javascript console and it seems to be caused by this javascript error:
TypeError: Cannot read properties of undefined (reading 'getIconUrl')
at o.getIconUrl (Sidebar.vue:380:1)
at o.getPreviewIfAny (Sidebar.vue:352:1)
at o.background (Sidebar.vue:243:1)
at e.get (vue.runtime.esm.js:3446:33)
at e.evaluate (vue.runtime.esm.js:3547:27)
at o.background (vue.runtime.esm.js:5541:25)
at o.appSidebar (Sidebar.vue:257:1)
at e.get (vue.runtime.esm.js:3446:33)
at e.evaluate (vue.runtime.esm.js:3547:27)
at o.appSidebar (vue.runtime.esm.js:5541:25)
This seems to be a UI issue since it works fine in the iOS app.
Is this the first time you’ve seen this error? (Y/N): Yes
Steps to replicate it:
- Click on the share icon for any folder
- the sidebar comes up and loads forever
Server configuration detail
Operating system: Linux 6.1.64-Unraid #1 SMP PREEMPT_DYNAMIC Wed Nov 29 12:48:16 PST 2023 x86_64
Webserver: nginx/1.24.0 (fpm-fcgi)
Database: mysql 10.11.5
PHP version: 8.2.13
Modules loaded: Core, date, libxml, pcre, zlib, filter, hash, json, random, readline, Reflection, SPL, session, zend_test, cgi-fcgi, bcmath, bz2, ctype, curl, dom, fileinfo, ftp, gd, gmp, iconv, standard, intl, ldap, mbstring, openssl, pcntl, PDO, pgsql, posix, imap, SimpleXML, sockets, sodium, sqlite3, sysvsem, xml, xmlwriter, zip, exif, mysqlnd, pdo_pgsql, pdo_sqlite, Phar, xmlreader, pdo_mysql, apcu, msgpack, igbinary, redis, memcached, imagick, mcrypt, smbclient, libsmbclient, Zend OPcache
Nextcloud version: 28.0.1 - 28.0.1.1
Updated from an older Nextcloud/ownCloud or fresh install: Fresh install
Where did you install Nextcloud from:
Signing status
List of activated apps
Enabled:
- activity: 2.20.0
- admin_audit: 1.18.0
- bruteforcesettings: 2.8.0
- circles: 28.0.0-dev
- cloud_federation_api: 1.11.0
- comments: 1.18.0
- contactsinteraction: 1.9.0
- dashboard: 7.8.0
- dav: 1.29.1
- federatedfilesharing: 1.18.0
- federation: 1.18.0
- files: 2.0.0
- files_pdfviewer: 2.9.0
- files_reminders: 1.1.0
- files_sharing: 1.20.0
- files_trashbin: 1.18.0
- files_versions: 1.21.0
- firstrunwizard: 2.17.0
- integration_notion: 0.1.4
- logreader: 2.13.0
- lookup_server_connector: 1.16.0
- nextcloud_announcements: 1.17.0
- notifications: 2.16.0
- oauth2: 1.16.3
- onlyoffice: 9.0.0
- password_policy: 1.18.0
- photos: 2.4.0
- privacy: 1.12.0
- provisioning_api: 1.18.0
- recommendations: 2.0.0
- related_resources: 1.3.0
- serverinfo: 1.18.0
- settings: 1.10.1
- sharebymail: 1.18.0
- socialsharing_email: 3.0.1
- support: 1.11.0
- survey_client: 1.16.0
- systemtags: 1.18.0
- text: 3.9.1
- theming: 2.3.0
- twofactor_backupcodes: 1.17.0
- updatenotification: 1.18.0
- user_status: 1.8.1
- viewer: 2.2.0
- weather_status: 1.8.0
- workflowengine: 2.10.0
Disabled:
- encryption
- files_external
- suspicious_login
- twofactor_totp
- user_ldap
Configuration (config/config.php)
{
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"192.168.86.35:5143",
"removed.com"
],
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "28.0.1.1",
"overwrite.cli.url": "https:\/\/removed.com\/",
"overwritehost": "removed.com",
"overwriteprotocol": "https",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"memcache.local": "\\OC\\Memcache\\APCu",
"filelocking.enabled": true,
"memcache.locking": "\\OC\\Memcache\\APCu",
"upgrade.disable-web": true,
"mail_smtpmode": "smtp",
"mail_smtpsecure": "ssl",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"simpleSignUpLink.shown": false
}
Cron Configuration: Array
(
[backgroundjobs_mode] => cron
[lastcron] => 1703640002
)
External storages: files_external is disabled
Encryption: no
User-backends:
- OC\User\Database
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36