Sentry On-Premise cannot create a superuser
I follow steps under this issue, and it resolves your new issue
https://github.com/getsentry/sentry/issues/8862
docker-compose run --rm web shellfrom sentry.models import Projectfrom sentry.receivers.core import create_default_projectscreate_default_projects([Project])