nextcloud / server

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

Unable to select editor in NC 18 RC2 or NC 18.0.0 #19005

Closed mmccarn closed 4 years ago

mmccarn commented 4 years ago

Steps to reproduce

  1. Using NC17 with both Owncloud and Collabora
    • default editor (click on eg Test2.docx) is OnlyOffice
    • right-click or clicking on '...' in file list includes 'Edit with Collabora' option
  2. Upgrade to NC18R2 using web updater

Expected behaviour

Unchanged behavior:

Actual behaviour

  1. Both editors still work if specified in the URL, BUT

Server configuration

Operating system:

# cat /etc/os-release 
NAME="Ubuntu"
VERSION="18.04.3 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.3 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

Web server:

# apt-cache policy apache2
apache2:
  Installed: 2.4.29-1ubuntu4.11
  Candidate: 2.4.29-1ubuntu4.11
  Version table:
 *** 2.4.29-1ubuntu4.11 500
        500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2.4.29-1ubuntu4 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

Database:

Type: mysql
Version: 5.7.28
Size: 197 MB

PHP version:

Version: 7.3.13
Memory Limit: 512 MB
Max Execution Time: 3600
Upload max size: 512 MB

Nextcloud version: (see Nextcloud admin page)

occ status
  - installed: true
  - version: 18.0.0.10
  - versionstring: 18.0.0
  - edition:

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from:

Signing status:

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

List of activated apps:

App list ``` Enabled: - accessibility: 1.4.0 - activity: 2.11.0 - audioplayer: 2.9.0 - bookmarks: 2.3.4 - calendar: 2.0.0 - cloud_federation_api: 1.1.0 - comments: 1.8.0 - dav: 1.14.0 - deck: 0.8.0 - federatedfilesharing: 1.8.0 - federation: 1.8.0 - files: 1.13.1 - files_external: 1.9.0 - files_markdown: 2.2.0 - files_pdfviewer: 1.7.0 - files_sharing: 1.10.1 - files_trashbin: 1.8.0 - files_versions: 1.11.0 - files_videoplayer: 1.7.0 - firstrunwizard: 2.7.0 - groupfolders: 6.0.0 - imap_auth_aicr: 0.1.1 - logreader: 2.3.0 - lookup_server_connector: 1.6.0 - mail: 1.0.0 - music: 0.12.1 - nextcloud_announcements: 1.7.0 - notes: 3.1.1 - notifications: 2.6.0 - oauth2: 1.6.0 - onlyoffice: 4.1.1 - password_policy: 1.8.0 - photos: 1.0.0 - previewgenerator: 2.2.0 - privacy: 1.2.0 - provisioning_api: 1.8.0 - recommendations: 0.6.0 - richdocuments: 3.5.1 - serverinfo: 1.8.0 - settings: 1.0.0 - sharebymail: 1.8.0 - sociallogin: 2.4.2 - support: 1.1.0 - survey_client: 1.6.0 - systemtags: 1.8.0 - tasks: 0.11.3 - text: 2.0.0 - theming: 1.9.0 - twofactor_backupcodes: 1.7.0 - twofactor_nextcloud_notification: 2.2.0 - twofactor_totp: 4.1.2 - updatenotification: 1.8.0 - viewer: 1.2.0 - workflowengine: 2.0.0 Disabled: - admin_audit - announcementcenter - apporder - bruteforcesettings - contacts - encryption - files_automatedtagging - files_retention - files_rightclick - imap_auth - impersonate - passman - polls - user_ldap - user_saml - workflow_script ```

Nextcloud configuration:

Config report ``` { "system": { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "192.168.200.167", "cloud.mmsionline.us" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "overwrite.cli.url": "https:\/\/cloud.mmsionline.us\/", "htaccess.RewriteBase": "\/", "dbtype": "mysql", "version": "18.0.0.10", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "logtimezone": "UTC", "installed": true, "memcache.local": "\\OC\\Memcache\\APCu", "loglevel": 2, "log_rotate_size": 104857600, "logfile": "\/var\/www\/nc-log\/nextcloud.log", "apps_paths": [ { "path": "\/var\/www\/nextcloud\/apps", "url": "\/apps", "writable": true }, { "path": "\/var\/www\/nextcloud\/apps-local", "url": "\/apps-local", "writable": true } ], "mail_smtpmode": "smtp", "mail_smtpsecure": "ssl", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtpauthtype": "PLAIN", "mail_smtpauth": 1, "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "preview_max_scale_factor": 1, "enabledPreviewProviders": [ "OC\\Preview\\PNG", "OC\\Preview\\JPEG", "OC\\Preview\\GIF", "OC\\Preview\\HEIC", "OC\\Preview\\BMP", "OC\\Preview\\XBitmap", "OC\\Preview\\MP3", "OC\\Preview\\TXT", "OC\\Preview\\MarkDown" ], "asset-pipline.enabled": true, "user_backends": [ { "class": "OC_IMAP_Auth_AICR", "arguments": [ "{mail06.aicr.org:993\/imap\/ssl\/novalidate-cert\/notls\/readonly}" ] } ], "maintenance": false, "theme": "", "updater.release.channel": "stable", "appcodechecker": true, "twofactor_enforced": "true", "twofactor_enforced_groups": [ "admin" ], "twofactor_enforced_excluded_groups": [], "mysql.utf8mb4": true, "app_install_overwrite": [ "passman", "imap_auth_aicr", "issuetemplate" ], "onlyoffice": { "verify_peer_off": true }, "updater.secret": "***REMOVED SENSITIVE VALUE***" } } ```

Are you using external storage, if yes which one: local/smb/sftp/... My nextcloud data is stored in an NFS share that is being mounted by the server OS at boot.

Are you using encryption: yes/no No

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... imap_auth_aicr - a customized copy of user_external from before the last major refactoring. Disabling this app does not affect the issue I am reporting.

LDAP configuration (delete this part if not used)

LDAP config ``` With access to your command line run e.g.: sudo -u www-data php occ ldap:show-config from within your Nextcloud installation folder Without access to your command line download the data/owncloud.db to your local computer or access your SQL server remotely and run the select query: SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap'; Eventually replace sensitive data as the name/IP-address of your LDAP server or groups. ```

Client configuration

Browser:

Operating system:

Logs

Web server error log

Web server error log ``` Insert your webserver log here ```

Nextcloud log (data/nextcloud.log)

Nextcloud log ``` Insert your Nextcloud log here ```

Browser log

Browser log ``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ```
mmccarn commented 4 years ago

This issue fixed itself while I was working on another issue.

Sequence:

I believe it's the last step that solved my problem.

Once again: