Occasional 500 error PUT request /api/web/settings
Every so often the app signals a 500 error has occurred and upon looking at dev tools I see its to do with a PUT
request to /api/web/settings this is since upgrading the PleromaBE version last night.
I think it happens every time I toot too, although that may just be circumstantial.
Instance details:
{
"description":"A Pleroma instance, an alternative fediverse server",
"email":"simon.dann@gmail.com",
"max_toot_chars":5000,
"stats":{
"domain_count":173,
"status_count":2011,
"user_count":10
},
"thumbnail":"https://d20hero.club/instance/thumbnail.jpeg",
"title":"d20 heroes",
"uri":"https://d20hero.club",
"urls":{
"streaming_api":"wss://d20hero.club"
},
"version":"2.5.0 (compatible; Pleroma 0.9.0-18-gec1ec32f)"
}
I just managed to catch the error on the backend:
Dec 16 20:49:24 scw-f997b0 mix[30132]: Server: d20hero.club:80 (http)
Dec 16 20:49:24 scw-f997b0 mix[30132]: Request: PUT /api/web/settings
Dec 16 20:49:24 scw-f997b0 mix[30132]: ** (exit) an exception was raised:
Dec 16 20:49:24 scw-f997b0 mix[30132]: ** (RuntimeError) NOT VALID ANYMORE
Dec 16 20:49:24 scw-f997b0 mix[30132]: (pleroma) lib/pleroma/user.ex:66: Pleroma.User.info_changeset/2
Dec 16 20:49:24 scw-f997b0 mix[30132]: (pleroma) lib/pleroma/web/mastodon_api/mastodon_api_controller.ex:963: Pleroma.Web.MastodonAPI.MastodonAPIController.put_settings/2
Dec 16 20:49:24 scw-f997b0 mix[30132]: (pleroma) lib/pleroma/web/mastodon_api/mastodon_api_controller.ex:1: Pleroma.Web.MastodonAPI.MastodonAPIController.action/2
Dec 16 20:49:24 scw-f997b0 mix[30132]: (pleroma) lib/pleroma/web/mastodon_api/mastodon_api_controller.ex:1: Pleroma.Web.MastodonAPI.MastodonAPIController.phoenix_controller_pipeline/2
Dec 16 20:49:24 scw-f997b0 mix[30132]: (pleroma) lib/pleroma/web/endpoint.ex:1: Pleroma.Web.Endpoint.instrument/4
Dec 16 20:49:24 scw-f997b0 mix[30132]: (phoenix) lib/phoenix/router.ex:278: Phoenix.Router.__call__/1
Dec 16 20:49:24 scw-f997b0 mix[30132]: (pleroma) lib/pleroma/web/endpoint.ex:1: Pleroma.Web.Endpoint.plug_builder_call/2
Dec 16 20:49:24 scw-f997b0 mix[30132]: (pleroma) lib/pleroma/web/endpoint.ex:1: Pleroma.Web.Endpoint.call/2
Edited by Simon Dann