nextcloud / server

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

Cannot share file via mail - timeout while searching for address, Error fetching suggestions 404 #28294

Closed call-me-matt closed 3 years ago

call-me-matt commented 3 years ago

Steps to reproduce

  1. go to files app, select share for a random file
  2. enter an email-address

Expected behaviour

it should be possible to share the file with the entered email adress

Actual behaviour

infinitely searching, not proposing to share with email. previously shared with email addresses (was working in former versions) can be selected, though - and are working fine.

Server configuration

Operating system: podman-compose

Web server: docker.io/nextcloud

Database: docker.io/mariadb:10.5

Nextcloud version: (see Nextcloud admin page) 22.0.0

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

Signing status:

Signing status ``` No errors have been found. ```

List of activated apps:

App list ``` Enabled: - accessibility: 1.7.0 - admin_audit: 1.11.0 - bookmarks: 4.4.0 - calendar: 2.3.1 - circles: 22.0.0 - cloud_federation_api: 1.4.0 - comments: 1.11.0 - contacts: 4.0.1 - contactsinteraction: 1.2.0 - cookbook: 0.8.4 - cospend: 1.3.10 - dashboard: 7.1.0 - dav: 1.18.0 - federatedfilesharing: 1.11.0 - federation: 1.11.0 - files: 1.16.0 - files_external: 1.12.1 - files_pdfviewer: 2.3.0 - files_rightclick: 1.1.0 - files_sharing: 1.13.2 - files_videoplayer: 1.11.0 - firstrunwizard: 2.11.0 - forms: 2.3.0 - groupfolders: 9.0.2 - logreader: 2.7.0 - lookup_server_connector: 1.9.0 - mail: 1.10.2 - maps: 0.1.9 - news: 16.0.0 - nextcloud_announcements: 1.11.0 - notes: 4.1.0 - notifications: 2.10.1 - oauth2: 1.9.0 - password_policy: 1.12.0 - photos: 1.4.0 - polls: 3.0.0 - privacy: 1.6.0 - provisioning_api: 1.11.0 - recommendations: 1.1.0 - serverinfo: 1.12.0 - settings: 1.3.0 - sharebymail: 1.11.0 - spreed: 12.0.1 - support: 1.5.0 - systemtags: 1.11.0 - tasks: 0.14.0 - text: 3.3.0 - theming: 1.12.0 - twofactor_backupcodes: 1.10.1 - twofactor_totp: 6.1.0 - updatenotification: 1.11.0 - user_status: 1.1.1 - viewer: 1.6.0 - weather_status: 1.1.0 - workflowengine: 2.3.0 Disabled: - activity - bruteforcesettings - documentserver_community - encryption - files_trashbin - files_versions - keeporsweep - onlyoffice - richdocuments - richdocumentscode - survey_client - unsplash - user_ldap ```

Nextcloud configuration:

Config report ``` { "system": { "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***", "datadirectory": "***REMOVED SENSITIVE VALUE***", "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***", "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "overwritewebroot": "\/***REMOVED SENSITIVE VALUE***", "overwriteprotocol": "https", "overwritehost": "***REMOVED SENSITIVE VALUE***", "htaccess.RewriteBase": "\/", "dbtype": "mysql", "version": "22.0.0.11", "installed": true, "mail_smtpmode": "smtp", "mail_smtpauthtype": "PLAIN", "loglevel": 0, "maintenance": false, "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtpsecure": "tls", "mail_smtpauth": 1, "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "25", "theme": "", "app_install_overwrite": [ "polls", "unsplash", "social", "keeporsweep", "bookmarks_fulltextsearch", "bookmarks", "groupfolders", "tasks", "forms", "cookbook" ], "ldapIgnoreNamingRules": false, "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory", "mysql.utf8mb4": true, "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "default_locale": "en_US", "default_phone_region": "DE" } } ```

Client configuration

Browser: Firefox 90.0

Operating system: Ubuntu

Logs

Nextcloud log (data/nextcloud.log)

no errors or warnings found in log

Nextcloud log ``` $ sudo podman exec -it -u www-data nextcloud_app_1 tail -n20 data/nextcloud.log {"reqId":"DEYs80SmXq6xkMMbbrY7","level":0,"time":"2021-08-03T05:53:32+00:00","remoteAddr":"X.X.X.X","user":"XXX","app":"files_sharing","method":"MKCOL","url":"/imperator/remote.php/webdav/Photos/AutoUpload","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/4.0.4","version":"22.0.0.11"} {"reqId":"DEYs80SmXq6xkMMbbrY7","level":0,"time":"2021-08-03T05:53:32+00:00","remoteAddr":"X.X.X.X","user":"XXX","app":"maps","method":"MKCOL","url":"/imperator/remote.php/webdav/Photos/AutoUpload","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/4.0.4","version":"22.0.0.11"} {"reqId":"DEYs80SmXq6xkMMbbrY7","level":0,"time":"2021-08-03T05:53:32+00:00","remoteAddr":"X.X.X.X","user":"XXX","app":"webdav","method":"MKCOL","url":"/imperator/remote.php/webdav/Photos/AutoUpload","message":"The resource you tried to create already exists","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/4.0.4","version":"22.0.0.11","exception":{"Exception":"Sabre\\DAV\\Exception\\MethodNotAllowed","Message":"The resource you tried to create already exists","Code":0,"Trace":[{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":560,"function":"createCollection","class":"Sabre\\DAV\\Server","type":"->","args":["Photos/AutoUpload",{"__class__":"Sabre\\DAV\\MkCol"}]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpMkcol","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:MKCOL",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v1/webdav.php","line":83,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":166,"args":["/var/www/html/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","Line":1184,"CustomMessage":"--"}} {"reqId":"yQqE4NuSRGEA7Gca4XxH","level":0,"time":"2021-08-03T05:53:32+00:00","remoteAddr":"X.X.X.X","user":"XXX","app":"contacts","method":"MKCOL","url":"/imperator/remote.php/webdav/Photos/AutoUpload/2021","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/4.0.4","version":"22.0.0.11"} {"reqId":"yQqE4NuSRGEA7Gca4XxH","level":0,"time":"2021-08-03T05:53:32+00:00","remoteAddr":"X.X.X.X","user":"XXX","app":"files_sharing","method":"MKCOL","url":"/imperator/remote.php/webdav/Photos/AutoUpload/2021","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/4.0.4","version":"22.0.0.11"} {"reqId":"yQqE4NuSRGEA7Gca4XxH","level":0,"time":"2021-08-03T05:53:32+00:00","remoteAddr":"X.X.X.X","user":"XXX","app":"maps","method":"MKCOL","url":"/imperator/remote.php/webdav/Photos/AutoUpload/2021","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/4.0.4","version":"22.0.0.11"} {"reqId":"yQqE4NuSRGEA7Gca4XxH","level":0,"time":"2021-08-03T05:53:32+00:00","remoteAddr":"X.X.X.X","user":"XXX","app":"webdav","method":"MKCOL","url":"/imperator/remote.php/webdav/Photos/AutoUpload/2021","message":"The resource you tried to create already exists","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/4.0.4","version":"22.0.0.11","exception":{"Exception":"Sabre\\DAV\\Exception\\MethodNotAllowed","Message":"The resource you tried to create already exists","Code":0,"Trace":[{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":560,"function":"createCollection","class":"Sabre\\DAV\\Server","type":"->","args":["Photos/AutoUpload/2021",{"__class__":"Sabre\\DAV\\MkCol"}]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpMkcol","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:MKCOL",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v1/webdav.php","line":83,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":166,"args":["/var/www/html/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","Line":1184,"CustomMessage":"--"}} {"reqId":"vqVTfRCphaZgzpZTdxKd","level":0,"time":"2021-08-03T05:53:32+00:00","remoteAddr":"X.X.X.X","user":"XXX","app":"contacts","method":"MKCOL","url":"/imperator/remote.php/webdav/Photos/AutoUpload/2021/08","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/4.0.4","version":"22.0.0.11"} {"reqId":"vqVTfRCphaZgzpZTdxKd","level":0,"time":"2021-08-03T05:53:32+00:00","remoteAddr":"X.X.X.X","user":"XXX","app":"files_sharing","method":"MKCOL","url":"/imperator/remote.php/webdav/Photos/AutoUpload/2021/08","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/4.0.4","version":"22.0.0.11"} {"reqId":"vqVTfRCphaZgzpZTdxKd","level":0,"time":"2021-08-03T05:53:32+00:00","remoteAddr":"X.X.X.X","user":"XXX","app":"maps","method":"MKCOL","url":"/imperator/remote.php/webdav/Photos/AutoUpload/2021/08","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/4.0.4","version":"22.0.0.11"} {"reqId":"vqVTfRCphaZgzpZTdxKd","level":0,"time":"2021-08-03T05:53:33+00:00","remoteAddr":"X.X.X.X","user":"XXX","app":"webdav","method":"MKCOL","url":"/imperator/remote.php/webdav/Photos/AutoUpload/2021/08","message":"The resource you tried to create already exists","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/4.0.4","version":"22.0.0.11","exception":{"Exception":"Sabre\\DAV\\Exception\\MethodNotAllowed","Message":"The resource you tried to create already exists","Code":0,"Trace":[{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":560,"function":"createCollection","class":"Sabre\\DAV\\Server","type":"->","args":["Photos/AutoUpload/2021/08",{"__class__":"Sabre\\DAV\\MkCol"}]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpMkcol","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:MKCOL",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v1/webdav.php","line":83,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":166,"args":["/var/www/html/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","Line":1184,"CustomMessage":"--"}} {"reqId":"z4J7pXhuLKKCKzxNublZ","level":0,"time":"2021-08-03T05:53:42+00:00","remoteAddr":"Y.Y.Y.Y","user":"ZZZ","app":"contacts","method":"PROPFIND","url":"/imperator/remote.php/dav/files/ZZZ/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Linux) mirall/3.2.4git (Nextcloud, fedora-5.13.4-200.fc34.x86_64 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"22.0.0.11"} {"reqId":"z4J7pXhuLKKCKzxNublZ","level":0,"time":"2021-08-03T05:53:42+00:00","remoteAddr":"Y.Y.Y.Y","user":"ZZZ","app":"files_sharing","method":"PROPFIND","url":"/imperator/remote.php/dav/files/ZZZ/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Linux) mirall/3.2.4git (Nextcloud, fedora-5.13.4-200.fc34.x86_64 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"22.0.0.11"} {"reqId":"z4J7pXhuLKKCKzxNublZ","level":0,"time":"2021-08-03T05:53:42+00:00","remoteAddr":"Y.Y.Y.Y","user":"ZZZ","app":"maps","method":"PROPFIND","url":"/imperator/remote.php/dav/files/ZZZ/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Linux) mirall/3.2.4git (Nextcloud, fedora-5.13.4-200.fc34.x86_64 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"22.0.0.11"} {"reqId":"BAMSe9mCHPqLgIEIRd7L","level":0,"time":"2021-08-03T05:53:49+00:00","remoteAddr":"X.X.X.X","user":"YYY","app":"contacts","method":"PROPFIND","url":"/imperator/remote.php/dav/files/YYY/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Linux) mirall/3.1.1-1ubuntu1.1 (Nextcloud)","version":"22.0.0.11"} {"reqId":"BAMSe9mCHPqLgIEIRd7L","level":0,"time":"2021-08-03T05:53:49+00:00","remoteAddr":"X.X.X.X","user":"YYY","app":"files_sharing","method":"PROPFIND","url":"/imperator/remote.php/dav/files/YYY/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Linux) mirall/3.1.1-1ubuntu1.1 (Nextcloud)","version":"22.0.0.11"} {"reqId":"BAMSe9mCHPqLgIEIRd7L","level":0,"time":"2021-08-03T05:53:49+00:00","remoteAddr":"X.X.X.X","user":"YYY","app":"maps","method":"PROPFIND","url":"/imperator/remote.php/dav/files/YYY/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Linux) mirall/3.1.1-1ubuntu1.1 (Nextcloud)","version":"22.0.0.11"} {"reqId":"VbLmQt3KYwuq4BHUvdZl","level":0,"time":"2021-08-03T05:53:53+00:00","remoteAddr":"X.X.X.X","user":"YYY","app":"contacts","method":"PROPFIND","url":"/imperator/remote.php/dav/files/YYY/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Linux) mirall/3.1.1-1ubuntu1.1 (Nextcloud)","version":"22.0.0.11"} {"reqId":"VbLmQt3KYwuq4BHUvdZl","level":0,"time":"2021-08-03T05:53:53+00:00","remoteAddr":"X.X.X.X","user":"YYY","app":"files_sharing","method":"PROPFIND","url":"/imperator/remote.php/dav/files/YYY/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Linux) mirall/3.1.1-1ubuntu1.1 (Nextcloud)","version":"22.0.0.11"} {"reqId":"VbLmQt3KYwuq4BHUvdZl","level":0,"time":"2021-08-03T05:53:53+00:00","remoteAddr":"X.X.X.X","user":"YYY","app":"maps","method":"PROPFIND","url":"/imperator/remote.php/dav/files/YYY/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Linux) mirall/3.1.1-1ubuntu1.1 (Nextcloud)","version":"22.0.0.11"} ```

Browser log

Error fetching suggestions, 404:

Browser log ``` Error fetching suggestions Error: Request failed with status code 404 exports createError.js:16 exports settle.js:17 onreadystatechange xhr.js:62 SharingInput.vue:213 getSuggestions SharingInput.vue:213 ```
szaimen commented 3 years ago

Is this happening on NC22.1.0, too?

call-me-matt commented 3 years ago

Just tried it out, it's working now fine again :)