I ran into an issue on Nextcloud 18 that all the shares, which the users on my server created, were suddenly deleted. The database table “oc_share” was completely empty and so there was no more internal or public share available.
It turned out, that due to a bug the whole “oc_share” database table gets wiped, when one NC user removes a federated share:
A fix has already been provided by the developers, however it will first rollout with the next release and therefor some time will pass, were you might lose your shares.
So in case, you use federated shares, or just allowed federated sharing to your users, better act fast and implement the fix yourself.
Luckily the fix is easy to implement:
I hope none of you loses his shares!
By the way: in case you notice the issue that sharing a file or folder internally to another user throws an error message, this is caused by the app “Maps”:
This also has been fixed already and will be available with the next version/ release of “Maps”. Until then it helps to disable the app “Maps”.