Comments (3)
i think there is a cron job who adds stuff to the database, which may have failed recently
could it be due to the update in heroku @ttaylorr ?
from git-scm.com.
Thanks for reporting. After some looking, it seems that we do have data in the Bonsai cluster, but that something (likely to do with the Heroku stack upgrade from a few days ago) broke things:
Of course, we eat StandardError
, so it's not immediately obvious what's going on when you run Doc.search("config")
in the rails console
. But open-coding Searchable#search
gives us a little more information:
irb(main):046:0> client.search index: ELASTIC_SEARCH_INDEX, body: query_options
/app/vendor/bundle/ruby/3.1.0/gems/elasticsearch-transport-2.0.2/lib/elasticsearch/transport/transport/base.rb:202:in `__raise_transport_error': [406] {"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406} (Elasticsearch::Transport::Transport::Errors::NotAcceptable)
@pedrorijo91 Do you know what to do here?
from git-scm.com.
...annnd it works again:
Some of the details are in PRs #1869, #1870, and #1871. But the gist is that we had to upgrade the elasticsearch
gem not quite to the latest version, but to the highest version that still supports Bonsai, which is not an officially supported ES backend. Then we had to tweak some of our query parameters, which was done in #1871.
Finally, it looks like either Bonsai dropped our data, or my earlier rake search_clear
run dropped the existing data, but the subsequent rake search_index
did not re-populate it as it was running prior to #1869.
So I ran one more round of:
for task in search_clear search_index search_index_book
do
heroku run -a git-scm "rake $task" || return 1
done
which landed that data back into Bonsai, and validated that search works again. Thanks for reporting, @dscho!
from git-scm.com.
Related Issues (20)
- Seeking Guidance: Uncertain if Issue or Misunderstanding HOT 1
- git commit struck in terminal HOT 1
- Windows Downloads on https://git-scm.com not working HOT 1
- > As reported on #1390 , book images get broken from time to time.
- Version 2.42.1 announced for Windows on https://git-scm.com/ but is not available HOT 1
- GIT Windows 64-bit installer download link is broken HOT 13
- Leonelhdz99
- The git automatically fills in deleted information. HOT 1
- Ligatures in monospace fonts hurt legibility of config keys HOT 1
- The git-users (e)mailing list seems spam-drowned: canβt access HOT 3
- Error 500 when visiting the greek git book HOT 6
- Resetting the install of git HOT 2
- user account closed down lock
- mark Aurees as depricated / development ceased HOT 4
- problem HOT 1
- Compiled installer releases versus WinGet releases HOT 3
- Images on "About - Git"/"Small and Fast" are "404 Not Found" HOT 5
- Broken packtpub external links HOT 4
- Broken "init benchmark" images on small and fast page HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-scm.com.