monicahq / monica

Personal CRM. Remember everything about your friends, family and business relationships.
https://beta.monicahq.com
GNU Affero General Public License v3.0
21.38k stars 2.14k forks source link

heroku deployment timeout #4885

Closed RMHogervorst closed 3 years ago

RMHogervorst commented 3 years ago

The heroku deployment is not working. I have a timeout in the build phase (see logs below).

What I tried:

In the end the error is quite confusing


-----> Building on the Heroku-20 stack

 !     Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.

            Detected buildpacks: PHP,Node.js

            See https://devcenter.heroku.com/articles/buildpacks#buildpack-detect-order

-----> PHP app detected

-----> Bootstrapping...

-----> Installing platform packages...

       - php (7.4.15)

       - ext-bcmath (bundled with php)

       - ext-gd (bundled with php)

       - ext-gmp (bundled with php)

       - ext-intl (bundled with php)

       - ext-mbstring (bundled with php)

       - ext-sodium (bundled with php)

       - ext-redis (5.3.3)

       - ext-imagick (3.4.4)

       - apache (2.4.46)

       - nginx (1.18.0)

       - composer (1.10.20)

-----> Installing dependencies...

       Composer version 1.10.20 2021-01-27 15:41:06

       > App\Helpers\ComposerScripts::preInstall

       Loading composer repositories with package information

       Installing dependencies from lock file

       Package operations: 180 installs, 0 updates, 0 removals

         - Installing composer/package-versions-deprecated (1.11.99.1): Downloading (100%)

         - Installing spomky-labs/base64url (v2.0.4): Downloading (100%)

         - Installing fgrosse/phpasn1 (v2.2.0): Downloading (100%)

         - Installing brick/math (0.9.2): Downloading (100%)

         - Installing web-token/jwt-core (v2.2.8): Downloading (100%)

         - Installing web-token/jwt-signature (v2.2.8): Downloading (100%)

         - Installing psr/log (1.1.3): Downloading (100%)

         - Installing psr/http-message (1.0.1): Downloading (100%)

         - Installing psr/http-factory (1.0.1): Downloading (100%)

         - Installing psr/http-client (1.0.1): Downloading (100%)

         - Installing league/uri-interfaces (2.2.0): Downloading (100%)

         - Installing league/uri-components (2.2.1): Downloading (100%)

         - Installing league/uri (6.4.0): Downloading (100%)

         - Installing beberlei/assert (v3.3.0): Downloading (100%)

         - Installing web-auth/metadata-service (v3.2.12): Downloading (100%)

         - Installing web-auth/cose-lib (v3.2.12): Downloading (100%)

         - Installing symfony/polyfill-php80 (v1.22.0): Downloading (100%)

         - Installing symfony/process (v5.2.3): Downloading (100%)

         - Installing spomky-labs/cbor-php (v2.0.1): Downloading (100%)

         - Installing symfony/polyfill-ctype (v1.22.0): Downloading (100%)

         - Installing ramsey/collection (1.1.3): Downloading (100%)

         - Installing ramsey/uuid (4.1.1): Downloading (100%)

         - Installing web-auth/webauthn-lib (v3.2.12): Downloading (100%)

         - Installing thecodingmachine/safe (v1.3.3): Downloading (100%)

         - Installing php-http/message-factory (v1.0.2): Downloading (100%)

         - Installing clue/stream-filter (v1.5.0): Downloading (100%)

         - Installing php-http/message (1.10.0): Downloading (100%)

         - Installing php-http/promise (1.1.0): Downloading (100%)

         - Installing php-http/httplug (2.2.0): Downloading (100%)

         - Installing php-http/discovery (1.13.0): Downloading (100%)

         - Installing voku/portable-ascii (1.5.6): Downloading (100%)

         - Installing symfony/polyfill-mbstring (v1.22.0): Downloading (100%)

         - Installing phpoption/phpoption (1.7.5): Downloading (100%)

         - Installing graham-campbell/result-type (v1.0.1): Downloading (100%)

         - Installing vlucas/phpdotenv (v5.3.0): Downloading (100%)

         - Installing symfony/css-selector (v5.2.3): Downloading (100%)

         - Installing tijsverkoyen/css-to-inline-styles (2.2.3): Downloading (100%)

         - Installing symfony/var-dumper (v5.2.3): Downloading (100%)

         - Installing symfony/deprecation-contracts (v2.2.0): Downloading (100%)

         - Installing symfony/routing (v5.2.3): Downloading (100%)

         - Installing symfony/polyfill-php72 (v1.22.0): Downloading (100%)

         - Installing symfony/polyfill-intl-normalizer (v1.22.0): Downloading (100%)

         - Installing symfony/polyfill-intl-idn (v1.22.0): Downloading (100%)

         - Installing symfony/mime (v5.2.3): Downloading (100%)

         - Installing symfony/polyfill-php73 (v1.22.0): Downloading (100%)

         - Installing symfony/http-foundation (v5.2.3): Downloading (100%)

         - Installing symfony/http-client-contracts (v2.3.1): Downloading (100%)

         - Installing psr/event-dispatcher (1.0.0): Downloading (100%)

         - Installing symfony/event-dispatcher-contracts (v2.2.0): Downloading (100%)

         - Installing symfony/event-dispatcher (v5.2.3): Downloading (100%)

         - Installing symfony/error-handler (v5.2.3): Downloading (100%)

         - Installing symfony/http-kernel (v5.2.3): Downloading (100%)

         - Installing symfony/finder (v5.2.3): Downloading (100%)

         - Installing symfony/polyfill-intl-grapheme (v1.22.0): Downloading (100%)

         - Installing symfony/string (v5.2.3): Downloading (100%)

         - Installing psr/container (1.0.0): Downloading (100%)

         - Installing symfony/service-contracts (v2.2.0): Downloading (100%)

         - Installing symfony/console (v5.2.3): Downloading (100%)

         - Installing symfony/polyfill-iconv (v1.22.0): Downloading (100%)

         - Installing doctrine/lexer (1.2.1): Downloading (100%)

         - Installing egulias/email-validator (2.1.25): Downloading (100%)

         - Installing swiftmailer/swiftmailer (v6.2.5): Downloading (100%)

         - Installing psr/simple-cache (1.0.1): Downloading (100%)

         - Installing opis/closure (3.6.1): Downloading (100%)

         - Installing symfony/translation-contracts (v2.3.0): Downloading (100%)

         - Installing symfony/translation (v5.2.3): Downloading (100%)

         - Installing nesbot/carbon (2.45.1): Downloading (100%)

         - Installing monolog/monolog (2.2.0): Downloading (100%)

         - Installing league/mime-type-detection (1.7.0): Downloading (100%)

         - Installing league/flysystem (1.1.3): Downloading (100%)

         - Installing league/commonmark (1.5.7): Downloading (100%)

         - Installing webmozart/assert (1.9.1): Downloading (100%)

         - Installing dragonmantank/cron-expression (v3.1.0): Downloading (100%)

         - Installing doctrine/inflector (2.0.3): Downloading (100%)

         - Installing laravel/framework (v8.26.1): Downloading (100%)

         - Installing ralouphie/getallheaders (3.0.3): Downloading (100%)

         - Installing guzzlehttp/psr7 (1.7.0): Downloading (100%)

         - Installing asbiin/laravel-webauthn (0.9.1): Downloading (100%)

         - Installing colinodell/json5 (v2.1.0): Downloading (100%)

         - Installing creativeorange/gravatar (v1.0.20): Downloading (100%)

         - Installing dasprid/enum (1.0.3): Downloading (100%)

         - Installing doctrine/event-manager (1.1.1): Downloading (100%)

         - Installing doctrine/cache (1.10.2): Downloading (100%)

         - Installing doctrine/dbal (2.12.1): Downloading (100%)

         - Installing erusev/parsedown (1.7.4): Downloading (100%)

         - Installing filp/whoops (2.9.2): Downloading (100%)

         - Installing facade/ignition-contracts (1.0.2): Downloading (100%)

         - Installing facade/flare-client-php (1.3.7): Downloading (100%)

         - Installing facade/ignition (2.5.12): Downloading (100%)

         - Installing giggsey/locale (1.9): Downloading (100%)

         - Installing giggsey/libphonenumber-for-php (8.12.18): Downloading (100%)

         - Installing guzzlehttp/promises (1.4.0): Downloading (100%)

         - Installing http-interop/http-factory-guzzle (1.0.0): Downloading (100%)

         - Installing jean85/pretty-package-versions (1.5.1): Downloading (100%)

         - Installing symfony/polyfill-intl-icu (v1.22.0): Downloading (100%)

         - Installing symfony/intl (v5.2.3): Downloading (100%)

         - Installing stripe/stripe-php (v7.72.0): Downloading (100%)

         - Installing moneyphp/money (v3.3.1): Downloading (100%)

         - Installing sabberworm/php-css-parser (8.3.1): Downloading (100%)

         - Installing phenx/php-svg-lib (v0.3.3): Downloading (100%)

         - Installing phenx/php-font-lib (0.5.2): Downloading (100%)

         - Installing dompdf/dompdf (v1.0.2): Downloading (100%)

         - Installing laravel/cashier (v12.8.0): Downloading (100%)

         - Installing symfony/psr-http-message-bridge (v2.0.2): Downloading (100%)

         - Installing phpseclib/phpseclib (2.0.29): Downloading (100%)

         - Installing nyholm/psr7 (1.3.2): Downloading (100%)

         - Installing league/event (2.2.0): Downloading (100%)

         - Installing lcobucci/jwt (3.4.1): Downloading (100%)

         - Installing paragonie/random_compat (v9.99.100): Downloading (100%)

         - Installing defuse/php-encryption (v2.2.1): Downloading (100%)

         - Installing league/oauth2-server (8.2.3): Downloading (100%)

         - Installing firebase/php-jwt (v5.2.0): Downloading (100%)

         - Installing laravel/passport (v10.1.0): Downloading (100%)

         - Installing guzzlehttp/guzzle (7.2.0): Downloading (100%)

         - Installing league/oauth1-client (v1.8.2): Downloading (100%)

         - Installing laravel/socialite (v5.1.3): Downloading (100%)

         - Installing nikic/php-parser (v4.10.4): Downloading (100%)

         - Installing dnoegel/php-xdg-base-dir (v0.1.1): Downloading (100%)

         - Installing psy/psysh (v0.10.6): Downloading (100%)

         - Installing laravel/tinker (v2.6.0): Downloading (100%)

         - Installing laravel/ui (v2.3.0): Downloading (100%)

         - Installing intervention/image (2.5.1): Downloading (100%)

         - Installing laravolt/avatar (4.1.1): Downloading (100%)

         - Installing mtdowling/jmespath.php (2.6.0): Downloading (100%)

         - Installing aws/aws-sdk-php (3.161.1): Downloading (100%)

         - Installing league/flysystem-aws-s3-v3 (1.0.29): Downloading (100%)

         - Installing psr/cache (1.0.1): Downloading (100%)

         - Installing league/flysystem-cached-adapter (1.1.0): Downloading (100%)

         - Installing tedivm/jshrink (v1.3.3): Downloading (100%)

         - Installing mariuzzo/laravel-js-localization (v1.7.0): Downloading (100%)

         - Installing matriphe/iso-639 (1.2): Downloading (100%)

         - Installing maxmind-db/reader (v1.8.0): Downloading (100%)

         - Installing composer/ca-bundle (1.2.9): Downloading (100%)

         - Installing maxmind/web-service-common (v0.8.1): Downloading (100%)

         - Installing fideloper/proxy (4.4.1): Downloading (100%)

         - Installing monicahq/laravel-cloudflare (1.8.0): Downloading (100%)

         - Installing sabre/uri (2.2.1): Downloading (100%)

         - Installing sabre/xml (2.2.3): Downloading (100%)

         - Installing sabre/vobject (4.3.5): Downloading (100%)

         - Installing sabre/event (5.1.2): Downloading (100%)

         - Installing sabre/http (5.1.1): Downloading (100%)

         - Installing sabre/dav (4.1.5): Downloading (100%)

         - Installing monicahq/laravel-sabre (1.4.1): Downloading (100%)

         - Installing nette/utils (v3.1.3): Downloading (100%)

         - Installing nette/finder (v2.5.2): Downloading (100%)

         - Installing nette/caching (v3.0.1): Downloading (100%)

         - Installing ok/ipstack-client (1.3): Downloading (100%)

         - Installing paragonie/constant_time_encoding (v2.3.0): Downloading (100%)

         - Installing symfony/options-resolver (v5.2.0): Downloading (100%)

         - Installing php-http/client-common (2.3.0): Downloading (100%)

         - Installing pragmarx/ia-str (v7.3.0): Downloading (100%)

         - Installing pragmarx/ia-collection (v7.3.0): Downloading (100%)

         - Installing pragmarx/ia-arr (v7.3.1): Downloading (100%)

         - Installing pragmarx/coollection (v0.8.0): Downloading (100%)

         - Installing pragmarx/countries (v0.7.2): Downloading (100%)

         - Installing pragmarx/countries-laravel (v0.7.0): Downloading (100%)

         - Installing pragmarx/google2fa (8.0.0): Downloading (100%)

         - Installing bacon/bacon-qr-code (2.0.3): Downloading (100%)

         - Installing pragmarx/google2fa-qrcode (v1.0.3): Downloading (100%)

         - Installing pragmarx/google2fa-laravel (v1.4.1): Downloading (100%)

         - Installing pragmarx/random (v0.2.2): Downloading (100%)

         - Installing pragmarx/recovery (v0.1.0): Downloading (100%)

         - Installing predis/predis (v1.1.6): Downloading (100%)

         - Installing ralouphie/mimey (2.1.0): Downloading (100%)

         - Installing symfony/polyfill-uuid (v1.20.0): Downloading (100%)

         - Installing symfony/http-client (v5.2.0): Downloading (100%)

         - Installing sentry/sentry (3.1.1): Downloading (100%)

         - Installing sentry/sdk (3.1.0)

         - Installing sentry/sentry-laravel (2.3.1): Downloading (100%)

         - Installing geoip2/geoip2 (v2.8.0): Downloading (100%)

         - Installing stevebauman/location (v5.2.0): Downloading (100%)

         - Installing vectorface/whip (v0.4.0): Downloading (100%)

         - Installing hashids/hashids (4.1.0): Downloading (100%)

         - Installing graham-campbell/manager (v4.6.0): Downloading (100%)

         - Installing vinkla/hashids (9.1.0): Downloading (100%)

         - Installing vluzrmos/language-detector (v2.3): Downloading (100%)

         - Installing web-token/jwt-key-mgmt (v2.2.8): Downloading (100%)

         - Installing web-token/jwt-signature-algorithm-ecdsa (v2.2.8): Downloading (100%)

         - Installing web-token/jwt-signature-algorithm-eddsa (v2.2.8): Downloading (100%)

         - Installing web-token/jwt-signature-algorithm-rsa (v2.2.8): Downloading (100%)

       Generating optimized autoload files

       composer/package-versions-deprecated: Generating version class...

       composer/package-versions-deprecated: ...done generating version class

       > Illuminate\Foundation\ComposerScripts::postAutoloadDump

       > @php artisan package:discover

         [Symfony\Component\Process\Exception\ProcessTimedOutException]                                                                                                                                      

         The process "'/tmp/build_09480d13_/.heroku/php/bin/php' -d allow_url_fopen='1' -d disable_functions='' -d memory_limit='2684354560' artisan package:discover" exceeded the timeout of 300 seconds.  

       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>]...
RMHogervorst commented 3 years ago

this is super weird, when I deploy in the USA it does work

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.