i installed drupal 8.6.1 onto an alipine/nginx/php-fpm docker container using composer.
Core is now out of date. I am running update commands from the www/html directory but its having no effect. Am i running the commands from the correct folder?
composer update drupal/core --with-dependencies
drush updatedb
drush cr
bash-4.4# pwd
/var/www/html
bash-4.4# ls -la
total 364
drwxr-xr-x 7 nginx nginx 4096 Oct 5 09:53 .
drwxr-xr-x 1 root root 4096 Oct 3 14:12 ..
-rw-r--r-- 1 nginx nginx 357 Oct 3 14:15 .editorconfig
-rw-r--r-- 1 nginx nginx 746 Oct 3 14:13 .env.example
-rw-r--r-- 1 nginx nginx 3858 Oct 3 14:15 .gitattributes
-rw-r--r-- 1 nginx nginx 466 Oct 3 14:13 .gitignore
-rw-r--r-- 1 nginx nginx 1875 Oct 3 14:13 .travis.yml
-rw-r--r-- 1 nginx nginx 18046 Oct 3 14:13 LICENSE
-rw-r--r-- 1 nginx nginx 6502 Oct 3 14:13 README.md
-rw-r--r-- 1 nginx nginx 2341 Oct 3 14:16 composer.json
-rw-r--r-- 1 nginx nginx 278987 Dec 12 11:34 composer.lock
drwxrwxr-x 3 nginx nginx 4096 Oct 5 09:53 config
drwxr-xr-x 4 nginx nginx 4096 Oct 5 09:37 drush
-rw-r--r-- 1 nginx nginx 414 Oct 3 14:13 load.environment.php
-rw-r--r-- 1 nginx nginx 481 Oct 3 14:13 phpunit.xml.dist
drwxr-xr-x 3 nginx nginx 4096 Oct 5 09:37 scripts
drwxr-xr-x 51 nginx nginx 4096 Dec 12 11:34 vendor
drwxr-xr-x 9 nginx nginx 4096 Oct 5 09:37 web
i need to update several sites so any assistance or advice is appreciated.
Comments
Comment #2
Syntapse commentedfull record of checking and updating..
starts and ends with
composer outdated drupal/*.result: drupal not upgraded.
Comment #3
Syntapse commentedcomposer prohibits reports the following:
updateing webflo alongside fixes problem.
Comment #4
cilefen commentedThere isn't much to go on as we don't know what composer.json looks like nor which of the composer "create-project" base projects was used. If it was "drupal-project" or similar, I recommend asking in their issue queue.
Comment #5
cilefen commentedAh, plainly it is because webflo/drupal-core-require-dev constrains drupal/core. Likely you must upgrade them both at the same time.
Comment #7
prsnjtbarman commentedI got below lines in command line when run update from 8.6.2 > 8.6.11
composer update drupal/core --with-dependencies
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
> Drupal\Core\Composer\Composer::preAutoloadDump
> Drupal\Core\Composer\Composer::ensureHtaccess
Please help what i am missing ....
Comment #8
cilefen commentedHello @prsnjtbarman. This is a closed issue about a different topic. Open a new issue please.