-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Office files are corrupted/emptied after some time #3289
Comments
Can you look in your Nextcloud server logs for entries mentioning one of these corrupted files? Both entries mentioning the file and immediately before it would be of interest. Also, what external Collabora Online version/edition are you using? Lastly, to clarify, you are able to edit in one place (i.e. web) the same file... Then go to your phone's Nextcloud client and edit the file successfully? But the. later the file disappears? Does it ever disappear prior to accessing from a second device? |
Sorry I do not have logs now, but when I checked both nextcloud and collabora logs they had no exceptions and looked similar to other files.
I am actually extracting binaries from their docker image: collabora/code:21.11.4.2.1
I can try to reproduce it to give more details, maybe it is related to user session exporation or something else. |
Ok just tried to repro and it happened again!
Logs from Nextcloud server:
Collabora server logs:
|
Those are all helpful, but these logs are from your web server (Nginx) not Nextcloud Server. Can you share those from the same time period? Thanks. Oh also since some things (like errors) may not be logged with the user filename, can you share the Collabora logs for that time window rather than just grep'd by filename? Also going to move this Issue over to the |
Just reproduced again using the same workflow, there is nothing from nextcloud itself, usually I have it in the same output from systemd as I run it using snap.nextcloud.phpfpm process. Also I have this in the config:
|
I can try upgrading collabora to 23.05.5.3.1 to see if that helps, at least I can reproduce it now. |
Ok, upgrade to 23.05.5.3.1 actually helped at least now I cannot reproduce the isssue, I will reopen if it happens again. |
I will try to get more logs |
I heve exacltly the same issue with my nextclouds. |
Same here, ods file completely empty after a while, showing the same size (683 B) for all versions. Needless to say this is disastrous for a software who's main purpose is so safely store files. |
Same bug as: Document content is not saved when it was just created ? |
This is a terrifying bug! Glad I found this report in time, I was going to recommend nextcloud office to a client, but I would be pilloried if this happened to their docs! As I understand, Nextcloud passes the file to CODE which then somehow passes it back after an update, which makes sense, but blanking all the previous versions?! I don't get that at all. Not sure if it's related (and will check the issue queue) but I get similarly weird behaviours with Excalidraw - like content is just not there, or is old etc. Figured it could be related as it's another case of pass the doc out somewhere and store it when updated. |
+1. Just had a client lose all of their work in an ods after they edited the file on their phone app. All versions became empty. Has it been acknowledged if this is being worked on? |
It seems there's a link with mobile editing (with Collabora app) and it could be also a Collabora problem. Did someone opened an issue also on their side? |
Replying to myself: |
Experienced this bug myself yesterday after installing built in CODE and migrating some financial documents. I actually couldn't find this issue at the time and stumbled upon only by accident today, so maybe it needs more tags. The data loss in previous versions was mortifying and made me look incompetent. It's disappointing to see that it was reported 7 months ago. In my instance we were also playing with opening the document from the Nextcloud android app after creating and editing the file from the desktop browser. |
I'm just writing here to add that something about this seems it was fixed with the new release of Collabora CODE: |
Hi. |
What version of CODE are you on? |
Using nextcloud office Version 8.4.7 on nextcloud 29.0.7
|
People say it is fixed in Collabora (CODE) 24.4.402. |
hello, |
Bug description
I use Collabora Online server on the same box as Nextcloud to edit libre calc ods files and it works great I can edit a file on web and then on mobile phone.
But some times I come back to the file and it is empty, I check versions and they exist but they are all also empty no matter what revision I open.
This happened twice with different versions of Nextcloud, I lost hours of work :( I will have to make a copy manually and not open it using Nextcloud Office.
Steps to reproduce
Expected behavior
If some device corrupts the file it should at least not corrupt all the versions
Installation method
Other Community project
Nextcloud Server version
27
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Nginx
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: