MRF rules not being applied
Hi all, I'm on the latest commit (8e9a764d) when I'm writing this and I have some issues since yesterday or earlier. When I update Pleroma and restart the server, there's this error that's being thrown out:
[error] Handler "prometheus-ecto" has failed and has been detached. Exception: class=:error reason={:badkey, :queue_time, %{params: [true], query: "SELECT distinct split_part(u0.\"nickname\", '@', 2) FROM \"users\" AS u0 WHERE (u0.\"local\" != $1)", repo: Pleroma.Repo, result: {:ok, %Postgrex.Result{columns: ["split_part"], command: :select, connection_id: 11594, messages: [], num_rows: 2323, rows: [["101010.pl"], ["1929.com"], ["1tp.dpost.jp"], ["3.distsn.org"], ["4estate.media"], ["4eva.online"], ["51.15.235.162.xip.io"], ["57n.org"], ["7144.party"], ["a11y.info"], ["a2mi.social"], ["aana.site"], ["aaronparecki.com"], ["aatu.icante.ventures"], ["abdl.link"], ["abhlach.ie"], ["abyss.fun"], ["acg.mn"], ["achi.masto.host"], ["acme.toon.in"], ["activism.openworlds.info"], ["activitypub.lacolaco.net"], ["a.daizhige.org"], ["adthr.ee"], ["afu.social"], ["agoraforum.website"], ["ahoy.life"], ["ajin.la"], ["akanechan.love"], ["akko.kalasarn.se"], ["albin.social"], ["aleph.land"], ["alfajet.masto.host"], ["algonoise.social"], [...], ...]}}, source: "users", type: :ecto_sql_query}} stacktrace=[{Pleroma.Repo.Instrumenter, :log, 1, [file: 'lib/pleroma/repo.ex', line: 12]}, {:telemetry, :"-execute/3-fun-0-", 4, [file: '/opt/pleroma/deps/telemetry/src/telemetry.erl', line: 120]}, {:lists, :foreach, 2, [file: 'lists.erl', line: 1338]}, {Ecto.Adapters.SQL, :log, 4, [file: 'lib/ecto/adapters/sql.ex', line: 794]}, {DBConnection, :log, 5, [file: 'lib/db_connection.ex', line: 1377]}, {Ecto.Adapters.SQL, :execute!, 4, [file: 'lib/ecto/adapters/sql.ex', line: 559]}, {Ecto.Adapters.SQL, :execute, 5, [file: 'lib/ecto/adapters/sql.ex', line: 551]}, {Ecto.Repo.Queryable, :execute, 4, [file: 'lib/ecto/repo/queryable.ex', line: 153]}]
Also, it's been several days that I see my MRF.SimplePolicy rules not being applied on https://twinkaga.in and that's really annoying, considering that NSFW content can pop up at any moment in the Federated Timeline. I don't see where the error could come from, since no errors are coming up while compiling Pleroma.
I tried cleaning dependencies and compiling them again to be sure that packages are using the same version of Erlang (Debian Testing regularly pulls new versions of Erlang), but it seems it does nothing to improve the situation.