I recently upgraded from ownCloud 9 to Nextcloud 9 which seemed to go ok but today I noticed that a file I frequently access had become zero bytes in size and I had to restore from a backup 4 days ago (well after the upgrade).
I’m using Linux Mint (ubuntu 14.04) with the Linux ownCloud desktop client from the Suse repos.
This has worried me a little and shaken my confidence in the syncing. I was wondering if this is a known issue and if anyone knows what can cause it to occur.
I’ve run a command to see if there are any other zero byte files in my documents and I’ve found five now - some of which I don’t have backups of far enough back.
That sounds a bit scary. If you still have the webserver logfiles, you can perhaps find out when and who actually made these changes. Do you use the versions-app, there might be the old version you could try to recover that.
I’ll put a script together which runs the following command each day and alerts me if there are any more 0 byte files:
find $dataDir/ -size 0
The only other thing worth mentioning is that I reinstalled the ownCloud client on the 2nd Jan between 10 and 11 am. I think I flipped between a couple of the Suse repos because I wasn’t sure which one to use. Settled on the following:
What other files types were concerned by this problem? I suppose the passwords is some sort of container. I had some problems with TrueCrypt containers where I needed to enable that if it updates the changing date of a file if there have been changes.
For your .kdb file the client on your laptop wrote a new file. Logging is not enabled by default on the clients, you can however start it with logging. Did you change the files which were set to 0? Or copy their folders?
I also had that for 3 mp3 files some time ago. Versions were not available for them, so this seemed to be not tracked correctly as change. As I realised it some time later I could not find related log messages. I regularly watch out for 0 byte files now, but didn’t found one since that.
I had this on NC11 (running since sevrl. weeks) yesterday, for a first and only time when I tried to open a file with Collabora. Collabora got stuck and file went to 0. No idea if this was a Collabora thing or some other issue.
delete everything and retry with more data then 100 GB
if the srcript found zero byte files, open web browser, locate the file and watch the file size: does not display zero bytes (!) but can’t be opened of course. This could cause preview-plugin or fulltextsearch-plugin to run forever
With that error, Nextcloud can’t be recommended for business, sorry guys.@tflidd
Only for private use to sync and share small amount of data with your peers.