Pleroma routinely fails after update
Environment
- Installation type (OTP or From Source):
From Source
- Pleroma version (could be found in the "Version" tab of settings in Pleroma-FE):
pleroma 2.3.50-188-gb050adb5-develop
- Elixir version (
elixir -v
for from source installations, N/A for OTP):
Erlang/OTP 23 [erts-11.1.7] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] Elixir 1.11.2 (compiled with Erlang/OTP 23)
- Operating system:
Distributor ID: Ubuntu Description: Ubuntu 18.04.5 LTS Release: 18.04 Codename: bionic
- PostgreSQL version (
psql -V
):
psql (PostgreSQL) 10.16 (Ubuntu 10.16-0ubuntu0.18.04.1)
Bug description
Pleroma routinely fails after update; resulting in the following logged events and pleroma-fe spitting out resource unavailable errors:
Apr 21 12:21:05 ikari mix[5933]: (ecto 3.4.6) lib/ecto/repo/queryable.ex:112: Ecto.Repo.Queryable.one/3 Apr 21 12:21:05 ikari mix[5933]: (pleroma 2.3.50-188-gb050adb5-develop) lib/pleroma/web/mastodon_api/views/status_view.ex:139: Pleroma.Web.MastodonAPI.StatusView.render/2 Apr 21 12:21:05 ikari mix[5933]: (pleroma 2.3.50-188-gb050adb5-develop) lib/pleroma/web/views/streamer_view.ex:45: Pleroma.Web.StreamerView.render/2 Apr 21 12:21:05 ikari mix[5933]: (pleroma 2.3.50-188-gb050adb5-develop) lib/pleroma/web/streamer.ex:300: Pleroma.Web.Streamer.push_to_socket/2 Apr 21 12:21:05 ikari mix[5933]: 12:21:05.233 [error] #PID<0.8490.0> running Pleroma.Web.Endpoint (connection #PID<0.1688.0>, stream id 19) terminated Apr 21 12:21:05 ikari mix[5933]: Server: wolfhowl.me:80 (http) Apr 21 12:21:05 ikari mix[5933]: Request: POST /inbox Apr 21 12:21:05 ikari mix[5933]: ** (exit) an exception was raised: Apr 21 12:21:05 ikari mix[5933]: ** (FunctionClauseError) no function clause matching in Plug.Conn.resp/3 Apr 21 12:21:05 ikari mix[5933]: (plug 1.10.4) lib/plug/conn.ex:580: Plug.Conn.resp(%Plug.Conn{adapter: {Plug.Cowboy.Conn, :...}, assigns: %{digest: "SHA-256=f4q3dTH5fhexnOq8NcX9x