I'm currently unable to push to any repo. following an update to the latest stable (ea9c0607e1fb252ad5d439311527b05c3ce58c38)
A git push yields:
```
Counting objects: 6, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (6/6), 612 bytes | 0 bytes/s, done.
Total 6 (delta 4), reused 0 (delta 0)
remote: [2017-01-08 14:16:52] EXCEPTION: (PhabricatorClusterStrandedException) Unable to establish a connection to any database host (while trying "phabricator_config"). All masters and replicas are completely unreachable. at [<phabricator>/src/infrastructure/storage/lisk/PhabricatorLiskDAO.php:140]
remote: arcanist(head=stable, ref.master=483e985d08d2, ref.stable=9503b941cc02), phabricator(head=stable, ref.master=8a85ee7c1575, ref.stable=ea9c0607e1fb), phutil(head=stable, ref.master=1a0371a2247a, ref.stable=35b57f7ab524)
remote: #0 PhabricatorLiskDAO::raiseUnreachable(string) called at [<phabricator>/src/infrastructure/storage/lisk/PhabricatorLiskDAO.php:111]
remote: #1 PhabricatorLiskDAO::newClusterConnection(string, string, string) called at [<phabricator>/src/infrastructure/storage/lisk/PhabricatorLiskDAO.php:64]
remote: #2 PhabricatorLiskDAO::establishLiveConnection(string) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:1008]
remote: #3 LiskDAO::establishConnection(string) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:516]
remote: #4 LiskDAO::loadRawDataWhere(string, string) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:476]
remote: #5 LiskDAO::loadAllWhere(string, string) called at [<phabricator>/src/infrastructure/env/PhabricatorConfigDatabaseSource.php:18]
remote: #6 PhabricatorConfigDatabaseSource::loadConfig(string) called at [<phabricator>/src/infrastructure/env/PhabricatorConfigDatabaseSource.php:7]
remote: #7 PhabricatorConfigDatabaseSource::__construct(string) called at [<phabricator>/src/infrastructure/env/PhabricatorEnv.php:249]
remote: #8 PhabricatorEnv::buildConfigurationSourceStack(boolean) called at [<phabricator>/src/infrastructure/env/PhabricatorEnv.php:95]
remote: #9 PhabricatorEnv::initializeCommonEnvironment(boolean) called at [<phabricator>/src/infrastructure/env/PhabricatorEnv.php:75]
remote: #10 PhabricatorEnv::initializeScriptEnvironment(boolean) called at [<phabricator>/scripts/init/lib.php:22]
remote: #11 init_phabricator_script(array) called at [<phabricator>/scripts/init/init-script.php:9]
remote: #12 require_once(string) called at [<phabricator>/scripts/__init_script__.php:3]
remote: #13 require_once(string) called at [<phabricator>/scripts/repository/commit_hook.php:32]
To ssh://dev.host.com:2222/diffusion/TCT/repo.git
! [remote rejected] develop -> develop (pre-receive hook declined)
error: failed to push some refs to 'ssh://git@dev.host.com:2222/diffusion/TCT/repo.git'
```
Everything else seems to be working fine, I can access the UI, browse etc without issue. `git pull`, `git clone`, `git remote show origin` work as expected.
I can run ssh -T successfully.
```
➜ build git:(develop) ssh -T git@dev.host.com -p 2222
phabricator-ssh-exec: Welcome to Phabricator.
You are logged in as zcourts.
You haven't specified a command to run. This means you're requesting an interactive shell, but Phabricator does not provide an interactive shell over SSH.
Usually, you should run a command like `git clone` or `hg push` rather than connecting directly with SSH.
Supported commands are: conduit, git-lfs-authenticate, git-receive-pack, git-upload-pack, hg, svnserve.
```
As well as `echo {} | ssh git@dev.host.com -p 2222 conduit conduit.ping` which gives
`{"result":"vps296374","error_code":null,"error_info":null}`
Looking around I found this Stackoverflow post
http://stackoverflow.com/a/40764145/400048
My version was from around Sept/Oct 16 (unfortunately don't know the exact commit hash), so I rolled back to 27006fedccc2 - this lead to a different error
```
>>> UNRECOVERABLE FATAL ERROR <<<
Class PhabricatorUser contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PhutilPerson::getGender)
/var/www/phabricator/src/applications/people/storage/PhabricatorUser.php:1508
┻━┻ ︵ ¯\_(ツ)_/¯ ︵ ┻━┻
```
I then checked out master to try but got the database error again.
FYI to anyone upgrading master has a new DB field `search_profilepanelconfiguration.customPHID` so I had to drop that when switch from master back to stable.
Currently on stable with the original DB error.
`https://dev.host.com/config/dbissue/` shows `No databases have any issues.`
`https://dev.host.com/config/database/` shows `No Schema Issues` and everything is green.
I tried creating an instance on https://admin.phacility.com to see if I could reproduce it but I haven't been able to.
arcanist, libphutil and phabricator are all on stable. sshd, phabricator daemons and php-fpm all restarted, I even restarted nginx for good measure.
```
uname -a
Linux vps296374 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
```
```
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
```