Digital Ocean Deployment from Github
I am also having the deploy to digital ocean issue from your Github. I ensure that I only have one volume selected and not two. And leave the APP_URl variable as is. See log:
[2022-10-27 02:16:52] │ Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
[2022-10-27 02:16:52] │ ! WARNING: An error occurred during a database connection or query
[2022-10-27 02:16:52] │
[2022-10-27 02:16:52] │ ! ERROR: Dependency installation failed!
[2022-10-27 02:16:52] │ !
[2022-10-27 02:16:52] │ ! The 'composer install' process failed with an error. The cause
[2022-10-27 02:16:52] │ ! may be the download or installation of packages, or a pre- or
[2022-10-27 02:16:52] │ ! post-install hook (e.g. a 'post-install-cmd' item in 'scripts')
[2022-10-27 02:16:52] │ ! in your 'composer.json'.
[2022-10-27 02:16:52] │ !
[2022-10-27 02:16:52] │ ! Typical error cases are out-of-date or missing parts of code,
[2022-10-27 02:16:52] │ ! timeouts when making external connections, or memory limits.
[2022-10-27 02:16:52] │ !
[2022-10-27 02:16:52] │ ! Check the above error output closely to determine the cause of
[2022-10-27 02:16:52] │ ! the problem, ensure the code you're pushing is functioning
[2022-10-27 02:16:52] │ ! properly, and that all local changes are committed correctly.
[2022-10-27 02:16:52] │ !
[2022-10-27 02:16:52] │ ! For more information on builds for PHP on Heroku, refer to
[2022-10-27 02:16:52] │ ! https://devcenter.heroku.com/articles/php-support
[2022-10-27 02:16:52] │ !
[2022-10-27 02:16:52] │ ! REMINDER: the following warnings were emitted during the build;
[2022-10-27 02:16:52] │ ! check the details above, as they may be related to this error:
[2022-10-27 02:16:52] │ ! - An error occurred during a database connection or query
[2022-10-27 02:16:52] │
[2022-10-27 02:16:52] │ ERROR: failed to build: exit status 1
[2022-10-27 02:16:52] │
[2022-10-27 02:16:52] │
[2022-10-27 02:16:52] │ For documentation on the buildpacks used to build your app, please see:
[2022-10-27 02:16:52] │
[2022-10-27 02:16:52] │ PHP v0.210.4 https://do.co/apps-buildpack-php
[2022-10-27 02:16:52] │
[2022-10-27 02:16:52] │ ✘ build failed
Hi there,
This seems like a temporary problem with composer
. This might be related to the following incident reported by DigitalOcean:
https://status.digitalocean.com/incidents/kprbydp8s2qy
Can you try clearing your build cache and deploying again?
I've just tested this with a fresh new deployment and it worked as expected.
If you are still seeing the problem, please downgrade the devdojo/themes
package from 0.0.6 to 0.0.5 and it should fix the build process. I have a PR to fix that in the next release:
https://github.com/thedevdojo/themes/pull/8
Let me know how it goes.
Best,
Bobby
Still having issues with DO deployment from your Github button. Cleared the cashed and forced deployment again. No help.
In the past few hours I tried using Larasail to install the wave instance on a manually created droplet and ran into issues when attempting to artisan migrate around 'themes'.
How do I go about downgrading devdojo/themes package to 0.0.5?
Hi there,
You can change the version of the package by editing the composer.json file:
https://github.com/thedevdojo/wave/blob/main/composer.json
Change line 16 from:
"devdojo/themes": "^0.0.6",
To:
"devdojo/themes": "0.0.5",
And then run rm composer.lock
and after that composer install
.
Let me know how it goes.