Link to your self hosted site??
Did you see the error from your log?
[2024-10-25 17:35:57] ERROR: function discourse_functions.raise_discourse_voting_category_settings_readonly() does not exist
[2024-10-25 17:35:58] EXCEPTION: psql failed: ERROR: function discourse_functions.raise_discourse_voting_category_settings_readonly() does not exist