Clients delete everything after external storage goes down

Nextcloud version 13
Operating system and version raspbian (nextcloudpi)

The issue you are facing:

The clients on my personal computers deleted everything after external storage (SMB) went offline. Does this mean that every time my file server will go offline (update, restart, …) nextcloud is going to delete everything from my clients? Is this normal or am I doing something wrong?

Is this the first time you’ve seen this error? yes

Steps to replicate it:

  1. Add external (SMB) storage
  2. Mess with permissions on the samba share of your NAS effectively provoking the external storage to go offline in your nextcloud server