nextcloud / nextcloud/server

[Bug]: Shared with you remains blank

Open
#53,906 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 30-feedback bug feature: files feature: sharing
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

⚠️ This issue respects the following points: ⚠️
Bug description

Even if files and folder are shared with me/you the pane called "Shared with you" on the left remains blank.
Nevertheless the shares are listed as expected within the file explorer in the web-ui.
The following errors occured in the browser console:

Uncaught TypeError: can't access property "setAttribute", document.getElementById(...).getElementsByTagName(...)[0] is undefined

[ERROR] files: Error while fetching content  Object { app: "files", uid: "sderwenskus", level: 2, error: {…} }
index.mjs:54:17

TypeError: can't access property "attributes", e is undefined enabled noteToRecipient.ts:13 enabled FilesListHeader.vue:25

Steps to reproduce

1.Navigate to the "Shared with you" pane
2.List is empty/blank
3.navigate to the file-explorer within the wbui and all shares are shown

Expected behavior

All shares (files and folders) are listed in the "Shared with you" pane

Nextcloud Server version

30

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.3

Web server

Nginx

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Upgraded to a MAJOR version (ex. 31 to 32)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "1": "cloud.awo-mitte.de",
            "2": "nc2.cloud.awo-mitte.de",
            "3": "192.168.2.102",
            "4": "onlyoffice.awo-mitte.de"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "30.0.13.1",
        "overwrite.cli.url": "https:\/\/cloud.awo-mitte.de",
        "overwrite_host": "cloud.awo-mitte.de",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "4434",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "default_language": "de",
        "default_locale": "de_DE",
        "installed": true,
        "activity_expire_days": 14,
        "auth.bruteforce.protection.enabled": false,
        "forbidden_filenames": [
            ".htaccess"
        ],
        "cron_log": true,
        "filesystem_check_changes": 1,
        "filelocking.enabled": "true",
        "htaccess.RewriteBase": "\/",
        "integrity.check.disabled": false,
        "logfile": "\/var\/log\/nextcloud\/nextcloud.log",
        "loglevel": 2,
        "logtimezone": "Europe\/Berlin",
        "log_rotate_size": "104857600",
        "preview_max_x": 1024,
        "preview_max_y": 768,
        "preview_max_scale_factor": 1,
        "quota_include_external_storage": false,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0.5
        },
        "share_folder": "\/Freigaben",
        "skeletondirectory": "",
        "trashbin_retention_obligation": "auto, 7",
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "LOGIN",
        "mail_sendmailmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "tls",
        "maintenance": false,
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "data-fingerprint": "2b5f8b87e89a78a251fbe0d09002a63c",
        "app_install_overwrite": [
            "occweb",
            "files_fulltextsearch_tesseract",
            "files_lock",
            "bbb"
        ],
        "theme": "",
        "upgrade.disable-web": true,
        "default_phone_region": "DE",
        "simpleSignUpLink.shown": false,
        "remember_login_cookie_lifetime": "1800",
        "allow_local_remote_servers": true,
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "maintenance_window_start": 1,
        "profile.enabled": false
    }
}
List of activated Apps
Enabled:
  - activity: 3.0.0
  - admin_audit: 1.20.0
  - app_api: 4.0.6
  - bbb: 2.8.0
  - calendar: 5.3.5
  - circles: 30.0.0
  - cloud_federation_api: 1.13.0
  - comments: 1.20.1
  - dav: 1.31.1
  - deck: 1.14.5
  - drawio: 3.0.9
  - external: 5.5.2
  - federatedfilesharing: 1.20.0
  - files: 2.2.0
  - files_antivirus: 5.6.3
  - files_automatedtagging: 1.20.0
  - files_downloadlimit: 3.0.0
  - files_mindmap: 0.0.33
  - files_reminders: 1.3.0
  - files_retention: 1.19.1
  - files_sharing: 1.22.0
  - files_trashbin: 1.20.1
  - files_versions: 1.23.0
  - groupfolders: 18.1.3
  - impersonate: 1.17.1
  - lookup_server_connector: 1.18.0
  - mail: 5.1.7
  - notes: 4.12.2
  - notifications: 3.0.0
  - notify_push: 1.1.0
  - oauth2: 1.18.1
  - onlyoffice: 9.9.0
  - password_policy: 2.0.0
  - passwords: 2025.7.20
  - polls: 7.4.4
  - provisioning_api: 1.20.0
  - related_resources: 1.5.0
  - serverinfo: 2.0.0
  - settings: 1.13.0
  - sharebymail: 1.20.0
  - spreed: 20.1.8
  - systemtags: 1.20.0
  - tasks: 0.16.1
  - text: 4.1.0
  - theming: 2.6.0
  - twofactor_backupcodes: 1.19.0
  - twofactor_totp: 12.0.0-dev
  - updatenotification: 1.20.0
  - user_usage_report: 1.14.0
  - viewer: 3.0.0
  - webhook_listeners: 1.1.0-dev
  - workflowengine: 2.12.0
Nextcloud Signing status
Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results
=======
- files_mindmap
	- EXCEPTION
		- OC\IntegrityCheck\Exceptions\InvalidSignatureException
		- Certificate is not valid.

Raw output
==========
Array
(
    [files_mindmap] => Array
        (
            [EXCEPTION] => Array
                (
                    [class] => OC\IntegrityCheck\Exceptions\InvalidSignatureException
                    [message] => Certificate is not valid.
                )

        )

)
Nextcloud Logs
Uncaught TypeError: can't access property "setAttribute", document.getElementById(...).getElementsByTagName(...)[0] is undefined
    modifyLogout https://cloud.awo-mitte.de/apps/impersonate/js/impersonate_logout.js?v=9c09079a-40:22
    enableImpersonateLogout https://cloud.awo-mitte.de/apps/impersonate/js/impersonate_logout.js?v=9c09079a-40:52
    enableImpersonateLogout https://cloud.awo-mitte.de/apps/impersonate/js/impersonate_logout.js?v=9c09079a-40:49
    setTimeout handler*enableImpersonateLogout https://cloud.awo-mitte.de/apps/impersonate/js/impersonate_logout.js?v=9c09079a-40:48
    EventListener.handleEvent* https://cloud.awo-mitte.de/apps/impersonate/js/impersonate_logout.js?v=9c09079a-40:56
    <anonymous> https://cloud.awo-mitte.de/apps/impersonate/js/impersonate_logout.js?v=9c09079a-40:57



[ERROR] files: Error while fetching content 
Object { app: "files", uid: "sderwenskus", level: 2, error: {…} }
index.mjs:54:17
    log index.mjs:54
    error index.mjs:72
    fetchContent FilesList.vue:377
    mounted FilesList.vue:314
    VueJS 11
    73081 main.ts:31
    Webpack 5


TypeError: can't access property "attributes", e is undefined
    enabled noteToRecipient.ts:13
    enabled FilesListHeader.vue:25
    VueJS 57
    fetchContent FilesList.vue:381
    mounted FilesList.vue:314
    VueJS 11
    73081 main.ts:31
    Webpack 5
Additional info

Shared with you remains empty/blank:
Image

Shares are shown in the file-explorer (within the configured folder 'Freigaben':

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the blank “Shared with you” pane and inspect the browser errors. Read apps/files/src/components/FilesList.vue, FilesListHeader.vue, and noteToRecipient.ts, then check the impersonate app entry point at apps/impersonate/js/impersonate_logout.js. Done means shared files and folders appear in the pane without the reported console errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.