Page MenuHomePhabricator

Unhandled Exception ("AphrontQueryException") when searching
Closed, ResolvedPublic

Description

We recently upgraded our Phabricator installation after a few months to commit b1f64d93566f172af4a60151ac4afa540f4017fa.

We used the update_phabricator.sh script from the docs. There were a couple of schema errors during the migrations and I basically deleted the columns because upon searching here I found some commits where those columns had been removed, not sure if that's related to this task.

Searching for anything now results in

Unhandled Exception ("AphrontQueryException")
#145: Table './phabricator_search/search_documentfield' is marked as crashed and should be repaired

Event Timeline

adityar7 raised the priority of this task from to Needs Triage.
adityar7 updated the task description. (Show Details)
adityar7 added a subscriber: adityar7.

Try this:

mysql> REPAIR TABLE phabricator_search.search_documentfield;
adityar7 claimed this task.

Worked, thanks!