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

laurencefass created an issue. See original summary.

Syntapse’s picture

full record of checking and updating..

starts and ends with composer outdated drupal/*.

result: drupal not upgraded.

composer outdated drupal/*
    1/16:       https://packages.drupal.org/8/drupal/provider-2015-3$9396149f5e10a4cfe1cd88781285d093e9c2f4dae8627ea4d8ec807b21741816.json
    2/16:       https://packages.drupal.org/8/drupal/provider-2016-3$f0c9aaf0345762840ceea5c74cfc0ab2f568e12a10b87b1f663b48095315c511.json
    3/16:       https://packages.drupal.org/8/drupal/provider-2017-2$1be70d2f2fb1a4ccadbb89df4b8b4c8c710c2bf745650f5b64fac0a325899b0e.json
    4/16:       https://packages.drupal.org/8/drupal/provider-2017-3$4bb2c31d704b0ee8fbe074e45cfa3aab6e428be32d1014555d686cb08cedc61f.json
    5/16:       https://packages.drupal.org/8/drupal/provider-2018-1$2da4c251e0d13354d09486cb1980517d05cd15fdf988e6b3a69df12359d7abd4.json
    6/16:       https://packages.drupal.org/8/drupal/provider-2018-2$759452e120f344b49eeeb8758b2fd52ea8725e1f3ca4989c0577413f15fb6c14.json
    7/16:       https://packages.drupal.org/8/drupal/provider-2015-2$de92d27b50e31b9fdcf075f396dd67ab972ad3e4f3f6169faf01725d6b06956b.json
    9/16:       https://packages.drupal.org/8/drupal/provider-2016-1$3a56d1f531ef9f936491f9e3423e373bcb57c6affb8021a3f64e5d1eb367fa61.json
    9/16:       https://packages.drupal.org/8/drupal/provider-2016-4$82e9399c63da34f1e78e0ab4b97c0bf15d3445da5d443e20a6813245855de3d3.json
    10/16:      https://packages.drupal.org/8/drupal/provider-2013-3$f9ae01aa8470b8a1458995c8e11268dce6b6503ecadad597d2e8edf09d407b3b.json
    11/16:      https://packages.drupal.org/8/drupal/provider-2015-4$1b1fad2fd427b83331a1cc28610036d6b37221134dccd4464576cfa77ffe33f7.json
    13/16:      https://packages.drupal.org/8/drupal/provider-2016-2$ae89e46a4c27a6634ad01ae77b5192da48004cd70492407cf5c4444de71f015b.json
    13/16:      https://packages.drupal.org/8/drupal/provider-2017-1$a17963e99418abd065ea453c85139c214fbb44b60a3a6cb72523dcba0348cbe1.json
    14/16:      https://packages.drupal.org/8/drupal/provider-2018-3$70a29cd7e969f8e896fde6db702d8fd4670937bb821ac0b8773d913f2c22f758.json
    15/16:      https://packages.drupal.org/8/drupal/provider-2018-4$c5b892e6b8e47f0365664ebd65f028113c7245d571fd6f325bf9a3b48673a135.json
    16/16:      https://packages.drupal.org/8/drupal/provider-2017-4$6816a838f949591d2f6e226a656c02c53a9cb31346272f93782fe45523257f7a.json
    Finished: success: 16, skipped: 0, failure: 0, total: 16
    1/11:       http://repo.packagist.org/p/provider-archived$d8c1197f7a742c7fda8a79cdc3e7363c1d1665abd8ae937246821520d727b244.json
    2/11:       http://repo.packagist.org/p/provider-2013$227f1557de90b68508d60263d82b81fe4ae8b3392916591dc9dfa1d4a7e099e8.json
    3/11:       http://repo.packagist.org/p/provider-latest$7c6dae1692328321350cf12213060579e4b2b8f46c8ee1324ed7760cc5282188.json
    4/11:       http://repo.packagist.org/p/provider-2014$0019ec1bb6e457dff021ae9adb1f0fc994ee023e2f27fec05eccbe7f78cfa199.json
    6/11:       http://repo.packagist.org/p/provider-2018-04$90d9464ca7afec840340058dc59a90bc694f94a2d64c5a4b5e101bccd2f27d6c.json
    6/11:       http://repo.packagist.org/p/provider-2018-01$49b65864360771dc269bc4145b945b60554ab9be5b186211588f682610f076b4.json
    7/11:       http://repo.packagist.org/p/provider-2015$5a4610ded88b6bb3fb635726a9994675ea9ca75fa8966958f25055c18c8fe2cf.json
    8/11:       http://repo.packagist.org/p/provider-2018-07$ed148c36c48dd695d7363ccee0d68d78899ab52016d9147c5fc9d58b0af1c968.json
    9/11:       http://repo.packagist.org/p/provider-2018-10$bd52f86eb24a7f6da962f907eb143946d267234a50381f286a16e7f3f3146591.json
    10/11:      http://repo.packagist.org/p/provider-2016$8f49542368480e873e15211a616baaaed75543270fd5718bd6a5e294befe0e11.json
    11/11:      http://repo.packagist.org/p/provider-2017$d7a044f1e6da1edc61335675dca44eef5a22096173d00953baa3452f3776bbbe.json
    Finished: success: 11, skipped: 0, failure: 0, total: 11
Do not run Composer as root/super user! See https://getcomposer.org/root for details
drupal/core 8.6.1 8.6.4 Drupal is an open source content management platform...
bash-4.4# composer update drupal/core --with-dependencies
    1/2:        http://repo.packagist.org/p/provider-latest$e5e77fc51c0679f0de6dcad5a250f2a00207bab8ed1fd6784bea98f16a39cce9.json
    2/2:        http://repo.packagist.org/p/provider-2018-10$e8af59c20abd7d7eeb7fc6c8f24d05945a5ecac1041ae386b0a87c0cc6caf293.json
    Finished: success: 2, skipped: 0, failure: 0, total: 2
Do not run Composer as root/super user! See https://getcomposer.org/root for details
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Updating dependencies (including require-dev)
    1/25:       https://codeload.github.com/minkphp/MinkSelenium2Driver/legacy.zip/8684ee4e634db7abda9039ea53545f86fc1e105a
    2/25:       https://codeload.github.com/webflo/drupal-core-require-dev/legacy.zip/75f73363165a450e9a2f9f1ce3930f148184c964
    3/25:       https://codeload.github.com/symfony/yaml/legacy.zip/291e13d808bec481eab83f301f7bff3e699ef603
    4/25:       https://codeload.github.com/symfony/event-dispatcher/legacy.zip/cc35e84adbb15c26ae6868e1efbf705a917be6b5
    5/25:       https://codeload.github.com/symfony/polyfill-php70/legacy.zip/6b88000cdd431cd2e940caa2cb569201f3f84224
    6/25:       https://codeload.github.com/symfony/translation/legacy.zip/bdbe940ed3ef4179f86032086c32d3a858becc0f
    7/25:       https://codeload.github.com/minkphp/Mink/legacy.zip/d5ee350c40baff5f331a05ebdbe1927345c9ac8b
    8/25:       https://codeload.github.com/symfony/routing/legacy.zip/94a3dd89bda078bef0c3bf79eb024fe136dd58f9
    9/25:       https://codeload.github.com/doctrine/common/legacy.zip/30e33f60f64deec87df728c02b107f82cdafad9d
    10/25:      https://codeload.github.com/symfony/serializer/legacy.zip/40b326ca34c113da5d626e87fb5d0627b8324098
    11/25:      https://codeload.github.com/doctrine/persistence/legacy.zip/c0f1c17602afc18b4cbd8e1c8125f264c9cf7d38
    12/25:      https://codeload.github.com/guzzle/psr7/legacy.zip/9f83dded91781a01c63574e387eaa769be769115
    13/25:      https://codeload.github.com/symfony/http-kernel/legacy.zip/31f20eb6e00467ae85501dd98770aef17cd9aba7
    14/25:      https://codeload.github.com/ralouphie/getallheaders/legacy.zip/5601c8a83fbba7ef674a7369456d12f1e0d0eafa
    15/25:      https://codeload.github.com/symfony/class-loader/legacy.zip/420458095cf60025eb0841276717e0da7f75e50e
    16/25:      https://codeload.github.com/symfony/validator/legacy.zip/39bcf80269aa504c5aa3f18c7c63938ed0b66f00
    17/25:      https://codeload.github.com/symfony/process/legacy.zip/abb46b909dd6ba0b50e10d4c10ffe6ee96dd70f2
    18/25:      https://codeload.github.com/Masterminds/html5-php/legacy.zip/cadcfaaa13153e0e8eb92c49a53e140cf1a85dea
    19/25:      https://codeload.github.com/symfony/polyfill-mbstring/legacy.zip/c79c051f5b3a46be09205c73b80b346e4153e494
    20/25:      https://codeload.github.com/symfony/http-foundation/legacy.zip/ea61dd57c4399b0b2a4162e1820cd9d0783acd38
    21/25:      https://codeload.github.com/symfony/polyfill-iconv/legacy.zip/97001cfc283484c9691769f51cdf25259037eba2
    22/25:      https://codeload.github.com/symfony/debug/legacy.zip/a2233f555ddf55e5600f386fba7781cea1cb82d3
    23/25:      https://codeload.github.com/php-fig/log/legacy.zip/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd
    24/25:      https://codeload.github.com/symfony/console/legacy.zip/8f80fc39bbc3b7c47ee54ba7aa2653521ace94bb
    25/25:      https://codeload.github.com/symfony/dependency-injection/legacy.zip/5be2d762b51076295a972c86604a977fbcc5c12b
    Finished: success: 25, skipped: 0, failure: 0, total: 25
Package operations: 42 installs, 22 updates, 0 removals
  - Updating psr/log (1.0.2 => 1.1.0): Loading from cache
  - Updating symfony/debug (v3.4.17 => v3.4.20): Loading from cache
  - Updating symfony/polyfill-mbstring (v1.9.0 => v1.10.0): Loading from cache
  - Updating symfony/console (v3.4.17 => v3.4.20): Loading from cache
  - Updating symfony/dependency-injection (v3.4.17 => v3.4.20): Loading from cache
  - Updating symfony/process (v3.4.17 => v3.4.20): Loading from cache
  - Installing ralouphie/getallheaders (2.0.5): Loading from cache
  - Updating guzzlehttp/psr7 (1.4.2 => 1.5.2): Loading from cache
  - Updating doctrine/persistence (v1.0.1 => v1.1.0): Loading from cache
  - Updating doctrine/common (v2.9.0 => v2.10.0): Loading from cache
  - Updating masterminds/html5 (2.3.0 => 2.4.0): Loading from cache
  - Updating symfony/class-loader (v3.4.17 => v3.4.20): Loading from cache
  - Updating symfony/polyfill-ctype (v1.9.0 => v1.10.0): Loading from cache
  - Updating symfony/polyfill-php70 (v1.9.0 => v1.10.0): Loading from cache
  - Updating symfony/http-foundation (v3.4.17 => v3.4.20): Loading from cache
  - Updating symfony/event-dispatcher (v3.4.17 => v3.4.20): Loading from cache
  - Updating symfony/http-kernel (v3.4.17 => v3.4.20): Loading from cache
  - Updating symfony/polyfill-iconv (v1.9.0 => v1.10.0): Loading from cache
  - Updating symfony/routing (v3.4.17 => v3.4.20): Loading from cache
  - Updating symfony/serializer (v3.4.17 => v3.4.20): Loading from cache
  - Updating symfony/translation (v3.4.17 => v3.4.20): Loading from cache
  - Updating symfony/validator (v3.4.17 => v3.4.20): Loading from cache
  - Installing symfony/phpunit-bridge (v3.4.17): Loading from cache
  - Installing sebastian/recursion-context (3.0.0): Loading from cache
  - Installing sebastian/exporter (3.1.0): Loading from cache
  - Installing sebastian/diff (2.0.1): Loading from cache
  - Installing sebastian/comparator (2.1.3): Loading from cache
  - Installing phpdocumentor/reflection-common (1.0.1): Loading from cache
  - Installing phpdocumentor/type-resolver (0.4.0): Loading from cache
  - Installing phpdocumentor/reflection-docblock (4.3.0): Loading from cache
  - Installing doctrine/instantiator (1.1.0): Loading from cache
  - Installing phpspec/prophecy (1.8.0): Loading from cache
  - Installing sebastian/version (2.0.1): Loading from cache
  - Installing sebastian/resource-operations (1.0.0): Loading from cache
  - Installing sebastian/object-reflector (1.1.1): Loading from cache
  - Installing sebastian/object-enumerator (3.0.3): Loading from cache
  - Installing sebastian/global-state (2.0.0): Loading from cache
  - Installing sebastian/environment (3.1.0): Loading from cache
  - Installing phpunit/php-text-template (1.2.1): Loading from cache
  - Installing phpunit/phpunit-mock-objects (5.0.10): Loading from cache
  - Installing phpunit/php-timer (1.0.9): Loading from cache
  - Installing phpunit/php-file-iterator (1.4.5): Loading from cache
  - Installing theseer/tokenizer (1.1.0): Loading from cache
  - Installing sebastian/code-unit-reverse-lookup (1.0.1): Loading from cache
  - Installing phpunit/php-token-stream (2.0.2): Loading from cache
  - Installing phpunit/php-code-coverage (5.3.2): Loading from cache
  - Installing phar-io/version (1.0.1): Loading from cache
  - Installing phar-io/manifest (1.0.1): Loading from cache
  - Installing myclabs/deep-copy (1.8.1): Loading from cache
  - Installing phpunit/phpunit (6.5.13): Loading from cache
  - Updating symfony/yaml (v3.4.17 => v3.4.20): Loading from cache
  - Installing mikey179/vfsstream (v1.6.5): Loading from cache
  - Installing jcalderonzumba/gastonjs (v1.2.0): Loading from cache
  - Installing behat/mink (dev-master d5ee350): Cloning d5ee350c40 from cache
  - Installing jcalderonzumba/mink-phantomjs-driver (v0.3.3): Loading from cache  - Installing squizlabs/php_codesniffer (3.3.2): Loading from cache
  - Installing drupal/coder (8.3.1): Cloning 29a25627e7 from cache
  - Installing instaclick/php-webdriver (1.4.5): Loading from cache
  - Installing behat/mink-selenium2-driver (dev-master 8684ee4): Cloning 8684ee4e63 from cache
  - Installing symfony/browser-kit (v4.1.6): Loading from cache
  - Installing fabpot/goutte (v3.2.3): Loading from cache
  - Installing behat/mink-browserkit-driver (1.3.3): Loading from cache
  - Installing behat/mink-goutte-driver (v1.2.1): Loading from cache
sebastian/global-state suggests installing ext-uopz (*)
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 (*)
behat/mink suggests installing behat/mink-zombie-driver (fast and JS-enabled headless driver for any app (requires node.js))
behat/mink suggests installing dmore/chrome-mink-driver (fast and JS-enabled driver for any app (requires chromium or google chrome))
Writing lock file
Generating autoload files
> DrupalProject\composer\ScriptHandler::createRequiredFiles
bash-4.4# composer outdated drupal/*
    1/3:        http://repo.packagist.org/p/provider-latest$6a1f5a9cf69000ee91bff615c67e6041ab5cc986b44ee62307a200b74058b6d7.json
    2/3:        http://repo.packagist.org/p/provider-2018-07$2c7abdbef38af1ab36886a2561c2313f5e05a71b2a503fead88382d502cef20c.json
    3/3:        http://repo.packagist.org/p/provider-2018-10$bfb4f561921e23e1ec6dad1b19b7dfa2335c081400ae43d8cf4590a904994ce7.json
    Finished: success: 3, skipped: 0, failure: 0, total: 3
Do not run Composer as root/super user! See https://getcomposer.org/root for details
drupal/core 8.6.1 8.6.4 Drupal is an open source content management platform...
Syntapse’s picture

Priority: Major » Minor

composer prohibits reports the following:

composer prohibits drupal/core:8.6.4
Do not run Composer as root/super user! See https://getcomposer.org/root for details
webflo/drupal-core-require-dev  8.6.1  requires  drupal/core (8.6.1)
#

updateing webflo alongside fixes problem.

cilefen’s picture

Version: 8.1.x-dev » 8.6.x-dev
Category: Bug report » Support request

There 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.

cilefen’s picture

Status: Active » Fixed

Ah, plainly it is because webflo/drupal-core-require-dev constrains drupal/core. Likely you must upgrade them both at the same time.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

prsnjtbarman’s picture

I 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 ....

cilefen’s picture

Hello @prsnjtbarman. This is a closed issue about a different topic. Open a new issue please.