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
=-=
what do you mean by "manual method" ?
As per the instructions at
As per the instructions at https://www.drupal.org/node/1223018
Those are for D7, ...
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.
Hmm maybe the post regarding
Hmm maybe the post regarding the security issue should be updated as that is the page it links too telling you how to update.
Already requested, so far no respons!
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
Unfortunately no joy.
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?
Drush / Composer
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/
is it safe?
no I didn't to be honest. Is it safe to use composer / drush for updating a manually installed drupal installation?
As far as I know, updating
As far as I know, updating and the way of installation aren't related. :)
tried using composer, no
tried using composer, no apparent error raised but no changes to the version installed.
I have actually just ran
I have actually just ran "composer update" on the installed drupal and received the following outputbut still reports that it is 8.2.6
Having the exact same issue.
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".