nextcloud / server

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

Unable to open files from SMB External Storage #26588

Closed lwild12 closed 3 years ago

lwild12 commented 3 years ago

How to use GitHub

Steps to reproduce

  1. Set up next cloud with a SMB external storage 2.Attempt to open/download file

Expected behaviour

File should open or download

Actual behaviour

PDF's cannot be opened. Files do not download

Server configuration

Operating system: Hansson-it Nexcloud VM Web server: Apache2 Database: pgsql PHP version: 7.43 Nextcloud version: (see Nextcloud admin page) 21.0.1.1 Updated from an older Nextcloud/ownCloud or fresh install: fresh install Where did you install Nextcloud from:

Signing status:

Signing status ``` no errors have been found

List of activated apps:

App list ``` Enabled: - admin_audit: 1.11.0 - cloud_federation_api: 1.4.0 - comments: 1.11.0 - contactsinteraction: 1.2.0 - dav: 1.17.1 - federatedfilesharing: 1.11.0 - federation: 1.11.0 - files: 1.16.0 - files_external: 1.12.0 - files_pdfviewer: 2.1.0 - files_rightclick: 1.0.0 - files_sharing: 1.13.1 - files_trashbin: 1.11.0 - files_versions: 1.14.0 - firstrunwizard: 2.10.0 - groupfolders: 9.0.0 - logreader: 2.6.0 - lookup_server_connector: 1.9.0 - nextcloud_announcements: 1.10.0 - notifications: 2.9.0 - oauth2: 1.9.0 - password_policy: 1.11.0 - previewgenerator: 3.1.1 - privacy: 1.5.0 - provisioning_api: 1.11.0 - recommendations: 1.0.0 - serverinfo: 1.11.0 - settings: 1.3.0 - sharebymail: 1.11.0 - support: 1.4.0 - survey_client: 1.9.0 - systemtags: 1.11.0 - text: 3.2.0 - theming: 1.12.0 - twofactor_backupcodes: 1.10.0 - updatenotification: 1.11.0 - user_status: 1.1.1 - viewer: 1.5.0 - workflowengine: 2.3.0 Disabled: - accessibility - activity - calendar - contacts - dashboard - deck - encryption - files_videoplayer - issuetemplate - mail - photos - user_ldap - weather_status ```

Nextcloud configuration:

Config report ``` { "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "localhost", "10.100.0.27", "nextcloud", "nc.lwild.uk" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "pgsql", "version": "21.0.1.1", "overwrite.cli.url": "https:\/\/nextcloud\/", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "upgrade.disable-web": "true", "log_type": "file", "logfile": "\/var\/log\/nextcloud\/nextcloud.log", "loglevel": "2", "log.condition": { "apps": [ "admin_audit" ] }, "mail_smtpmode": "smtp", "remember_login_cookie_lifetime": "1800", "log_rotate_size": "10485760", "trashbin_retention_obligation": "auto, 180", "versions_retention_obligation": "auto, 365", "simpleSignUpLink.shown": false, "memcache.local": "\\OC\\Memcache\\APCu", "filelocking.enabled": true, "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 0, "timeout": 0.5, "dbindex": 0, "password": "***REMOVED SENSITIVE VALUE***" }, "logtimezone": "Europe\/London", "htaccess.RewriteBase": "\/", "maintenance": false, "default_phone_region": "us" } } ```

Are you using external storage, if yes which one: local/smb/sftp/... Yes, SMB Are you using encryption: yes/no No Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... No

Client configuration

Browser: Chrome Operating system: Mac OS

szaimen commented 3 years ago

Duplicate of #26457