Mobilizon deleted my profile and re-assigned my event to random remote account
Description
I deployed Mobilizon from source yesterday on my server and created an event: https://meet.mentality.rip/events/b46e1d77-dd23-4aac-ae9e-6ab8c476c628
It was great until I noticed today that my profile is gone and event was assigned to random person.
My profile was located at https://meet.mentality.rip/@a1batross.
Interestingly, AP actor still exists, as I can access AP endpoints like https://meet.mentality.rip/@a1batross/followers
The server log is flooded by following backtrace:
авг 25 16:10:19 UwU mobilizon[196849]: Server: meet.mentality.rip:80 (http)
авг 25 16:10:19 UwU mobilizon[196849]: Request: GET /@a1batross
авг 25 16:10:19 UwU mobilizon[196849]: ** (exit) an exception was raised:
авг 25 16:10:19 UwU mobilizon[196849]: ** (Protocol.UndefinedError) protocol Jason.Encoder not implemented for {:safe, ["<!DOCTYPE html>\n<html lang=\"", "en", "\">\n <head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n <title>", "This page is not correct", "</title>\n <style>\n body.error {\n font-family: BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, Cantarell, Segoe UI, Fira Sans, Droid Sans, Helvetica Neue, Helvetica, Arial, sans-serif;\n background: #efeef4;\n position: absolute;\n color: #3c376e;\n width: 100%;\n height: 100%;\n padding: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n margin: 0;\n }\n\n body.error .dialog {\n text-align: center;\n }\n \n body.error .dialog h1 {\n font-size: 20px;\n line-height: 28px;\n font-weight: 400;\n }\n \n body.error .dialog img {\n display: block;\n max-width: 470px;\n width: 100%;\n height: auto;\n margin: -120px auto auto;\n }\n </style>\n </head>\n <body class=\"error\">\n <main role=\"main\" class=\"dialog\">\n <div class=\"error_illustration\">\n <img src=\"/img/mobilizon_logo.png\" />\n <!-- <img src=\"/img/error.png\" alt=\"\" width=\"500\" /> -->\n </div>\n <div class=\"error__message\">\n <h1>", [[[], "We" | "'"] | "re sorry, but something went wrong on our end."], "</h1>\n <p>\n", "The Mobilizon server <b>Meet Mentality</b> seems to be temporarily down.", "<br />\n", ["\n", "If the issue persists, you may contact the server administrator at <a href=\"mailto:a1batross@expired.mentality.rip\">a1batross@expired.mentality.rip</a>.", "\n"], "\n </p>\n </div>\n </main>\n", "", "\n </body>\n</html>\n"]} of type Tuple, Jason.Encoder protocol must always be explicitly implemented. This protocol is implemented for the following type(s): Mobilizon.Reports.Note, Mobilizon.Events.EventOptions, Mobilizon.Events.EventMetadata, Mobilizon.Medias.File, Mobilizon.Events.EventParticipantStats, Mobilizon.Reports.Report, Geo.MultiLineString, Geo.MultiPolygon, Geo.PointZM, Geo.MultiPointZ, Geo.MultiLineStringZ, Geo.LineStringZ, Geo.MultiPoint, Geo.Point, Geo.GeometryCollection, Geo.LineString, Geo.MultiPolygonZ, Geo.PointM, Geo.PointZ, Geo.PolygonZ, Geo.Polygon, Cldr.LanguageTag, Ecto.Association.NotLoaded, Ecto.Schema.Metadata, List, NaiveDateTime, Integer, Jason.Fragment, Date, Atom, Time, DateTime, Map, Float, BitString, Decimal, Any
авг 25 16:10:19 UwU mobilizon[196849]: (jason 1.2.2) lib/jason.ex:199: Jason.encode_to_iodata!/2
авг 25 16:10:19 UwU mobilizon[196849]: (phoenix 1.5.10) lib/phoenix/controller.ex:777: Phoenix.Controller.render_and_send/4
авг 25 16:10:19 UwU mobilizon[196849]: (phoenix 1.5.10) lib/phoenix/endpoint/render_errors.ex:78: Phoenix.Endpoint.RenderErrors.instrument_render_and_send/5
авг 25 16:10:19 UwU mobilizon[196849]: (phoenix 1.5.10) lib/phoenix/endpoint/render_errors.ex:64: Phoenix.Endpoint.RenderErrors.__catch__/5
авг 25 16:10:19 UwU mobilizon[196849]: (phoenix 1.5.10) lib/phoenix/endpoint/cowboy2_handler.ex:65: Phoenix.Endpoint.Cowboy2Handler.init/4
авг 25 16:10:19 UwU mobilizon[196849]: (cowboy 2.9.0) /opt/mobilizon/deps/cowboy/src/cowboy_handler.erl:37: :cowboy_handler.execute/2
авг 25 16:10:19 UwU mobilizon[196849]: (cowboy 2.9.0) /opt/mobilizon/deps/cowboy/src/cowboy_stream_h.erl:306: :cowboy_stream_h.execute/3
авг 25 16:10:19 UwU mobilizon[196849]: (cowboy 2.9.0) /opt/mobilizon/deps/cowboy/src/cowboy_stream_h.erl:295: :cowboy_stream_h.request_process/3
Version: a97ac84b
PostgreSQL version: 12.
Operating system: Ubuntu 20.04
Elixir version: 1.12.2 (compiled with Erlang/OTP 22)
Erlang version: 24 \