Upgrade from Sep 30 2016

./arcanist> git log
Date: Fri Mar 20 12:15:09 2020 -0700

./libphutil> git log
Date: Web Feb 12 13:21:39 2020 -0800

./phabricator> git log
Date: Mon Mar 9 16:35:40 2020 +0200

After issuing ./bin/storage upgrade --user root
It reported that ANAYLZED: Anaylzed 536 Tables

Then I went to the website and I get the following:

Exception

Query (of class “PhabricatorDaemonLogQuery”) overheated: examined more than 10 raw rows without finding 1 visible objects.

This is likely a bug in Phabricator, although the reproduction case probably involves a step like “don’t upgrade for three and a half years”. I’ll see if I can reproduce and fix it.

Sorry about that; My team uses it everyday. but I’m only one to do this upgrade; been super busy :frowning:

Let me know if you need anything from me.

This is likely fixed by https://secure.phabricator.com/D21057.

./arcanist> git log
Date: Fri Apr 3 11:29:38 2020 -0700

./libphutil> git log
Date: Fri Apr 3 13:21:39 2020 -0800

./phabricator> git log
Date: Fri Apr 3 16:09:54 2020 -0700

service apache2 restart

Exception

web:
Query (of class “PhabricatorDaemonLogQuery”) overheated: examined more than 10 raw rows without finding 1 visible objects.

try {
$task_daemon = id(new PhabricatorDaemonLogQuery())
->setViewer(PhabricatorUser::getOmnipotentUser())
->withStatus(PhabricatorDaemonLogQuery::STATUS_ALIVE)
->withDaemonClasses(array(‘PhabricatorTaskmasterDaemon’))
->setLimit(1)
->execute();
} catch (Exception $ex) {
// If this query fails for some reason, just skip this check.
$task_daemon = array();
}

Adding the above works! :slight_smile:

1 Like