nextcloud / desktop

💻 Desktop sync client for Nextcloud
https://nextcloud.com/install/#install-clients
GNU General Public License v2.0
2.91k stars 773 forks source link

private link and open Browser API not compatible with owncloud client 2.9 and above #3862

Closed dirkpape closed 2 years ago

dirkpape commented 2 years ago

Steps to reproduce

use owncloud destop client 2.9 on macos X to connext to nextcloud server. in MacOS X Finder use one of the context menu items "Open in Browser" or "Copy private Link" on a file or folder which ist synced to nc

Expected behaviour

Browser opens in nextcloud at the given file/folder in nexcloud space or private link URL ist copied to clipbioard

Actual behaviour

both do not happen. I already opened an issue in repository owncloud desktop and they told me that since 2.9 they use a new API endpoint for both of these features and dropped support for the older one. So the issue has been closed https://github.com/owncloud/client/issues/8997. Will nextcloud server support the new API in a future version. I ask this because I habe a mixed environment connecting to different servers, some are owncloud and some are nextcloud based. And I prefer the owncloud desktop client over the nextcloud desktop client because of many reason including stability and UX.

Server configuration detail

Operating system: Linux 5.4.0-86-generic nextcloud/server#97-Ubuntu SMP Fri Sep 17 19:19:40 UTC 2021 x86_64

Webserver: Apache (fpm-fcgi)

Database: mysql 10.3.31

PHP version:

8.0.10 Modules loaded: Core, date, libxml, openssl, pcre, zlib, bz2, calendar, ctype, hash, filter, ftp, gettext, gmp, SPL, iconv, json, Reflection, session, standard, SimpleXML, sockets, mbstring, tokenizer, xml, cgi-fcgi, mysqlnd, bcmath, curl, dba, dom, enchant, fileinfo, gd, imagick, imap, intl, ldap, exif, mysqli, odbc, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, redis, soap, sodium, sqlite3, sysvmsg, sysvsem, sysvshm, tidy, xmlreader, xmlwriter, xsl, zip, Zend OPcache

Nextcloud version: 22.2.0 - 22.2.0.2

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from: unknown

Signing status Array ( )
List of activated apps ``` Enabled: - accessibility: 1.8.0 - activity: 2.15.0 - admin_audit: 1.12.0 - announcementcenter: 6.0.0 - apporder: 0.13.0 - audioplayer_sonos: 1.3.0 - auto_groups: 1.3.1 - bookmarks: 10.0.0 - bruteforcesettings: 2.2.0 - calendar: 2.3.4 - circles: 22.1.1 - cloud_federation_api: 1.5.0 - comments: 1.12.0 - contacts: 4.0.3 - contactsinteraction: 1.3.0 - dashboard: 7.2.0 - data_request: 1.9.0 - dav: 1.19.0 - deck: 1.5.3 - drawio: 1.0.1 - drop_account: 1.0.2 - emlviewer: 0.0.23 - federatedfilesharing: 1.12.0 - federation: 1.12.0 - files: 1.17.0 - files_antivirus: 3.2.2 - files_downloadactivity: 1.11.1 - files_external: 1.13.0 - files_fulltextsearch: 22.0.1 - files_fulltextsearch_tesseract: 20.0.1 - files_markdown: 2.3.4 - files_pdfviewer: 2.3.0 - files_readmemd: 1.2.0 - files_rightclick: 1.1.0 - files_sharing: 1.14.0 - files_trashbin: 1.12.0 - files_versions: 1.15.0 - files_videoplayer: 1.11.0 - firstrunwizard: 2.11.0 - forms: 2.3.0 - fulltextsearch: 22.0.1 - fulltextsearch_elasticsearch: 22.0.1 - groupfolders: 10.0.0 - guests: 2.0.2 - impersonate: 1.9.0 - integration_moodle: 1.0.1 - issuetemplate: 0.7.0 - jitsi: 0.12.0 - keeweb: 0.6.6 - logreader: 2.7.0 - lookup_server_connector: 1.10.0 - mail: 1.10.5 - metadata: 0.14.0 - music: 1.3.3 - news: 16.0.1 - nextcloud_announcements: 1.11.0 - notes: 4.1.1 - notifications: 2.10.1 - oauth2: 1.10.0 - occweb: 0.0.7 - onlyoffice: 7.1.2 - password_policy: 1.12.0 - photos: 1.4.0 - polls: 3.2.0 - privacy: 1.6.0 - provisioning_api: 1.12.0 - quota_warning: 1.11.0 - ransomware_protection: 1.11.0 - recommendations: 1.1.0 - serverinfo: 1.12.0 - settings: 1.4.0 - sharebymail: 1.12.0 - sharepoint: 1.10.0 - sharerenamer: 2.7.3 - spreed: 12.1.2 - support: 1.5.0 - systemtags: 1.12.0 - tasks: 0.14.2 - text: 3.3.0 - theming: 1.13.0 - twofactor_backupcodes: 1.11.0 - twofactor_totp: 6.1.0 - twofactor_u2f: 6.2.0 - updatenotification: 1.12.0 - user_saml: 4.1.1 - user_status: 1.2.0 - viewer: 1.6.0 - weather_status: 1.2.0 - welcome: 1.0.0 - workflowengine: 2.4.0 Disabled: - audioplayer_editor - encryption - end_to_end_encryption - previewgenerator - survey_client - user_ldap - w2g2 ```
Configuration (config/config.php) ``` { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "oc.drdpc.de" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "version": "22.2.0.2", "dbtype": "mysql", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbname": "***REMOVED SENSITIVE VALUE***", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "dbtableprefix": "oc_", "installed": true, "default_language": "de_DE", "defaultapp": "files", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "sendmail", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "25", "mail_smtpauthtype": "LOGIN", "overwritehost": "oc.drdpc.de", "overwriteprotocol": "https", "overwrite.cli.url": "https:\/\/oc.drdpc.de", "htaccess.RewriteBase": "\/", "trashbin_retention_obligation": "auto", "updater.release.channel": "stable", "loglevel": 2, "log_rotate_size": 104857600, "enable_previews": true, "maintenance": false, "memcache.local": "\\OC\\Memcache\\Redis", "memcache.distributed": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 6379, "timeout": 0, "dbindex": 0 }, "mysql.utf8mb4": true, "tempdirectory": "\/var\/www\/vhosts\/oc.drdpc.de\/oc.drdpc.de\/cloud-temp", "secret": "***REMOVED SENSITIVE VALUE***", "filelocking.enabled": true, "memcache.locking": "\\OC\\Memcache\\Redis", "debug": false, "appstore.experimental.enabled": true, "asset-pipeline.enabled": false, "app_install_overwrite": [ "drop_account", "radio", "dropit", "sharerenamer", "keeweb", "files_readmemd", "files_fulltextsearch_tesseract", "emlviewer", "occweb", "issuetemplate" ], "theme": "", "default_phone_region": "DE", "updater.secret": "***REMOVED SENSITIVE VALUE***" } ```

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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 Safari/605.1.15

Operating system:

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) ...
FlexW commented 2 years ago

That repository is about the Nextcloud client and not the ownCloud client.