I am currently trying to update 2 drupal sites from 8.2.6 to 8.2.7. Due to the setup on the server I have had to try the manual method (no ftp). Unfortunately I have not had much success with either.

Site 1

On the first site everything appears to be fine until I load domain.com/update.php. Once I click on continue on the overview stage it attempts to open domain.com/update.php/selection but this results in a 404 error message.

To be honest I am not too fussed with this site as it is being used to test things out and has no content but I would like to know why this might be happening. Drupal was working fine prior to replacing the content on the server.

Site 2

This site will load update.php butinstead of a page cannot be displayed after clicking continue I am presented with the error message:

The website encountered an unexpected error. Please try again later.

I have checked my log files and the only error currently being thrown is:

Uncaught PHP Exception Drupal\Component\Plugin\Exception\PluginException: "Plugin (text_with_summary) instance class "Drupal\text\Plugin\Field\FieldType\TextWithSummaryItem" does not exist." at /usr/share/nginx/xxx/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php line 97

On this site I have created some views etc. I attempted to instal 1 module but didnt activate it as I found it was requiring a dev version of Drupal. Again this site was working perfectly until I attempted the upgrade.

This site has a decent amount of content which I would prefer not to lose (of course I can restore from a backed up database but would prefer getting this working as is otherwise the problem will likely returnwhen I try to update again).

Can anyone point me in the right direction on how to fix these 2 sites. I have checked the documentation and the FAQ for the install but unable to find anything that seems to help.

Both sites are hosted on the same server and utilises:

Nginx: 1.10.3
Postgres
PHP: 7.1.2

Comments

VM’s picture

what do you mean by "manual method" ?

Coffear’s picture

As per the instructions at https://www.drupal.org/node/1223018

mmjvb’s picture

use the instructions for D8 !

See https://www.drupal.org/node/2861413

Now also reported to the last person who edited SA-CORE-2017-001, Michael Hess.

Coffear’s picture

Hmm maybe the post regarding the security issue should be updated as that is the page it links too telling you how to update.

mmjvb’s picture

As mentioned, reported it through the contact page. So far only acknowledgement, no change in the documents.
It needs to be addressed in both the Security Advisory and the Release announcement.

EDIT:
Security Advisory has been corrected by Michael
Release announcement still needs some work.

EDIT:
Release announcement corrected by https://www.drupal.org/u/cilefen

Coffear’s picture

Unfortunately no joy. this results in the same error. Replacing all files back to the 8.2.6 bring the site back up. Of course this leaves the site vulnerable (this is in relation to site 2 btw).

I have only had Drupal installed for 2 weeks or so and this is the first foray into updating it. Is this the usual pain in updating Drupal. Should I have installed using a differing method than uploading thetar file and extracting it?

hamza.gt’s picture

Did you try updating through Drush or Composer? Might be worth a try. Check this out: https://www.cloudways.com/blog/update-drupal-8-core/

Coffear’s picture

no I didn't to be honest. Is it safe to use composer / drush for updating a manually installed drupal installation?

hamza.gt’s picture

As far as I know, updating and the way of installation aren't related. :)

Coffear’s picture

tried using composer, no apparent error raised but no changes to the version installed.

Coffear’s picture

I have actually just ran "composer update" on the installed drupal and received the following outputbut still reports that it is 8.2.6

# composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 30 installs, 33 updates, 1 removal
- Removing zendframework/zend-hydrator (1.0.0)
- Removing composer/installers (v1.0.21)
- Installing composer/installers (v1.2.0) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating wikimedia/composer-merge-plugin (v1.3.1 => v1.4.0) Downloading: 100 %
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating symfony/class-loader (v2.8.16 => v2.8.18) Downloading: 100% > Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating psr/log (1.0.0 => 1.0.2) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating symfony/debug (v2.8.16 => v2.8.18) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating symfony/console (v2.8.16 => v2.8.18) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating symfony/dependency-injection (v2.8.16 => v2.8.18) Downloading: 100% > Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating symfony/http-foundation (v2.8.16 => v2.8.18) Downloading: 100% > Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating symfony/event-dispatcher (v2.8.16 => v2.8.18) Downloading: 100% > Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating symfony/http-kernel (v2.8.16 => v2.8.18) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating symfony/routing (v2.8.16 => v2.8.18) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating symfony/serializer (v2.8.16 => v2.8.18) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating symfony/translation (v2.8.16 => v2.8.18) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating symfony/validator (v2.8.16 => v2.8.18) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating symfony/process (v2.8.16 => v2.8.18) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating doctrine/inflector (v1.0.1 => v1.1.0) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating doctrine/collections (v1.3.0 => v1.4.0) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating doctrine/cache (v1.4.2 => v1.6.1) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating doctrine/common (v2.5.1 => v2.5.3) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating zendframework/zend-stdlib (2.7.3 => 3.1.0) Downloading: 100% > Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating zendframework/zend-escaper (2.5.1 => 2.5.2) Downloading: 100% > Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating zendframework/zend-feed (2.5.2 => 2.7.0) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating egulias/email-validator (1.2.9 => 1.2.14) Downloading: 100% > Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating masterminds/html5 (2.2.1 => 2.2.2) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating psr/http-message (1.0 => 1.0.1) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating zendframework/zend-diactoros (1.1.3 => 1.3.10) Downloading: 100% > Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating composer/semver (1.0.0 => 1.4.2) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating paragonie/random_compat (1.1.1 => v2.0.10) Downloading: 100% > Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating guzzlehttp/psr7 (1.3.1 => 1.4.2) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating guzzlehttp/promises (1.2.0 => v1.3.1) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating guzzlehttp/guzzle (6.2.1 => 6.2.3) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing symfony/dom-crawler (v3.2.6) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing symfony/css-selector (v2.8.18) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing symfony/browser-kit (v3.2.6) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing fabpot/goutte (v3.2.1) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing behat/mink (v1.7.1) Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing behat/mink-browserkit-driver (v1.3.2) Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing behat/mink-goutte-driver (v1.2.1) Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing jcalderonzumba/gastonjs (v1.0.3) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating twig/twig (v1.24.0 => v1.32.0) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing jcalderonzumba/mink-phantomjs-driver (v0.3.3) Downloading: 100% > Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing mikey179/vfsstream (v1.6.4) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Updating symfony/yaml (v2.8.16 => v2.8.18) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing sebastian/version (1.0.6) Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing sebastian/global-state (1.1.1) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing sebastian/recursion-context (1.0.5) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing sebastian/exporter (1.2.2) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing sebastian/environment (1.3.8) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing sebastian/diff (1.4.1) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing sebastian/comparator (1.2.4) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing doctrine/instantiator (1.0.5) Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing phpunit/php-text-template (1.2.1) Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing phpunit/phpunit-mock-objects (2.3.8) Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing phpunit/php-timer (1.0.9) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing phpunit/php-file-iterator (1.4.2) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing phpunit/php-token-stream (1.4.11) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing phpunit/php-code-coverage (2.2.4) Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing webmozart/assert (1.2.0) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing phpdocumentor/reflection-common (1.0) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing phpdocumentor/type-resolver (0.2.1) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing phpdocumentor/reflection-docblock (3.1.1) Downloading: 100% > Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing phpspec/prophecy (v1.7.0) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Installing phpunit/phpunit (4.8.35) Downloading: 100%
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
behat/mink suggests installing behat/mink-selenium2-driver (slow, but JS-enabled driver for any app (requires Selenium2))
behat/mink suggests installing behat/mink-zombie-driver (fast and JS-enabled hea dless driver for any app (requires node.js))
sebastian/global-state suggests installing ext-uopz (*)
phpunit/phpunit-mock-objects suggests installing ext-soap (*)
phpunit/php-code-coverage suggests installing ext-xdebug (>=2.2.1)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
Writing lock file
Generating autoload files
> Drupal\Core\Composer\Composer::preAutoloadDump
> Drupal\Core\Composer\Composer::ensureHtaccess

afarino’s picture

Having the exact same issue. Removing all top level files, core and vendor folder then replacing with new 8.2.7 versions. Navigating to update.php and clicking next results in an "unexpected error".