Skip to content

Instantly share code, notes, and snippets.

@philss
Created June 7, 2019 14:04
Show Gist options
  • Save philss/ac3923f229ea790cee659c5b57756edd to your computer and use it in GitHub Desktop.
Save philss/ac3923f229ea790cee659c5b57756edd to your computer and use it in GitHub Desktop.
Oban output after crashing without finding the table
22:27:17.495 [error] GenServer Oban.Pruner terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: DELETE FROM "oban_jobs" AS o0 USING (SELECT o0."id" AS "id", o0."state" AS "state", o0."queue" AS "queue", o0."worker" AS "worker", o0."args" AS "args", o0."errors" AS "errors", o0."attempt" AS "attempt", o0."max_attempts" AS "max_attempts", o0."attempted_at" AS "attempted_at", o0."completed_at" AS "completed_at", o0."inserted_at" AS "inserted_at", o0."scheduled_at" AS "scheduled_at" FROM "oban_jobs" AS o0 WHERE (o0."state" IN ('completed','discarded')) ORDER BY o0."id" DESC OFFSET $1) AS s1 WHERE (o0."id" = s1."id")
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/pruner.ex:44: Oban.Pruner.handle_info/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.496 [error] GenServer Oban.Queue.Our_queue_name_here.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.496 [error] GenServer Oban.Queue.Default.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.502 [error] GenServer Oban.Pruner terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: DELETE FROM "oban_jobs" AS o0 USING (SELECT o0."id" AS "id", o0."state" AS "state", o0."queue" AS "queue", o0."worker" AS "worker", o0."args" AS "args", o0."errors" AS "errors", o0."attempt" AS "attempt", o0."max_attempts" AS "max_attempts", o0."attempted_at" AS "attempted_at", o0."completed_at" AS "completed_at", o0."inserted_at" AS "inserted_at", o0."scheduled_at" AS "scheduled_at" FROM "oban_jobs" AS o0 WHERE (o0."state" IN ('completed','discarded')) ORDER BY o0."id" DESC OFFSET $1) AS s1 WHERE (o0."id" = s1."id")
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/pruner.ex:44: Oban.Pruner.handle_info/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.508 [error] GenServer Oban.Pruner terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: DELETE FROM "oban_jobs" AS o0 USING (SELECT o0."id" AS "id", o0."state" AS "state", o0."queue" AS "queue", o0."worker" AS "worker", o0."args" AS "args", o0."errors" AS "errors", o0."attempt" AS "attempt", o0."max_attempts" AS "max_attempts", o0."attempted_at" AS "attempted_at", o0."completed_at" AS "completed_at", o0."inserted_at" AS "inserted_at", o0."scheduled_at" AS "scheduled_at" FROM "oban_jobs" AS o0 WHERE (o0."state" IN ('completed','discarded')) ORDER BY o0."id" DESC OFFSET $1) AS s1 WHERE (o0."id" = s1."id")
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/pruner.ex:44: Oban.Pruner.handle_info/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.561 [error] GenServer Oban.Pruner terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: DELETE FROM "oban_jobs" AS o0 USING (SELECT o0."id" AS "id", o0."state" AS "state", o0."queue" AS "queue", o0."worker" AS "worker", o0."args" AS "args", o0."errors" AS "errors", o0."attempt" AS "attempt", o0."max_attempts" AS "max_attempts", o0."attempted_at" AS "attempted_at", o0."completed_at" AS "completed_at", o0."inserted_at" AS "inserted_at", o0."scheduled_at" AS "scheduled_at" FROM "oban_jobs" AS o0 WHERE (o0."state" IN ('completed','discarded')) ORDER BY o0."id" DESC OFFSET $1) AS s1 WHERE (o0."id" = s1."id")
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/pruner.ex:44: Oban.Pruner.handle_info/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.569 [error] GenServer Oban.Queue.Our_queue_name_here.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Our_queue_name_here.Producer, :pause, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1000: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.536.0>, :shutdown}
22:27:17.569 [error] GenServer Oban.Queue.Default.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Default.Producer, :pause, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1000: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.531.0>, :shutdown}
22:27:17.576 [error] GenServer Oban.Queue.Our_queue_name_here.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.577 [error] GenServer Oban.Queue.Our_queue_name_here.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Our_queue_name_here.Producer, :pause, 5000)
** (EXIT) an exception was raised:
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
(elixir) lib/gen_server.ex:1010: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.536.0>, :shutdown}
22:27:17.580 [error] GenServer Oban.Queue.Default.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.581 [error] GenServer Oban.Queue.Default.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Default.Producer, :pause, 5000)
** (EXIT) an exception was raised:
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
(elixir) lib/gen_server.ex:1010: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.531.0>, :shutdown}
22:27:17.659 [error] GenServer Oban.Queue.Default.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.659 [error] GenServer Oban.Pruner terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: DELETE FROM "oban_jobs" AS o0 USING (SELECT o0."id" AS "id", o0."state" AS "state", o0."queue" AS "queue", o0."worker" AS "worker", o0."args" AS "args", o0."errors" AS "errors", o0."attempt" AS "attempt", o0."max_attempts" AS "max_attempts", o0."attempted_at" AS "attempted_at", o0."completed_at" AS "completed_at", o0."inserted_at" AS "inserted_at", o0."scheduled_at" AS "scheduled_at" FROM "oban_jobs" AS o0 WHERE (o0."state" IN ('completed','discarded')) ORDER BY o0."id" DESC OFFSET $1) AS s1 WHERE (o0."id" = s1."id")
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/pruner.ex:44: Oban.Pruner.handle_info/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.661 [error] GenServer Oban.Queue.Our_queue_name_here.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.661 [error] GenServer Oban.Queue.Default.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Default.Producer, :pause, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1000: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.552.0>, :shutdown}
22:27:17.662 [error] GenServer Oban.Queue.Our_queue_name_here.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Our_queue_name_here.Producer, :pause, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1000: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.556.0>, :shutdown}
22:27:17.675 [error] GenServer Oban.Queue.Our_queue_name_here.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.675 [error] GenServer Oban.Pruner terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: DELETE FROM "oban_jobs" AS o0 USING (SELECT o0."id" AS "id", o0."state" AS "state", o0."queue" AS "queue", o0."worker" AS "worker", o0."args" AS "args", o0."errors" AS "errors", o0."attempt" AS "attempt", o0."max_attempts" AS "max_attempts", o0."attempted_at" AS "attempted_at", o0."completed_at" AS "completed_at", o0."inserted_at" AS "inserted_at", o0."scheduled_at" AS "scheduled_at" FROM "oban_jobs" AS o0 WHERE (o0."state" IN ('completed','discarded')) ORDER BY o0."id" DESC OFFSET $1) AS s1 WHERE (o0."id" = s1."id")
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/pruner.ex:44: Oban.Pruner.handle_info/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.677 [error] GenServer Oban.Queue.Default.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.677 [error] GenServer Oban.Queue.Our_queue_name_here.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Our_queue_name_here.Producer, :pause, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1000: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.556.0>, :shutdown}
22:27:17.678 [error] GenServer Oban.Queue.Default.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Default.Producer, :pause, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1000: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.552.0>, :shutdown}
22:27:17.684 [error] GenServer Oban.Queue.Our_queue_name_here.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.686 [error] GenServer Oban.Queue.Our_queue_name_here.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Our_queue_name_here.Producer, :pause, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1000: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.556.0>, :shutdown}
22:27:17.686 [error] GenServer Oban.Pruner terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: DELETE FROM "oban_jobs" AS o0 USING (SELECT o0."id" AS "id", o0."state" AS "state", o0."queue" AS "queue", o0."worker" AS "worker", o0."args" AS "args", o0."errors" AS "errors", o0."attempt" AS "attempt", o0."max_attempts" AS "max_attempts", o0."attempted_at" AS "attempted_at", o0."completed_at" AS "completed_at", o0."inserted_at" AS "inserted_at", o0."scheduled_at" AS "scheduled_at" FROM "oban_jobs" AS o0 WHERE (o0."state" IN ('completed','discarded')) ORDER BY o0."id" DESC OFFSET $1) AS s1 WHERE (o0."id" = s1."id")
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/pruner.ex:44: Oban.Pruner.handle_info/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.689 [error] GenServer Oban.Queue.Default.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.690 [error] GenServer Oban.Queue.Default.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Default.Producer, :pause, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1000: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.552.0>, :shutdown}
22:27:17.759 [error] GenServer Oban.Queue.Our_queue_name_here.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.761 [error] GenServer Oban.Pruner terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: DELETE FROM "oban_jobs" AS o0 USING (SELECT o0."id" AS "id", o0."state" AS "state", o0."queue" AS "queue", o0."worker" AS "worker", o0."args" AS "args", o0."errors" AS "errors", o0."attempt" AS "attempt", o0."max_attempts" AS "max_attempts", o0."attempted_at" AS "attempted_at", o0."completed_at" AS "completed_at", o0."inserted_at" AS "inserted_at", o0."scheduled_at" AS "scheduled_at" FROM "oban_jobs" AS o0 WHERE (o0."state" IN ('completed','discarded')) ORDER BY o0."id" DESC OFFSET $1) AS s1 WHERE (o0."id" = s1."id")
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/pruner.ex:44: Oban.Pruner.handle_info/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.761 [error] GenServer Oban.Queue.Our_queue_name_here.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Our_queue_name_here.Producer, :pause, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1000: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.556.0>, :shutdown}
22:27:17.763 [error] GenServer Oban.Queue.Default.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.764 [error] GenServer Oban.Queue.Default.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Default.Producer, :pause, 5000)
** (EXIT) an exception was raised:
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
(elixir) lib/gen_server.ex:1010: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.552.0>, :shutdown}
22:27:17.783 [error] GenServer Oban.Queue.Our_queue_name_here.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.783 [error] GenServer Oban.Queue.Our_queue_name_here.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Our_queue_name_here.Producer, :pause, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1000: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.586.0>, :shutdown}
22:27:17.785 [error] GenServer Oban.Pruner terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: DELETE FROM "oban_jobs" AS o0 USING (SELECT o0."id" AS "id", o0."state" AS "state", o0."queue" AS "queue", o0."worker" AS "worker", o0."args" AS "args", o0."errors" AS "errors", o0."attempt" AS "attempt", o0."max_attempts" AS "max_attempts", o0."attempted_at" AS "attempted_at", o0."completed_at" AS "completed_at", o0."inserted_at" AS "inserted_at", o0."scheduled_at" AS "scheduled_at" FROM "oban_jobs" AS o0 WHERE (o0."state" IN ('completed','discarded')) ORDER BY o0."id" DESC OFFSET $1) AS s1 WHERE (o0."id" = s1."id")
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/pruner.ex:44: Oban.Pruner.handle_info/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.790 [error] GenServer Oban.Queue.Default.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.792 [error] GenServer Oban.Queue.Default.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Default.Producer, :pause, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1000: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.581.0>, :shutdown}
22:27:17.793 [error] GenServer Oban.Queue.Our_queue_name_here.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.795 [error] GenServer Oban.Pruner terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: DELETE FROM "oban_jobs" AS o0 USING (SELECT o0."id" AS "id", o0."state" AS "state", o0."queue" AS "queue", o0."worker" AS "worker", o0."args" AS "args", o0."errors" AS "errors", o0."attempt" AS "attempt", o0."max_attempts" AS "max_attempts", o0."attempted_at" AS "attempted_at", o0."completed_at" AS "completed_at", o0."inserted_at" AS "inserted_at", o0."scheduled_at" AS "scheduled_at" FROM "oban_jobs" AS o0 WHERE (o0."state" IN ('completed','discarded')) ORDER BY o0."id" DESC OFFSET $1) AS s1 WHERE (o0."id" = s1."id")
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/pruner.ex:44: Oban.Pruner.handle_info/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.857 [error] GenServer Oban.Queue.Our_queue_name_here.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Our_queue_name_here.Producer, :pause, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1000: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.586.0>, :shutdown}
22:27:17.857 [error] GenServer Oban.Queue.Default.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.858 [error] GenServer Oban.Queue.Default.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Default.Producer, :pause, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1000: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.581.0>, :shutdown}
22:27:17.867 [error] GenServer Oban.Queue.Default.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.868 [error] GenServer Oban.Queue.Default.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Default.Producer, :pause, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1000: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.581.0>, :shutdown}
22:27:17.872 [error] GenServer Oban.Queue.Our_queue_name_here.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.873 [error] GenServer Oban.Queue.Our_queue_name_here.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Our_queue_name_here.Producer, :pause, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1000: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.586.0>, :shutdown}
22:27:17.875 [error] GenServer Oban.Pruner terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: DELETE FROM "oban_jobs" AS o0 USING (SELECT o0."id" AS "id", o0."state" AS "state", o0."queue" AS "queue", o0."worker" AS "worker", o0."args" AS "args", o0."errors" AS "errors", o0."attempt" AS "attempt", o0."max_attempts" AS "max_attempts", o0."attempted_at" AS "attempted_at", o0."completed_at" AS "completed_at", o0."inserted_at" AS "inserted_at", o0."scheduled_at" AS "scheduled_at" FROM "oban_jobs" AS o0 WHERE (o0."state" IN ('completed','discarded')) ORDER BY o0."id" DESC OFFSET $1) AS s1 WHERE (o0."id" = s1."id")
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/pruner.ex:44: Oban.Pruner.handle_info/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.877 [error] GenServer Oban.Queue.Our_queue_name_here.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.878 [error] GenServer Oban.Queue.Our_queue_name_here.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Our_queue_name_here.Producer, :pause, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1000: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.586.0>, :shutdown}
22:27:17.879 [error] GenServer Oban.Pruner terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: DELETE FROM "oban_jobs" AS o0 USING (SELECT o0."id" AS "id", o0."state" AS "state", o0."queue" AS "queue", o0."worker" AS "worker", o0."args" AS "args", o0."errors" AS "errors", o0."attempt" AS "attempt", o0."max_attempts" AS "max_attempts", o0."attempted_at" AS "attempted_at", o0."completed_at" AS "completed_at", o0."inserted_at" AS "inserted_at", o0."scheduled_at" AS "scheduled_at" FROM "oban_jobs" AS o0 WHERE (o0."state" IN ('completed','discarded')) ORDER BY o0."id" DESC OFFSET $1) AS s1 WHERE (o0."id" = s1."id")
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/pruner.ex:44: Oban.Pruner.handle_info/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.881 [error] GenServer Oban.Queue.Default.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.882 [error] GenServer Oban.Queue.Default.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Default.Producer, :pause, 5000)
** (EXIT) an exception was raised:
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
(elixir) lib/gen_server.ex:1010: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.581.0>, :shutdown}
22:27:17.892 [error] GenServer Oban.Queue.Default.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.893 [error] GenServer Oban.Pruner terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: DELETE FROM "oban_jobs" AS o0 USING (SELECT o0."id" AS "id", o0."state" AS "state", o0."queue" AS "queue", o0."worker" AS "worker", o0."args" AS "args", o0."errors" AS "errors", o0."attempt" AS "attempt", o0."max_attempts" AS "max_attempts", o0."attempted_at" AS "attempted_at", o0."completed_at" AS "completed_at", o0."inserted_at" AS "inserted_at", o0."scheduled_at" AS "scheduled_at" FROM "oban_jobs" AS o0 WHERE (o0."state" IN ('completed','discarded')) ORDER BY o0."id" DESC OFFSET $1) AS s1 WHERE (o0."id" = s1."id")
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/pruner.ex:44: Oban.Pruner.handle_info/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.895 [error] GenServer Oban.Queue.Default.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Default.Producer, :pause, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1000: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.610.0>, :shutdown}
22:27:17.958 [error] GenServer Oban.Pruner terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: DELETE FROM "oban_jobs" AS o0 USING (SELECT o0."id" AS "id", o0."state" AS "state", o0."queue" AS "queue", o0."worker" AS "worker", o0."args" AS "args", o0."errors" AS "errors", o0."attempt" AS "attempt", o0."max_attempts" AS "max_attempts", o0."attempted_at" AS "attempted_at", o0."completed_at" AS "completed_at", o0."inserted_at" AS "inserted_at", o0."scheduled_at" AS "scheduled_at" FROM "oban_jobs" AS o0 WHERE (o0."state" IN ('completed','discarded')) ORDER BY o0."id" DESC OFFSET $1) AS s1 WHERE (o0."id" = s1."id")
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/pruner.ex:44: Oban.Pruner.handle_info/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.959 [error] GenServer Oban.Queue.Our_queue_name_here.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.960 [error] GenServer Oban.Queue.Our_queue_name_here.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Our_queue_name_here.Producer, :pause, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1000: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.614.0>, :shutdown}
22:27:17.963 [error] GenServer Oban.Queue.Default.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.964 [error] GenServer Oban.Queue.Default.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Default.Producer, :pause, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1000: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.610.0>, :shutdown}
22:27:17.972 [error] GenServer Oban.Queue.Our_queue_name_here.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.973 [error] GenServer Oban.Pruner terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: DELETE FROM "oban_jobs" AS o0 USING (SELECT o0."id" AS "id", o0."state" AS "state", o0."queue" AS "queue", o0."worker" AS "worker", o0."args" AS "args", o0."errors" AS "errors", o0."attempt" AS "attempt", o0."max_attempts" AS "max_attempts", o0."attempted_at" AS "attempted_at", o0."completed_at" AS "completed_at", o0."inserted_at" AS "inserted_at", o0."scheduled_at" AS "scheduled_at" FROM "oban_jobs" AS o0 WHERE (o0."state" IN ('completed','discarded')) ORDER BY o0."id" DESC OFFSET $1) AS s1 WHERE (o0."id" = s1."id")
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/pruner.ex:44: Oban.Pruner.handle_info/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.974 [error] GenServer Oban.Queue.Our_queue_name_here.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Our_queue_name_here.Producer, :pause, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1000: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.614.0>, :shutdown}
22:27:17.974 [error] GenServer Oban.Queue.Default.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.976 [error] GenServer Oban.Queue.Default.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Default.Producer, :pause, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1000: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.610.0>, :shutdown}
22:27:17.982 [error] GenServer Oban.Queue.Default.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.982 [error] GenServer Oban.Queue.Our_queue_name_here.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.983 [error] GenServer Oban.Queue.Our_queue_name_here.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Our_queue_name_here.Producer, :pause, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1000: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.614.0>, :shutdown}
22:27:17.985 [error] GenServer Oban.Queue.Default.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Default.Producer, :pause, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1000: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.610.0>, :shutdown}
22:27:17.990 [error] GenServer Oban.Pruner terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: DELETE FROM "oban_jobs" AS o0 USING (SELECT o0."id" AS "id", o0."state" AS "state", o0."queue" AS "queue", o0."worker" AS "worker", o0."args" AS "args", o0."errors" AS "errors", o0."attempt" AS "attempt", o0."max_attempts" AS "max_attempts", o0."attempted_at" AS "attempted_at", o0."completed_at" AS "completed_at", o0."inserted_at" AS "inserted_at", o0."scheduled_at" AS "scheduled_at" FROM "oban_jobs" AS o0 WHERE (o0."state" IN ('completed','discarded')) ORDER BY o0."id" DESC OFFSET $1) AS s1 WHERE (o0."id" = s1."id")
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/pruner.ex:44: Oban.Pruner.handle_info/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:17.993 [error] GenServer Oban.Queue.Our_queue_name_here.Producer terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:continue, :start}
22:27:18.061 [error] GenServer Oban.Queue.Our_queue_name_here.Watchman terminating
** (stop) exited in: GenServer.call(Oban.Queue.Our_queue_name_here.Producer, :pause, 5000)
** (EXIT) an exception was raised:
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "oban_jobs" does not exist
query: UPDATE "oban_jobs" AS o0 SET "state" = $1 WHERE (o0."state" = 'executing') AND (o0."queue" = $2) AND ( NOT EXISTS (
SELECT 1
FROM pg_locks
WHERE locktype = 'advisory'
AND classid = 'oban_jobs'::regclass::oid::int
AND objid = oban_wrap_id(o0."id")
)
)
(ecto_sql) lib/ecto/adapters/sql.ex:618: Ecto.Adapters.SQL.raise_sql_call_error/1
(ecto_sql) lib/ecto/adapters/sql.ex:551: Ecto.Adapters.SQL.execute/5
(oban) lib/oban/queue/producer.ex:116: Oban.Queue.Producer.rescue_orphans/1
(oban) lib/oban/queue/producer.ex:49: Oban.Queue.Producer.handle_continue/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:388: :gen_server.loop/7
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
(elixir) lib/gen_server.ex:1010: GenServer.call/3
(oban) lib/oban/queue/watchman.ex:43: Oban.Queue.Watchman.terminate/2
(stdlib) gen_server.erl:673: :gen_server.try_terminate/3
(stdlib) gen_server.erl:858: :gen_server.terminate/10
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.614.0>, :shutdown}
22:27:18.073 [info] Application my_app exited: shutdown
22:27:18.392 [error] Could not create schema migrations table. This error usually happens due to the following:
* The database does not exist
* The "schema_migrations" table, which Ecto uses for managing
migrations, was defined by another library
* There is a deadlock while migrating (such as using concurrent
indexes with a migration_lock)
To fix the first issue, run "mix ecto.create".
To address the second, you can run "mix ecto.drop" followed by
"mix ecto.create". Alternatively you may configure Ecto to use
another table for managing migrations:
config :my_app, MyApp.Repo,
migration_source: "some_other_table_for_schema_migrations"
The full error report is shown below.
** (RuntimeError) could not lookup MyApp.Repo because it was not started or it does not exist
(ecto) lib/ecto/repo/registry.ex:18: Ecto.Repo.Registry.lookup/1
(ecto) lib/ecto/adapter.ex:127: Ecto.Adapter.lookup_meta/1
(ecto_sql) lib/ecto/migration/schema_migration.ex:20: Ecto.Migration.SchemaMigration.ensure_schema_migrations_table!/2
(ecto_sql) lib/ecto/migrator.ex:558: Ecto.Migrator.verbose_schema_migration/3
(ecto_sql) lib/ecto/migrator.ex:411: Ecto.Migrator.lock_for_migrations/3
(ecto_sql) lib/ecto/migrator.ex:536: anonymous fn/5 in Ecto.Migrator.migrate/4
(elixir) lib/enum.ex:1948: Enum."-reduce/3-lists^foldl/2-0-"/3
(ecto_sql) lib/ecto/migrator.ex:535: Ecto.Migrator.migrate/4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment