500 error while approving new accounts
Environment
- Installation type (OTP or From Source): OTP
- Pleroma version (could be found in the "Version" tab of settings in Pleroma-FE): 2.4.2
- Elixir version (
elixir -v
for from source installations, N/A for OTP): N/A - Operating system: Ubuntu 20.04.3 LTS
- PostgreSQL version (
psql -V
): 12.9
Bug description
I manage a small community where manual approval of users is strictly required. Lately I have a specific issue once the user creates an account and requests approval. On the Admin-FE I check for the inactive user and approve them but I get a 500 error. Nothing else is reported and the status of the user doesn't change.
Reproducing the error:
- Set server as approval required for new users
- Create new user
- Admin enters admin-fe interface and sets account as "approved account"
- Intended result: User is approved and enabled to start using their account
- Actual result: User stays pending approval.