Page MenuHomePhabricator

Exception thrown when using `./bin/config migrate`
Closed, ResolvedPublic

Description

> sudo ./bin/config migrate
Migrating file-based config to more modern config...
Skipping config of source type PhabricatorConfigDatabaseSource...
Skipping config of source type PhabricatorConfigLocalSource...
Migrating file source...
Migrated option "phabricator.base-uri" from file to local config.
Migrated option "environment.append-paths" from file to local config.
Migrated option "config.lock" from file to local config.
Migrated option "config.hide" from file to local config.
Migrated option "config.mask" from file to local config.
Migrated option "config.ignore-issues" from file to local config.
Migrated option "log.access.path" from file to local config.
Migrated option "log.ssh.path" from file to local config.
Migrated option "phd.pid-directory" from file to local config.
Migrated option "phd.log-directory" from file to local config.
[2014-11-09 20:15:29] EXCEPTION: (InvalidArgumentException) Argument 2 passed to PhabricatorConfigEditor::deleteConfig() must be an instance of PhabricatorConfigEntry, instance of PhabricatorConfigOption given, called in /usr/src/phabricator/src/applications/config/management/PhabricatorConfigManagementMigrateWorkflow.php on line 61 and defined at [<phutil>/src/error/PhutilErrorHandler.php:200]
  #0 PhutilErrorHandler::handleError(integer, string, string, integer, array) called at [<phabricator>/src/applications/config/editor/PhabricatorConfigEditor.php:139]
  #1 PhabricatorConfigEditor::deleteConfig(PhabricatorUser, PhabricatorConfigOption, PhabricatorContentSource) called at [<phabricator>/src/applications/config/management/PhabricatorConfigManagementMigrateWorkflow.php:61]
  #2 PhabricatorConfigManagementMigrateWorkflow::execute(PhutilArgumentParser) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:394]
  #3 PhutilArgumentParser::parseWorkflowsFull(array) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:290]
  #4 PhutilArgumentParser::parseWorkflows(array) called at [<phabricator>/scripts/setup/manage_config.php:21]

Revisions and Commits

Event Timeline

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

Let us know if I didn't fix this! Thanks for the report.