You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the deploy command, while in the "Preparing app" phase, I get the following error:
The command "ssh -A staging '(export APP_ENV=prod; cd /var/www/html/releases/20181129155451 && /usr/local/bin/composer install --no-dev --prefer-dist --no-interaction --quiet)'" failed.
Exit Code: 1(General error)
Which if I run the command on my remote server without the --quiet option gives this error:
An error occurred when executing the "'cache:clear --no-warmup'" command:
PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class "SensioGeneratorBundle" from namespace "Sensio\Bundle\GeneratorBundle".
Did you forget a "use" statement for another namespace? in /var/www/html/app/AppKernel.php:43
Solution
This error does not happen if you specify the symfony environment before doing the composer install.
export SYMFONY_ENV=prod
I will try to do a pull-request as soon as I can.
The text was updated successfully, but these errors were encountered:
Configuration
Problem
When running the deploy command, while in the "Preparing app" phase, I get the following error:
Which if I run the command on my remote server without the
--quiet
option gives this error:Solution
This error does not happen if you specify the symfony environment before doing the
composer install
.I will try to do a pull-request as soon as I can.
The text was updated successfully, but these errors were encountered: