Ecto.NoPrimaryKeyValueError
looks like some accounts are borked on my instance?
Jan 07 12:32:29 xerneas mix[3056]: 12:32:29.201 [error] #PID<0.2093.0> running Pleroma.Web.Endpoint (cowboy_protocol) terminated
Jan 07 12:32:29 xerneas mix[3056]: Server: kawen.space:80 (http)
Jan 07 12:32:29 xerneas mix[3056]: Request: POST /inbox
Jan 07 12:32:29 xerneas mix[3056]: ** (exit) an exception was raised:
Jan 07 12:32:29 xerneas mix[3056]: ** (Ecto.NoPrimaryKeyValueError) struct `%Pleroma.User.Info{ap_enabled: true, background: %{}, banner: %{"type" => "Image", "url" => [%{"href" => "https://media.mstdn.jp/accounts/headers/000/277/447/original/41d80317d7d21055.jpg"}]}, blocks: [], confirmation_pending: false, confirmation_token: nil, deactivated: false, default_scope: "public", domain_blocks: [], follower_count: 1, hide_network: false, hub: nil, id: nil, is_admin: false, is_moderator: false, keys: nil, locked: false, magic_key: nil, no_rich_text: false, note_count: 56400, salmon: nil, settings: nil, source_data: %{"@context" => ["https://www.w3.org/ns/activitystreams", "https://w3id.org/security/v1", %{"Emoji" => "toot:Emoji", "Hashtag" => "as:Hashtag", "PropertyValue" => "schema:PropertyValue", "atomUri" => "ostatus:atomUri", "conversation" => "ostatus:conversation", "featured" => %{"@id" => "toot:featured", "@type" => "@id"}, "focalPoint" => %{"@container" => "@list", "@id" => "toot:focalPoint"}, "inReplyToAtomUri" => "ostatus:inReplyToAtomUri", "manuallyApprovesFollowers" => "as:manuallyApprovesFollowers", "movedTo" => %{"@id" => "as:movedTo", "@type" => "@id"}, "ostatus" => "http://ostatus.org#", "schema" => "http://schema.org#", "sensitive" => "as:sensitive", "toot" => "http://joinmastodon.org/ns#", "value" => "schema:value"}], "attachment" => [%{"name" => "Religion", "type" => "PropertyValue", "value" => "Hermeticist"}, %{"name" => "Country", "type" => "PropertyValue", "value" => "JP"}, %{"name" => "Beliefs", "type" => "PropertyValue", "value" => "libertarian"}], "endpoints" => %{"sharedInbox" => "https://mstdn.jp/inbox"}, "featured" => "https://mstdn.jp/users/mimorinka/collections/featured", "followers" => "https://mstdn.jp/users/mimorinka/followers", "following" => "https://mstdn.jp/users/mimorinka/following", "icon" => %{"mediaType" => "image/png", "type" => "Image", "url" => "https://media.mstdn.jp/accounts/avatars/000/277/447/original/1dc07d9f13a160719a79bf4e7ea78dea.png"}, "id" => "https://mstdn.jp/users/mimorinka", "image" => %{"me
Jan 07 12:32:29 xerneas mix[3056]: diaType" => "image/jpeg", "type" => "Image", "url" => "https://media.mstdn.jp/accounts/headers/000/277/447/original/41d80317d7d21055.jpg"}, "inbox" => "https://mstdn.jp/users/mimorinka/inbox", "manuallyApprovesFollowers" => false, "name" => "みもりんか", "outbox" => "https://mstdn.jp/users/mimorinka/outbox", "preferredUsername" => "mimorinka", "publicKey" => %{"id" => "https://mstdn.jp/users/mimorinka#main-key", "owner" => "https://mstdn.jp/users/mimorinka", "publicKeyPem" => "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwrc+iLx+4I512qlDlS0Y\nR9pkcRqyFuIhgD0RZ43+sDudKjJrYLQSvyhQToZ1sOckaN8LzGpjyXeVXxWhwbMu\nMp/P2LuQYBth8CTeAIBDrUg3YKs+F/OTsy+P7fxyafR8aodGVWVUgejEf1mQWEMn\n9TI45WtLW8aVuYKqLRg8agxBs0brTqz7mxi7D8ZEfBXipK38gS5sW5GVTM8T2Pz0\nHto84NC/WdUXY+9wFvvgwkYCgbnfi9c/xSn6lZNFEmmaz1BTXoe/ss7vDqxGpxHk\nFHUfFy31ZmC5ODAJrVjEv0v1JMp6+SJE0L/PA2MkK8f+1/j1FpBW8KOuL/u1EIWQ\nkwIDAQAB\n-----END PUBLIC KEY-----\n"}, "summary" => "<p>もうテキトーでいいや</p>", "tag" => [], "type" => "Person", "url" => "https://mstdn.jp/@mimorinka"}, topic: nil, uri: nil}` is missing primary key value
Jan 07 12:32:29 xerneas mix[3056]: (ecto) lib/ecto/embedded.ex:141: anonymous fn/3 in Ecto.Embedded.autogenerate_id/5
Jan 07 12:32:29 xerneas mix[3056]: (elixir) lib/enum.ex:1925: Enum."-reduce/3-lists^foldl/2-0-"/3
Jan 07 12:32:29 xerneas mix[3056]: (ecto) lib/ecto/embedded.ex:140: Ecto.Embedded.autogenerate_id/5
Jan 07 12:32:29 xerneas mix[3056]: (ecto) lib/ecto/embedded.ex:109: Ecto.Embedded.to_struct/4
Jan 07 12:32:29 xerneas mix[3056]: (ecto) lib/ecto/embedded.ex:62: anonymous fn/5 in Ecto.Embedded.prepare/4
Jan 07 12:32:29 xerneas mix[3056]: (stdlib) maps.erl:257: :maps.fold_1/3
Jan 07 12:32:29 xerneas mix[3056]: (ecto) lib/ecto/repo/schema.ex:277: anonymous fn/14 in Ecto.Repo.Schema.do_update/4
Jan 07 12:32:29 xerneas mix[3056]: (ecto) lib/ecto/repo/schema.ex:774: anonymous fn/3 in Ecto.Repo.Schema.wrap_in_transaction/6