Problem/Motivation
When attempting to update from Drupal 8.4.5 to 8.5.0, I see the error "In order to run update.php you need to either be logged in as admin or have set $settings['update_free_access'] in your settings.php." when visiting the update.php page.
I have attempted to run these updates as both a user with the "Administrator role", and when logged in as user 1, and I'm still getting the error.
In further testing, this seems to be happening only on my Acquia environments, and not on my local site.
Proposed resolution
* TBD
Remaining tasks
* Find out why this is happening
* Fix it, if necessary
User interface changes
* See https://www.drupal.org/project/drupal/issues/2955673
API changes
* None (probably)
Data model changes
* None (probably)
Comments
Comment #2
jenlamptonFor anyone else having this issue, the work-around is to run the database updates on the Acquia environment using drush aliases.
Comment #3
cilefen commentedI’ve noticed the same, but wasn’t motivated to investigate. Did you open a ticket with Acquia?
Comment #4
cilefen commentedCheck for Varnish HTTP headers.
Comment #5
cilefen commentedDocumented: https://docs.acquia.com/acquia-cloud/known-issues
Comment #6
cilefen commented