-
Notifications
You must be signed in to change notification settings - Fork 24
phabricator.daemon can't be connection mariadb container,how to correct? #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Phabricator Daemon should start whenever the container starts: Lines 117 to 118 in 86a3b10
That container needs to share the same config file: phabricator/docker-compose.yml Line 19 in 86a3b10
as the main conainer: phabricator/docker-compose.yml Line 7 in 86a3b10
|
Hi, I have the same problem, and the only thing I've changed in docker_compose.json is the mariadb passwd and the port to 3003.
|
Hi. Any updates on how to resolve this? Having the same issue with @gusarg81 |
Did you set phabricator's configuration as I mentioned in #32 (comment) ? You cannot configuration phabricator through environment variables, it must be configured through the config file. |
Please let me know if you have any other problems. :) |
root@63021b62cca1:/var/www/phabricator/bin# ./phd start
[2020-06-28 09:46:09] PHLOG: 'Retrying database connection to "localhost" after connection failure (attempt 1; "AphrontConnectionQueryException"; error #2002): Attempt to connect to root@localhost failed with error #2002: No such file or directory.' at [/var/www/phabricator/src/infrastructure/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:135]
[2020-06-28 09:46:09] PHLOG: 'Retrying database connection to "localhost" after connection failure (attempt 2; "AphrontConnectionQueryException"; error #2002): Attempt to connect to root@localhost failed with error #2002: No such file or directory.' at [/var/www/phabricator/src/infrastructure/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:135]
[2020-06-28 09:46:09] EXCEPTION: (PhabricatorClusterStrandedException) Unable to establish a connection to any database host (while trying "phabricator_config"). All masters and replicas are completely unreachable.
AphrontConnectionQueryException: Attempt to connect to root@localhost failed with error #2002: No such file or directory. at [/src/infrastructure/storage/lisk/PhabricatorLiskDAO.php:177]
arcanist(), phabricator()
#0 PhabricatorLiskDAO::raiseUnreachable(string, AphrontConnectionQueryException) called at [/src/infrastructure/storage/lisk/PhabricatorLiskDAO.php:134]
#1 PhabricatorLiskDAO::newClusterConnection(string, string, string) called at [/src/infrastructure/storage/lisk/PhabricatorLiskDAO.php:70]
#2 PhabricatorLiskDAO::establishLiveConnection(string) called at [/src/infrastructure/storage/lisk/LiskDAO.php:841]
#3 LiskDAO::establishConnection(string) called at [/src/infrastructure/storage/lisk/LiskDAO.php:518]
#4 LiskDAO::loadRawDataWhere(string, string) called at [/src/infrastructure/storage/lisk/LiskDAO.php:478]
#5 LiskDAO::loadAllWhere(string, string) called at [/src/infrastructure/env/PhabricatorConfigDatabaseSource.php:18]
#6 PhabricatorConfigDatabaseSource::loadConfig(string) called at [/src/infrastructure/env/PhabricatorConfigDatabaseSource.php:7]
#7 PhabricatorConfigDatabaseSource::__construct(string) called at [/src/infrastructure/env/PhabricatorEnv.php:262]
#8 PhabricatorEnv::buildConfigurationSourceStack(boolean) called at [/src/infrastructure/env/PhabricatorEnv.php:95]
#9 PhabricatorEnv::initializeCommonEnvironment(boolean) called at [/src/infrastructure/env/PhabricatorEnv.php:75]
#10 PhabricatorEnv::initializeScriptEnvironment(boolean) called at [/scripts/init/lib.php:26]
#11 init_phabricator_script(array) called at [/scripts/init/init-script.php:9]
#12 require_once(string) called at [/scripts/init_script.php:3]
#13 require_once(string) called at [/scripts/daemon/manage_daemons.php:5]
The text was updated successfully, but these errors were encountered: