-
Notifications
You must be signed in to change notification settings - Fork 441
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
Could not find Composer. #303
Comments
After running the build from the console, found interesting piece:
Should we add a feature request to better error handling in the web interface? |
I thought the web interface would show everything logged at LogLevel::INFO. So I'm surprised this isn't there. So there's two separate issues here:
Can you confirm that you can't see any of the log information in the web interface? If you can't I'll create a separate issue for this. |
I spent several hours and finally found a solution (which I don't like to be honest, but at least it works). Web log didn't show me anything useful to understand the problem. Later on, I found out that I have installed composer using Then I reinstalled composer using I ended up with a workaround by downloading It worked. But I don't like the way I made it working. Could be my lack knowledge of Linux or something I just misunderstood. Would really appreciate for any help. @meadsteve if you need web logs I was getting, I can post them here. |
I have the same issue. Thanks for posting the work-around. |
I assume this has been resolved by now, so I'm going to close this off. Please feel free to reopen if that isn't the case. :) |
Just add to your crontab PATH |
Sorry guys but i think this issue has not been resolved! Same configuration for me: installed composer in /usr/local/bin and i got the error "composer can not be found" @oRastor adding the following line in crontab results in many more not-found-errors than before: |
I've arrived on this page after experiencing the same problem, but have found a better workaround. Assuming composer is already installed globally to /usr/local/bin/composer, you can just make a symbolic link to /usr/bin/composer allowing it to be found by the cron job:
|
Thank you, solved my problem. I used like this;
|
I have composer installed globally on my system. It is accessible from apache user as well, i.e. when I run
which composer
I get/usr/local/bin/composer
.However, running the build fails with the error
Could not find Composer.
. Any ideas?The text was updated successfully, but these errors were encountered: