Skip to content
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

Docker setup fails with cachet:install not defined #379

Open
cdudevops opened this issue Jun 3, 2020 · 3 comments
Open

Docker setup fails with cachet:install not defined #379

cdudevops opened this issue Jun 3, 2020 · 3 comments

Comments

@cdudevops
Copy link

Hello,

Following the steps and using latest version v2.3.18 i receive this:

cachet_1 | [2020-06-03 14:40:36] production.ERROR: Symfony\Component\Console\Exception\CommandNotFoundException: Command "cachet:install" is not defined.
cachet_1 |
cachet_1 | Did you mean one of these?
cachet_1 | app:install
cachet_1 | migrate:install
cachet_1 |
cachet_1 | cachet:metrics
cachet_1 | cachet:seed
cachet_1 | cache:clear
cachet_1 | cache:table in /var/www/html/vendor/symfony/console/Application.php:515
cachet_1 | Stack trace:
cachet_1 | #0 /var/www/html/vendor/symfony/console/Application.php(183): Symfony\Component\Console\Application->find('cachet:install')
cachet_1 | #1 /var/www/html/vendor/symfony/console/Application.php(117): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
cachet_1 | #2 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(107): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
cachet_1 | #3 /var/www/html/artisan(35): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

@ryan77627
Copy link

I had the same issue. Edit entrypoint.sh and change php artisan cachet:install --no-interaction on line 207 to php artisan app:install --no-interaction and it should launch successfully.

@ryan77627
Copy link

ryan77627 commented Jun 4, 2020

Oh also, make sure you set the proper options to APC, (I forget what they were called sorry). and make sure you change the Dockerfile to have FROM nginx:1.14.0-alpine instead of whatever was there before (again, forgot, sorry). This is because the image they pull from by default has php packages that are too new. If you don't change the Dockerfile, you will get a 500 error after the setup.

seanhoughton pushed a commit to seanhoughton/cachet-docker that referenced this issue Jan 27, 2021
This change also uses the latest official release of Cachet by default and fixes a php issue with later versions of the alpine image.
InputObject2 pushed a commit to InputObject2/Docker that referenced this issue Apr 26, 2021
@bmaximuml
Copy link

I'm seeing the same error, fixed by rebuilding with app:install instead of cachet:install in entrypoint.sh.

bh42 added a commit to bh42/cachethq-docker that referenced this issue Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants