All my work in the last three days has gone away. I’m using a self hosted Nextcloud 29.0.8, and I have 6 clients accessing my personal account data: 3 kubuntu 24.10, one MacOS, and 2 windows 11. They usually are not active at the same time, only one at time is active and syncing.
This morning I opened one of the kubuntu clients, and I found that 5 files I modified in the last three days, one .txt and 4 .ods, have a size of zero bytes.
In the below screenshot, you will see more info for the txt file.
In the attached image you can see the current zero bytes file, but in the history on the right you can see 422B for the last version.
It happened to me 2 times in the last 6 months, and I’m getting a bit scared now…
Edit: I was able to restore from previuous versions, and I recovered almost all data. Every time I clicked “restore”, an error appeared: “undefined restore”. But the file was restored correctly from the selected version.
I’m 100% sure I never used the web interface, but I used several clients during the day yesterday. There’s a good chance that that upload 20 hours ago was done by nextcloud client from my laptop with kubuntu 24.10, using ubuntu’s repository nextcloud-desktop v3.13.2-2
For a bug report and/or further details/logs, the actual client is important. Perhaps you can already find other bug reports. But things can change a lot on client versions and operating systems.
Not sure if you can see some things in the webserver’s access log, if you can find a PUT query with 0 size.