nextcloud / nextcloud/deck

[Bug]: Nextcloud shares with others is empty

Open
#7,468 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug
Dominant language
JavaScript
Stars
1.4k
Forks
354
Avg merge
1d 10h
Merged PRs (30d)
43

Description

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

Nextcloud shares with others is empty, but should have tons of entries

Steps to reproduce
  1. choose files
  2. choose "shares with others"
  3. there is nothing there
  4. create two new public shares
  5. the new public shares are working (web site is opening, content is shown)
  6. check "shares with others"
  7. there is still nothing there
  8. go to personal > settings > Privacy - message does pop-up: "Error loading information about shares"
Expected behavior

There should be information about shares with others

Nextcloud Server version

31.0.11.2

Operating system

RHEL/CentOS

PHP engine version

PHP 8.3

Web server

Server version: Apache/2.4.37

Database engine version

MariaDB 11.4

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

Updated from a MINOR version (ex. 32.0.1 to 32.0.2)

Update from "31.0.10.1 to 31.0.11.2

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report
{
    "system": {
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "filelocking.enabled": true,
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": ***REMOVED SENSITIVE VALUE***,
            "dbindex": ***REMOVED SENSITIVE VALUE***,
            "timeout": ***REMOVED SENSITIVE VALUE***,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***",
            "***REMOVED SENSITIVE VALUE***"
        ],
        "overwrite.cli.url": "https:\/\/***REMOVED SENSITIVE VALUE***",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "htaccess.RewriteBase": "\/",
        "overwriteprotocol": "https",
        "dbtype": "mysql",
        "version": "31.0.11.2",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "maintenance": false,
        "theme": "",
        "loglevel": 2,
        "debug": false,
        "auth.bruteforce.protection.enabled": true,
        "check_for_working_htaccess": true,
        "updater.release.channel": "stable",
        "upgrade.disable-web": false,
        "data-fingerprint": "***REMOVED SENSITIVE VALUE***",
        "logfile": "\/***REMOVED SENSITIVE VALUE***\/log\/nextcloud.log",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "LOGIN",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "***REMOVED SENSITIVE VALUE***",
        "session_lifetime": 1200,
        "session_keepalive": false,
        "logtimezone": "***REMOVED SENSITIVE VALUE***",
        "default_phone_region": "***REMOVED SENSITIVE VALUE***",
        "knowledgebaseenabled": false,
        "log_rotate_size": 3145728,
        "mail_sendmailmode": "smtp",
        "app_install_overwrite": {
            "0": "passman",
            "1": "dicomviewer",
            "2": "radio",
            "3": "cookbook",
            "4": "health",
            "5": "issuetemplate",
            "6": "documentserver_community",
            "7": "imageconverter",
            "8": "epubreader",
            "9": "workflow_pdf_converter",
            "10": "signlive",
            "11": "apporder",
            "13": "integration_restya",
            "14": "mindmap_app"
        },
        "maintenance_window_start": 100,
        "memories.exiftool_no_local": true,
        "memories.vod.path": "\/var\/www\/html\/nextcloud\/apps\/memories\/bin-ext\/go-vod-amd64",
        "memories.vod.ffmpeg": "\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/bin\/ffprobe",
        "files.chunked_upload.max_size": 20971520
    }
}
List of activated Apps
Enabled:
  - activity: 4.0.0
  - analytics: 6.0.1
  - announcementcenter: 7.2.2
  - app_api: 5.0.2
  - assistant: 2.9.0
  - audioplayer: 3.6.1
  - bookmarks: 15.2.1
  - bruteforcesettings: 4.0.0
  - calendar: 5.5.9
  - calendar_resource_management: 0.10.0
  - call_summary_bot: 3.1.0
  - circles: 31.0.0
  - cloud_federation_api: 1.14.0
  - collectives: 3.3.0
  - comments: 1.21.0
  - contacts: 7.3.7
  - contactsinteraction: 1.12.1
  - context_chat: 4.5.0
  - cookbook: 0.11.5
  - cospend: 3.1.6
  - dashboard: 7.11.0
  - dav: 1.33.0
  - deck: 1.15.5
  - dicomviewer: 2.3.1
  - drawio: 3.1.2
  - drop_account: 2.8.0
  - electronicsignatures: 3.0.5
  - epubviewer: 1.8.1
  - event_update_notification: 2.7.0
  - federatedfilesharing: 1.21.0
  - federation: 1.21.0
  - files: 2.3.1
  - files_antivirus: 6.0.7
  - files_downloadactivity: 1.18.1
  - files_downloadlimit: 4.0.0
  - files_external: 1.23.0
  - files_fulltextsearch: 31.0.0
  - files_pdfviewer: 4.0.0
  - files_photospheres: 1.31.1
  - files_reminders: 1.4.0
  - files_sharing: 1.23.2
  - files_trashbin: 1.21.0
  - files_versions: 1.24.0
  - firstrunwizard: 4.0.0
  - flow_notifications: 2.0.1
  - forms: 5.2.3
  - geoblocker: 0.5.18
  - gpoddersync: 3.13.3
  - gpxpod: 7.1.0
  - groupfolders: 19.1.10
  - health: 2.2.2
  - imageconverter: 2.0.5
  - impersonate: 2.0.0
  - integration_deepl: 2.0.0
  - integration_discourse: 2.4.1
  - integration_dropbox: 4.1.0
  - integration_giphy: 2.1.0
  - integration_github: 3.2.1
  - integration_gitlab: 4.0.0
  - integration_google: 4.2.0
  - integration_jira: 1.4.1
  - integration_mastodon: 3.2.1
  - integration_openproject: 2.10.1
  - integration_openstreetmap: 2.1.0
  - integration_paperless: 1.0.7
  - integration_reddit: 2.1.1
  - integration_replicate: 4.2.0
  - integration_zammad: 3.1.0
  - keeweb: 0.6.22
  - logreader: 4.0.0
  - lookup_server_connector: 1.19.0
  - mail: 5.6.0
  - maps: 1.6.0
  - memories: 7.7.0
  - money: 0.31.0
  - music: 2.4.1
  - news: 27.2.0
  - nextcloud_announcements: 3.0.0
  - nextpod: 0.7.8
  - notes: 4.12.3
  - notifications: 4.0.0
  - oauth2: 1.19.1
  - passman: 2.4.12
  - password_policy: 3.0.0
  - passwords: 2025.11.10
  - photos: 4.0.0
  - polls: 8.5.0
  - privacy: 3.0.0
  - profile: 1.0.0
  - provisioning_api: 1.21.0
  - quota_warning: 1.22.0
  - recognize: 9.0.9
  - recommendations: 4.0.0
  - related_resources: 2.0.0
  - repod: 3.8.2
  - richdocuments: 8.7.6
  - richdocumentscode: 25.4.702
  - serverinfo: 3.0.0
  - settings: 1.14.0
  - sharebymail: 1.21.0
  - side_menu: 5.1.3
  - sketch_picker: 2.3.0
  - spreed: 21.1.5
  - support: 3.0.0
  - suspicious_login: 9.0.1
  - systemtags: 1.21.1
  - tables: 1.0.1
  - talk_matterbridge: 1.32.1026000
  - tasks: 0.17.1
  - terms_of_service: 4.6.1
  - text: 5.0.2
  - theming: 2.6.1
  - timemanager: 0.3.19
  - twofactor_backupcodes: 1.20.0
  - twofactor_nextcloud_notification: 5.0.0
  - twofactor_totp: 13.0.0-dev.0
  - twofactor_webauthn: 2.4.1
  - updatenotification: 1.21.0
  - user_status: 1.11.0
  - viewer: 4.0.0
  - weather_status: 1.11.0
  - webhook_listeners: 1.2.0
  - welcome: 1.3.0
  - whiteboard: 1.4.1
  - workflow_media_converter: 1.15.1
  - workflow_ocr: 1.31.3
  - workflow_pdf_converter: 2.0.0
  - workflow_script: 2.0.0
  - workflowengine: 2.13.0
  - yumisign_nextcloud: 1.31.0
Nextcloud Signing status
No errors have been found.
Nextcloud Logs

Additional info

NOTE : see DECK case obove ! - Important INFO:

By disabling the DECK app - the core function "shares with others" is functional again !

MS Edge Error in Dev-Context: Failed to load resource: the server responded with a status of 500 ()

not quite sure - but it's possible this comes from the minor upgrade from "31.0.10.1 to 31.0.11.2

seems, that i.e admin user is not affected, but other(s) ==>

performing sql-statement shows all shares (user & admin) correctly ==>

SQL="SELECT s.id, s.item_type, f.path, s.share_type, s.share_with, s.permissions
FROM oc_share s
JOIN oc_filecache f ON s.item_source = f.fileid
WHERE s.uid_owner = '${nextcloud_user}';"

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 Files “Shares with others” error with Deck enabled, then repeat with Deck disabled and inspect the reported HTTP 500 response. Trace the affected share-loading entry point in the Deck/Nextcloud integration and verify that non-admin users can see existing and newly created shares while Deck remains enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, mariadb, php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.