`Relation "public.oban_peers" does not exist` for latest main
I'm seeing another error on current main
(0d6626d5) when running the NixOS integration test.
The error in the title stems from PostgreSQL, but I think it is the more expressive error message here. The database before startup of the test is completely clean, so it seems like through migrations alone Mobilizon isn't reaching a state where oban_peers
exists?
vm-test-run-mobilizon> server # [ 30.370723] systemd[1]: Starting Mobilizon federated organization and mobilization platform...
vm-test-run-mobilizon> server # [ 73.653989] postgres[1341]: [1341] ERROR: relation "public.oban_peers" does not exist at character 13
vm-test-run-mobilizon> server # [ 73.656109] postgres[1341]: [1341] STATEMENT: DELETE FROM "public"."oban_peers" AS o0 WHERE (o0."name" = $1) AND (o0."expires_at" < $2)
vm-test-run-mobilizon> server # [ 74.324932] mobilizon_ctl[1158]: ** (MatchError) no match of right hand side value: {:error, {:mobilizon, {{:shutdown, {:failed_to_start_child, :cache_feed, :invalid_hook}}, {Mobilizon, :start, [:normal, []]}}}}
vm-test-run-mobilizon> server # [ 74.351412] mobilizon_ctl[1158]: (mobilizon 3.0.0-beta.1) lib/mix/tasks/mobilizon/common.ex:24: Mix.Tasks.Mobilizon.Common.start_mobilizon/0
vm-test-run-mobilizon> server # [ 74.368160] mobilizon_ctl[1158]: (mobilizon 3.0.0-beta.1) lib/mix/tasks/mobilizon/ecto/migrate.ex:45: Mix.Tasks.Mobilizon.Ecto.Migrate.run/1
vm-test-run-mobilizon> server # [ 74.370810] mobilizon_ctl[1158]: (stdlib 3.17.2.1) erl_eval.erl:685: :erl_eval.do_apply/6
vm-test-run-mobilizon> server # [ 74.372674] mobilizon_ctl[1158]: (elixir 1.13.4) lib/code.ex:404: Code.validated_eval_string/3
vm-test-run-mobilizon> server # [ 74.375898] systemd[1]: mobilizon.service: Control process exited, code=exited, status=1/FAILURE
vm-test-run-mobilizon> server # [ 74.378683] systemd[1]: mobilizon.service: Failed with result 'exit-code'.
vm-test-run-mobilizon> server # [ 74.380409] systemd[1]: Failed to start Mobilizon federated organization and mobilization platform.
vm-test-run-mobilizon> server # [ 74.382434] systemd[1]: mobilizon.service: Consumed 20.074s CPU time, read 0B from disk, written 3.6M to disk, no IP traffic.