Page MenuHomePhorge

Failure starting after upgrade from Phabricator
Closed, ResolvedPublic

Asked by penacho on Tue, Dec 24, 08:29.

Details

After first upgrading my (rather old) (test) version of Phabricator to the latest one: working; I upgraded it to Phorge per the instructions here https://we.phorge.it/w/installation_and_setup/update_from_phabricator/
Unfortunately, after the last step, starting fails:

[root@phab-test phabricator]$ ./bin/phd start
[2024-12-24 09:06:48] EXCEPTION: (PhutilBootloaderException) The phutil library 'phabricator' has not been loaded! at [<arcanist>/src/init/lib/PhutilBootloader.php:195]
arcanist(head=stable, ref.master=05abd055019c, ref.stable=60446ec65cfa), phorge(head=stable, ref.master=5720a38cfe95, ref.stable=d3c0a7edc3fc)
  #0 PhutilBootloader::getLibraryRoot(string) called at [<arcanist>/src/init/lib/moduleutils.php:5]
  #1 phutil_get_library_root(string) called at [<phorge>/infrastructure/env/PhabricatorEnv.php:332]
  #2 PhabricatorEnv::getSelectedEnvironmentName() called at [<phorge>/infrastructure/env/PhabricatorEnv.php:192]
  #3 PhabricatorEnv::buildConfigurationSourceStack(boolean) called at [<phorge>/infrastructure/env/PhabricatorEnv.php:95]
  #4 PhabricatorEnv::initializeCommonEnvironment(boolean) called at [<phorge>/infrastructure/env/PhabricatorEnv.php:75]
  #5 PhabricatorEnv::initializeScriptEnvironment(boolean) called at [/var/www/html/myphab/phabricator/scripts/init/lib.php:26]
  #6 init_phabricator_script(array) called at [/var/www/html/myphab/phabricator/scripts/init/init-script.php:10]
  #7 require_once(string) called at [/var/www/html/myphab/phabricator/scripts/__init_script__.php:3]
  #8 require_once(string) called at [/var/www/html/myphab/phabricator/scripts/daemon/manage_daemons.php:5]

Does someone have a clue what could be wrong?

Answers

avivey
Updated 10 Days Ago

Your arcanist is using stable from Phabricator, not from Phorge.

Most likely, you missing running part of the "Update origin and take changes" phase on Arcanist.

  • check the origin configuration (git remote -v)
  • check which branch in the remote you are tracking (git branch -vv)
  • use whatever parts of the "Update origin and take changes" parts that are appropriate, and continue from there.

penacho
Updated 10 Days Ago

Thanks!
Indeed, it appears I missed the step to actually switch remote... shame on me.

Now it works!

New Answer

Answer

This question has been marked as closed, but you can still leave a new answer.