Drupal 8 update.php/selection - Access Denied

Events happening in the community are now at Drupal community events on www.drupal.org.
odili's picture

I wanted to update d8 from 8.0.1 to 8.0.2, but i couldn't run the update.php due to the error "Access Denied". Am logged in as user1 which should have all required privileges.Following the drupal 8 update guide I deleted core and vendor folders with all the files in the drupal root from the the 8.0.1 install, and replaced the same files and folders from the newly downloaded 8.0.2 version.

What could be the solution to this problem?

My Environment:
OSX El Captain, nginx 1.8 using the latest config from https://www.nginx.com/resources/wiki/start/topics/recipes/drupal/, PHP 7.0.2

AttachmentSize
eve_dev_update_php_selection.jpg32.77 KB

Comments

Check File Permissions

mesch's picture

Verify your file permissions. It's possible when you manually replaced the files you didn't give nginx and/or php-fpm the required permissions.

No success yet at full permission

odili's picture

I had to give full permission just to experiment (sudo chmod -R a+w *), am running local so quite safe, but same result.

Use Perusio's config rather

Garrett Albright's picture

Use Perusio's config rather than the flawed one from Nginx's site. Among various other improvements, it also allows for whitelisting update.php (and install.php) so you can access them from a browser.

Alternatively, use a command line tool like Drush or Drupal Console.

Nginx

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: