No locale meta information provided

So after I saw the error of Celery workers version on sentry dashboard, I googled a bit and found this command. I have 2 servers running sentry service and after running the command the 1st one started pointing to the 9.1.1 version but this command didn’t worked on the second server.
For second one then I had to remove all docker images, change the sentry version in Dockerfile from sentry:9.1-onbuild to sentry:9.1.1 and then run docker-compose again. After that the second server started pointing to the 9.1.1 version