server icon indicating copy to clipboard operation
server copied to clipboard

Download of recently edited OnlyOffice file gives old version

Open bartnv opened this issue 6 years ago • 4 comments

When I edit a document in OnlyOffice, close it and then use the download function from the Nextcloud interface, I download an older version of the file. I've found that "occ documentserver:flush" flushes the new changes back to Nextcloud.

Steps to reproduce

  1. Edit a document in OnlyOffice
  2. Close the OnlyOffice editor
  3. Click download in the NC interface
  4. Observe the missing changes

Expected behaviour

The download function should return the most recent state of the document.

Actual behaviour

The download function returns an older state of the document.

Server configuration

Operating system: Debian 10

Web server: Apache 2.4

Database: MariaDB 10.3

PHP version: PHP 7.2

Nextcloud version: (see Nextcloud admin page) NC 18.0.1

Updated from an older Nextcloud/ownCloud or fresh install: Yes, updated from perhaps as far back as owncloud 8

Where did you install Nextcloud from: ZIP-file download from the official site. Using the auto-updater since many versions now.

Signing status:

Signing status
No errors have been found.

List of activated apps:

App list
Enabled:
  - accessibility: 1.4.0
  - activity: 2.11.0
  - bruteforcesettings: 1.5.0
  - calendar: 2.0.1
  - cloud_federation_api: 1.1.0
  - comments: 1.8.0
  - contacts: 3.2.0
  - dav: 1.14.0
  - documentserver_community: 0.1.5
  - federatedfilesharing: 1.8.0
  - federation: 1.8.0
  - files: 1.13.1
  - files_external: 1.9.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
  - logreader: 2.3.0
  - lookup_server_connector: 1.6.0
  - mail: 1.1.3
  - nextcloud_announcements: 1.7.0
  - notifications: 2.6.0
  - oauth2: 1.6.0
  - onlyoffice: 4.1.4
  - password_policy: 1.8.0
  - passwords: 2020.3.1
  - phonetrack: 0.6.2
  - photos: 1.0.0
  - privacy: 1.2.0
  - provisioning_api: 1.8.0
  - recommendations: 0.6.0
  - serverinfo: 1.8.0
  - settings: 1.0.0
  - sharebymail: 1.8.0
  - spreed: 8.0.4
  - 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_admin: 2.0.0
  - twofactor_backupcodes: 1.7.0
  - twofactor_nextcloud_notification: 2.2.0
  - twofactor_totp: 4.1.2
  - twofactor_u2f: 5.0.2
  - updatenotification: 1.8.0
  - viewer: 1.2.0
  - workflowengine: 2.0.0
Disabled:
  - admin_audit
  - encryption
  - maps
  - user_ldap

Nextcloud configuration:

Config report
{
    "system": {
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "tempdirectory": "\/home\/owncloud\/tmp",
        "dbtype": "mysql",
        "version": "18.0.1.3",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "theme": "",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***"
        ],
        "secret": "***REMOVED SENSITIVE VALUE***",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "mysql.utf8mb4": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "loglevel": 2,
        "trashbin_retention_obligation": "auto",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "updater.release.channel": "stable",
        "simpleSignUpLink.shown": false
    },
    "apps": {
        "accessibility": {
            "enabled": "yes",
            "installed_version": "1.4.0",
            "types": ""
        },
        "activity": {
            "enabled": "yes",
            "installed_version": "2.11.0",
            "signed": "true",
            "types": "filesystem"
        },
        "admin_dependencies_chk": {
            "enabled": "no",
            "installed_version": "0.01",
            "types": ""
        },
        "admin_export": {
            "enabled": "no",
            "installed_version": "0.1",
            "types": ""
        },
        "backgroundjob": {
            "lastjob": "2029"
        },
        "bookmarks": {
            "enabled": "no",
            "installed_version": "0.2"
        },
        "bruteforcesettings": {
            "enabled": "yes",
            "installed_version": "1.5.0",
            "types": ""
        },
        "calendar": {
            "enabled": "yes",
            "installed_version": "2.0.1",
            "signed": "true",
            "types": ""
        },
        "cloud_federation_api": {
            "enabled": "yes",
            "installed_version": "1.1.0",
            "types": "filesystem"
        },
        "comments": {
            "enabled": "yes",
            "installed_version": "1.8.0",
            "types": "logging"
        },
        "configreport": {
            "enabled": "no",
            "installed_version": "0.1.1",
            "types": "filesystem"
        },
        "contacts": {
            "enabled": "yes",
            "installed_version": "3.2.0",
            "signed": "true",
            "types": ""
        },
        "core": {
            "backgroundjobs_mode": "webcron",
            "backgroundjobs_step": "regular_tasks",
            "backgroundjobs_task": "OC_Cache_FileGlobal-gc",
            "enable_external_storage": "yes",
            "enterpriseLogoChecked": "yes",
            "global_cache_gc_lastrun": "1444237068",
            "installed.bundles": "[\"CoreBundle\"]",
            "installedat": "1333552671.3077",
            "lastcron": "1583166602",
            "lastupdateResult": "[]",
            "lastupdatedat": "1583157502",
            "moveavatarsdone": "yes",
            "oc.integritycheck.checker": "[]",
            "previewsCleanedUp": "1",
            "public_caldav": "calendar\/share.php",
            "public_calendar": "calendar\/share.php",
            "public_documents": "documents\/public.php",
            "public_files": "files_sharing\/public.php",
            "public_gallery": "gallery\/public.php",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "remote_ampache": "media\/remote.php",
            "remote_caldav": "dav\/appinfo\/v1\/caldav.php",
            "remote_calendar": "dav\/appinfo\/v1\/caldav.php",
            "remote_carddav": "dav\/appinfo\/v1\/carddav.php",
            "remote_contacts": "dav\/appinfo\/v1\/carddav.php",
            "remote_contactthumbnail": "contacts\/thumbnail.php",
            "remote_core.css": "\/core\/minimizer.php",
            "remote_core.js": "\/core\/minimizer.php",
            "remote_dav": "dav\/appinfo\/v2\/remote.php",
            "remote_files": "dav\/appinfo\/v1\/webdav.php",
            "remote_filesync": "files\/appinfo\/filesync.php",
            "remote_webdav": "dav\/appinfo\/v1\/webdav.php",
            "repairlegacystoragesdone": "yes",
            "scss.variables": "ecb0ac968dcb3cf842684733be34c74c",
            "shareapi_allow_mail_notification": "yes",
            "shareapi_allow_public_notification": "yes",
            "theming.variables": "41545bc493ea402b7a9b19b640ab406b",
            "umgmt_show_last_login": "true",
            "updater.secret.created": "1581715389",
            "vendor": "nextcloud"
        },
        "dav": {
            "buildCalendarReminderIndex": "yes",
            "buildCalendarSearchIndex": "yes",
            "chunks_migrated": "1",
            "enabled": "yes",
            "installed_version": "1.14.0",
            "regeneratedBirthdayCalendarsForYearFix": "yes",
            "types": "filesystem"
        },
        "documents": {
            "enabled": "no",
            "installed_version": "0.10.2",
            "ocsid": "168711",
            "types": ""
        },
        "documentserver_community": {
            "enabled": "yes",
            "installed_version": "0.1.5",
            "types": "filesystem"
        },
        "external": {
            "enabled": "no",
            "installed_version": "1.0"
        },
        "federatedfilesharing": {
            "enabled": "yes",
            "installed_version": "1.8.0",
            "types": ""
        },
        "federation": {
            "enabled": "yes",
            "installed_version": "1.8.0",
            "types": "authentication"
        },
        "files": {
            "cronjob_scan_files": "500",
            "default_quota": "1 GB",
            "installed_version": "1.13.1",
            "types": "filesystem"
        },
        "files_archive": {
            "enabled": "no",
            "installed_version": "0.2"
        },
        "files_encryption": {
            "enabled": "no",
            "installed_version": "0.2"
        },
        "files_external": {
            "enabled": "yes",
            "installed_version": "1.9.0",
            "types": "filesystem",
            "user_mounting_backends": "\\OC\\Files\\Storage\\AmazonS3,\\OC\\Files\\Storage\\Dropbox,\\OC\\Files\\Storage\\FTP,\\OC\\Files\\Storage\\Google,\\OC\\Files\\Storage\\Swift,\\OC\\Files\\Storage\\OwnCloud,\\OC\\Files\\Storage\\SFTP,\\OC\\Files\\Storage\\SFTP_Key,\\OC\\Files\\Storage\\DAV"
        },
        "files_imageviewer": {
            "enabled": "no",
            "installed_version": "1.0",
            "types": ""
        },
        "files_odfviewer": {
            "enabled": "no",
            "installed_version": "0.1",
            "types": ""
        },
        "files_pdfviewer": {
            "enabled": "yes",
            "installed_version": "1.7.0",
            "signed": "true",
            "types": ""
        },
        "files_rightclick": {
            "enabled": "yes",
            "installed_version": "0.15.2",
            "types": ""
        },
        "files_sharing": {
            "enabled": "yes",
            "installed_version": "1.10.1",
            "types": "filesystem"
        },
        "files_texteditor": {
            "enabled": "no",
            "installed_version": "2.8.0",
            "signed": "true",
            "types": ""
        },
        "files_trashbin": {
            "enabled": "yes",
            "installed_version": "1.8.0",
            "types": "filesystem,dav"
        },
        "files_versions": {
            "enabled": "yes",
            "installed_version": "1.11.0",
            "types": "filesystem,dav"
        },
        "files_videoplayer": {
            "enabled": "yes",
            "installed_version": "1.7.0",
            "types": ""
        },
        "files_videoviewer": {
            "enabled": "no",
            "installed_version": "0.1.3",
            "ocsid": "166054",
            "types": ""
        },
        "firstrunwizard": {
            "enabled": "yes",
            "installed_version": "2.7.0",
            "types": "logging"
        },
        "gallery": {
            "enabled": "no",
            "installed_version": "18.4.0",
            "signed": "true",
            "types": ""
        },
        "logreader": {
            "enabled": "yes",
            "installed_version": "2.3.0",
            "types": ""
        },
        "lookup_server_connector": {
            "enabled": "yes",
            "installed_version": "1.6.0",
            "types": "authentication"
        },
        "mail": {
            "enabled": "yes",
            "installed_version": "1.1.3",
            "types": ""
        },
        "maps": {
            "enabled": "no",
            "installed_version": "0.1.5",
            "lastAddressLookup": "1578327296",
            "osrmCarURL": "https:\/\/router.project-osrm.org\/route\/v1\/driving",
            "osrmDEMO": "1",
            "types": "filesystem"
        },
        "market": {
            "enabled": "no",
            "installed_version": "0.2.3",
            "types": ""
        },
        "media": {
            "enabled": "no",
            "installed_version": "0.4.3",
            "types": ""
        },
        "nextcloud_announcements": {
            "enabled": "yes",
            "installed_version": "1.7.0",
            "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200",
            "types": "logging"
        },
        "notifications": {
            "enabled": "yes",
            "installed_version": "2.6.0",
            "types": "logging"
        },
        "oauth2": {
            "enabled": "yes",
            "installed_version": "1.6.0",
            "types": "authentication"
        },
        "onlyoffice": {
            "DocumentServerUrl": "https:\/\/***REMOVED SENSITIVE VALUE***\/index.php\/apps\/documentserver_community\/",
            "defFormats": "{\"docx\":true,\"pptx\":true,\"xlsx\":true,\"odp\":true,\"ods\":true,\"odt\":true,\"doc\":true,\"ppt\":true,\"xls\":true}",
            "editFormats": "{\"csv\":true,\"docx\":true,\"pptx\":true,\"txt\":true,\"xlsx\":true,\"odp\":true,\"ods\":true,\"odt\":true,\"rtf\":true}",
            "enabled": "yes",
            "installed_version": "4.1.4",
            "sameTab": "true",
            "types": "filesystem"
        },
        "password_policy": {
            "enabled": "yes",
            "installed_version": "1.8.0",
            "types": ""
        },
        "passwords": {
            "SSEv1ServerKey": "***REMOVED SENSITIVE VALUE***",
            "backup\/timestamp": "1566762302",
            "backups\/moved": "yes",
            "deleted_users": "[]",
            "enabled": "yes",
            "entity\/purge\/timeout": "2592000",
            "installed_version": "2020.3.1",
            "legacy_api_checkpoint": "1582839901",
            "legacy_api_enabled": "",
            "migration\/customFields": "2020.2.0",
            "migration\/hibp": "1",
            "passwords\/localdb\/type": "hibp",
            "service\/favicon": "ddg",
            "service\/images": "imagick",
            "service\/preview": "default",
            "service\/words": "random",
            "survey\/server\/mode": "2",
            "survey\/server\/notification": "1571562903",
            "survey\/server\/week": "09",
            "types": "",
            "users\/deleted": "[]"
        },
        "phonetrack": {
            "enabled": "[\"admin\"]",
            "installed_version": "0.6.2",
            "types": ""
        },
        "photos": {
            "enabled": "yes",
            "installed_version": "1.0.0",
            "types": ""
        },
        "privacy": {
            "enabled": "yes",
            "installed_version": "1.2.0",
            "readableLocation": "nl",
            "types": ""
        },
        "provisioning_api": {
            "enabled": "yes",
            "installed_version": "1.8.0",
            "types": "prevent_group_restriction"
        },
        "recommendations": {
            "enabled": "yes",
            "installed_version": "0.6.0",
            "types": ""
        },
        "remoteStorage": {
            "enabled": "no",
            "installed_version": "0.6"
        },
        "search_lucene": {
            "enabled": "no",
            "installed_version": "0.5.3",
            "ocsid": "168709",
            "types": "filesystem"
        },
        "serverinfo": {
            "enabled": "yes",
            "installed_version": "1.8.0",
            "types": ""
        },
        "settings": {
            "enabled": "yes",
            "installed_version": "1.0.0",
            "types": ""
        },
        "sharebymail": {
            "enabled": "yes",
            "installed_version": "1.8.0",
            "types": "filesystem"
        },
        "spreed": {
            "enabled": "yes",
            "installed_version": "8.0.4",
            "project_access_invalidated": "1",
            "signaling_servers": "***REMOVED SENSITIVE VALUE***",
            "signaling_ticket_secret": "***REMOVED SENSITIVE VALUE***",
            "stun_servers": "***REMOVED SENSITIVE VALUE***",
            "turn_servers": "***REMOVED SENSITIVE VALUE***",
            "types": "prevent_group_restriction"
        },
        "support": {
            "enabled": "yes",
            "installed_version": "1.1.0",
            "types": "session"
        },
        "survey_client": {
            "enabled": "yes",
            "installed_version": "1.6.0",
            "last_report": "{\"id\":\"5099136a0d9c7\",\"items\":[[\"server\",\"version\",\"17.0.2.1\"],[\"server\",\"code\",\"other\"],[\"server\",\"enable_avatars\",\"yes\"],[\"server\",\"enable_previews\",\"yes\"],[\"server\",\"memcache.local\",\"\\\\OC\\\\Memcache\\\\APCu\"],[\"server\",\"memcache.distributed\",\"none\"],[\"server\",\"asset-pipeline.enabled\",\"no\"],[\"server\",\"filelocking.enabled\",\"yes\"],[\"server\",\"memcache.locking\",\"none\"],[\"server\",\"debug\",\"no\"],[\"server\",\"cron\",\"webcron\"],[\"php\",\"version\",\"7.2.26\"],[\"php\",\"memory_limit\",134217728],[\"php\",\"max_execution_time\",3600],[\"php\",\"upload_max_filesize\",52428800],[\"database\",\"type\",\"mysql\"],[\"database\",\"version\",\"10.1.41\"],[\"database\",\"size\",225878016],[\"apps\",\"accessibility\",\"1.3.0\"],[\"apps\",\"activity\",\"2.10.1\"],[\"apps\",\"admin_dependencies_chk\",\"disabled\"],[\"apps\",\"admin_export\",\"disabled\"],[\"apps\",\"bookmarks\",\"disabled\"],[\"apps\",\"bruteforcesettings\",\"1.4.0\"],[\"apps\",\"calendar\",\"1.7.2\"],[\"apps\",\"cloud_federation_api\",\"1.0.0\"],[\"apps\",\"comments\",\"1.7.0\"],[\"apps\",\"configreport\",\"disabled\"],[\"apps\",\"contacts\",\"3.1.6\"],[\"apps\",\"dav\",\"1.13.0\"],[\"apps\",\"documents\",\"disabled\"],[\"apps\",\"external\",\"disabled\"],[\"apps\",\"federatedfilesharing\",\"1.7.0\"],[\"apps\",\"federation\",\"1.7.0\"],[\"apps\",\"files\",\"1.12.0\"],[\"apps\",\"files_archive\",\"disabled\"],[\"apps\",\"files_encryption\",\"disabled\"],[\"apps\",\"files_external\",\"1.8.0\"],[\"apps\",\"files_imageviewer\",\"disabled\"],[\"apps\",\"files_odfviewer\",\"disabled\"],[\"apps\",\"files_pdfviewer\",\"1.6.0\"],[\"apps\",\"files_rightclick\",\"0.15.1\"],[\"apps\",\"files_sharing\",\"1.9.0\"],[\"apps\",\"files_texteditor\",\"disabled\"],[\"apps\",\"files_trashbin\",\"1.7.0\"],[\"apps\",\"files_versions\",\"1.10.0\"],[\"apps\",\"files_videoplayer\",\"1.6.0\"],[\"apps\",\"files_videoviewer\",\"disabled\"],[\"apps\",\"firstrunwizard\",\"2.6.0\"],[\"apps\",\"gallery\",\"18.4.0\"],[\"apps\",\"logreader\",\"2.2.0\"],[\"apps\",\"lookup_server_connector\",\"1.5.0\"],[\"apps\",\"mail\",\"0.21.1\"],[\"apps\",\"maps\",\"0.1.2\"],[\"apps\",\"market\",\"disabled\"],[\"apps\",\"media\",\"disabled\"],[\"apps\",\"nextcloud_announcements\",\"1.6.0\"],[\"apps\",\"notifications\",\"2.5.0\"],[\"apps\",\"oauth2\",\"1.5.0\"],[\"apps\",\"password_policy\",\"1.7.0\"],[\"apps\",\"passwords\",\"2020.1.0\"],[\"apps\",\"phonetrack\",\"0.5.11\"],[\"apps\",\"privacy\",\"1.1.0\"],[\"apps\",\"provisioning_api\",\"1.7.0\"],[\"apps\",\"recommendations\",\"0.5.0\"],[\"apps\",\"remoteStorage\",\"disabled\"],[\"apps\",\"search_lucene\",\"disabled\"],[\"apps\",\"serverinfo\",\"1.7.0\"],[\"apps\",\"sharebymail\",\"1.7.0\"],[\"apps\",\"spreed\",\"7.0.2\"],[\"apps\",\"support\",\"1.0.1\"],[\"apps\",\"survey_client\",\"1.5.0\"],[\"apps\",\"systemtags\",\"1.7.0\"],[\"apps\",\"tasks\",\"0.11.3\"],[\"apps\",\"templateeditor\",\"disabled\"],[\"apps\",\"text\",\"1.1.1\"],[\"apps\",\"theming\",\"1.8.0\"],[\"apps\",\"twofactor_admin\",\"2.0.0\"],[\"apps\",\"twofactor_backupcodes\",\"1.6.0\"],[\"apps\",\"twofactor_nextcloud_notification\",\"2.2.0\"],[\"apps\",\"twofactor_totp\",\"4.1.2\"],[\"apps\",\"twofactor_u2f\",\"5.0.2\"],[\"apps\",\"updatenotification\",\"1.7.0\"],[\"apps\",\"updater\",\"disabled\"],[\"apps\",\"user_ldap\",\"disabled\"],[\"apps\",\"user_openid\",\"disabled\"],[\"apps\",\"user_webfinger\",\"disabled\"],[\"apps\",\"viewer\",\"1.2.0\"],[\"apps\",\"workflowengine\",\"1.7.0\"],[\"stats\",\"num_files\",227624],[\"stats\",\"num_users\",14],[\"stats\",\"num_storages\",17],[\"stats\",\"num_storages_local\",3],[\"stats\",\"num_storages_home\",14],[\"stats\",\"num_storages_other\",0],[\"stats\",\"num_comments\",234],[\"stats\",\"num_comment_markers\",1],[\"stats\",\"num_systemtags\",0],[\"stats\",\"num_systemtags_mappings\",0],[\"files_sharing\",\"num_shares\",6],[\"files_sharing\",\"num_shares_user\",2],[\"files_sharing\",\"num_shares_groups\",0],[\"files_sharing\",\"num_shares_link\",4],[\"files_sharing\",\"num_shares_link_no_password\",4],[\"files_sharing\",\"num_fed_shares_sent\",0],[\"files_sharing\",\"num_fed_shares_received\",0],[\"files_sharing\",\"permissions_3_1\",\"2\"],[\"files_sharing\",\"permissions_3_15\",\"2\"],[\"files_sharing\",\"permissions_0_19\",\"2\"],[\"encryption\",\"enabled\",\"no\"],[\"encryption\",\"default_module\",\"no\"]]}",
            "last_sent": "1579864503",
            "types": ""
        },
        "systemtags": {
            "enabled": "yes",
            "installed_version": "1.8.0",
            "types": "logging"
        },
        "tasks": {
            "enabled": "yes",
            "installed_version": "0.11.3",
            "signed": "true",
            "types": ""
        },
        "templateeditor": {
            "enabled": "no",
            "installed_version": "0.1",
            "types": ""
        },
        "text": {
            "enabled": "yes",
            "installed_version": "2.0.0",
            "types": "dav"
        },
        "theming": {
            "cachebuster": "2",
            "enabled": "yes",
            "installed_version": "1.9.0",
            "name": "MMVI Cloud",
            "types": "logging",
            "url": "***REMOVED SENSITIVE VALUE***"
        },
        "twofactor_admin": {
            "enabled": "yes",
            "installed_version": "2.0.0",
            "types": ""
        },
        "twofactor_backupcodes": {
            "enabled": "yes",
            "installed_version": "1.7.0",
            "types": ""
        },
        "twofactor_nextcloud_notification": {
            "enabled": "yes",
            "installed_version": "2.2.0",
            "mmvi_enabled": "1",
            "types": ""
        },
        "twofactor_totp": {
            "enabled": "yes",
            "installed_version": "4.1.2",
            "types": ""
        },
        "twofactor_u2f": {
            "enabled": "yes",
            "installed_version": "5.0.2",
            "types": ""
        },
        "updatenotification": {
            "bruteforcesettings": "1.5.0",
            "calendar": "2.0.1",
            "contacts": "3.2.0",
            "core": "17.0.3.1",
            "enabled": "yes",
            "files_pdfviewer": "1.1.2",
            "installed_version": "1.8.0",
            "mail": "1.1.3",
            "maps": "0.1.4",
            "passwords": "2020.3.1",
            "phonetrack": "0.6.1",
            "spreed": "7.0.2",
            "tasks": "0.11.3",
            "twofactor_admin": "2.0.0",
            "twofactor_nextcloud_notification": "2.2.0",
            "twofactor_totp": "4.1.2",
            "twofactor_u2f": "5.0.2",
            "types": "",
            "update_check_errors": "0"
        },
        "updater": {
            "enabled": "no",
            "installed_version": "0.6",
            "types": ""
        },
        "user_ldap": {
            "enabled": "no",
            "installed_version": "0.2"
        },
        "user_openid": {
            "enabled": "no",
            "installed_version": "0.1.1"
        },
        "user_webfinger": {
            "enabled": "no",
            "installed_version": "0.3"
        },
        "viewer": {
            "enabled": "yes",
            "installed_version": "1.2.0",
            "types": ""
        },
        "workflowengine": {
            "enabled": "yes",
            "installed_version": "2.0.0",
            "types": "filesystem"
        }
    }
}

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

Are you using encryption: yes/no no

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

Client configuration

Browser: Firefox 72

Operating system: Windows 10 Pro

Logs

Web server error log

Web server error log
Nothing relevant

Nextcloud log (data/nextcloud.log)

Nextcloud log
{"reqId":"Q8TPfOmxggSKlvxp77gq","level":2,"time":"2020-03-01T05:00:20+00:00","remoteAddr":"**DELETED**","user":"--","app":"appstoreFetcher","method":"GET","url":"/cron.php","message":"Could not connect to appstore: cURL error 28: Connection timed out after 10000 milliseconds (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"Wget/1.20.1 (linux-gnu)","version":"18.0.1.3"}
{"reqId":"NLMAacyPDPF5bO0wo389","level":3,"time":"2020-03-02T09:57:13+00:00","remoteAddr":"**DELETED**","user":"mmvi","app":"PHP","method":"GET","url":"/ocs/v2.php/core/whatsnew?format=json","message":"Undefined index: changelogURL at /home/owncloud/public/core/Controller/WhatsNewController.php#91","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0","version":"18.0.1.3"}
{"reqId":"CyIr9yYJDsW8K026ayrI","level":3,"time":"2020-03-02T13:38:28+00:00","remoteAddr":"**DELETED**","user":"mmvi","app":"PHP","method":"GET","url":"/ocs/v2.php/core/whatsnew?format=json","message":"Undefined index: changelogURL at /home/owncloud/public/core/Controller/WhatsNewController.php#91","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0","version":"18.0.1.3"}
{"reqId":"Jz25XJLWXVL5RCqPUEEZ","level":3,"time":"2020-03-02T13:58:31+00:00","remoteAddr":"**DELETED**","user":"mmvi","app":"no app in context","method":"GET","url":"/index.php/logout?requesttoken=JzU33YlCAbrtwaFi%2Fg94tFpO9A4A2PbExnPSXXCcZRE%3D%3AV2IPl9gJat6Mt%2BYbqkU53jwqgDpEj7338iSQMSraFGs%3D","message":{"Exception":"OCA\\Talk\\Exceptions\\RoomNotFoundException","Message":"","Code":0,"Trace":[{"file":"/home/owncloud/public/apps/spreed/lib/Listener.php","line":108,"function":"getRoomForSession","class":"OCA\\Talk\\Manager","type":"->","args":["mmvi","0qGsj2VEthRxLB2TIOWeHD7XUiP5I9usyiVQXyItWt4MqRt3SghCJ/PQXIeq/ooUm92d9pANR5pRvVjLG5lvLN9CiJTCCi++1SwNV/z8dNZnjwf2pyGpg1uYttj2N4ZSjPM5cdW+JH3GBZhhn2S1SeAnqyyacFEXxzAd7mMlUecqSUET/AoN1XzUYponGEkSRx2nB89+r3PYuC18K8ckkWZNdld6u1Yd0R3R303PVDk3a/CpOmosNuNLyBeZEIy"]},{"file":"/home/owncloud/public/apps/spreed/lib/Listener.php","line":99,"function":"logoutUser","class":"OCA\\Talk\\Listener","type":"->","args":[]},{"file":"/home/owncloud/public/lib/private/legacy/hook.php","line":111,"function":"logoutUserStatic","class":"OCA\\Talk\\Listener","type":"::","args":[[]]},{"file":"/home/owncloud/public/lib/private/Server.php","line":528,"function":"emit","class":"OC_Hook","type":"::","args":["OC_User","logout",[]]},{"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/home/owncloud/public/lib/private/Hooks/EmitterTrait.php","line":100,"function":"call_user_func_array","args":[{"__class__":"Closure"},["*** sensitive parameter replaced ***"]]},{"file":"/home/owncloud/public/lib/private/Hooks/PublicEmitter.php","line":40,"function":"emit","class":"OC\\Hooks\\BasicEmitter","type":"->","args":["\\OC\\User","logout",["*** sensitive parameter replaced ***"]]},{"file":"/home/owncloud/public/lib/private/User/Session.php","line":904,"function":"emit","class":"OC\\Hooks\\PublicEmitter","type":"->","args":["\\OC\\User","logout",["*** sensitive parameter replaced ***"]]},{"file":"/home/owncloud/public/core/Controller/LoginController.php","line":120,"function":"logout","class":"OC\\User\\Session","type":"->","args":[]},{"file":"/home/owncloud/public/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"logout","class":"OC\\Core\\Controller\\LoginController","type":"->","args":[]},{"file":"/home/owncloud/public/lib/private/AppFramework/Http/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Core\\Controller\\LoginController"},"logout"]},{"file":"/home/owncloud/public/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Core\\Controller\\LoginController"},"logout"]},{"file":"/home/owncloud/public/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Core\\Controller\\LoginController","logout",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"core.login.logout"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"core.login.logout"}]},{"file":"/home/owncloud/public/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"core.login.logout"}]},{"file":"/home/owncloud/public/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/logout"]},{"file":"/home/owncloud/public/index.php","line":38,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/home/owncloud/public/apps/spreed/lib/Manager.php","Line":455,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0","version":"18.0.1.3"}
{"reqId":"t8DzuLyFmPfwcxCOFTjh","level":3,"time":"2020-03-02T14:54:19+00:00","remoteAddr":"**DELETED**","user":"mmvi","app":"PHP","method":"GET","url":"/ocs/v2.php/core/whatsnew?format=json","message":"Undefined index: changelogURL at /home/owncloud/public/core/Controller/WhatsNewController.php#91","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0","version":"18.0.1.3"}
{"reqId":"lEVo6QpUdrDJaUWZ2g52","level":3,"time":"2020-03-02T14:55:25+00:00","remoteAddr":"**DELETED**","user":"mmvi","app":"PHP","method":"GET","url":"/ocs/v2.php/core/whatsnew?format=json","message":"Undefined index: changelogURL at /home/owncloud/public/core/Controller/WhatsNewController.php#91","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0","version":"18.0.1.3"}
{"reqId":"MECvXayLFTFZWOoC5FVQ","level":3,"time":"2020-03-02T14:58:18+00:00","remoteAddr":"**DELETED**","user":"mmvi","app":"PHP","method":"GET","url":"/ocs/v2.php/core/whatsnew?format=json","message":"Undefined index: changelogURL at /home/owncloud/public/core/Controller/WhatsNewController.php#91","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0","version":"18.0.1.3"}
{"reqId":"tR820tLRqjyAkaayCGKH","level":3,"time":"2020-03-02T15:03:30+00:00","remoteAddr":"**DELETED**","user":"mmvi","app":"PHP","method":"GET","url":"/ocs/v2.php/core/whatsnew?format=json","message":"Undefined index: changelogURL at /home/owncloud/public/core/Controller/WhatsNewController.php#91","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0","version":"18.0.1.3"}
{"reqId":"7RvdHX9Pnt7lsLlhNU0C","level":3,"time":"2020-03-02T15:28:38+00:00","remoteAddr":"**DELETED**","user":"mmvi","app":"PHP","method":"GET","url":"/ocs/v2.php/core/whatsnew?format=json","message":"Undefined index: changelogURL at /home/owncloud/public/core/Controller/WhatsNewController.php#91","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0","version":"18.0.1.3"}
{"reqId":"yE9JMaprG1fAChlCXf24","level":3,"time":"2020-03-02T15:56:32+00:00","remoteAddr":"**DELETED**","user":"mmvi","app":"PHP","method":"GET","url":"/ocs/v2.php/core/whatsnew?format=json","message":"Undefined index: changelogURL at /home/owncloud/public/core/Controller/WhatsNewController.php#91","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0","version":"18.0.1.3"}

Browser log

Browser log
Nothing relevant

bartnv avatar Mar 02 '20 16:03 bartnv

Hello, Is this file shared or can be opened somewhere on other device? Onlyoffice has one controversial feature. Imagine Bob shared a document with Alice. Alice co-edited it with Bob. Bob closed this document and downloaded from Nextcloud interface. And Bob is always getting old version while Alice has this document opened. So if you doubt, you can try to set timeout in Onlyoffice server. Thus it will automatically close inactive session... let's say in 1 hour. Hope it might help, because I tested it on version 17.

The link to the GitHub problem discussed in other repository.

Irillit avatar Mar 03 '20 10:03 Irillit

I got the same issue. Lost data already. Would love a solution to this.

b3nis avatar Apr 01 '20 08:04 b3nis

Closing this report in favor of https://github.com/nextcloud/documentserver_community/issues/12

Just as reference the discussion at https://help.nextcloud.com/t/documents-not-being-saved-when-editing-nextcloud-18-local-community-document-server-plugin/71382

kesselb avatar Apr 01 '20 21:04 kesselb

I would also reference https://github.com/ONLYOFFICE/onlyoffice-nextcloud/issues/21#issuecomment-568745636 as an important place to discuss this issue

biva avatar Apr 02 '20 08:04 biva