Closed (outdated)
Project:
Drupal core
Version:
9.3.x-dev
Component:
entity system
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
6 Sep 2018 at 12:26 UTC
Updated:
16 Jan 2022 at 18:16 UTC
Jump to comment: Most recent
Comments
Comment #2
cilefen commentedComment #3
larowlanDid you run update.php?
Comment #4
saweyer commentedjust displaying any admin page generated error,
so there was no obvious way to run update.php
or check system status or logs.
Comment #5
saweyer commentedI tried installing 8.6.0 again.
then running update.php from address bar, but got same error.
after trying a few times, I finally got update.php to run and install its db changes.
Comment #6
kartagisIn my case, I had to run
drush crbecause update.php threw permission error after clicking Continue.Comment #7
thoreauinsf commentedI get this exact same error when i upgrade to Drupal 8.6
No amount of drush cr or run updates helps.
Comment #8
Anonymous (not verified) commentedI get this exact same error when i upgrade to Drupal 8.6
Could you help me please ?
switched back to 8.5.4 -- things seem normal again.
Comment #9
saweyer commentedsince I had some open-ended time (in case I needed to revert), I decided to try upgrading again.
after upgrading to 8.6.0, I was able to "Run Updates" via Admin Toolbar interface
(the 8.5.6 version of Maintenance page still in browser).
however, the updates page displays the following errors:
Notice: Undefined index: #summary_attributes in template_preprocess_details()
(line 244 of core/includes/form.inc).
Warning: Invalid argument supplied for foreach() in Drupal\Core\Template\Attribute->__construct()
(line 81 of core/lib/Drupal/Core/Template/Attribute.php).
(note: I also updated pathauto and token modules at same time, and one of those also had a db update,
so maybe that's related -- I don't recall seeing those errors a few days ago when 1st trying to update only 8.6.0)
I then proceeded to apply the updates -- success. (Phew!)
Steve
Comment #10
cilefen commentedComment #11
morten-h commentedI had the exact same issue when upgrading from 8.5.6 to 8.6.1.
After reading through every sort of hint of a solution i found that this solved it for me:
- Be logged in before updating and keep the window open
- Update the site / push the new files
- Attempt to flush the cache with the direct link from the window you kept open
- Run update.php by using the direct link (while the rest of the site has the WSOD) or do it from the window you kept open.
I had 24 updates waiting and after running update.php the site was back in business with no errors or issues.
I was lucky that I could just rollback to the working 8.5.6 version easily tho, if you can't do that i'm not sure how to solve it. The first time trying to update I could not run update.php because i hadn't been logged in before updating.
Not sure if you can run it when setting $settings['update_free_access'] = TRUE in settings.php.
Maybe that's worth a try.
Comment #12
morrisem commentedFollowing the suggestions from others, I solved this problem AFTER installing 8.6.1 WITHOUT being logged in before updating as follows:
1. Use phpmyadmin to truncate all files beginning with "cache".
2. Edit settings.php to change $settings['update_free_access'] = FALSE to TRUE.
3. Run [siteurl]/update.php.
4. Switch $settings['update_free_access'] back to FALSE.
Everything seems to be working correctly now under 8.6.1.
Comment #13
imclean commented@morrisem, if you use drush you can do that with 2 commands:
That worked, but now we're getting the block error in the related issue: #2998096: Unknown column 'block_content_field_data.reusable' after upgrading from 8.5.7 to 8.6.0
Comment #14
Terebinth commentedThank you so much @morrisem. That worked like magic after spending the whole day with my site down and trying all sorts of solutions gotten online! Phew!!!!
Comment #19
cilefen commentedI am closing this support request because there have been no recent comments.
The Drupal Core issue queue is not the ideal place for support requests. Consider other sources of support.