Can't run migration MoveActivityExpirationsToOban
Environment
-
Installation type:
-
The virgin OTP install -
The chad source install
-
-
Pleroma version: 88fe0a26
-
Elixir version:
Erlang/OTP 23 [erts-11.0.3] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1] [hipe]
Elixir 1.10.4 (compiled with Erlang/OTP 23)
-
Operating system: btw i use arch
-
PostgreSQL version:
postgres (PostgreSQL) 12.4
Bug description
When trying to run the migrations I get:
13:43:24.482 [info] == Running 20200825061316 Pleroma.Repo.Migrations.MoveActivityExpirationsToOban.change/0 forward
** (EXIT from #PID<0.94.0>) shutdown: failed to start child: Oban
** (EXIT) an exception was raised:
** (ArgumentError) expected :crontab to be a list of {expression, worker} or {expression, worker, options} tuples
lib/oban/config.ex:105: Oban.Config.validate_opt!/1
(elixir 1.10.4) lib/enum.ex:783: Enum."-each/2-lists^foreach/1-0-"/2
lib/oban/config.ex:59: Oban.Config.new/1
lib/oban.ex:130: Oban.start_link/1
(stdlib 3.13) supervisor.erl:385: :supervisor.do_start_child_i/3
(stdlib 3.13) supervisor.erl:371: :supervisor.do_start_child/2
(stdlib 3.13) supervisor.erl:355: anonymous fn/3 in :supervisor.start_children/2
(stdlib 3.13) supervisor.erl:1171: :supervisor.children_map/4
I can't rollback to the previous version I was using because I get:
13:49:13.871 [info] == Running 20200831142509 Pleroma.Repo.Migrations.ChatConstraints.change/0 backward
** (Ecto.MigrationError) cannot reverse migration command: alter table chats. You will need to explicitly define up/0 and down/0 in your migration
(ecto_sql 3.4.5) lib/ecto/migration/runner.ex:213: Ecto.Migration.Runner.execute_in_direction/5
(ecto_sql 3.4.5) lib/ecto/migration/runner.ex:117: anonymous fn/6 in Ecto.Migration.Runner.flush/0
(elixir 1.10.4) lib/enum.ex:2111: Enum."-reduce/3-lists^foldl/2-0-"/3
(ecto_sql 3.4.5) lib/ecto/migration/runner.ex:116: Ecto.Migration.Runner.flush/0
(stdlib 3.13) timer.erl:166: :timer.tc/1
(ecto_sql 3.4.5) lib/ecto/migration/runner.ex:25: Ecto.Migration.Runner.run/7
(ecto_sql 3.4.5) lib/ecto/migrator.ex:342: Ecto.Migrator.attempt/7
(ecto_sql 3.4.5) lib/ecto/migrator.ex:277: anonymous fn/4 in Ecto.Migrator.do_down/4
Please help! I'm stuck on a version that doesn't work and I can't go back
Edited by Your New SJW Waifu