nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
26.74k stars 4k forks source link

"shared with others":when clicking on such a share (web-browser) - share context is displayed shortly and suddenly disappears afterwards #39608

Open Githopp192 opened 1 year ago

Githopp192 commented 1 year ago

⚠️ This issue respects the following points: ⚠️

Bug description

"shared with others":when clicking on such a share (web-browser) - share context is displayed shortly and suddenly disappears afterwards

Steps to reproduce

1.### Steps to reproduce

  1. click on "shared with others" (Web/Browser EDGE, Microsoft Edge, Version 115.0.1901.183)
  2. most often the share context (files & directories) do show up for one second, then suddenly the root dir structure of the user files are shown, instead of the share context.
  3. When repeating this about 20 times, only 2-3 times the share files/directory structure will be shown (without switching to the root dir structure of the user).

Expected behavior

When clicking on the "shared with others" context, the share context (files & directories) should appear (and stay)

I did check this behave on Nextcloud 26.0.4, 27.0.0, 27.0.1 - the behave is the same on all these versions. I did check this behave with the "admin" user - there the behave seems to be "normal".

Installation method

None

Nextcloud Server version

26

Operating system

RHEL/CentOS

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database engine version

MariaDB

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

None

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

Configuration report

### 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": 1.5,
            "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": "26.0.3.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,
        "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***",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "LOGIN",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "tls",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "***REMOVED SENSITIVE VALUE***",
         ***REMOVED SENSITIVE VALUE***
        "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": [
            "passman",
            "dicomviewer",
            "radio",
            "cookbook",
            "health",
            "issuetemplate",
            "documentserver_community",
            "imageconverter",
            "epubreader",
            "workflow_pdf_converter",
            "signlive",
            "apporder"
        ]
    }
}

### List of activated Apps

apps:

Enabled:
  - activity: 2.18.0
  - analytics: 4.9.4
  - announcementcenter: 6.6.1
  - audioplayer: 3.4.0
  - bookmarks: 13.0.1
  - breezedark: 26.0.0
  - bruteforcesettings: 2.6.0
  - calendar: 4.4.3
  - calendar_resource_management: 0.5.0
  - circles: 26.0.0
  - cloud_federation_api: 1.9.0
  - collectives: 2.6.1
  - comments: 1.16.0
  - contacts: 5.3.2
  - contactsinteraction: 1.7.0
  - cookbook: 0.10.2
  - cospend: 1.5.10
  - dashboard: 7.6.0
  - data_request: 1.13.0
  - dav: 1.25.0
  - deck: 1.9.2
  - dicomviewer: 1.2.4
  - documentserver_community: 0.1.13
  - drawio: 2.1.2
  - drop_account: 2.2.0
  - end_to_end_encryption: 1.12.5
  - event_update_notification: 2.2.0
  - federatedfilesharing: 1.16.0
  - federation: 1.16.0
  - files: 1.21.1
  - files_antivirus: 5.2.1
  - files_automatedtagging: 1.16.1
  - files_downloadactivity: 1.16.0
  - files_external: 1.18.0
  - files_markdown: 2.4.1
  - files_mindmap: 0.0.28
  - files_pdfviewer: 2.7.0
  - files_photospheres: 1.26.4
  - files_rightclick: 1.5.0
  - files_sharing: 1.18.0
  - files_trashbin: 1.16.0
  - files_versions: 1.19.1
  - firstrunwizard: 2.15.0
  - flow_notifications: 1.6.0
  - forms: 3.3.1
  - gpxpod: 5.0.12
  - groupfolders: 14.0.3
  - health: 1.6.2
  - imageconverter: 1.3.5
  - impersonate: 1.13.1
  - integration_discourse: 2.0.4
  - integration_dropbox: 2.0.1
  - integration_github: 2.0.4
  - integration_gitlab: 1.0.17
  - integration_google: 2.0.2
  - integration_jira: 1.0.5
  - integration_mastodon: 2.0.2
  - integration_openai: 1.0.11
  - integration_openproject: 2.3.7
  - integration_reddit: 2.0.1
  - integration_replicate: 1.0.7
  - integration_twitter: 1.0.6
  - integration_zammad: 2.0.6
  - keeweb: 0.6.13
  - libresign: 7.1.1
  - logreader: 2.11.0
  - lookup_server_connector: 1.14.0
  - mail: 3.2.4
  - maps: 1.1.0
  - money: 0.19.0
  - news: 21.2.0
  - nextcloud_announcements: 1.15.0
  - notes: 4.8.1
  - notifications: 2.14.0
  - oauth2: 1.14.0
  - onlyoffice: 7.8.0
  - passman: 2.4.7
  - password_policy: 1.16.0
  - photos: 2.2.0
  - polls: 5.2.0
  - privacy: 1.10.0
  - provisioning_api: 1.16.0
  - quicknotes: 0.8.10
  - quota_warning: 1.17.0
  - recommendations: 1.5.0
  - related_resources: 1.1.0-alpha1
  - serverinfo: 1.16.0
  - settings: 1.8.0
  - sharebymail: 1.16.0
  - side_menu: 3.10.2
  - signlive: 0.9.0
  - socialsharing_diaspora: 2.6.0
  - socialsharing_email: 2.6.0
  - socialsharing_facebook: 2.6.0
  - socialsharing_twitter: 2.6.0
  - spreed: 16.0.4
  - support: 1.9.0
  - suspicious_login: 4.4.0
  - systemtags: 1.16.0
  - tables: 0.5.1
  - talk_matterbridge: 1.26.0
  - tasks: 0.15.0
  - terms_of_service: 2.2.0
  - text: 3.7.2
  - theming: 2.1.1
  - timemanager: 0.3.8
  - twofactor_backupcodes: 1.15.0
  - twofactor_totp: 8.0.0
  - updatenotification: 1.16.0
  - user_status: 1.6.0
  - viewer: 1.10.0
  - weather_status: 1.6.0
  - welcome: 1.0.9
  - workflow_media_converter: 1.8.4
  - workflow_ocr: 1.26.1
  - workflow_pdf_converter: 1.11.0
  - workflow_script: 1.11.2
  - workflowengine: 2.8.0

List of activated Apps

No response

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

No response

Additional info

it could be that this behavior is intentional (by design) - but the logical reason for this is beyond my knowledge

joshtrichards commented 1 year ago

Hi @Githopp192 - I'm not clear on what you're seeing. Any chance you can provide a screenshot or video?

Also, based on the behavior you're describing, there should be some clues either in the Nextcloud logs or in the browser console maybe. Might be worth seeing what shows up there during these events.

Githopp192 commented 1 year ago

Hi @Githopp192 - I'm not clear on what you're seeing. Any chance you can provide a screenshot or video?

Also, based on the behavior you're describing, there should be some clues either in the Nextcloud logs or in the browser console maybe. Might be worth seeing what shows up there during these events.

out of 20 attempts approx. 18 attempts will fail:

https://github.com/nextcloud/server/assets/32612067/c13e16bb-f161-4293-a630-8c48eba03569

should_work_like_this:

https://github.com/nextcloud/server/assets/32612067/8d2cbf42-eecb-4f4f-bb80-117dd636a646

AntonPew commented 1 year ago

same problem