So, I was writing this document for one of my exams (homeschooling due to the cu…rrent situation), and was working on it for 8 hours, where I started about 16:40 on the 27.03.2020 (if that helps searching in the log), until about midnight (00:01 28.03.2020). After finishing the task, I exited the editor (through the web interface), and forwarded the shared link to my teachers so they can read/download it.
I noticed my file size was suspiciously small, so I opened it to check, and noticed that 8 hours of work was gone. I've now spent over 2 hours troubleshooting and trying to rescue the file (even looked up the browser cache, but no success), and have at this point given up.
Below are the issue report, but it would save my day if someone knows a way to restore the file. I checked the versions history, but the only entry is even older, and it's not up to date either.
It should be noted, I was editing externally over the internet, so I don't know if something timed out on the server/client side, but here to hoping it can be restored, or at least resolved if this is not a config issue.
### Steps to reproduce
1: Open and edit a word document created with OnlyOffice, as you normally would through the web interface.
2: Make constant changes to said document for a long time (I was writing for 8 hours straight)
3: Make sure the save icon is grey, and exit the document editor.
4: If the last "file update" time is not recent, re-open the document.
5: You may or may not encounter a warning screen mentioning OnlyOffice was not able to open the file properly, and the user is urged to download the file locally to their computer to be safe.
6: You do that, only to notice all the work since the reported "last update" time, is gone.
7: Rip your hairs out in frustration.
### Expected behaviour
The document should be saved, and the file should be accessible as normal.
### Actual behaviour
The file changes since last reported file update time are lost. OnlyOffice shows a warning about having issues opening the file properly, and downloading the file locally confirms that the changes since the reported file update time, are indeed lost into the void.
## Server configuration detail
**Operating system:** Linux 4.15.0-91-generic #92-Ubuntu SMP Fri Feb 28 11:09:48 UTC 2020 x86_64
**Webserver:** Apache/2.4.29 (Ubuntu) (apache2handler)
**Database:** mysql 5.7.29
**PHP version:**
7.2.24-0ubuntu0.18.04.3
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, sodium, session, standard, apache2handler, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, intl, json, exif, mysqli, pdo_mysql, Phar, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Zend OPcache
**Nextcloud version:** 18.0.3 - 18.0.3.0
**Updated from an older Nextcloud/ownCloud or fresh install:** Updated from 18.0.1 a few weeks ago
**Where did you install Nextcloud from:** Unknown
<details><summary>Signing status</summary>
Array
(
)
</details>
<details><summary>List of activated apps</summary>
```
Enabled:
- accessibility: 1.4.0
- admin_audit: 1.8.0
- analytics: 2.1.1
- announcementcenter: 3.7.0
- appointments: 1.1.10
- apporder: 0.9.0
- bookmarks: 2.3.4
- browser_warning: 0.2.0
- bruteforcesettings: 1.5.0
- calendar: 2.0.2
- camerarawpreviews: 0.7.3
- cloud_federation_api: 1.1.0
- cms_pico: 1.0.5
- comments: 1.8.0
- contacts: 3.2.0
- cookbook: 0.6.1
- dav: 1.14.0
- deck: 0.8.0
- documentserver_community: 0.1.5
- external: 3.5.0
- federatedfilesharing: 1.8.0
- federation: 1.8.0
- files: 1.13.1
- files_accesscontrol: 1.8.1
- files_automatedtagging: 1.8.2
- files_external: 1.9.0
- files_frommail: 0.4.0
- files_linkeditor: 1.0.13
- 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
- forms: 1.1.1
- group_everyone: 0.1.4
- groupfolders: 6.0.3
- groupquota: 0.1.2
- impersonate: 1.5.0
- issuetemplate: 0.6.0
- logreader: 2.3.0
- lookup_server_connector: 1.6.0
- maps: 0.1.6
- metadata: 0.11.1
- music: 0.13.2
- news: 14.1.3
- nextcloud_announcements: 1.7.0
- notes: 3.2.0
- notifications: 2.6.0
- oauth2: 1.6.0
- occweb: 0.0.7
- ocr: 6.0.25
- onlyoffice: 4.1.4
- passman: 2.3.5
- password_policy: 1.8.0
- photos: 1.0.0
- previewgenerator: 2.2.0
- privacy: 1.2.0
- provisioning_api: 1.8.0
- rainloop: 6.1.0
- ransomware_protection: 1.6.1
- recommendations: 0.6.0
- serverinfo: 1.8.0
- settings: 1.0.0
- sharebymail: 1.8.0
- sharingpath: 0.2.0
- socialsharing_email: 2.0.0
- socialsharing_facebook: 2.0.0
- spreed: 8.0.5
- support: 1.1.0
- survey_client: 1.6.0
- suspicious_login: 3.1.0
- systemtags: 1.8.0
- terms_of_service: 1.4.0
- text: 2.0.0
- theming: 1.9.0
- theming_customcss: 1.5.0
- twofactor_admin: 2.0.0
- twofactor_backupcodes: 1.7.0
- twofactor_nextcloud_notification: 2.2.0
- updatenotification: 1.8.0
- video_converter: 0.1.3
- viewer: 1.2.0
- workflow_pdf_converter: 1.3.1
- workflow_script: 1.3.1
- workflowengine: 2.0.0
Disabled:
- activity
- breezedark
- carnet
- cospend
- encryption
- files_external_gdrive
- files_snapshots
- flowupload
- fulltextsearch
- mail
- ocdownloader
- ocsms
- openhab
- phonetrack
- ransomware_detection
- registration
- sensorlogger
- unsplash
- user_ldap
```
</details>
<details><summary>Configuration (config/config.php)</summary>
```
{
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
***REMOVED SENSITIVE VALUE***
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "18.0.3.0",
"overwritehost": "***REMOVED SENSITIVE VALUE***",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"memcache.locking": "\\OC\\Memcache\\Redis",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.local": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379,
"timeout": 3
},
"maintenance": false,
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpsecure": "tls",
"mail_smtpauthtype": "PLAIN",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"has_rebuilt_cache": true,
"0": [
"files_external_gdrive",
"sharingpath",
"files_frommail"
],
"updater.release.channel": "stable",
"theme": "",
"loglevel": 2,
"overwrite.cli.url": "***REMOVED SENSITIVE VALUE***"
}
```
</details>
**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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36
**Operating system:** Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-91-generic x86_64)
## Logs
<details><summary>Web server error log</summary>
```
[Fri Mar 27 06:25:07.033996 2020] [http2:warn] [pid 1677] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processe$
[Fri Mar 27 06:25:07.103638 2020] [mpm_prefork:notice] [pid 1677] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1 configured -- resuming normal operations
[Fri Mar 27 06:25:07.112819 2020] [core:notice] [pid 1677] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 27 07:26:20.485392 2020] [php7:error] [pid 2513] [client 134.122.115.229:37018] script '/var/www/nextcloud/api.php' not found or unable to stat
[Fri Mar 27 07:26:21.464988 2020] [php7:error] [pid 4083] [client 134.122.115.229:37360] script '/var/www/nextcloud/login.php' not found or unable to stat
[Fri Mar 27 07:26:22.455490 2020] [php7:error] [pid 2513] [client 134.122.115.229:37714] script '/var/www/nextcloud/system_api.php' not found or unable to stat
```
</details>
<details><summary>Nextcloud log</summary>
```
https://easyupload.io/vw96h0
Password: nextcloudlogfile1
```
</details>
<details><summary>Browser log</summary>
Insert your browser log here, this could for example include:
Will include if necessary
</details>