@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Don't fatal in ElasticSearch setup check if no "master" database is configured

Summary:
Ref T12965. See that task for discussion, and PHI36 for context.

This sweeps the fatal under the rug by skipping it, letting things move forward for now.

Test Plan: Followed instructions in T12965, got a read-only recovery after restart instead of a fatal.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12965

Differential Revision: https://secure.phabricator.com/D18440

+6
+6
src/applications/config/check/PhabricatorElasticsearchSetupCheck.php
··· 7 7 } 8 8 9 9 protected function executeChecks() { 10 + // TODO: Avoid fataling if we don't have a master database configured 11 + // but have the MySQL search index configured. See T12965. 12 + if (PhabricatorEnv::isReadOnly()) { 13 + return; 14 + } 15 + 10 16 $services = PhabricatorSearchService::getAllServices(); 11 17 12 18 foreach ($services as $service) {