-
Notifications
You must be signed in to change notification settings - Fork 31
Edits and changes made in Onlyoffice are not synced into Nextcloud #100
Description
Issue
Edits and changes made in Onlyoffice are not saved into Nextcloud and the next sync from Nextcloud to Onlyoffice destroys all changes made in Onlyoffice. This results in loss of work.
Expected Behavior
Edits and changes written in Onlyoffice sync to the local desktop environment and the changes done in the desktop environment sync to OnlyOffice
Actual Behavior
Files stored in the local desktop environment are synced flawlessly to Nextcloud. Onlyoffice opens them flawlessly and lets the user edit the document. After saving the document and or logging out from nextcloud changes are kept in OnlyOffice cache and never written to the actual document. When user opens same document from the desktop the changes have disappeared. If user saves the document with a small change, this change is synced to OnlyOffice overwriting the changes in the cache.
Possible Fix
Write cache data to file regularly and frequently. Recognize when user leaves Onlyoffice or closes file and write cache to file. In short: Copy the functionality of Google Docs.
Steps to Reproduce
- Use a desktop wordprocessor and create a document in a NextCloud synced folder in your desktop environment
- Log onto the Nextcloud web UI and open the file with OnlyOffice.
- Ask colleague to do the same
- Make changes in document
- Exit document
- Open document with desktop wordprocessor from local NextCloud synced folder.
- Notice that the changes never were saved to the file in NextCloud,.
- Open file in OnlyOffice from the Nextcloud web UI to notice changes are still there
- Close OnlyOffice
- Make minimal change in the desktop wordprocessor and save file locally.
- Let NextCloud sync
- Open file in OnlyOffice from the Nextcloud web UI to notice all changes made in OnlyOffice have been lost and overwritten with those made in the desktop environment
- Feel despair.
Context
We just lost 2 days worth of expensive work made by our consultant. This is becoming very expensive to us!
Your Environment
- Nextcloud 18.0.3
- OnlyOffice Community Server bundled with NextCloud 18
- Nextcloud desktop client 2.6.4 Linux
- Nextcloud desktop client 2.6.4 Mac
Edit:
Tried also this cronjob proposed by @googol42 but it does NOT solve the issue
-
-
-
-
- php -f /var/www/yourdomain/occ documentserver:flush
-
-
-