(I’ve read this thread, but it didn’t seem to help)
We recently updated our site to a more recent version of docker + discourse, and several users reported general site slowdown (I suspect this has to do more with disk space than the site itself). Something we did notice, however, is that now specific searches are giving us a 502 bad gateway (this seems to be category-independent). We also upgraded our postgres install as part of the rebuild process.
As with the linked thread, it seems that the searches are timing out with zero hits (the failing searches are things like “abcd
” or similar nonsense).
Two things:
-
It was mentioned this could be fixed with a “Postgres statistics rebuild”. I googled this, but was having difficulty determining what actual actionable steps we could take to achieve this. I would really prefer an option that avoids reinstalling from scratch + restoring backup.
-
Can I submit this as a bug report/feature request? I think having a more informative error than 502 would be a good idea, as I’m sure many people would believe this to be a fault of the configuration (myself included! I haven’t ruled out the possibility)