Coder Social home page Coder Social logo

Comments (4)

gnowland avatar gnowland commented on June 8, 2024

I got the same, the hint to solving this is in which step failed:

=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-php.git
=====> Detected Framework: PHP
remote: -----> Bootstrapping...
remote: 
remote:  !     ERROR: Failed to download minimal PHP for bootstrapping!
remote:  !     
remote:  !     This is most likely a temporary internal error. If the problem
remote:  !     persists, make sure that you are not running a custom or forked
remote:  !     version of the Heroku PHP buildpack which may need updating.

...bootstrapping. From heroku/heroku-buildpack-php#316 (comment) I determined:
You need to update BUILDPACK_VERSION = v149 to BUILDPACK_VERSION = v180 (or whatever is latest) in the Makefile.

Also you should change your minimum PHP version from >=5.6 to >=7.3 in the config/composer.json (WordPress' suggested minimum PHP), then rm -rf your app directory and make build again.

This solved it for me.

from dokku-wordpress.

gnowland avatar gnowland commented on June 8, 2024

This is a copy of #41 . I'll make a PR.

from dokku-wordpress.

joshco avatar joshco commented on June 8, 2024

I'm seeing something similar with the current build
@gnowland @josegonzalez

-----> Building osdi-coma from herokuish...
-----> Adding BUILD_ENV to build environment...
-----> Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.
       Detected buildpacks: multi php
-----> Multipack app detected
=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-php.git
=====> Detected Framework: PHP
remote: -----> Bootstrapping...
remote:
remote:  !     WARNING: Your 'composer.lock' is out of date!
remote:  !
remote:  !     The 'composer.lock' file in your project is not up to date with
remote:  !     the main 'composer.json' file. This may result in installation
remote:  !     of incorrect packages or package versions.
remote:  !
remote:  !     The lock file is required in order to guarantee reliable and
remote:  !     reproducible installation of dependencies across systems and
remote:  !     deploys. It must always be kept in sync with 'composer.json'.
remote:  !
remote:  !     Whenever you change 'composer.json', ensure that you perform
remote:  !     the following steps locally on your computer:
remote:  !     1) run 'composer update'
remote:  !     2) add all changes using 'git add composer.json composer.lock'
remote:  !     3) commit using 'git commit'
remote:  !
remote:  !     Ensure that you updated the lock file correctly, and that you
remote:  !     ran 'git add' on both files, before deploying again.
remote:  !
remote:  !     Please remember to always keep your 'composer.lock' updated in
remote:  !     lockstep with 'composer.json' to avoid common problems related
remote:  !     to dependencies during collaboration and deployment.
remote:  !
remote:  !     Please refer to the Composer documentation for further details:
remote:  !     https://getcomposer.org/doc/
remote:  !     https://getcomposer.org/doc/01-basic-usage.md
remote:
remote: -----> Installing platform packages...
remote:        - php (7.4.11)
remote:        - ext-gd (bundled with php)
remote:        - apache (2.4.46)
remote:        - nginx (1.18.0)
remote: php: error while loading shared libraries: libzip.so.4: cannot open shared object file: No such file or directory
remote: php: error while loading shared libraries: libzip.so.4: cannot open shared object file: No such file or directory
remote: -----> Installing dependencies...
remote:
remote:  !     ERROR: An unknown internal error occurred.
remote:  !
remote:  !     Contact Heroku Support for assistance if this problem persists.
remote:  !
remote:  !     Stack trace follows for debugging purposes:
remote:  !     584 main /tmp/buildpackHzG6y/bin/compile
remote:  !
remote:  !     REMINDER: the following warnings were emitted during the build;
remote:  !     check the details above, as they may be related to this error:
remote:  !     - Your 'composer.lock' is out of date!
remote:
To 
 ! [remote rejected]     master -> master (pre-receive hook declined)

from dokku-wordpress.

joshco avatar joshco commented on June 8, 2024

I figured out my issue. I needed to upgrade the herokuish deb package on ubuntu. hosting dokku.
(had to update the GPG key too).
But then it worked.
H/T Wouter: https://superuser.com/questions/1390418/rebuilding-an-app-in-dokku-results-in-error-failed-to-download-minimal-php-for

from dokku-wordpress.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.