-
Notifications
You must be signed in to change notification settings - Fork 109
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
[Bug]: Error with composer create-project #591
Comments
After debugging, it seems that the GenericExecutionEngineBundle needs a DB connection. However, the connection will be configured in the step In this step an error occurs because the MkdirCacheWarmer was not executed. The temp directory is not created, and the requirement check is failing: So the error should be since this PR #583 @mcop1 Can you look into this? |
Hmm ... as far as we understand this, do we have following situation: For the tests we solved it like here: https://github.com/pimcore/demo/pull/583/files#diff-d7b672fd527bb6f82ceb3c23b6f417911c595d020f4a14aac07cad73936dbf0cR66-R101 Any better solutions are highly appreciated. |
@fashxp Can we set a |
If this is working, I have no idea to be honest... |
Is there any available workaround to this? |
Just continue with pimcore installation, should work |
The workaround is to run the command with "--no-install" and then run "composer install" |
|
Wasn't able to find the exact source of the problem other than the fact that the GenericExecutionEngine uses Entities, while it is not used in other "older" bundles. I've opened a PR #603 that potentially works around this error by doing
That was a viable alternative, probably for the demo, we could put a placeholder value since we kind of have "control" over which image will be used and which |
@blankse when setting Basically it's caused by bundles using the doctrine db service, instead of |
@brusch @kingjia90 But you cannot run |
@blankse Thank you for the feedback, but weird, i don't encounter that mentioned issue with
and
|
@kingjia90 Ok, than it is a Imagick specific error. I use ddev and there the docker image. There this imagick version is used: This error is also reported in Gitter: |
Ah i see, tried |
@kingjia90 agree, the installer should tackle this as well and should create all necessary directories👍 |
With pimcore/pimcore#17767 seems working fine Tested by running
|
Closing as resolved by #603 Thank you all again |
Expected behavior
No error
Actual behavior
Error:
An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory
Steps to reproduce
Execute as described in the README:
COMPOSER_MEMORY_LIMIT=-1 composer create-project pimcore/demo my-project
The text was updated successfully, but these errors were encountered: