nextcloud / server

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

Flow Engine files shared to Nextcloud Talk user by bot not showing in target users account #19359

Closed ChildLearningClub closed 3 years ago

ChildLearningClub commented 4 years ago

Steps to reproduce

Create Flow that Automatically adds file to Nextcloud Talk Conversation. File is Shared by the bot but "file not found" Error in Receiving User's Account. and no visible shared link generated by the bot from senders Account.

Expected behaviour

Bot automatically shares file/folder to talk conversation, link is generated and the receiving User has access to the File.

Actual behaviour

As subscribed above

Server configuration detail

Operating system: Linux 4.15.0-76-generic #86-Ubuntu SMP Fri Jan 17 17:24:28 UTC 2020 x86_64

Webserver: Apache/2.4.38 (Debian) (apache2handler)

Database: mysql 10.1.44

PHP version:

7.3.14 Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, ftp, hash, iconv, json, mbstring, SPL, PDO, session, posix, Reflection, standard, SimpleXML, pdo_sqlite, Phar, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, apache2handler, apcu, exif, gd, gmp, imagick, intl, ldap, memcached, pcntl, pdo_mysql, pdo_pgsql, redis, sodium, zip, Zend OPcache

Nextcloud version: 18.0.0 - 18.0.0.10

Updated from an older Nextcloud/ownCloud or fresh install: updated docker image

Where did you install Nextcloud from: docker

Signing status Array ( )
List of activated apps ``` Enabled: - accessibility: 1.4.0 - activity: 2.11.0 - admin_audit: 1.8.0 - bruteforcesettings: 1.5.0 - calendar: 2.0.1 - circles: 0.18.1 - cloud_federation_api: 1.1.0 - comments: 1.8.0 - contacts: 3.1.8 - dav: 1.14.0 - deck: 0.8.0 - documentserver_community: 0.1.5 - event_update_notification: 1.0.1 - federatedfilesharing: 1.8.0 - federation: 1.8.0 - files: 1.13.1 - files_automatedtagging: 1.8.0 - files_markdown: 2.2.0 - files_pdfviewer: 1.7.0 - files_rightclick: 0.15.2 - files_sharing: 1.10.1 - files_trashbin: 1.8.0 - files_versions: 1.11.0 - files_videoplayer: 1.7.0 - firstrunwizard: 2.7.0 - issuetemplate: 0.6.0 - logreader: 2.3.0 - lookup_server_connector: 1.6.0 - mail: 1.1.2 - metadata: 0.11.1 - notifications: 2.6.0 - oauth2: 1.6.0 - onlyoffice: 4.1.4 - photos: 1.0.0 - previewgenerator: 2.2.0 - provisioning_api: 1.8.0 - registration: 0.4.7 - serverinfo: 1.8.0 - settings: 1.0.0 - spreed: 8.0.1 - systemtags: 1.8.0 - text: 2.0.0 - theming: 1.9.0 - twofactor_backupcodes: 1.7.0 - updatenotification: 1.8.0 - video_converter: 0.1.3 - viewer: 1.2.0 - workflow_script: 1.3.1 - workflowengine: 2.0.0 Disabled: - cms_pico - dicomviewer - drawio - encryption - external - files_accesscontrol - files_external - guests - impersonate - maps - nextcloud_announcements - passman - password_policy - passwords - phonetrack - polls - privacy - recommendations - richdocuments - sharebymail - social - support - survey_client - user_external - user_ldap - user_saml ```
Configuration (config/config.php) ``` { "overwrite.cli.url": "https:\/\/share.oilsgift.com", "overwriteprotocol": "https", "htaccess.RewriteBase": "\/", "memcache.local": "\\OC\\Memcache\\APCu", "apps_paths": [ { "path": "\/var\/www\/html\/apps", "url": "\/apps", "writable": false }, { "path": "\/var\/www\/html\/custom_apps", "url": "\/custom_apps", "writable": true } ], "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "nextcloud.oilsgift.com", "share.oilsgift.com" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "18.0.0.10", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "mail_smtpmode": "smtp", "mail_smtpsecure": "ssl", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtpauthtype": "LOGIN", "mail_smtpauth": 1, "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "ffmpeg": "\/usr\/bin\/ffmpeg", "enable_previews": true, "enabledPreviewProviders": [ "OC\\Preview\\PNG", "OC\\Preview\\JPEG", "OC\\Preview\\GIF", "OC\\Preview\\BMP", "OC\\Preview\\XBitmap", "OC\\Preview\\Movie", "OC\\Preview\\PDF", "OC\\Preview\\MP3", "OC\\Preview\\TXT", "OC\\Preview\\MarkDown", "OC\\Preview\\MP4" ], "filelocking.enabled": true, "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 6380, "password": "***REMOVED SENSITIVE VALUE***", "timeout": 1.5 }, "simpleSignUpLink.shown": false, "maintenance": false, "loglevel": 2, "updater.release.channel": "stable", "mail_sendmailmode": "smtp", "app_install_overwrite": [ "passman", "dicomviewer", "issuetemplate", "spreed", "contacts" ], "theme": "" } ```

Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption:

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

Client configuration

Browser: Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0

Operating system: Ubuntu 18.04 LTS

Logs

Web server error log ``` Insert your web server log here ```
Nextcloud log ``` Insert your Nextcloud log here ```
Browser log Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ...
szaimen commented 3 years ago

Is this Issue still valid in NC21.0.2? If not, please close this issue. Thanks! :)

ChildLearningClub commented 3 years ago

Just tested and yes, still has the same result, share is created with link, but when clicking link gives “file not found”. I suppose it could be related to my setup, but everything else including regular created links work fine. Also the link opens as expected and finds the file when logged in as the person who shared it, but not with the person it is being shared to. Nextcloud 21.0.2 on docker nginx reverse proxy.

szaimen commented 3 years ago

cc @nickvergessen @blizzz

ghost commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.