nextcloud-server/lib/private/Repair
Ferdinand Thiessen 7dd85e15b9
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-08 21:02:07 +07:00
..
Events chore: Add SPDX header 2024-05-24 13:11:22 +07:00
NC13 chore: Add SPDX header 2024-05-24 13:11:22 +07:00
NC14 chore: Add SPDX header 2024-05-24 13:11:22 +07:00
NC16 chore: Add SPDX header 2024-05-24 13:11:22 +07:00
NC18 chore: Add SPDX header 2024-05-24 13:11:22 +07:00
NC20 chore: Add SPDX header 2024-05-24 13:11:22 +07:00
NC21 chore: Add SPDX header 2024-05-24 13:11:22 +07:00
NC22 chore: Add SPDX header 2024-05-24 13:11:22 +07:00
NC24 chore: Add SPDX header 2024-05-24 13:11:22 +07:00
NC25 chore: Add SPDX header 2024-05-24 13:11:22 +07:00
NC30 fix(SetupCheck): Properly check public access to data directory 2024-08-08 22:08:42 +07:00
Owncloud chore: Add SPDX header 2024-05-24 13:11:22 +07:00
AddAppConfigLazyMigration.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
AddBruteForceCleanupJob.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
AddCleanupDeletedUsersBackgroundJob.php fix: Make user removal more resilient 2024-10-08 21:02:07 +07:00
AddCleanupUpdaterBackupsJob.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
AddMetadataGenerationJob.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
AddRemoveOldTasksBackgroundJob.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
CleanTags.php fix: implement sharding compatible cleanup for various bits 2024-08-28 14:54:14 +07:00
CleanUpAbandonedApps.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
ClearFrontendCaches.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
ClearGeneratedAvatarCache.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
ClearGeneratedAvatarCacheJob.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
Collation.php fix(db): Promote the use of `getDatabaseProvider` to reduce the impage of removed upstream platforms 2024-07-19 11:21:14 +07:00
MoveUpdaterStepFile.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
OldGroupMembershipShares.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
RemoveLinkShares.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
RepairDavShares.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
RepairInvalidShares.php chore: Add SPDX header 2024-05-24 13:11:22 +07:00
RepairLogoDimension.php fix(theming): Make getImage() call save against missing non-SVG version 2024-08-21 13:19:29 +07:00
RepairMimeTypes.php fix: run mimetype repair query across all shards 2024-08-28 14:54:14 +07:00