Impossible de lister les utilisateurs pour l'admin #3

Open
opened 2023-10-16 14:58:33 +02:00 by neox · 0 comments
Owner

La page https://toot.chalec.org/soapbox/admin/users génère l'erreur suivante :

juil. 09 14:05:46 toot.chalec.org pleroma[1229261]: 14:05:46.959 [error] #PID<0.6328.0> running Pleroma.Web.Endpoint (connection #PID<0.6327.0>, stream id 1) terminated
juil. 09 14:05:46 toot.chalec.org pleroma[1229261]: Server: toot.chalec.org:80 (http)
juil. 09 14:05:46 toot.chalec.org pleroma[1229261]: Request: GET /api/pleroma/admin/users?filters=local,active&page=0&page_size=50
juil. 09 14:05:46 toot.chalec.org pleroma[1229261]: ** (exit) an exception was raised:
juil. 09 14:05:46 toot.chalec.org pleroma[1229261]:     ** (Postgrex.Error) ERREUR 2201X (invalid_row_count_in_result_offset_clause) OFFSET ne doit pas être négatif
juil. 09 14:05:46 toot.chalec.org pleroma[1229261]:         (ecto_sql 3.9.0) lib/ecto/adapters/sql.ex:905: Ecto.Adapters.SQL.raise_sql_call_error/1
juil. 09 14:05:46 toot.chalec.org pleroma[1229261]:         (ecto_sql 3.9.0) lib/ecto/adapters/sql.ex:820: Ecto.Adapters.SQL.execute/6
juil. 09 14:05:46 toot.chalec.org pleroma[1229261]:         (ecto 3.9.2) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4
juil. 09 14:05:46 toot.chalec.org pleroma[1229261]:         (ecto 3.9.2) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
juil. 09 14:05:46 toot.chalec.org pleroma[1229261]:         (pleroma 2.5.2-13-g2d193861) lib/pleroma/web/admin_api/search.ex:27: Pleroma.Web.AdminAPI.Search.user/1
juil. 09 14:05:46 toot.chalec.org pleroma[1229261]:         (pleroma 2.5.2-13-g2d193861) lib/pleroma/web/admin_api/controllers/user_controller.ex:286: Pleroma.Web.AdminAPI.UserController.index/2
juil. 09 14:05:46 toot.chalec.org pleroma[1229261]:         (pleroma 2.5.2-13-g2d193861) lib/pleroma/web/admin_api/controllers/user_controller.ex:5: Pleroma.Web.AdminAPI.UserController.action/2
juil. 09 14:05:46 toot.chalec.org pleroma[1229261]:         (pleroma 2.5.2-13-g2d193861) lib/pleroma/web/admin_api/controllers/user_controller.ex:5: Pleroma.Web.AdminAPI.UserController.phoenix_controller_pipeline/2

La page https://toot.chalec.org/soapbox/admin/users génère l'erreur suivante : ``` juil. 09 14:05:46 toot.chalec.org pleroma[1229261]: 14:05:46.959 [error] #PID<0.6328.0> running Pleroma.Web.Endpoint (connection #PID<0.6327.0>, stream id 1) terminated juil. 09 14:05:46 toot.chalec.org pleroma[1229261]: Server: toot.chalec.org:80 (http) juil. 09 14:05:46 toot.chalec.org pleroma[1229261]: Request: GET /api/pleroma/admin/users?filters=local,active&page=0&page_size=50 juil. 09 14:05:46 toot.chalec.org pleroma[1229261]: ** (exit) an exception was raised: juil. 09 14:05:46 toot.chalec.org pleroma[1229261]: ** (Postgrex.Error) ERREUR 2201X (invalid_row_count_in_result_offset_clause) OFFSET ne doit pas être négatif juil. 09 14:05:46 toot.chalec.org pleroma[1229261]: (ecto_sql 3.9.0) lib/ecto/adapters/sql.ex:905: Ecto.Adapters.SQL.raise_sql_call_error/1 juil. 09 14:05:46 toot.chalec.org pleroma[1229261]: (ecto_sql 3.9.0) lib/ecto/adapters/sql.ex:820: Ecto.Adapters.SQL.execute/6 juil. 09 14:05:46 toot.chalec.org pleroma[1229261]: (ecto 3.9.2) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4 juil. 09 14:05:46 toot.chalec.org pleroma[1229261]: (ecto 3.9.2) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3 juil. 09 14:05:46 toot.chalec.org pleroma[1229261]: (pleroma 2.5.2-13-g2d193861) lib/pleroma/web/admin_api/search.ex:27: Pleroma.Web.AdminAPI.Search.user/1 juil. 09 14:05:46 toot.chalec.org pleroma[1229261]: (pleroma 2.5.2-13-g2d193861) lib/pleroma/web/admin_api/controllers/user_controller.ex:286: Pleroma.Web.AdminAPI.UserController.index/2 juil. 09 14:05:46 toot.chalec.org pleroma[1229261]: (pleroma 2.5.2-13-g2d193861) lib/pleroma/web/admin_api/controllers/user_controller.ex:5: Pleroma.Web.AdminAPI.UserController.action/2 juil. 09 14:05:46 toot.chalec.org pleroma[1229261]: (pleroma 2.5.2-13-g2d193861) lib/pleroma/web/admin_api/controllers/user_controller.ex:5: Pleroma.Web.AdminAPI.UserController.phoenix_controller_pipeline/2 ```
neox self-assigned this 2023-10-16 14:58:33 +02:00
Sign in to join this conversation.
No description provided.