posts with hashtags fail
When I try to post anything containing a hashtag, I see the backend error noted below. I'm going a little crazy here -- I must have messed something up when I migrated my server, but I simply can't find it.
I recently upgraded from 2.4.3 to 2.4.4. The problem was the same in both versions.
I'm prepared to be embarrassed at having made some newbie error, I just want to find a fix. Thanks to anyone who can help!
{description: "Jason.Encoder protocol must always be explicitly implemented.\n\nIf you own the struct, you can derive the implementation specifying which fields should be encoded to JSON:\n\n @derive {Jason.Encoder, only: [....]}\n defstruct ...\n\nIt is also possible to encode all fields, although this should be used carefully to avoid accidentally leaking private information when new fields are added:\n\n @derive Jason.Encoder\n defstruct ...\n\nFinally, if you don't own the struct you want to encode to JSON, you may use Protocol.derive/3 placed outside of any module:\n\n Protocol.derive(Jason.Encoder, NameOfTheStruct, only: [...])\n Protocol.derive(Jason.Encoder, NameOfTheStruct)\n",
protocol: Jason.Encoder,
value: #Ecto.Changeset<action: :insert,
changes: %{data: %{
"actor" => "https://hact.org/users/datn",
"attachment" => [], "cc" => ["https://hact.org/users/datn/followers"],
"content" => "<p>hashtag <a class=\"hashtag\" data-tag=\"testing\" href=\"https://hact.org/tag/testing\">#testing</a> hashtags man</p>",
"context" => "https://hact.org/contexts/fb5548f9-faf1-430c-9b78-5d2b2097822d",
"context_id" => 734300,
"emoji" => %{},
"generator" => %{name: "PleromaFE_b13d8f7e\r\n_2022-10-01T08:47:21.506Z", type: "Application", url: nil},
"id" => "https://hact.org/objects/100461d0-6795-4a1b-b97b-b833a336a555",
"published" => "2022-10-31T19:51:02.423949Z",
"sensitive" => nil,
"source" => "hashtag #testing hashtags man",
"summary" => "",
"tag" => ["testing"],
"to" => ["https://www.w3.org/ns/activitystreams#Public"],
"type" => "Note"}},
errors: [data: {"error referencing hashtags", []}], data: #Pleroma.Object<>, valid?: false>}
Edited by Dan S