WrongBackend: Incorrect authentication service "github"

I have the same problem reported in https://github.com/getsentry/sentry/issues/5583.

I have just upgraded to sentry 8.19.0 and installed sentry-plugins 8.19.0. Every container running my sentry installation has those packages:

$ docker exec -it sentry-8.19.0-worker bash -c "pip freeze | grep sentry"
sentry==8.19.0
sentry-plugins==8.19.0

$ docker exec -it sentry-8.19.0 bash -c "pip freeze | grep sentry"
sentry==8.19.0
sentry-plugins==8.19.0

$ docker exec -it sentry-8.19.0-cron bash -c "pip freeze | grep sentry"
sentry==8.19.0
sentry-plugins==8.19.0

When I try to access account/settings/social/associate/complete/github/ an exception is raised:

Have you configured a GitHub application?