Upgrade from Sep 30 2016 Search Exception

./arcanist> git log
Date: Fri Jun 12 14:16:36 2020 -0700

./phabricator> git log
Date: Thu Jun 25 17:46:12 2020 -0700

./conf/local/local.json
{
“mysql.host”: “127.0.0.1”,
“mysql.pass”: “******”,
“mysql.port”: “3306”,
“mysql.user”: “root”,
“cluster.search”: [
{
“type”: “mysql”,
“roles”: { “write”: true }
}
],

./bin/search index --all --force
Indexing 1 object of type HRUL.
Indexing 100515 object of type FILE.
Indexing 10364 object of type DREV.
Indexing 20106 object of type TASK.
Indexing 1 object of type CDTL.
Indexing 294 object of type CEVT.
Indexing 3 object of type DSHB.
Indexing 14 object of type DSHP.
Indexing 7105 object of type PSTE.
Indexing 313 object of type PROJ.
Indexing 1 object of type REPO.
Indexing 56 object of type USER.
Indexing 12 object of type MOCK.
Indexing 1125 object of type WIKI.
Indexing 1 object of type QUES.
Indexing 4 object of type CONP.
Indexing 1 object of type HMCP.
Indexing 43 object of type PANL.

./bin/storage upgrade --user root
Found no adjustments for schemata.
ANALYZE Analyzing tables…
Done.
ANALYZED Analyzed 540 table(s).

Then I went to the website and enter in the upper right search widget

Unhandled Exception ("PhutilAggregateException")	
All of the configured Fulltext Search services failed.
Depth	Library	File	Where
12	phabricator	applications/search/query/PhabricatorSearchDocumentQuery.php : 52	PhabricatorSearchService::newResultSet()
11	phabricator	infrastructure/query/policy/PhabricatorPolicyAwareQuery.php : 251	PhabricatorSearchDocumentQuery::loadPage()
10	phabricator	infrastructure/query/PhabricatorOffsetPagedQuery.php : 46	PhabricatorPolicyAwareQuery::execute()
9	phabricator	applications/search/engine/PhabricatorApplicationSearchEngine.php : 1036	PhabricatorOffsetPagedQuery::executeWithOffsetPager()
8	phabricator	applications/search/controller/PhabricatorApplicationSearchController.php : 256	PhabricatorApplicationSearchEngine::executeQuery()
7	phabricator	applications/search/controller/PhabricatorApplicationSearchController.php : 91	PhabricatorApplicationSearchController::processSearchRequest()
6	phabricator	aphront/AphrontController.php : 29	PhabricatorApplicationSearchController::processRequest()
5	phabricator	aphront/AphrontController.php : 71	AphrontController::handleRequest()
4	phabricator	applications/search/controller/PhabricatorSearchController.php : 96	AphrontController::delegateToController()
3	phabricator	aphront/configuration/AphrontApplicationConfiguration.php : 288	PhabricatorSearchController::handleRequest()
2	phabricator	aphront/configuration/AphrontApplicationConfiguration.php : 208	AphrontApplicationConfiguration::processRequest()
1		/var/www/phabricator/webroot/index.php : 35	AphrontApplicationConfiguration::runHTTPRequest()

Which version of libphutil? Did you restart Phab after doing this?

Which version of libphutil?

The “libphutil” library is no longer distributed as a standalone library.
Instead, it is now bundled with “Arcanist” and “Phabricator”.

I’m using the latest client and server arcanist

SERVER
/arcanist> git log
Date: Fri Jun 12 14:16:36 2020 -0700

./phabricator> git log
Date: Thu Jun 25 17:46:12 2020 -0700

CLIENT

commit ceb082ef6b2919d76a90d4a53ca84f5b1e0c2c06 (HEAD -> master, origin/ 1 master, origin/HEAD)
2 Author: epriestley git@epriestley.com
3 Date: Thu Jul 23 08:26:32 2020 -0700

Did you restart Phab after doing this?
Yes. I restarted the daemons and webserver

Your cluster.search setting configures one search engine which is write-only. Since there are no readable engines, all queries will fail: there are no services that can be queried.

Delete your cluster.search configuration and try again.