Files become zero bytes

I have installed a fresh version of NC 13 but the problem still persists.

Thanks to the script of @feisar i could find it out.

:frowning:

So this is a warning to all Nextcloud users: don’t trust the desktop client!

Edit:

Today i had it again! One file of 65 GB of data had 0 bytes filesize after syncing it with the desktop client.

For those who want to verify that issue:

  • Install a Nextcloud instance on localhost in a virtual machine
  • Sync a huge amount of data in one run with the desktop sync client, lets say 100 GB
  • after it run the script of @feisar
  • if no errors then 100 GB upload is not enough
  • 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.