User unable to post new status
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): NA - Operating system: Debian 11
- PostgreSQL version (
psql -V
): 13
Bug description
Users are unable to post new statuses.
This is what's getting recorded in the syslog:
Apr 17 14:12:07 liewrap01 pleroma: request_id=Fua0dK_e8n__fVoAACQx [error] Internal server error: %Cachex.ExecutionError{message: "nil given for :nickname. Comparison with nil is forbidden as it is unsafe. Instead write a query with is_nil/1, for example: is_nil(s.nickname)"}
Apr 17 14:12:49 liewrap01 pleroma: request_id=Fua0fq6VIMeDVr8AACdx [error] Internal server error: %Ecto.ConstraintError{constraint: "push_subscriptions_user_id_token_id_index", message: "constraint error when attempting to insert struct:\n\n * push_subscriptions_user_id_token_id_index (unique_constraint)\n\nIf you would like to stop this constraint violation from raising an\nexception and instead add it as an error to your changeset, please\ncall `unique_constraint/3` on your changeset with the constraint\n`:name` as an option.\n\nThe changeset has not defined any constraint.\n", type: :unique}
Apr 17 14:12:59 liewrap01 pleroma: request_id=Fua0gQtMi--GeZcAACgx [error] Internal server error: %Cachex.ExecutionError{message: "nil given for :nickname. Comparison with nil is forbidden as it is unsafe. Instead write a query with is_nil/1, for example: is_nil(s.nickname)"}
Apr 17 14:14:12 liewrap01 pleroma: request_id=Fua0kfMcMKfGUv0AACtx [error] Internal server error: %Cachex.ExecutionError{message: "nil given for :nickname. Comparison with nil is forbidden as it is unsafe. Instead write a query with is_nil/1, for example: is_nil(s.nickname)"}
Apr 17 14:14:19 liewrap01 pleroma: request_id=Fua0k5SFO4K5IxYAACuh [error] Internal server error: %Cachex.ExecutionError{message: "nil given for :nickname. Comparison with nil is forbidden as it is unsafe. Instead write a query with is_nil/1, for example: is_nil(s.nickname)"}
Apr 17 14:14:22 liewrap01 pleroma: request_id=Fua0lElf_5ic9K8AACwR [error] Internal server error: %Cachex.ExecutionError{message: "nil given for :nickname. Comparison with nil is forbidden as it is unsafe. Instead write a query with is_nil/1, for example: is_nil(s.nickname)"}
This is what's shown on the FE: Error: Cannot read properties of undefined (reading 'match')