Old users cannot log in after upgrade
Hey Pleroma people,
In June I set up a Pleroma instance (version [0.9.99999] - 2019-05-31) at pleroma.toot.koeln. It worked well, but due to missing spare time was not updated for some weeks. This week I upgraded to the recent version ([1.1.2] - 2019-10-18) using the instructions provided here: https://git.pleroma.social/pleroma/pleroma/blob/develop/docs/administration/updating.md
The upgrade process was successful and no errors were returned during the upgrade.
Unfortunately I now noticed that users that were created before the upgrade cannot login in any more. Login works fine for user that are created after the upgrade.
The web console in Firefox shows error "500 - Internal server error" and the Pleroma log shows the following:
15:02:17.345 request_id=FdLDd1TdT-wH9NYAAAzB [error] Elixir.Pleroma.Web.MastodonAPI.StatusView failed to render {Pleroma.Web.MastodonAPI.StatusView, "status.json"}
** (Protocol.UndefinedError) protocol Enumerable not implemented for nil of type Atom. This protocol is implemented for the following type(s): Ecto.Adapters.SQL.Stream, Postgrex.Stream, Floki.HTMLTree, DBConnection.Stream, DBConnection.PrepareStream, Timex.Interval, Map, MapSet, List, File.Stream, Stream, Date.Range, Function, GenEvent.Stream, IO.Stream, HashDict, Range, HashSet
(elixir) lib/enum.ex:1: Enumerable.impl_for!/1
(elixir) lib/enum.ex:166: Enumerable.member?/2
(elixir) lib/enum.ex:1562: Enum.member?/2
(pleroma) lib/pleroma/web/mastodon_api/views/account_view.ex:56: Pleroma.Web.MastodonAPI.AccountView.render/2
(pleroma) lib/pleroma/web/mastodon_api/views/account_view.ex:109: Pleroma.Web.MastodonAPI.AccountView.do_render/2
(pleroma) lib/pleroma/web/mastodon_api/views/status_view.ex:265: Pleroma.Web.MastodonAPI.StatusView.render/2
(pleroma) lib/pleroma/web/mastodon_api/views/status_view.ex:6: Pleroma.Web.MastodonAPI.StatusView.safe_render/3
(elixir) lib/enum.ex:1336: Enum."-map/2-lists^map/1-0-"/2
15:02:17.351 request_id=FdLDd1TdT-wH9NYAAAzB [error] Elixir.Pleroma.Web.MastodonAPI.StatusView failed to render {Pleroma.Web.MastodonAPI.StatusView, "status.json"}
** (Protocol.UndefinedError) protocol Enumerable not implemented for nil of type Atom. This protocol is implemented for the following type(s): Ecto.Adapters.SQL.Stream, Postgrex.Stream, Floki.HTMLTree, DBConnection.Stream, DBConnection.PrepareStream, Timex.Interval, Map, MapSet, List, File.Stream, Stream, Date.Range, Function, GenEvent.Stream, IO.Stream, HashDict, Range, HashSet
(elixir) lib/enum.ex:1: Enumerable.impl_for!/1
(elixir) lib/enum.ex:166: Enumerable.member?/2
(elixir) lib/enum.ex:1562: Enum.member?/2
(pleroma) lib/pleroma/web/mastodon_api/views/account_view.ex:56: Pleroma.Web.MastodonAPI.AccountView.render/2
(pleroma) lib/pleroma/web/mastodon_api/views/account_view.ex:109: Pleroma.Web.MastodonAPI.AccountView.do_render/2
(pleroma) lib/pleroma/web/mastodon_api/views/status_view.ex:265: Pleroma.Web.MastodonAPI.StatusView.render/2
(pleroma) lib/pleroma/web/mastodon_api/views/status_view.ex:6: Pleroma.Web.MastodonAPI.StatusView.safe_render/3
(elixir) lib/enum.ex:1336: Enum."-map/2-lists^map/1-0-"/2
Do you have a clue what's going wrong? I checked the change log, took the latest version of the configuration file and migrated my configuration to it. So configuration should be fine.
As Erlang error messages are hard to understand for me, maybe you have some advice for me. Thank you very much!