server icon indicating copy to clipboard operation
server copied to clipboard

[Bug]: NC28 Changed Behavior when both OnlyOffice and Collabora are enabled

Open mmccarn opened this issue 1 year ago • 1 comments

⚠️ This issue respects the following points: ⚠️

Bug description

I don't know where to report this, so I am reporting it here.

I have had both Onlyoffice /onlyoffice and Collabora / richdocuments installed and working on my Nextcloud server since 2019.

The specific behavior has changed over time (for example, at one point, I had to use "..." -> "View" to edit a file using Collabora)

For several NC versions now, clicking on a ".docx" file would open the file in Collabora/richdocuments, and the "..." menu included "Open in ONLYOFFICE" as an option.

Since updating my server to NC28, I have two problems:

  1. I can find no configuration that allows both apps to coexist as they did previously
  2. Edits made in one plugin may or may not appear if I change the enabled plugin configuration and edit the same document using the other editor.

Instead, here is what I am seeing:

  • Neither editor appears on the "..." menu
  • Clicking on the .docx filename will open the file using Collabora/richdocuments if the onlyoffice app is disabled
  • Clicking on the .docx will use onlyoffice if both apps are enabled or if only onlyoffice is enabled
  • Changes made in Collabora/richdocuments do not appear in OnlyOffice
  • Changes made in OnlyOffice overwrite the changes that were made in Collabora -- but the document history in Collabora shows the "missing" changes

Steps to reproduce

  1. Upgrade NC to v28 that has both OnlyOffice and Collabora configures
  2. Attempt to access Onlyoffice and Collabora

Expected behavior

I expected the editor behavior to remain unchanged:

  1. Clicking on a .docx file would open it in Collabora using richdocuments
  2. Clicking "..." would offer "Open in ONLYOFFICE"
  3. Edits made in either app would appear when the file is opened in the other app

Installation method

Community Manual installation with Archive

Nextcloud Server version

28

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

PostgreSQL

Is this bug present after an update or on a fresh install?

Upgraded to a MAJOR version (ex. 22 to 23)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • [X] Default user-backend (database)
  • [ ] LDAP/ Active Directory
  • [ ] SSO - SAML
  • [ ] Other

Configuration report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "scanresult": "\/results\/fa3a7d24-4303-4cda-8b05-52bd288c9382",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "192.168.200.167",
            "cloud.mmsionline.us"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "default_language": "en_US",
        "defaultapp": "files",
        "knowledgebaseenabled": true,
        "remember_login_cookie_lifetime": 1296000,
        "session_lifetime": 86400,
        "session_keepalive": true,
        "auto_logout": false,
        "token_auth_enforced": false,
        "auth.bruteforce.protection.enabled": true,
        "auth.webauthn.enabled": true,
        "hide_login_form": false,
        "skeletondirectory": "",
        "tempdirectory": "\/var\/www\/nc-temp",
        "overwrite.cli.url": "https:\/\/cloud.mmsionline.us\/",
        "overwritehost": "cloud.mmsionline.us",
        "htaccess.RewriteBase": "\/",
        "updatedirectory": "\/var\/www\/updater",
        "dbtype": "pgsql",
        "version": "28.0.1.1",
        "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",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "filelocking.enabled": "true",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 1.5
        },
        "loglevel": 2,
        "log_rotate_size": 104857600,
        "logfile": "\/var\/www\/nc-log\/nextcloud.log",
        "log.condition": [],
        "apps_paths": [
            {
                "path": "\/var\/www\/nextcloud\/apps",
                "url": "\/apps",
                "writable": true
            },
            {
                "path": "\/var\/www\/nextcloud\/local",
                "url": "\/local",
                "writable": true
            }
        ],
        "mail_smtpmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "PLAIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "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\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\MP3",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\OpenDocument",
            "OC\\Preview\\Krita"
        ],
        "asset-pipline.enabled": true,
        "maintenance": false,
        "theme": "",
        "updater.release.channel": "stable",
        "appcodechecker": false,
        "twofactor_enforced": "true",
        "twofactor_enforced_groups": [
            "admin",
            "wcrf.org"
        ],
        "twofactor_enforced_excluded_groups": [],
        "mysql.utf8mb4": true,
        "app_install_overwrite": [
            "passman",
            "imap_auth_aicr",
            "issuetemplate",
            "sociallogin",
            "dicomviewer",
            "impersonate",
            "files_mindmap"
        ],
        "onlyoffice": {
            "verify_peer_off": true,
            "timeout": 5,
            "editors_check_interval": 90
        },
        "allow_local_remote_servers": true,
        "default_phone_region": "US",
        "mail_sendmailmode": "smtp"
    }
}

List of activated Apps

Enabled:
  - activity: 2.20.0
  - admin_audit: 1.18.0
  - analytics: 4.12.0
  - circles: 28.0.0-dev
  - cloud_federation_api: 1.11.0
  - comments: 1.18.0
  - contactsinteraction: 1.9.0
  - dashboard: 7.8.0
  - dav: 1.29.1
  - dicomviewer: 1.2.5
  - federatedfilesharing: 1.18.0
  - federation: 1.18.0
  - files: 2.0.0
  - files_external: 1.20.0
  - files_mindmap: 0.0.30
  - files_pdfviewer: 2.9.0
  - files_reminders: 1.1.0
  - files_sharing: 1.20.0
  - files_trashbin: 1.18.0
  - files_versions: 1.21.0
  - firstrunwizard: 2.17.0
  - impersonate: 1.15.0
  - integration_github: 2.0.6
  - integration_gitlab: 1.0.18
  - integration_openai: 1.2.0
  - integration_openproject: 2.5.1
  - logreader: 2.13.0
  - lookup_server_connector: 1.16.0
  - mail: 3.5.3
  - nextcloud_announcements: 1.17.0
  - notes: 4.9.2
  - notifications: 2.16.0
  - oauth2: 1.16.3
  - password_policy: 1.18.0
  - photos: 2.4.0
  - privacy: 1.12.0
  - provisioning_api: 1.18.0
  - recommendations: 2.0.0
  - related_resources: 1.3.0
  - richdocuments: 8.3.1
  - serverinfo: 1.18.0
  - settings: 1.10.1
  - sharebymail: 1.18.0
  - sociallogin: 5.6.3
  - support: 1.11.0
  - survey_client: 1.16.0
  - systemtags: 1.18.0
  - tasks: 0.15.0
  - text: 3.9.1
  - theming: 2.3.0
  - twofactor_backupcodes: 1.17.0
  - twofactor_email: 2.7.4
  - twofactor_totp: 10.0.0-beta.2
  - twofactor_webauthn: 1.3.2
  - updatenotification: 1.18.0
  - user_status: 1.8.1
  - viewer: 2.2.0
  - weather_status: 1.8.0
  - workflowengine: 2.10.0
Disabled:
  - bruteforcesettings: 2.8.0 (installed 1.5.0)
  - encryption: 2.16.0 (installed 2.15.0)
  - imap_auth_aicr: 0.1.3 (installed 0.1.3)
  - onlyoffice: 9.0.0 (installed 9.0.0)
  - sociallogin-aicr: 3.4.1 (installed 3.4.1)
  - suspicious_login: 6.0.0 (installed 5.0.0)
  - user_ldap: 1.19.0

Nextcloud Signing status

Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results
=======
- user_external
	- EXCEPTION
		- Exception
		- App not found

Raw output
==========
Array
(
    [user_external] => Array
        (
            [EXCEPTION] => Array
                (
                    [class] => Exception
                    [message] => App not found
                )

        )

)

Nextcloud Logs

No response

Additional info

No response

mmccarn avatar Jan 16 '24 13:01 mmccarn