I’ve just removed a user, and all his files are still there, which is great.
But all of his shared links disappeared, and I have to share one by one again. Why did it happen? Is there a way to remove users and keep the shared files public links??
I’ve just removed a user, and all his files are still there, which is great.
But all of his shared links disappeared, and I have to share one by one again. Why did it happen? Is there a way to remove users and keep the shared files public links??
Yes, it is: Transferring Files to Another User
You may transfer files from one user to another with occ. This is useful when you have to remove a user. Be sure to transfer the files before you delete the user! This transfers all files from user1 to user2, and the shares and metadata info associated with those files (shares, tags, comments, etc). Trashbin contents are not transferred.
./occ files:transfer-ownership user1 user2
The next section may be helpful, too: Creating Persistent File Shares
https://docs.nextcloud.com/server/12/admin_manual/configuration_files/file_sharing_configuration.html#creating-persistent-file-shares