cancel
Showing results for 
Search instead for 
Did you mean: 

Setup kills the session and logs out

Setup kills the session and logs out

So I installed Magento 2.0.5 CE on a nginx machine. All went smoothly. I am now able to log in to admin panel and browse around.

 

But as soon as i visit http://site.com/setup it redirects me to ../setup/index.php/session/unlogin, displaying the message "Access denied." and destroys the current session, forcing me to re-login to admin panel. Even after clearing all cache, restarting nginx and repeating above steps, same happens. Kinda stuck here now..

 

 

/var/log has:

2016/04/29 06:41:47 [error] 4808#0: *188 FastCGI sent in stderr: "Access to the script '/var/www/magento/setup/index.php/session/unlogin' has been denied (see security.limit_extensions)" while reading response header from upstream, client: *.*.*.246, server: site.com, request: "GET /setup/index.php/session/unlogin HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "www.site.com"
2016/04/29 06:41:48 [error] 4808#0: *188 FastCGI sent in stderr: "Access to the script '/var/www/magento/setup/index.php/session/unlogin' has been denied (see security.limit_extensions)" while reading response header from upstream, client: *.*.*.246, server: site.com, request: "GET /setup/index.php/session/unlogin HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "www.site.com"

Tried changing www.conf from

; security.limit_extensions = .php .php3 .php4 .php5

to

security.limit_extensions = .php .php3 .php4 .php5

No luck Smiley Sad