nextcloud-server/lib/private/Repair
Ferdinand Thiessen 5d5c307a1a
fix: Make user removal more resilient
Currently there is a problem if an exception is thrown in `User::delete`,
because at that point the user is already removed from the backend,
but not all data is deleted.

There is no way to recover from this state, as the user is gone no information is available anymore.
This means the data is still available on the server but can not removed by any API anymore.

The solution here is to first set a flag and backup the user home,
this can be used to recover failed user deletions in a way the delete can be re-tried.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-15 16:50:27 +07:00
..
Events
NC11
NC13
NC14
NC16
NC18 chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
NC20 chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
NC21 chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
NC22
NC24
NC25
Owncloud Merge pull request #43387 from nextcloud/fix/migrate-away-from-ilogger-in-jobs 2024-02-08 18:27:44 +07:00
AddAppConfigLazyMigration.php feat(appconfig): repair step to migrate lazy config values 2024-03-11 10:59:43 +07:00
AddBruteForceCleanupJob.php
AddCleanupDeletedUsersBackgroundJob.php fix: Make user removal more resilient 2024-10-15 16:50:27 +07:00
AddCleanupUpdaterBackupsJob.php
AddMetadataGenerationJob.php Add metadata generation job 2023-11-16 15:02:38 +07:00
AddRemoveOldTasksBackgroundJob.php Implement TextToImage OCP API 2023-10-18 13:21:50 +07:00
CleanTags.php
CleanUpAbandonedApps.php
ClearFrontendCaches.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
ClearGeneratedAvatarCache.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
ClearGeneratedAvatarCacheJob.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
Collation.php
MoveUpdaterStepFile.php
OldGroupMembershipShares.php
RemoveLinkShares.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
RepairDavShares.php
RepairInvalidShares.php
RepairLogoDimension.php fix(theming): Make getImage() call save against missing non-SVG version 2024-08-21 10:04:54 +07:00
RepairMimeTypes.php fix(setupcheck): Fix mimetype server version check in backport 2024-08-21 10:25:23 +07:00