pleroma/changelog.d
Phantasm eed4f4bba8
Gopher: Fix crash on (re)boot when ConfigDB is enabled
Ranch listener wasn't being properly stopped when the Gopher GenServer
received a shutdown message due Restarter rebooting Pleroma to apply
ConfigDB configuration (originating from
Config.TransferTask.load_and_update_env/2) when ConfigDB is enabled.

Handle by trapping exits in the GenServer, which causes the terminate/2
function to be called and the Ranch listener to be stopped from there.

23:22:29.871 [error] GenServer Restarter.Pleroma terminating
** (MatchError) no match of right hand side value:

    {:error,
     {{:shutdown,
       {:failed_to_start_child, Pleroma.Gopher.Server,
        {{:badmatch, {:error, {:already_started, #PID<0.4801.0>}}},
         [
           {Pleroma.Gopher.Server, :init, 1,
            [file: ~c"lib/pleroma/gopher/server.ex", line: 25]},
           {:gen_server, :init_it, 2, [file: ~c"gen_server.erl", line: 2276]},
           {:gen_server, :init_it, 6, [file: ~c"gen_server.erl", line: 2236]},
           {:proc_lib, :init_p_do_apply, 3, [file: ~c"proc_lib.erl", line: 333]}
         ]}}}, {Pleroma.Application, :start, [:normal, []]}}}

    (restarter 0.1.0) lib/pleroma.ex:104: Restarter.Pleroma.do_restart/1
    (restarter 0.1.0) lib/pleroma.ex:96: Restarter.Pleroma.handle_cast/2
    (stdlib 7.2) gen_server.erl:2460: :gen_server.try_handle_cast/3
    (stdlib 7.2) gen_server.erl:2418: :gen_server.handle_msg/3
    (stdlib 7.2) proc_lib.erl:333: :proc_lib.init_p_do_apply/3
Last message: {:"$gen_cast", {:after_boot, :dev}}
State: %{rebooted: false, need_reboot: false, after_boot: false}
2026-02-17 00:47:57 +01:00
..
assign-users.add Allow assigning users to reports 2026-01-28 10:35:19 +01:00
ci-artifacts.skip Enable expiration of CICD job artifacts 2025-10-23 22:14:30 -07:00
emoji-reaction-url-escape.fix Add changelog 2026-01-05 12:12:21 +04:00
gopher-genserver-crash-on-boot.fix Gopher: Fix crash on (re)boot when ConfigDB is enabled 2026-02-17 00:47:57 +01:00
hackney-mediaproxy.change In-house redirect handler for mediaproxy with Hackney adapter 2026-01-16 22:14:27 +04:00
hackney.change Revert "Merge branch 'revert-cdd6df06' into 'develop'" 2025-12-26 05:08:52 +00:00
inappropriate-docs.remove Docs: Remove outdated, incorrect, inappropriate or unmaintained install docs 2026-01-25 05:46:28 +00:00
instance-domain-blocks.add Add v1/instance/domain_blocks endpoint 2025-11-29 18:53:17 +01:00
instance-profile-fields.add Add /api/v2/instance profile fields limits info used by Mastodon 2026-01-30 07:05:45 +01:00
oauth-registration-redirect_uris.fix Fix OAuth registration redirect_uris array support 2026-01-16 12:10:21 +04:00
oban-web.add changelog 2026-01-07 21:12:28 +01:00
paginate-follow-requests.change Add changelog entry 2026-01-07 16:07:45 +01:00
phoenix-livedashboard-move.change Move LiveDashboard to /pleroma/live_dashboard 2026-01-09 11:55:16 +01:00
reduce-flaky-tests.skip Add changelog 2026-01-08 13:40:51 +04:00
relationship-expires-at.change Update changelog 2026-01-28 14:02:55 +01:00
release-to-docker.add Add changelog 2026-01-01 10:39:38 +04:00
vix-0.36.0.fix mix: upgrade vix from "~> 0.26.0" to "~> 0.36" 2026-01-14 03:11:37 +01:00