I connected my server to use a Digital Ocean space and confirmed that it successfully uploaded media to the space, except it uploaded to the root directory and not the child path I would prefer.
I made what I thought would be the right change to my configuration, and instead I caused Akkoma to crash, and it won’t restart now. Even if I try to do a config dump on the command line I get the same error. Here’s the meat of the failure:
17:56:52.462 [error] Failed to start!
17:56:52.485 [error] {:error, {:shutdown, {:failed_to_start_child, Pleroma.Config.TransferTask, {:EXIT, {%Protocol.UndefinedError{protocol: Enumerable, value: nil, description: “”}, [{Enumerable, :impl_for!, 1, [file: ~c"lib/enum.ex", line: 1]}, {Enumerable, :reduce, 3, [file: ~c"lib/enum.ex", line: 166]}, {Enum, :each, 2, [file: ~c"lib/enum.ex", line: 4387]}, {Pleroma.Config.TransferTask, :configure, 1, [file: ~c"lib/pleroma/config/transfer_task.ex", line: 113]}, {Enum, :“-each/2-lists^foreach/1-0-”, 2, [file: ~c"lib/enum.ex", line: 984]}, {Pleroma.Config.TransferTask, :load_and_update_env, 2, [file: ~c"lib/pleroma/config/transfer_task.ex", line: 51]}, {Pleroma.Config.TransferTask, :start_link, 1, [file: ~c"lib/pleroma/config/transfer_task.ex", line: 34]}, {:supervisor, :do_start_child_i, 3, [file: ~c"supervisor.erl", line: 420]}]}}}}} > 17:56:52.486 [notice] Application pleroma exited: Pleroma.Application.start(:normal, ) returned an error: shutdown: failed to start child: Pleroma.Config.TransferTask
** (EXIT) an exception was raised:
** (Protocol.UndefinedError) protocol Enumerable not implemented for nil of type Atom. This protocol is implemented for the following type(s): DBConnection.PrepareStream, DBConnection.Stream, Date.Range, Ecto.Adapters.SQL.Stream, File.Stream, Floki.HTMLTree, Function, GenEvent.Stream, HashDict, HashSet, IO.Stream, Jason.OrderedObject, List, Map, MapSet, Phoenix.LiveView.LiveStream, Postgrex.Stream, Range, Stream, Timex.Interval
(elixir 1.15.0) lib/enum.ex:1: Enumerable.impl_for!/1
(elixir 1.15.0) lib/enum.ex:166: Enumerable.reduce/3
(elixir 1.15.0) lib/enum.ex:4387: Enum.each/2
(pleroma 3.9.3) lib/pleroma/config/transfer_task.ex:113: Pleroma.Config.TransferTask.configure/1
(elixir 1.15.0) lib/enum.ex:984: Enum.“-each/2-lists^foreach/1-0-”/2
(pleroma 3.9.3) lib/pleroma/config/transfer_task.ex:51: Pleroma.Config.TransferTask.load_and_update_env/2
(pleroma 3.9.3) lib/pleroma/config/transfer_task.ex:34: Pleroma.Config.TransferTask.start_link/1
(stdlib 4.3.1.2) supervisor.erl:420: :supervisor.do_start_child_i/3
I would be happy if I could revert it to local storage via the command line or even with sql, but I’m not sure how to do that.
How can I get my server up and running again?