the issue I am facing is that order emails not working on my magento store. I installed AOE scheduler but I am getting this issue
No heartbeat task found. Check if cron is configured correctly.
Though I have set the settings on cpanel
and AOE scheduler settings on magento
I am getting this email every second
Available actions:
--action listAllCodes
--action lastRun --code <code> [--secondsFromNow] Get the timestamp of the last successful run of a job for a given code
--action scheduleNow --code <code> Schedule a job to be executed as soon as possible
--action runNow --code <code> [--tryLock] [--force] Run a job directly
--action wait [--timout <timeout=60>] Active wait until no schedules are running.
--action flushSchedules --mode (future|all) Flush schedules.
--action listAllRunningSchedules
--action killAll
--action watchdog
--action cron --mode (always|default) [--includeJobs <comma separated list of jobs>] [--excludeJobs <comma separated list of jobs>] [--includeGroups <comma separated list of groups>] [--excludeGroups <comma separated list of groups>]
I am stuck I dont know how to resolve this issue, please help
https://magento.stackexchange.com/questions/186044/cron-jobs-for-order-emails?noredirect=1#comment257244_186044
Looks like PATH variable is set somehow different in jailshelled cron environment. So I suppose different php binary is used. You can ssh to your cPanel account and set PATH in your crontab.
So crontab should start like:
SHELL=/bin/sh
PATH=/usr/local/jdk/bin:/usr/local/bin:/usr/bin:/opt/cpanel/composer/bin:/usr/local/bin:/usr/X11R6/bin:/home/username/.local/bin:/home/username/bin
Here is something that is hidden in the Magento 2 documentation. Once you install Magento 2 with composer you are not done installing. One needs to go under the /update/ folder and run composer update again so it installs some needed packages for the cron to work properly.
I've seen many Magento2 setups where this extra step was not done, hence everything works except the cron.
If you use command line, it should look like this:
[html]$ cd update/
[update]$ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 29 installs, 0 updates, 0 removals
- Installing psr/log (1.0.2): Loading from cache
- Installing monolog/monolog (1.16.0): Loading from cache
- Installing symfony/yaml (v2.8.25): Loading from cache
- Installing sebastian/version (1.0.6): Loading from cache
- Installing sebastian/recursion-context (1.0.5): Loading from cache
- Installing sebastian/exporter (1.2.2): Loading from cache
- Installing sebastian/environment (1.3.8): Loading from cache
- Installing sebastian/diff (1.4.3): Loading from cache
- Installing sebastian/comparator (1.2.4): Loading from cache
- Installing doctrine/instantiator (1.0.5): Loading from cache
- Installing phpunit/php-text-template (1.2.1): Loading from cache
- Installing phpunit/phpunit-mock-objects (2.3.8): Loading from cache
- Installing phpunit/php-timer (1.0.9): Loading from cache
- Installing phpunit/php-file-iterator (1.3.4): Loading from cache
- Installing phpunit/php-token-stream (1.4.11): Loading from cache
- Installing phpunit/php-code-coverage (2.2.4): Loading from cache
- Installing phpunit/phpunit (4.1.0): Loading from cache
- Installing symfony/console (v2.6.13): Loading from cache
- Installing symfony/process (v3.3.5): Loading from cache
- Installing symfony/finder (v3.3.5): Loading from cache
- Installing symfony/filesystem (v3.3.5): Loading from cache
- Installing seld/phar-utils (1.0.1): Loading from cache
- Installing seld/jsonlint (1.6.1): Loading from cache
- Installing seld/cli-prompt (1.0.3): Loading from cache
- Installing justinrainbow/json-schema (1.6.1): Loading from cache
- Installing composer/spdx-licenses (1.1.6): Loading from cache
- Installing composer/semver (1.4.2): Loading from cache
- Installing composer/composer (1.0.0-beta1): Loading from cache
- Installing magento/composer (1.0.3): Loading from cache
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
monolog/monolog suggests installing raven/raven (Allow sending log messages to a Sentry server)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing videlalvaro/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
symfony/console suggests installing symfony/event-dispatcher ()
Writing lock file
Generating autoload files
[update]$
Related
Short description
I try to setup a basic TYPO3 installation using composer on a Debian 10 Server. Following all official instructions I could find, results in an http error 500 without meaningful (to me) content in the server log.
I encountered that problem on a clients server first, so I installed a completely fresh virtual server for debugging purposes and ran into exactly the same issue.
One thing I did, which might point someone in the know towards the solution:
web-devel#typo-test:/var/www/html/typotest/public$ cp index.php test.php
$ vi test.php
-> insert "print(__DIR__);" before call_user_func shows me a current path of
/var/www/html/typotest/public
which would result in a path of /var/www/html/typotest/public/vendor/autoload.php which doesn't exist.
However, replacing the reference to __DIR__ with "/var/www/html/typotest/" doesn't improve things ...
Same thing with both TYPO3 Releases 9 and 10
I couldn't find any mention of this problem, which amazes me for it being a straightforward approach. I'd be happy about any pointers toward a resolution or at least debugging tips ...
Long Description
-- Debian Gnu/Linux 10 all patches applied, Server IP is 192.168.100.171
-- Apache/PHP/XML/MySQL installed and running
-- Set the prerequisites according to https://docs.typo3.org/m/typo3/guide-installation/master/en-us/In-depth/SystemRequirements/Index.html
-- Prepare DB:
> MariaDB [(none)]> create database typotest;
Query OK, 1 row affected (0.000 sec)
> MariaDB [(none)]> GRANT ALL PRIVILEGES ON *.* TO 'web-devel'#'localhost' identified by 'XXXXXX';
Query OK, 0 rows affected (0.000 sec)
-- Pointing a browser to the IP results in the display of the default debian index page residing in /var/www/html
-- Created an info.php which displays correctly.
-- I realized, I didn't have the most current composer release. The suggested composer self-update failed so I installed composer according to https://www.digitalocean.com/community/tutorials/how-to-install-and-use-composer-on-debian-10
# php composer-setup.php --install-dir=/usr/local/bin --filename=composer
All settings correct for using Composer
Downloading...
Composer (version 1.10.8) successfully installed to: /usr/local/bin/composer
Use it: php /usr/local/bin/composer
-- So, all seems to be well
-- Next step - install TYPO3 according to
https://docs.typo3.org/m/typo3/guide-installation/master/en-us/QuickInstall/Composer/Index.html
$ cd /var/www/html
$ /usr/local/bin/composer create-project typo3/cms-base-distribution typotest
$ cd typotest
$ php vendor/bin/typo3cms install:setup \
--no-interaction \
--database-user-name=web-devel \
--database-user-password=XXXXXXX \
--database-host-name=127.0.0.1 \
--database-port=3306 \
--database-name=typotest \
--use-existing-database \
--admin-user-name=admin \
--admin-password=XXXXXXX \
--site-setup-type=site
-- which works flawlessly:
web-devel#typo-test:/var/www/html$ /usr/local/bin/composer create-project typo3/cms-base-distribution typotest
Creating a "typo3/cms-base-distribution" project at "./typotest"
Installing typo3/cms-base-distribution (v10.4.1)
- Installing typo3/cms-base-distribution (v10.4.1): Loading from cache
Created project in /var/www/html/typotest
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 87 installs, 0 updates, 0 removals
- Installing typo3/cms-composer-installers (v3.0.1): Loading from cache
- Installing typo3/class-alias-loader (v1.1.3): Loading from cache
- Installing helhum/config-loader (v0.12.2): Loading from cache
- Installing symfony/polyfill-php80 (v1.17.1): Loading from cache
- Installing symfony/process (v4.4.10): Loading from cache
- Installing symfony/polyfill-mbstring (v1.17.1): Loading from cache
- Installing symfony/polyfill-ctype (v1.17.1): Loading from cache
- Installing psr/container (1.0.0): Loading from cache
- Installing symfony/service-contracts (v1.1.8): Loading from cache
- Installing psr/cache (1.0.1): Loading from cache
- Installing symfony/polyfill-php73 (v1.17.1): Loading from cache
- Installing symfony/console (v4.4.10): Loading from cache
- Installing doctrine/lexer (1.2.1): Loading from cache
- Installing doctrine/annotations (1.10.3): Loading from cache
- Installing typo3fluid/fluid (2.6.9): Loading from cache
- Installing typo3/phar-stream-wrapper (v3.1.5): Loading from cache
- Installing typo3/cms-cli (2.0.0): Loading from cache
- Installing symfony/yaml (v4.4.10): Loading from cache
- Installing symfony/routing (v4.4.10): Loading from cache
- Installing symfony/polyfill-php72 (v1.17.0): Loading from cache
- Installing symfony/polyfill-intl-idn (v1.17.1): Loading from cache
- Installing symfony/polyfill-intl-icu (v1.17.1): Loading from cache
- Installing symfony/intl (v4.4.10): Loading from cache
- Installing symfony/mime (v4.4.10): Loading from cache
- Installing psr/event-dispatcher (1.0.0): Loading from cache
- Installing symfony/event-dispatcher-contracts (v1.1.7): Loading from cache
- Installing symfony/event-dispatcher (v4.4.10): Loading from cache
- Installing psr/log (1.1.3): Loading from cache
- Installing egulias/email-validator (2.1.18): Loading from cache
- Installing symfony/mailer (v4.4.10): Loading from cache
- Installing symfony/http-foundation (v4.4.10): Loading from cache
- Installing symfony/finder (v4.4.10): Loading from cache
- Installing symfony/var-exporter (v4.4.10): Loading from cache
- Installing symfony/cache-contracts (v1.1.7): Loading from cache
- Installing symfony/cache (v4.4.10): Loading from cache
- Installing symfony/expression-language (v4.4.10): Loading from cache
- Installing symfony/dependency-injection (v4.4.10): Loading from cache
- Installing symfony/filesystem (v4.4.10): Loading from cache
- Installing symfony/config (v4.4.10): Loading from cache
- Installing psr/http-message (1.0.1): Loading from cache
- Installing psr/http-server-handler (1.0.1): Loading from cache
- Installing psr/http-server-middleware (1.0.1): Loading from cache
- Installing psr/http-factory (1.0.1): Loading from cache
- Installing psr/http-client (1.0.0): Loading from cache
- Installing nikic/php-parser (v4.5.0): Loading from cache
- Installing ralouphie/getallheaders (3.0.3): Loading from cache
- Installing guzzlehttp/psr7 (1.6.1): Loading from cache
- Installing guzzlehttp/promises (v1.3.1): Loading from cache
- Installing guzzlehttp/guzzle (6.5.5): Loading from cache
- Installing doctrine/instantiator (1.3.1): Loading from cache
- Installing doctrine/event-manager (1.1.0): Loading from cache
- Installing doctrine/cache (1.10.1): Loading from cache
- Installing doctrine/dbal (2.10.2): Loading from cache
- Installing cogpowered/finediff (0.3.1): Loading from cache
- Installing typo3/cms-core (v10.4.4): Loading from cache
- Installing symfony/inflector (v4.4.10): Loading from cache
- Installing symfony/property-info (v4.4.10): Loading from cache
- Installing symfony/property-access (v4.4.10): Loading from cache
- Installing phpdocumentor/reflection-common (2.2.0): Loading from cache
- Installing phpdocumentor/type-resolver (1.3.0): Loading from cache
- Installing webmozart/assert (1.9.0): Loading from cache
- Installing phpdocumentor/reflection-docblock (5.1.0): Loading from cache
- Installing typo3/cms-extbase (v10.4.4): Loading from cache
- Installing typo3/cms-fluid (v10.4.4): Loading from cache
- Installing typo3/cms-install (v10.4.4): Loading from cache
- Installing typo3/cms-frontend (v10.4.4): Loading from cache
- Installing typo3/cms-extensionmanager (v10.4.4): Loading from cache
- Installing typo3/cms-recordlist (v10.4.4): Loading from cache
- Installing typo3/cms-backend (v10.4.4): Loading from cache
- Installing helhum/typo3-console (v6.3.2): Loading from cache
- Installing typo3/cms-about (v10.4.4): Loading from cache
- Installing typo3/cms-viewpage (v10.4.4): Loading from cache
- Installing typo3/cms-tstemplate (v10.4.4): Loading from cache
- Installing typo3/cms-t3editor (v10.4.4): Loading from cache
- Installing typo3/cms-sys-note (v10.4.4): Loading from cache
- Installing typo3/cms-setup (v10.4.4): Loading from cache
- Installing typo3/cms-seo (v10.4.4): Loading from cache
- Installing typo3/cms-rte-ckeditor (v10.4.4): Loading from cache
- Installing typo3/cms-info (v10.4.4): Loading from cache
- Installing typo3/cms-impexp (v10.4.4): Loading from cache
- Installing typo3/cms-form (v10.4.4): Loading from cache
- Installing typo3/cms-fluid-styled-content (v10.4.4): Loading from cache
- Installing typo3/cms-filelist (v10.4.4): Loading from cache
- Installing typo3/cms-felogin (v10.4.4): Loading from cache
- Installing typo3/cms-dashboard (v10.4.4): Loading from cache
- Installing typo3/cms-beuser (v10.4.4): Loading from cache
- Installing typo3/cms-belog (v10.4.4): Loading from cache
helhum/config-loader suggests installing ext-yaml (For improved performance when parsing yaml files you should use the PECL YAML Parser php extension)
symfony/console suggests installing symfony/lock
symfony/polyfill-intl-idn suggests installing ext-intl (For best performance)
symfony/polyfill-intl-icu suggests installing ext-intl (For best performance)
symfony/intl suggests installing ext-intl (to use the component with locales other than "en")
symfony/event-dispatcher suggests installing symfony/http-kernel
egulias/email-validator suggests installing ext-intl (PHP Internationalization Libraries are required to use the SpoofChecking validation)
symfony/dependency-injection suggests installing symfony/proxy-manager-bridge (Generate service proxies to lazy load them)
guzzlehttp/psr7 suggests installing zendframework/zend-httphandlerrunner (Emit PSR-7 responses)
doctrine/cache suggests installing alcaeus/mongo-php-adapter (Required to use legacy MongoDB driver)
typo3/cms-core suggests installing ext-gd (GDlib/Freetype is required for building images with text (GIFBUILDER) and can also be used to scale images)
typo3/cms-core suggests installing ext-intl (TYPO3 with unicode-based filesystems)
typo3/cms-core suggests installing ext-zip
symfony/property-info suggests installing symfony/doctrine-bridge (To use Doctrine metadata)
symfony/property-info suggests installing symfony/serializer (To use Serializer metadata)
typo3/cms-extbase suggests installing typo3/cms-scheduler (Additional scheduler tasks)
typo3/cms-frontend suggests installing typo3/cms-adminpanel (Provides additional information and functionality for backend users in the frontend.)
Writing lock file
Generating autoload files
Generating class alias map file
> typo3cms install:fixfolderstructure
The following directory structure has been fixed:
Directory /public/typo3temp successfully created.
Fixed permission on /public/typo3temp.
File /public/typo3temp/index.html successfully created.
Set content to /public/typo3temp/index.html
Fixed permission on /public/typo3temp/index.html.
Directory /public/typo3temp/assets successfully created.
Fixed permission on /public/typo3temp/assets.
Directory /public/typo3temp/assets/compressed successfully created.
Fixed permission on /public/typo3temp/assets/compressed.
Directory /public/typo3temp/assets/css successfully created.
Fixed permission on /public/typo3temp/assets/css.
Directory /public/typo3temp/assets/js successfully created.
Fixed permission on /public/typo3temp/assets/js.
Directory /public/typo3temp/assets/images successfully created.
Fixed permission on /public/typo3temp/assets/images.
Directory /public/typo3temp/assets/_processed_ successfully created.
Fixed permission on /public/typo3temp/assets/_processed_.
Directory /public/typo3conf successfully created.
Fixed permission on /public/typo3conf.
Directory /public/typo3conf/ext successfully created.
Fixed permission on /public/typo3conf/ext.
Directory /public/fileadmin successfully created.
Fixed permission on /public/fileadmin.
Directory /public/fileadmin/_temp_ successfully created.
Fixed permission on /public/fileadmin/_temp_.
File /public/fileadmin/_temp_/.htaccess successfully created.
Set content to /public/fileadmin/_temp_/.htaccess
Fixed permission on /public/fileadmin/_temp_/.htaccess.
File /public/fileadmin/_temp_/index.html successfully created.
Set content to /public/fileadmin/_temp_/index.html
Fixed permission on /public/fileadmin/_temp_/index.html.
Directory /public/fileadmin/user_upload successfully created.
Fixed permission on /public/fileadmin/user_upload.
Directory /public/fileadmin/user_upload/_temp_ successfully created.
Fixed permission on /public/fileadmin/user_upload/_temp_.
File /public/fileadmin/user_upload/_temp_/index.html successfully created.
Set content to /public/fileadmin/user_upload/_temp_/index.html
Fixed permission on /public/fileadmin/user_upload/_temp_/index.html.
Directory /public/fileadmin/user_upload/_temp_/importexport successfully created.
Fixed permission on /public/fileadmin/user_upload/_temp_/importexport.
File /public/fileadmin/user_upload/_temp_/importexport/.htaccess successfully created.
Set content to /public/fileadmin/user_upload/_temp_/importexport/.htaccess
Fixed permission on /public/fileadmin/user_upload/_temp_/importexport/.htaccess.
File /public/fileadmin/user_upload/_temp_/importexport/index.html successfully created.
Set content to /public/fileadmin/user_upload/_temp_/importexport/index.html
Fixed permission on /public/fileadmin/user_upload/_temp_/importexport/index.html.
File /public/fileadmin/user_upload/index.html successfully created.
Set content to /public/fileadmin/user_upload/index.html
Fixed permission on /public/fileadmin/user_upload/index.html.
File /var/.htaccess successfully created.
Set content to /var/.htaccess
Fixed permission on /var/.htaccess.
Directory /var/charset successfully created.
Fixed permission on /var/charset.
Directory /var/labels successfully created.
Fixed permission on /var/labels.
Directory /var/lock successfully created.
Fixed permission on /var/lock.
> typo3cms install:generatepackagestates
The following extensions have been added to the generated PackageStates.php file: core, extbase, fluid, frontend, fluid_styled_content, filelist, impexp, form, install, recordlist, backend, setup, rte_ckeditor, about, belog, beuser, dashboard, extensionmanager, felogin, info, seo, sys_note, t3editor, tstemplate, viewpage
31 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
then
web-devel#typo-test:/var/www/html$ php typotest/vendor/bin/typo3cms install:setup
Welcome to the TYPO3 Console installer!
➤ Prepare installation
✔ Check environment and create folders
➤ Set up database connection
Database connection type (default: "mysqli"):
[mysqli ] MySQL connection
[pdo_sqlite] SQLite connection
[pdo_pgsql ] PostgreSQL connection
[mssql ] MSSQL connection
> mysqli
User name for database server (default: ""): web-devel
User password for database server (default: ""):
Host name of database server (default: "127.0.0.1"):
TCP Port of database server (default: "3306"):
Unix Socket to connect to (default: ""):
✔ Ok
➤ Select database
Use already existing database? (y/N): y
Name of the database (required): typotest
✔ Ok
➤ Set up database
Username of to be created administrative user account (required): admin
Password of to be created administrative user account (required):
Name of the TYPO3 site (default: "New TYPO3 Console site"): Test Site
✔ Ok
➤ Set up configuration
Specify the site setup type (default: "no"):
[no ] Do nothing
[site] Create root page
> site
Specify the site base url (default: "/"):
✔ Ok
➤ Set up web server configuration
Specify the web server you want to write configuration for (default: "none"):
[none ] Do not write any configuration files
[apache] Create Apache .htaccess file
[iis ] Create Microsoft-IIS web.config file
> apache
✔ Ok
✔ Set up extensions
Successfully installed TYPO3 CMS!
Pointing my browser at http://192.168.100.171/typotest/public/ results in an Error 500 with this error in the apache-log-file:
[Sun Jun 28 12:21:35.232020 2020] [php7:error] [pid 10894] [client 192.168.100.143:53326]
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function TYPO3\\CMS\\Core\\Imaging\\IconFactory::__construct(), 0 passed in /var/www/html/typotest/public/typo3/sysext/core/Classes/Utility/GeneralUtility.php
on line 3423 and exactly 2 expected in /var/www/html/typotest/public/typo3/sysext/core/Classes/Imaging/IconFactory.php:71\nStack trace:\n#0 /var/www/html/typotest/public/typo3/sysext/core/Classes/Utility/GeneralUtility.php(3423):
TYPO3\\CMS\\Core\\Imaging\\IconFactory->__construct()\n#1 /var/www/html/typotest/public/typo3/sysext/core/Classes/TimeTracker/TimeTracker.php(242):
TYPO3\\CMS\\Core\\Utility\\GeneralUtility::makeInstance('TYPO3\\\\CMS\\\\Core\\\\...')\n#2 /var/www/html/typotest/public/typo3/sysext/core/Classes/Error/ErrorHandler.php(162):
TYPO3\\CMS\\Core\\TimeTracker\\TimeTracker->setTSlogMessage('Core: Error han...', 2)\n#3 [internal function]:
TYPO3\\CMS\\Core\\Error\\ErrorHandler->handleError(2, 'fopen(/var/www/...', '/var/www/html/t...', 193, Array)\n#4
/var/www/html/typotest/public/typo3/sysext/core/Classes/Log/Writer/Fi in /var/www/html/typotest/public/typo3/sysext/core/Classes/Imaging/IconFactory.php on line 71, referer:
http://192.168.100.171/typotest/
Which doesn't make a lot of sense in the context ...
I tried the same with TYPO3 releases 9 and 10 - same result!
At this point TYPO3's var/log is empty.
Solved: I did a combination of:
chown -R web-devel.www-data typotest
chmod -R g+s typotest
and I had to set the php-fpm instance to run as web-devel. This seems to do the trick. Would be nice if this could be evaluated and added to the setup instructions ...
I have a Symfony project within Jenkins
when I run the command php bin/console doctrine:fixtures:load --fixtures=tests/Fixtures/TestFixtures.php --env=test --no-interaction it works fine in the terminal directly, but it's not working within Jenkins !
This is Jenkinsfile:
pipeline{
agent any
stages {
stage('Build'){
steps{
sh 'php composer.phar install --no-interaction'
}
}
stage('Tests'){
steps{
sh 'php bin/console doctrine:schema:drop --force --env=test'
sh 'php bin/console doctrine:schema:update --force --env=test'
sh 'php bin/console doctrine:fixtures:load --fixtures=tests/Fixtures/TestFixtures.php --env=test --no-interaction'
sh 'php vendor/phpunit/phpunit/phpunit'
}
}
}
}
and I get this error:
In LoadDataFixturesDoctrineCommand.php line 109:
Could not find any fixtures to load in:
- tests/Fixtures/TestFixtures.php
what am I missing here ?
Trace of the pipeline:
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] sh
+ php composer.phar install --no-interaction
Content-type: text/html; charset=UTF-8
Warning: Composer should be invoked via the CLI version of PHP, not the cgi-fcgi SAPI
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Package operations: 103 installs, 0 updates, 0 removals
- Installing ocramius/package-versions (1.4.2): Loading from cache
- Installing symfony/polyfill-mbstring (v1.13.1): Loading from cache
- Installing symfony/polyfill-ctype (v1.13.1): Loading from cache
- Installing twig/twig (v2.12.3): Loading from cache
- Installing paragonie/random_compat (v2.0.18): Loading from cache
- Installing symfony/polyfill-php70 (v1.13.1): Loading from cache
- Installing symfony/polyfill-util (v1.13.1): Loading from cache
- Installing symfony/polyfill-php56 (v1.13.1): Loading from cache
- Installing symfony/symfony (v3.4.36): Loading from cache
- Installing symfony/polyfill-intl-icu (v1.13.1): Loading from cache
- Installing symfony/polyfill-apcu (v1.13.1): Loading from cache
- Installing psr/simple-cache (1.0.1): Loading from cache
- Installing psr/log (1.1.2): Loading from cache
- Installing psr/link (1.0.0): Loading from cache
- Installing psr/container (1.0.0): Loading from cache
- Installing psr/cache (1.0.1): Loading from cache
- Installing fig/link-util (1.1.0): Loading from cache
- Installing doctrine/lexer (1.2.0): Loading from cache
- Installing doctrine/annotations (v1.8.0): Loading from cache
- Installing doctrine/reflection (v1.0.0): Loading from cache
- Installing doctrine/event-manager (1.1.0): Loading from cache
- Installing doctrine/collections (1.6.4): Loading from cache
- Installing doctrine/cache (1.10.0): Loading from cache
- Installing doctrine/persistence (1.3.3): Loading from cache
- Installing doctrine/inflector (1.3.1): Loading from cache
- Installing doctrine/common (v2.11.0): Loading from cache
- Installing doctrine/instantiator (1.3.0): Loading from cache
- Installing doctrine/dbal (v2.10.0): Loading from cache
- Installing doctrine/orm (v2.7.0): Loading from cache
- Installing beberlei/doctrineextensions (v1.2.6): Loading from cache
- Installing doctrine/doctrine-cache-bundle (1.4.0): Loading from cache
- Installing friendsofsymfony/user-bundle (v2.0.2): Loading from cache
- Installing incenteev/composer-parameter-handler (v2.1.4): Loading from cache
- Installing isom/code-maker (dev-master a5508f4): Cloning a5508f44af from cache
- Installing jdorn/sql-formatter (v1.2.17): Loading from cache
- Installing paragonie/sodium_compat (v1.12.2): Loading from cache
- Installing pusher/pusher-php-server (v3.4.1): Loading from cache
- Installing mrad/notifications-bundle (v1.3.0): Loading from cache
- Installing phenx/php-font-lib (0.5.1): Loading from cache
- Installing sabberworm/php-css-parser (8.3.0): Loading from cache
- Installing phenx/php-svg-lib (v0.3.3): Loading from cache
- Installing dompdf/dompdf (v0.8.3): Loading from cache
- Installing sbc/auto-reporting-bundle (dev-master 4cd6866): Cloning 4cd68660b5 from cache
- Installing symfony/polyfill-php72 (v1.13.1): Loading from cache
- Installing symfony/polyfill-intl-idn (v1.13.1): Loading from cache
- Installing symfony/mime (v5.0.2): Loading from cache
- Installing symfony/service-contracts (v2.0.1): Loading from cache
- Installing symfony/polyfill-php73 (v1.13.1): Loading from cache
- Installing symfony/http-client-contracts (v2.0.1): Loading from cache
- Installing symfony/http-client (v5.0.2): Loading from cache
- Installing sensiolabs/security-checker (v6.0.3): Loading from cache
- Installing sensio/distribution-bundle (v5.0.25): Loading from cache
- Installing sensio/framework-extra-bundle (v3.0.29): Loading from cache
- Installing slimen/log-tracker (v1.3.1): Loading from cache
- Installing behat/transliterator (v1.2.0): Loading from cache
- Installing gedmo/doctrine-extensions (v2.4.38): Loading from cache
- Installing stof/doctrine-extensions-bundle (v1.3.0): Loading from cache
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
symfony/polyfill-intl-icu suggests installing ext-intl (For best performance)
doctrine/cache suggests installing alcaeus/mongo-php-adapter (Required to use legacy MongoDB driver)
doctrine/doctrine-cache-bundle suggests installing symfony/security-acl (For using this bundle to cache ACLs)
paragonie/sodium_compat suggests installing ext-libsodium (PHP < 7.0: Better performance, password hashing (Argon2i), secure memory management (memzero), and better security.)
paragonie/sodium_compat suggests installing ext-sodium (PHP >= 7.0: Better performance, password hashing (Argon2i), secure memory management (memzero), and better security.)
dompdf/dompdf suggests installing ext-gmagick (Improves image processing performance)
dompdf/dompdf suggests installing ext-imagick (Improves image processing performance)
symfony/polyfill-intl-idn suggests installing ext-intl (For best performance)
symfony/service-contracts suggests installing symfony/service-implementation
sensio/framework-extra-bundle suggests installing symfony/psr-http-message-bridge (To use the PSR-7 converters)
gedmo/doctrine-extensions suggests installing doctrine/mongodb-odm (to use the extensions with the MongoDB ODM)
stof/doctrine-extensions-bundle suggests installing doctrine/mongodb-odm-bundle (to use the MongoDB ODM extensions)
kriswallsmith/assetic suggests installing leafo/lessphp (Assetic provides the integration with the lessphp LESS compiler)
kriswallsmith/assetic suggests installing leafo/scssphp (Assetic provides the integration with the scssphp SCSS compiler)
kriswallsmith/assetic suggests installing leafo/scssphp-compass (Assetic provides the integration with the SCSS compass plugin)
kriswallsmith/assetic suggests installing patchwork/jsqueeze (Assetic provides the integration with the JSqueeze JavaScript compressor)
kriswallsmith/assetic suggests installing ptachoire/cssembed (Assetic provides the integration with phpcssembed to embed data uris)
symfony/assetic-bundle suggests installing kriswallsmith/spork (to be able to dump assets in parallel)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
vich/uploader-bundle suggests installing doctrine/mongodb-odm-bundle (For integration with Doctrine ODM)
vich/uploader-bundle suggests installing doctrine/phpcr-odm (For integration with Doctrine PHPCR)
vich/uploader-bundle suggests installing knplabs/knp-gaufrette-bundle (For integration with Gaufrette)
vich/uploader-bundle suggests installing liip/imagine-bundle (To generate image thumbnails)
vich/uploader-bundle suggests installing oneup/flysystem-bundle (For integration with Flysystem)
vich/uploader-bundle suggests installing willdurand/propel-eventdispatcher-bundle (For integration with Propel)
doctrine/data-fixtures suggests installing alcaeus/mongo-php-adapter (For using MongoDB ODM with PHP 7)
doctrine/data-fixtures suggests installing doctrine/mongodb-odm (For loading MongoDB ODM fixtures)
doctrine/data-fixtures suggests installing doctrine/phpcr-odm (For loading PHPCR ODM fixtures)
zendframework/zend-eventmanager suggests installing container-interop/container-interop (^1.1.0, to use the lazy listeners feature)
zendframework/zend-eventmanager suggests installing zendframework/zend-stdlib (^2.7.3 || ^3.0, to use the FilterChain feature)
zendframework/zend-code suggests installing zendframework/zend-stdlib (Zend\Stdlib component)
ocramius/proxy-manager suggests installing ocramius/generated-hydrator (To have very fast object to array to object conversion for ghost objects)
ocramius/proxy-manager suggests installing zendframework/zend-json (To have the JsonRpc adapter (Remote Object feature))
ocramius/proxy-manager suggests installing zendframework/zend-soap (To have the Soap adapter (Remote Object feature))
ocramius/proxy-manager suggests installing zendframework/zend-xmlrpc (To have the XmlRpc adapter (Remote Object feature))
sebastian/global-state suggests installing ext-uopz (*)
phpunit/php-code-coverage suggests installing ext-xdebug (^2.7.2)
phpunit/phpunit suggests installing ext-soap (*)
phpunit/phpunit suggests installing ext-xdebug (*)
phpunit/phpunit suggests installing phpunit/php-invoker (^2.0.0)
symfony/phpunit-bridge suggests installing symfony/error-handler (For tracking deprecated interfaces usages at runtime with DebugClassLoader)
Package symfony/assetic-bundle is abandoned, you should avoid using it. Use symfony/webpack-encore-pack instead.
Package zendframework/zend-eventmanager is abandoned, you should avoid using it. Use laminas/laminas-eventmanager instead.
Package zendframework/zend-code is abandoned, you should avoid using it. Use laminas/laminas-code instead.
Package sensio/generator-bundle is abandoned, you should avoid using it. Use symfony/maker-bundle instead.
Generating autoload files
ocramius/package-versions: Generating version class...
ocramius/package-versions: ...done generating version class
> Incenteev\ParameterHandler\ScriptHandler::buildParameters
Creating the "app/config/parameters.yml" file
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache
// Clearing the cache for the dev environment with debug
// true
[OK] Cache for the "dev" environment (debug=true) was successfully cleared.
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets
Trying to install assets as relative symbolic links.
--- ------------------ ------------------
Bundle Method / Error
--- ------------------ ------------------
✔ TiersBundle relative symlink
✔ LogTrackerBundle relative symlink
✔ CodeMakerBundle relative symlink
--- ------------------ ------------------
[OK] All assets were successfully installed.
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::prepareDeploymentTarget
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Tests)
[Pipeline] sh
+ php bin/console doctrine:schema:drop --force --env=test
Dropping database schema...
[OK] Database schema dropped successfully!
Content-type: text/html; charset=UTF-8
[Pipeline] sh
+ php bin/console doctrine:schema:update --force --env=test
Updating database schema...
82 queries were executed
[OK] Database schema updated successfully!
Content-type: text/html; charset=UTF-8
[Pipeline] sh
+ php bin/console doctrine:fixtures:load --fixtures=./tests/Fixtures/TestFixtures.php --env=test --no-interaction
In LoadDataFixturesDoctrineCommand.php line 109:
Could not find any fixtures to load in:
- ./tests/Fixtures/TestFixtures.php
doctrine:fixtures:load [--fixtures [FIXTURES]] [--append] [--em EM] [--shard SHARD] [--purge-with-truncate] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>
Content-type: text/html; charset=UTF-8
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] mail
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE
You didn't gave the full path of the binary..
In terminal path is taken from profile, but whenever you used in script you have to give full path of binary.
For e. g. /usr/local/bin like this
Try the absolute path to the file
--fixtures=tests/Fixtures/TestFixtures.php
or if you are on a windows env on your local, please check filename Case Sensitivity
Check service.yaml, "exclude: '../src/{......}'" section. May be the "Fixture directory" is excluded from auto wire / autoconfigure.
This question already has answers here:
Getting Suggestions while installing Laravel through Composer
(2 answers)
Closed 3 years ago.
I get the following errors while installing laravel using composer.
Please help me install laravel autoinstalling missing dependencies.
symfony/var-dumper suggests installing ext-intl (To show region name
in time zone dump) symfony/var-dumper suggests installing
ext-symfony_debug () symfony/routing suggests installing
doctrine/annotations (For using the annotation loader) symfony/routing
suggests installing symfony/config (For using the all-in-one router or
any loader) symfony/routing suggests installing
symfony/dependency-injection (For loading routes from a service)
symfony/routing suggests installing symfony/expression-language (For
using expression matching) symfony/routing suggests installing
symfony/yaml (For using the YAML loader) paragonie/random_compat
suggests installing ext-libsodium (Provides a modern crypto API that
can be used to generate random bytes.) symfony/event-dispatcher
suggests installing symfony/dependency-injection ()
symfony/http-kernel suggests installing symfony/browser-kit ()
symfony/http-kernel suggests installing symfony/config ()
symfony/http-kernel suggests installing symfony/dependency-injection
() symfony/console suggests installing symfony/lock ()
symfony/polyfill-intl-idn suggests installing ext-intl (For best
performance) egulias/email-validator suggests installing ext-intl (PHP
Internationalization Libraries are required to use the SpoofChecking
validation) swiftmailer/swiftmailer suggests installing ext-intl
(Needed to support internationalized email addresses)
swiftmailer/swiftmailer suggests installing true/punycode (Needed to
support internationalized email addresses, if ext-intl is not
installed) ramsey/uuid suggests installing ircmaxell/random-lib
(Provides RandomLib for use with the RandomLibAdapter) ramsey/uuid
suggests installing ext-libsodium (Provides the PECL libsodium
extension for use with the SodiumRandomGenerator) ramsey/uuid suggests
installing ext-uuid (Provides the PECL UUID extension for use with the
PeclUuidTimeGenerator and PeclUuidRandomGenerator) ramsey/uuid
suggests installing moontoast/math (Provides support for converting
UUID to 128-bit integer (in string form).) ramsey/uuid suggests
installing ramsey/uuid-doctrine (Allows the use of Ramsey\Uuid\Uuid as
Doctrine field type.) ramsey/uuid suggests installing
ramsey/uuid-console (A console application for generating UUIDs with
ramsey/uuid) symfony/translation suggests installing symfony/config ()
symfony/translation suggests installing symfony/yaml () nesbot/carbon
suggests installing friendsofphp/php-cs-fixer (Needed for the
composer phpcs command. Allow to automatically fix code style.)
nesbot/carbon suggests installing phpstan/phpstan (Needed for the
composer phpstan command. Allow to detect potential errors.)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log
messages to AWS services like DynamoDB) monolog/monolog suggests
installing doctrine/couchdb (Allow sending log messages to a CouchDB
server) monolog/monolog suggests installing ext-amqp (Allow sending
log messages to an AMQP server (1.0+ required)) monolog/monolog
suggests installing ext-mongo (Allow sending log messages to a MongoDB
server) monolog/monolog suggests installing graylog2/gelf-php (Allow
sending log messages to a GrayLog2 server) monolog/monolog suggests
installing mongodb/mongodb (Allow sending log messages to a MongoDB
server via PHP Driver) monolog/monolog suggests installing
php-amqplib/php-amqplib (Allow sending log messages to an AMQP server
using php-amqplib) monolog/monolog suggests installing
php-console/php-console (Allow sending log messages to Google Chrome)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log
messages to Rollbar) monolog/monolog suggests installing
ruflin/elastica (Allow sending log messages to an Elastic Search
server) monolog/monolog suggests installing sentry/sentry (Allow
sending log messages to a Sentry server) league/flysystem suggests
installing league/flysystem-aws-s3-v2 (Allows you to use S3 storage
with AWS SDK v2) league/flysystem suggests installing
league/flysystem-aws-s3-v3 (Allows you to use S3 storage with AWS SDK
v3) league/flysystem suggests installing league/flysystem-azure
(Allows you to use Windows Azure Blob storage) league/flysystem
suggests installing league/flysystem-cached-adapter (Flysystem adapter
decorator for metadata caching) league/flysystem suggests installing
league/flysystem-eventable-filesystem (Allows you to use
EventableFilesystem) league/flysystem suggests installing
league/flysystem-rackspace (Allows you to use Rackspace Cloud Files)
league/flysystem suggests installing league/flysystem-sftp (Allows you
to use SFTP server storage via phpseclib) league/flysystem suggests
installing league/flysystem-webdav (Allows you to use WebDAV storage)
league/flysystem suggests installing league/flysystem-ziparchive
(Allows you to use ZipArchive adapter) league/flysystem suggests
installing spatie/flysystem-dropbox (Allows you to use Dropbox
storage) league/flysystem suggests installing
srmklive/flysystem-dropbox-v2 (Allows you to use Dropbox storage for
PHP 5 applications) laravel/framework suggests installing
aws/aws-sdk-php (Required to use the SQS queue driver and SES mail
driver (~3.0).) laravel/framework suggests installing doctrine/dbal
(Required to rename columns and drop SQLite columns (~2.5).)
laravel/framework suggests installing guzzlehttp/guzzle (Required to
use the Mailgun and Mandrill mail drivers and the ping methods on
schedules (~6.0).) laravel/framework suggests installing
league/flysystem-aws-s3-v3 (Required to use the Flysystem S3 driver
(~1.0).) laravel/framework suggests installing
league/flysystem-cached-adapter (Required to use Flysystem caching
(~1.0).) laravel/framework suggests installing
league/flysystem-rackspace (Required to use the Flysystem Rackspace
driver (~1.0).) laravel/framework suggests installing nexmo/client
(Required to use the Nexmo transport (~1.0).) laravel/framework
suggests installing pda/pheanstalk (Required to use the beanstalk
queue driver (~3.0).) laravel/framework suggests installing
predis/predis (Required to use the redis cache and queue drivers
(~1.0).) laravel/framework suggests installing
pusher/pusher-php-server (Required to use the Pusher broadcast driver
(~3.0).) laravel/framework suggests installing symfony/dom-crawler
(Required to use most of the crawler integration testing tools
(~3.3).) laravel/framework suggests installing
symfony/psr-http-message-bridge (Required to psr7 bridging features
(~1.0).) psy/psysh suggests installing ext-pdo-sqlite (The doc command
requires SQLite to work.) psy/psysh suggests installing hoa/console (A
pure PHP readline implementation. You'll want this if your PHP install
doesn't already support readline or libedit.) filp/whoops suggests
installing whoops/soap (Formats errors as SOAP responses)
sebastian/global-state suggests installing ext-uopz ()
phpunit/phpunit-mock-objects suggests installing ext-soap ()
phpunit/php-code-coverage suggests installing ext-xdebug (^2.5.5)
phpunit/phpunit suggests installing phpunit/php-invoker (^1.1)
phpunit/phpunit suggests installing ext-xdebug (*)
You should run:
composer dump-autoload
and then try
composer install
I have an Amazon EC2 instance with Ubuntu 14.4.
I installed my composer globally.
When I install Lumen I get this result - everything seems fine:
ubuntu#ip-XXX-XX-XX-XX:/var/www/html$ composer global require "laravel/lumen-installer"
Changed current directory to /home/ubuntu/.config/composer
Using version ^1.0 for laravel/lumen-installer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing symfony/process (v3.1.0)
Loading from cache
- Installing symfony/polyfill-mbstring (v1.2.0)
Loading from cache
- Installing symfony/console (v3.1.0)
Loading from cache
- Installing guzzlehttp/promises (1.2.0)
Loading from cache
- Installing psr/http-message (1.0)
Loading from cache
- Installing guzzlehttp/psr7 (1.3.0)
Loading from cache
- Installing guzzlehttp/guzzle (6.2.0)
Loading from cache
- Installing laravel/lumen-installer (v1.0.2)
Loading from cache
symfony/console suggests installing symfony/event-dispatcher ()
symfony/console suggests installing psr/log (For using the console logger)
Writing lock file
Generating autoload files
ubuntu#ip-XXX-XX-XX-XX:/var/www/html$
But when I type lumen or lumen new blog I receive a lumen: command not found.
Based on other questions, I assume I have to add lumen to the PATH simillarly to this:
export PATH="~/.composer/vendor/bin:$PATH"
This does not make a difference - lumen: command not found is still displayed after running lumen new blog.
Did anyone run into this error?
Your problem will not be solved simply by unsetting PATH, as you'll still be left without a PATH that includes the necessary system directories. When you set your own PATH, in most cases you will want to append your new entry to the old PATH variable, not replace it entirely, as you have done.
Use this command
export PATH="$PATH:~/.composer/vendor/bin"
Notice the variable is set to begin with the existing $PATH. This way, you'll still have all the original system directories in your PATH, and your addition will be on the end. Because lumen is apparently the name of the binary you are trying to execute, and your PATH should include only directories containing binaries, not the binaries themselves.
I'm working with a project made with Laravel 4 Framework, then I used this command to install the composer.
composer install
This is the execution result:
$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev)
- Installing psr/log (dev-master 5144da9)
Loading from cache
- Installing doctrine/lexer (dev-master 57d5a02)
Loading from cache
- Installing doctrine/annotations (dev-master 97b4a00)
Loading from cache
- Installing doctrine/collections (dev-master bcb5377)
Loading from cache
- Installing doctrine/cache (dev-master ff36d42)
Loading from cache
- Installing doctrine/inflector (dev-master 8b4b3cc)
Loading from cache
- Installing doctrine/common (dev-master ba2ad8a)
Loading from cache
- Installing symfony/process (2.3.x-dev b09d36a)
Loading from cache
- Installing symfony/finder (2.3.x-dev fc0fbd5)
Loading from cache
- Installing symfony/console (2.3.x-dev f77c13a)
Loading from cache
- Installing symfony/filesystem (dev-master c136348)
Loading from cache
- Installing symfony/routing (2.3.x-dev 7d41463)
Loading from cache
- Installing symfony/debug (2.3.x-dev 93f2633)
Loading from cache
- Installing symfony/event-dispatcher (2.3.x-dev 30b2f95)
Loading from cache
- Installing symfony/http-foundation (2.3.x-dev 8ee2965)
Loading from cache
- Installing symfony/http-kernel (2.3.x-dev e6f1920)
Loading from cache
- Installing kriswallsmith/assetic (v1.1.2)
Loading from cache
- Installing codesleeve/sprockets (dev-master 2d14c76)
Loading from cache
- Installing symfony/dom-crawler (2.3.x-dev 7a72398)
Loading from cache
- Installing swiftmailer/swiftmailer (v5.0.3)
Loading from cache
- Installing predis/predis (0.8.x-dev 09cb667)
Loading from cache
- Installing patchwork/utf8 (v1.1.16)
Loading from cache
- Installing nesbot/carbon (1.7.0)
Loading from cache
- Installing monolog/monolog (dev-master 5ad421d)
Loading from cache
- Installing nikic/php-parser (dev-master 0353c92)
Loading from cache
- Installing jeremeamia/superclosure (1.0.1)
Loading from cache
- Installing ircmaxell/password-compat (1.0.x-dev 1fc1521)
Loading from cache
- Installing classpreloader/classpreloader (1.0.1)
Loading from cache
- Installing symfony/translation (2.3.x-dev 6b255d2)
Loading from cache
- Installing symfony/css-selector (2.3.x-dev 8df20c5)
Loading from cache
- Installing symfony/browser-kit (2.3.x-dev 7149642)
Loading from cache
- Installing filp/whoops (1.0.7)
Loading from cache
- Installing doctrine/dbal (2.4.x-dev ad8608b)
Loading from cache
- Installing laravel/framework (4.0.x-dev 426c9e0)
Loading from cache
- Installing leafo/scssphp (v0.0.7)
Loading from cache
- Installing coffeescript/coffeescript (1.3.1)
Loading from cache
- Installing leafo/lessphp (v0.4.0)
Loading from cache
- Installing nitra/php-min (dev-master f2d5e3f)
Loading from cache
- Installing codesleeve/asset-pipeline (dev-master cad206e)
Loading from cache
- Installing mustache/mustache (v2.4.1)
Loading from cache
- Installing way/generators (dev-master 8390ef9)
Downloading: 100%
- Installing barryvdh/laravel-migration-generator (dev-master 5cd7ec3)
Loading from cache
- Installing dinesh/barcode (dev-master 6cbcffb)
Loading from cache
- Installing symfony/class-loader (dev-master d122b8a)
Loading from cache
- Installing dflydev/markdown (dev-master 6baed9b)
Loading from cache
- Installing phpdocumentor/reflection-docblock (2.0.0)
Loading from cache
- Installing barryvdh/laravel-ide-helper (v1.7.1)
Loading from cache
symfony/routing suggests installing symfony/config ()
symfony/routing suggests installing symfony/yaml ()
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/http-kernel suggests installing symfony/config ()
symfony/http-kernel suggests installing symfony/dependency-injection ()
kriswallsmith/assetic suggests installing twig/twig (Assetic provides the integr
ation with the Twig templating engine)
kriswallsmith/assetic suggests installing ptachoire/cssembed (Assetic provides t
he integration with phpcssembed to embed data uris)
kriswallsmith/assetic suggests installing leafo/scssphp-compass (Assetic provide
s the integration with the SCSS compass plugin)
predis/predis suggests installing ext-phpiredis (Allows faster serialization and
deserialization of the Redis protocol)
patchwork/utf8 suggests installing lib-icu (Use Intl for best performance)
monolog/monolog suggests installing mlehner/gelf-php (Allow sending log messages
to a GrayLog2 server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an A
MQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a M
ongoDB server)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages
to a CouchDB server)
monolog/monolog suggests installing raven/raven (Allow sending log messages to a
Sentry server)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages
to an Elastic Search server)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages
to AWS services like DynamoDB)
symfony/translation suggests installing symfony/config ()
symfony/translation suggests installing symfony/yaml ()
Writing lock file
Generating autoload files
{"error":{"type":"Symfony\\Component\\Debug\\Exception\\FatalErrorException","me
ssage":"Class 'Codesleeve\\AssetPipeline\\Filters\\CssRewrite' not found","file"
:"C:\\laravel-projects\\plansherpa\\app\\config\\packages\\codesleeve\\asset-pip
eline\\config.php","line":64}}Script php artisan optimize handling the post-inst
all-cmd event returned with an error
[RuntimeException]
Error Output:
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-p
lugins] [--no-custom-installers] [--no-scripts] [--no-progress] [-v|vv|vvv|--ver
bose] [-o|--optimize-autoloader]
On OSX (Mountain Lion) and Windows 7 Home Premium shows me the same error message. How can I fix it now?
Please help me! Thanks in advance.
Seems like a codesleeve issue not laravel / composer.
Have you previously installed codesleeve?
Try removing that line from the app/config/app.php file
Remove codesleeve from composer.json
Run a composer update. Everything should be working now.
Re-add codesleeve to composer.json
Run another composer update
Re-add the codesleeve service provider to app/config/app.php
Run a composer dump-autoload
See how that goes with each step. I'm assuming the problem will still exist but the first 3-4 steps will be good.
Possibly look into upgrading laravel to 4.1 as I think the new codesleeve requires some stuff from this?
tl:dr its looking for Codesleeve\AssetPipeline\Filters\CssRewrite but cant find it.