hello.
i've installed this bundle in a test site i'm working one. this site is hosted in a trial platform.sh install for now. thing is all deploys went well until i've added this bundle.
it looks problem is in the scripts part of the composer install process. more deeply, when trying to clear caches. For some reason, it tries to reach the database and the database does not seem to be up at that point.
here's the trace
platform push -f
Are you sure you want to push to the master (production) branch? [Y/n] Y
Pushing HEAD to the existing environment master
Hello Carlos Revillo (UUID: f1cfcc54-c32b-4391-9e86-206088c5c251), you successfully connected, but the service g67zz6x5xejlg doesn't exist or you do not have access to it
Validating submodules
Validating configuration files
W: The minimum interval between cron runs is 5 minutes, even if specified as less.
Processing activity: the cocktail experience pushed to Master
Found 1 new commit
Building application 'app' (runtime type: php:7.3, tree: 09fc516)
Generating runtime configuration.
Installing build dependencies...
Installing nodejs build dependencies: yarn
/app/.global/bin/yarn -> /app/.global/lib/node_modules/yarn/bin/yarn.js
/app/.global/bin/yarnpkg -> /app/.global/lib/node_modules/yarn/bin/yarn.js
/app/.global/lib
└── yarn@1.17.3
Executing build hook...
W: Loading composer repositories with package information
W: Installing dependencies from lock file
W: Package operations: 113 installs, 0 updates, 0 removals
W: - Installing ocramius/package-versions (1.4.0): Loading from cache
W: - Installing symfony/thanks (v1.1.0): Loading from cache
W: - Installing crevillo/ezplatform-tinymce-html-fieldtype (v0.7.0): Loading from cache
W: - Installing symfony/polyfill-mbstring (v1.11.0): Loading from cache
W: - Installing symfony/polyfill-ctype (v1.11.0): Loading from cache
W: - Installing twig/twig (v2.11.3): Loading from cache
W: - Installing paragonie/random_compat (v9.99.99): Loading from cache
W: - Installing symfony/polyfill-php70 (v1.11.0): Loading from cache
W: - Installing symfony/polyfill-util (v1.11.0): Loading from cache
W: - Installing symfony/polyfill-php56 (v1.11.0): Loading from cache
W: - Installing symfony/symfony (v3.4.30): Loading from cache
W: - Installing symfony/polyfill-intl-icu (v1.11.0): Loading from cache
W: - Installing symfony/polyfill-apcu (v1.11.0): Loading from cache
W: - Installing psr/simple-cache (1.0.1): Loading from cache
W: - Installing psr/log (1.1.0): Loading from cache
W: - Installing psr/link (1.0.0): Loading from cache
W: - Installing psr/container (1.0.0): Loading from cache
W: - Installing psr/cache (1.0.1): Loading from cache
W: - Installing fig/link-util (1.0.0): Loading from cache
W: - Installing doctrine/lexer (1.0.2): Loading from cache
W: - Installing doctrine/annotations (v1.6.1): Loading from cache
W: - Installing doctrine/reflection (v1.0.0): Loading from cache
W: - Installing doctrine/event-manager (v1.0.0): Loading from cache
W: - Installing doctrine/collections (v1.6.2): Loading from cache
W: - Installing doctrine/cache (v1.8.0): Loading from cache
W: - Installing doctrine/persistence (1.1.1): Loading from cache
W: - Installing doctrine/inflector (v1.3.0): Loading from cache
W: - Installing doctrine/common (v2.10.0): Loading from cache
W: - Installing jdorn/sql-formatter (v1.2.17): Loading from cache
W: - Installing doctrine/doctrine-cache-bundle (1.3.5): Loading from cache
W: - Installing doctrine/dbal (v2.9.2): Loading from cache
W: - Installing doctrine/doctrine-bundle (1.11.2): Loading from cache
W: - Installing doctrine/instantiator (1.2.0): Loading from cache
W: - Installing doctrine/orm (v2.6.3): Loading from cache
W: - Installing egulias/email-validator (2.1.10): Loading from cache
W: - Installing ezsystems/doctrine-dbal-schema (v0.1.2): Loading from cache
W: - Installing zetacomponents/base (1.9.1): Loading from cache
W: - Installing zetacomponents/system-information (1.1.1): Loading from cache
W: - Installing zendframework/zend-eventmanager (3.2.1): Loading from cache
W: - Installing zendframework/zend-code (3.3.1): Loading from cache
W: - Installing ocramius/proxy-manager (2.1.1): Loading from cache
W: - Installing symfony-cmf/routing (2.1.0): Loading from cache
W: - Installing sensio/framework-extra-bundle (v5.4.1): Loading from cache
W: - Installing composer/ca-bundle (1.2.0): Loading from cache
W: - Installing sensiolabs/security-checker (v5.0.3): Loading from cache
W: - Installing sensio/distribution-bundle (v5.0.25): Loading from cache
W: - Installing pagerfanta/pagerfanta (v2.1.3): Loading from cache
W: - Installing league/flysystem (1.0.53): Loading from cache
W: - Installing oneup/flysystem-bundle (3.1.0): Loading from cache
W: - Installing nelmio/cors-bundle (1.5.6): Loading from cache
W: - Installing imagine/imagine (v0.7.1): Loading from cache
W: - Installing liip/imagine-bundle (2.1.0): Loading from cache
W: - Installing psr/http-message (1.0.1): Loading from cache
W: - Installing psr/http-factory (1.0.1): Loading from cache
W: - Installing psr/http-client (0.1.0): Loading from cache
W: - Installing php-http/promise (v1.0.0): Loading from cache
W: - Installing php-http/httplug (v1.1.0): Loading from cache
W: - Installing php-http/message-factory (v1.0.2): Loading from cache
W: - Installing nyholm/psr7 (1.1.0): Loading from cache
W: - Installing kriswallsmith/buzz (0.17.2): Loading from cache
W: - Installing nikic/php-parser (v4.2.2): Loading from cache
W: - Installing jms/translation-bundle (1.4.4): Loading from cache
W: - Installing hautelook/templated-uri-router (2.0.3): Loading from cache
W: - Installing hautelook/templated-uri-bundle (2.1.0): Loading from cache
W: - Installing guzzle/guzzle (v3.8.1): Loading from cache
W: - Installing friendsofsymfony/http-cache (1.4.5): Loading from cache
W: - Installing friendsofsymfony/http-cache-bundle (1.3.16): Loading from cache
W: - Installing ezsystems/ezpublish-kernel (v7.5.3): Loading from cache
W: - Installing willdurand/js-translation-bundle (2.6.6): Loading from cache
W: - Installing white-october/pagerfanta-bundle (v1.2.4): Loading from cache
W: - Installing mck89/peast (v1.9.2): Loading from cache
W: - Installing knplabs/knp-menu (2.4.0): Loading from cache
W: - Installing knplabs/knp-menu-bundle (2.2.2): Loading from cache
W: - Installing ezsystems/repository-forms (v2.5.2): Loading from cache
W: - Installing symfony/polyfill-php72 (v1.11.0): Loading from cache
W: - Installing symfony/polyfill-intl-idn (v1.11.0): Loading from cache
W: - Installing symfony/polyfill-iconv (v1.11.0): Loading from cache
W: - Installing swiftmailer/swiftmailer (v6.2.1): Loading from cache
W: - Installing symfony/swiftmailer-bundle (v3.2.8): Loading from cache
W: - Installing ezsystems/ezplatform-admin-ui (v1.5.4): Loading from cache
W: - Installing ezsystems/ezplatform-user (v1.0.3): Loading from cache
W: - Installing ezsystems/ezplatform-richtext (v1.1.3): Loading from cache
W: - Installing ezsystems/ezplatform-design-engine (v2.0.0): Loading from cache
W: - Installing ezsystems/ezplatform-admin-ui-modules (v1.5.4): Loading from cache
W: - Installing ezsystems/ez-support-tools (v1.0.3): Loading from cache
W: - Installing ezsystems/ezplatform-admin-ui-assets (v4.2.0): Loading from cache
W: - Installing ezsystems/ezplatform-core (v1.0.2): Loading from cache
W: - Installing cron/cron (1.4.1): Loading from cache
W: - Installing ezsystems/ezplatform-cron (v2.0.0): Loading from cache
W: - Installing webonyx/graphql-php (v0.13.5): Loading from cache
W: - Installing overblog/graphql-bundle (v0.11.14): Loading from cache
W: - Installing erusev/parsedown (1.7.3): Loading from cache
W: - Installing ezsystems/ezplatform-graphql (v1.0.2): Loading from cache
W: - Installing ezsystems/ezplatform-http-cache (v0.9.1): Loading from cache
W: - Installing ezsystems/ezplatform-matrix-fieldtype (v1.0.1): Loading from cache
W: - Installing netgen/query-translator (1.0.2): Loading from cache
W: - Installing ezsystems/ezplatform-solr-search-engine (v1.7.0): Loading from cache
W: - Installing ezsystems/ezplatform-standard-design (v0.2.1): Loading from cache
W: - Installing ezsystems/symfony-tools (v1.0.3): Loading from cache
W: - Installing willdurand/jsonp-callback-validator (v1.1.0): Loading from cache
W: - Installing friendsofsymfony/jsrouting-bundle (1.6.3): Loading from cache
W: - Installing incenteev/composer-parameter-handler (v2.1.3): Loading from cache
W: - Installing mtdowling/jmespath.php (2.4.0): Loading from cache
W: - Installing kaliop/ezmigrationbundle (5.10.1): Loading from cache
W: - Installing novactive/ezseobundle (4.1.2): Loading from cache
W: - Installing scssphp/scssphp (1.0.2): Loading from cache
W: - Installing kriswallsmith/assetic (v1.4.0): Loading from cache
W: - Installing symfony/assetic-bundle (v2.8.2): Loading from cache
W: - Installing monolog/monolog (1.24.0): Loading from cache
W: - Installing symfony/monolog-bundle (v3.4.0): Loading from cache
W: - Installing symfony/service-contracts (v1.1.5): Loading from cache
W: - Installing symfony/webpack-encore-bundle (v1.6.2): Loading from cache
W: - Installing twig/extensions (v1.5.4): Loading from cache
W: Package guzzle/guzzle is abandoned, you should avoid using it. Use guzzlehttp/guzzle instead.
W: Package symfony/assetic-bundle is abandoned, you should avoid using it. Use symfony/webpack-encore-pack instead.
W: Generating optimized autoload files
ocramius/package-versions: Generating version class...
ocramius/package-versions: ...done generating version class
W: > Incenteev\ParameterHandler\ScriptHandler::buildParameters
Creating the "app/config/parameters.yml" file
W: > eZ\Bundle\EzPublishCoreBundle\Composer\ScriptHandler::clearCache
In AbstractMySQLDriver.php line 93:
An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or dir
ectory
In PDOConnection.php line 31:
SQLSTATE[HY000] [2002] No such file or directory
In PDOConnection.php line 27:
SQLSTATE[HY000] [2002] No such file or directory
W: Script eZ\Bundle\EzPublishCoreBundle\Composer\ScriptHandler::clearCache handling the symfony-scripts event terminated with an exception
W:
W:
W: [RuntimeException]
W: An error occurred when executing the "'cache:clear --no-warmup'" command:
W:
W:
W:
W:
W: In AbstractMySQLDriver.php line 93:
W:
W: An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or dir
W: ectory
W:
W:
W: In PDOConnection.php line 31:
W:
W: SQLSTATE[HY000] [2002] No such file or directory
W:
W:
W: In PDOConnection.php line 27:
W:
W: SQLSTATE[HY000] [2002] No such file or directory
W:
W:
W: install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...
W:
E: Error building project: Step failed with status code 1.
E: Error: Unable to build application, aborting.
To git.de-2.platform.sh:g67zz6x5xejlg.git
Any idea on what could be caousing this? does this bundle add something related to the clear cache process?
thank you.
i can reply myself here.
issue seems to be related tohttps://blog.insight.symfony.com/2014/12/22/making-symfony-bootable-with-dbal-2-5.html
fix there works as expected.
thanks and sorry about the noise.
hello. i've installed this bundle in a test site i'm working one. this site is hosted in a trial platform.sh install for now. thing is all deploys went well until i've added this bundle.
it looks problem is in the scripts part of the composer install process. more deeply, when trying to clear caches. For some reason, it tries to reach the database and the database does not seem to be up at that point.
here's the trace
Any idea on what could be caousing this? does this bundle add something related to the clear cache process? thank you.