-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Help WantedIssues needing help and clarification.Issues needing help and clarification.
Description
When running php app/console sylius:install
in the console, after the progress bar goes to 37%, something goes wrong and I get blasted with a shitton of stack traces all about Twig.
$ php app/console sylius:install
Installing Sylius...
Step 1 of 4. Checking system requirements.
+------------------------------------+------------------------------------+
| Issue | Recommendation |
+------------------------------------+------------------------------------+
| sylius.settings.short_open_tag | |
| sylius.settings.session.auto_start | |
| sylius.extensions.accelerator | sylius.extensions.accelerator.help |
+------------------------------------+------------------------------------+
Success! Your system can run Sylius properly.
Step 2 of 4. Setting up the database.
Creating Sylius database for environment dev.
It appears that your database already exists. Would you like to reset it? (y/N) y
3/8 [||||||||||| ] 37%PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in C:\Users\Juris\Desktop\sylius\vendor\twig\twig\lib\Twig\Node.php on line 229
After checking the install script, it seems the error occurs on the command cache:clear
, which is executed in InstallerBundle\Command\InstallDatabaseCommand.php (added on line 83).
This matches the progress percentage, since doctrine:database:drop
, doctrine:database:create
and doctrine:schema:create
have no errors, but when running cache:clear
directly, the command does something for at least 20 seconds, then throws an exception that shouldn't occur in a console command:
$ php app/console cache:clear
Clearing the cache for the dev environment with debug true
PHP Warning: Uncaught UnexpectedValueException: There are not any requests on request stack in C:\Users\Juris\Desktop\sylius\src\Sylius\Component\Channel\Context\RequestBased\ChannelContext.php:78
I know you don't care about Windows, but this doesn't seem like a Windows-only error...
Metadata
Metadata
Assignees
Labels
Help WantedIssues needing help and clarification.Issues needing help and clarification.