What type of hardware are you using: Virtual machine
What YunoHost version are you running: 11.2.30.2 (stable)
What app is this about: Nextcloud Hub 8 (29.0.4)
Describe your issue
EN below
Bonjour,
Voilà, j’ai créé 2 users au niveau de YunoHost afin de leur créer un compte Nextcloud pour un partage massif de photos d’un groupe en vacances.
Il en résulte plusieurs milliers de fichiers stockés dans /home/yunohost.app/nextcloud/data , dans leurs répertoires respectifs.
Mais il y a surtout les preview dans /home/yunohost.app/nextcloud/data/appdata_oc…/preview/…
Sur mon serveur il y a 51000 fichiers dans 71000 répertoires, en-dessous de …/preview/…
Exemple:
./4/4/4/a/5/8/7/158770/768-1024.jpg
./4/4/4/a/5/8/7/158770/3024-4032-max.jpg
./4/4/4/0/3/e/0/86149/4000-3000-max.jpg
./4/4/4/0/3/e/0/86149/1024-1024-crop.jpg
./4/4/2/d/8/0/3/164347/64-64-crop.jpg
./4/4/2/d/8/0/3/164347/1024-1024-crop.jpg
Maintenant je souhaite supprimer proprement tout ce fatras.
Supprimer le user avec Nextcloud, ça ne fonctionne pas et je m’y attendais (c’est un user LDAP de Yunohost)
Si je supprime le user avec Yunohost Admin, il est certain à 99,9% que Nextcloud restera encombré des fichiers utilisateurs et des /preview/
Dans quel ordre procéder ?
Hello,
In a need to have 2 user accounts in Nextcloud, I have created them via the Yunohost admin.
The goal was to share thousands pictures of a group in a vacation trip.
They are stored below /home/yunohost.app/nextcloud/data , in their own directories.
There are also the multiple /preview/ files in various resolutions, counting for 51K files in 71K directories, under /home/yunohost.app/nextcloud/data/appdata_oc…/preview/…
Example:
./4/4/4/a/5/8/7/158770/768-1024.jpg
./4/4/4/a/5/8/7/158770/3024-4032-max.jpg
./4/4/4/0/3/e/0/86149/4000-3000-max.jpg
./4/4/4/0/3/e/0/86149/1024-1024-crop.jpg
./4/4/2/d/8/0/3/164347/64-64-crop.jpg
./4/4/2/d/8/0/3/164347/1024-1024-crop.jpg
Now it’s time to delete properly everything.
As expected, I cannot use the Nextcloud admin function “delete user”, as the usermanagement is done via Yunohost and LDAP.
Should I delete the users from Yunohost admin, I am pretty confident that the user files and the 122000 objects under /preview/ will stay in place.
I welcome any recommendation for achieving properly this cleanup.
Thank you !
Share relevant logs or error messages
not applicable here