Upgrade Lock Issue


#1

Having an issue anyone please help.

[2017-10-05 17:02:17] EXCEPTION: (PhutilLockException) ph:phabric-6rILUDHKjHKu:PhabricatorStorageManagementWorkflow at [<phabricator>/src/infrastructure/util/PhabricatorGlobalLock.php:124]
arcanist(head=c58f1b9a2507488b2152473dd1f0bbc7e99c09c1, ref.master=76b54ce0a9af), gatekeeper(), phabricator(head=0ba3939ce344fe55ab1cb9226bfd1b7dbc91d278, ref.master=c8bae71329a2), phutil(head=f27bc7f9ca83baee0cd0718507bf66535861a7f2, ref.master=9f9c33797a3e)
  #0 PhabricatorGlobalLock::doLock(double) called at [<phutil>/src/filesystem/PhutilLock.php:168]
  #1 PhutilLock::lock() called at [<phabricator>/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementWorkflow.php:945]
  #2 PhabricatorStorageManagementWorkflow::lock() called at [<phabricator>/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementWorkflow.php:762]
  #3 PhabricatorStorageManagementWorkflow::upgradeSchemata(NULL, boolean, boolean) called at [<phabricator>/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementUpgradeWorkflow.php:76]
  #4 PhabricatorStorageManagementUpgradeWorkflow::didExecute(PhutilArgumentParser) called at [<phabricator>/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementWorkflow.php:64]
  #5 PhabricatorStorageManagementWorkflow::execute(PhutilArgumentParser) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:410]
  #6 PhutilArgumentParser::parseWorkflowsFull(array) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:303]
  #7 PhutilArgumentParser::parseWorkflows(array) called at [<phabricator>/scripts/sql/manage_storage.php:211]

#2

Looks like maybe some storage workflow was started twice; Make sure you don’t have any ghost processes around?


#3

Sorry, had to change what I was doing for a few months. Thanks for the reply, what’s the best way to check for ghost processors and shut them down if need be.


#4

pgrep php | xargs ps -f to see what’s running, and kill -9 will let you kill things.