Build 10.1.0.dev0 error: 'module' object has no attribute 'SnubaSearchBackend'

Try to follow this documentation: https://docs.sentry.io/server/installation/
end up error after executing ./install.sh:

Configuration error: sentry.search service failed to call validate()
‘module’ object has no attribute ‘SnubaSearchBackend’

But I manage to success installing after commenting configuration: SENTRY_SEARCH = “sentry.search.snuba.SnubaSearchBackend” of file sentry.conf.py

Successfully login but got warning inside ui that worker is not checking recently and it doesn’t match the current sentry version, 10.0.0.dev0 vs 10.1.0.dev0.

Try to fix it by going inside: docker exec -it sentry_onpremise_web_1 bash
then executing command: sentry upgrade.

Logut/ re-login to check the warning and now it doesn’t show up.

Did I am doing right ?
Is it ok that I’m commenting SENTRY_SEARCH configuration ?

You most probably have a stale sentry.conf.py file from an earlier installation and skipped this change: https://github.com/getsentry/onpremise/pull/319/files

Just apply that change and rebuild your container (docker-compose build web) and you should be good :slight_smile:

1 Like