nextcloud / server

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

[Bug]: External Storage inaccessible after second access via Web UI #47503

Open Cisco30 opened 2 months ago

Cisco30 commented 2 months ago

⚠️ This issue respects the following points: ⚠️

Bug description

When I go to the "external storage" folder, and I click on a folder, the first access works, but if I click again the second access indicates an error of the mount point, it is necessary to refresh the web page to have access again

Steps to reproduce

  1. Go to file tab ---> External storage and click on a folder , First access works
  2. Click back on external storage
  3. The error appears in a window with the following message "External mount point error There was an error with this external storage. Would you like to review the configuration of this mount point on the settings page?"
  4. Refresh the web page and click on the folder again and access works
  5. See video of the error. https://github.com/user-attachments/assets/9957e488-892a-42ba-852e-fc950f62d95e

Expected behavior

I expected to have access to the file again without an error message.

Installation method

Community Manual installation with Archive

Nextcloud Server version

29

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

MariaDB

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

Updated from a MINOR version (ex. 28.0.1 to 28.0.2)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

Configuration report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.seeboxs.com",
            "www.cloud.seeboxs.com"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "29.0.5.1",
        "overwrite.cli.url": "https:\/\/cloud.seeboxs.com",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "default_phone_region": "FR",
        "htaccess.RewriteBase": "\/",
        "trashbin_retention_obligation": "auto, 30",
        "filelocking.enabled": "true",
        "knowledgebaseenabled": false,
        "activity_expire_days": 7,
        "skeletondirectory": "\/var\/www\/extra_nextcloud\/skeleton\/",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": "0",
            "timeout": "0.0"
        },
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "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***",
        "default_language": "fr",
        "default_locale": "fr_FR",
        "updater.release.channel": "stable",
        "maintenance_window_start": 1,
        "maintenance": false,
        "enable_previews": true,
        "integrity.check.disabled": false,
        "enabledPreviewProviders": {
            "1": "OC\\Preview\\BMP",
            "2": "OC\\Preview\\GIF",
            "3": "OC\\Preview\\JPEG",
            "4": "OC\\Preview\\Krita",
            "5": "OC\\Preview\\MarkDown",
            "6": "OC\\Preview\\MP3",
            "7": "OC\\Preview\\OpenDocument",
            "8": "OC\\Preview\\PNG",
            "9": "OC\\Preview\\TXT",
            "10": "OC\\Preview\\XBitmap",
            "11": "OC\\Preview\\Image",
            "12": "OC\\Preview\\HEIC",
            "13": "OC\\Preview\\TIFF",
            "14": "OC\\Preview\\Movie",
            "15": "OC\\Preview\\MP4",
            "16": "OC\\Preview\\PDF"
        },
        "preview_max_x": 1024,
        "preview_max_y": 1024,
        "preview_concurrency_all": 16,
        "preview_concurrency_new": 8,
        "preview_max_filesize_image": 200,
        "preview_max_memory": -1,
        "preview_ffmpeg_path": "\/usr\/bin\/ffmpeg",
        "theme": "",
        "defaultapp": "",
        "loglevel": 2,
        "updatechecker": true,
        "has_internet_connection": true,
        "app_install_overwrite": [
            "twofactor_email",
            "otpmanager",
            "socialsharing_facebook"
        ]
    }
}

List of activated Apps

Enabled:
  - activity: 2.21.1
  - admin_audit: 1.19.0
  - announcementcenter: 6.8.1
  - bruteforcesettings: 2.9.0
  - calendar: 4.7.16
  - cloud_federation_api: 1.12.0
  - comments: 1.19.0
  - contacts: 6.0.0
  - contactsinteraction: 1.10.0
  - dashboard: 7.9.0
  - dav: 1.30.1
  - drop_account: 2.6.0
  - external: 5.4.0
  - federatedfilesharing: 1.19.0
  - federation: 1.19.0
  - files: 2.1.1
  - files_accesscontrol: 1.19.1
  - files_downloadlimit: 2.0.0
  - files_external: 1.21.0
  - files_pdfviewer: 2.10.0
  - files_reminders: 1.2.0
  - files_sharing: 1.21.0
  - files_trashbin: 1.19.0
  - files_versions: 1.22.0
  - firstrunwizard: 2.18.0
  - guests: 3.1.0
  - logreader: 2.14.0
  - lookup_server_connector: 1.17.0
  - mail: 3.7.7
  - maps: 1.4.0
  - metadata: 0.20.0
  - nextcloud_announcements: 1.18.0
  - notes: 4.10.1
  - notifications: 2.17.0
  - oauth2: 1.17.0
  - otpmanager: 0.5.4
  - password_policy: 1.19.0
  - passwords: 2024.7.20
  - photos: 2.5.0
  - previewgenerator: 5.6.0
  - provisioning_api: 1.19.0
  - quota_warning: 1.19.0
  - registration: 2.4.0
  - related_resources: 1.4.0
  - richdocuments: 8.4.5
  - serverinfo: 1.19.0
  - settings: 1.12.0
  - sharebymail: 1.19.0
  - socialsharing_diaspora: 3.1.0
  - socialsharing_email: 3.1.0
  - socialsharing_facebook: 3.1.0
  - socialsharing_twitter: 3.1.0
  - spreed: 19.0.8
  - suspicious_login: 7.0.0
  - systemtags: 1.19.0
  - tasks: 0.16.1
  - terms_of_service: 2.5.0
  - text: 3.10.1
  - theming: 2.4.0
  - theming_customcss: 1.17.0
  - twofactor_backupcodes: 1.18.0
  - twofactor_email: 2.7.4
  - twofactor_nextcloud_notification: 3.10.0
  - twofactor_totp: 11.0.0-dev
  - unroundedcorners: 1.1.3
  - updatenotification: 1.19.1
  - user_retention: 1.13.0
  - user_status: 1.9.0
  - viewer: 2.3.0
  - weather_status: 1.9.0
  - workflowengine: 2.11.0
Disabled:
  - circles: 29.0.0-dev (installed 27.0.1)
  - encryption: 2.17.0
  - privacy: 1.13.0 (installed 1.12.0)
  - recommendations: 2.1.0 (installed 1.6.0)
  - support: 1.12.0 (installed 1.11.1)
  - survey_client: 1.17.0 (installed 1.17.0)
  - user_ldap: 1.20.0 (installed 1.19.0)

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

No error

Additional info

I am using:
Debian 12 (up to date)
MariaDB Server version: 11.2.5-MariaDB-deb12
PHP 8.2.20
Apache/2.4.61 (Debian)
The error occurred with the minor update from Nextcloud 29.0.4 to 29.0.5
joshtrichards commented 2 months ago

Reproduced. Thanks for the report! Seems to be a regression in in 29.0.5.

san199332 commented 1 month ago

Nextcloud 30.0.0 the error is also reproduced.

jenyarm commented 3 weeks ago

Nextcloud 30.0.1 also reproduced.

Cisco30 commented 1 week ago

Nextcloud 30.0.2 RC1 the error is also reproduced.