Summary
The repair step ResetEmails runs when enabling or updating the app. On systems with many guest users, this can take quite some time, which in turn slows down the entire update process.
Expected behaviour
Resetting the email addresses should be handled in a way that does not impact the update process, for example by moving the logic to a command or performing it as a live migration.
Actual behaviour
The repair step significantly slows down the update process.
Server configuration
Nextcloud version: 30
Guest users: ~15k
Summary
The repair step ResetEmails runs when enabling or updating the app. On systems with many guest users, this can take quite some time, which in turn slows down the entire update process.
Expected behaviour
Resetting the email addresses should be handled in a way that does not impact the update process, for example by moving the logic to a command or performing it as a live migration.
Actual behaviour
The repair step significantly slows down the update process.
Server configuration
Nextcloud version: 30
Guest users: ~15k