magento2: Magento 2.3. | Can't Access Web Setup Wizard | Welcome to Magento Admin, your online store headquarters. To use the Magento setup wizard sign into your Admin account and navigate to System => Tools => Web Setup Wizard

Preconditions

Magento 2.3

Steps to reproduce

  1. Try to access Web Setup Wizard

Expected result

Access to Web Setup Wizard

Actual result

  1. ?app=setup Response 302
  2. setup Response 301
  3. setup/ Response 302
  4. setup/index.php/session/unlogin Response 401

Welcome to Magento Admin, your online store headquarters. To use the Magento setup wizard sign into your Admin account and navigate to System => Tools => Web Setup Wizard`

I am on Magento 2.3. I can’t access web setup wizard. This issue was supposed to be fixed (see issue https://github.com/magento/magento2/issues/5247)

@tlc033 fix does not work for me. Did a genius managed to fix that? A step by step would be much appreciated!

Solution for me was: Base URLs (Secure) -> Use Secure URLs on Storefront -> Yes -> Use Secure URLs in Admin -> Yes -> Enable HTTP Strict Transport Security (HSTS) -> Yes -> Upgrade Insecure Requests -> Yes php bin/magento cache:clean https://yadi.sk/i/iPJi4k7X3S86Za I SOLVE THIS.

Also, there is no /setup folder in my /pub directory. Does the Symlink solution would still work? @TechnoBuddhist

What worked for me…

ln -s [magento-install-dir]/setup [magento-install-dir]/pub/setup

After installing mods/updates, remove the link

rm [magento-install-dir]/setup

If the symbolic link doesn’t work for you, check permissions and ownership(mine was set to nobody - the apache.http user)

chown [magento-user]:[magento-user] [magento-install-dir]/setup/*

Hope this helps!

See issue: https://github.com/magento/magento2/issues/5247

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15 (3 by maintainers)

Most upvoted comments

Ok you can close the issue. I fixed it. Solution for me was: Base URLs (Secure) -> Use Secure URLs on Storefront -> Yes -> Use Secure URLs in Admin -> Yes -> Enable HTTP Strict Transport Security (HSTS) -> Yes -> Upgrade Insecure Requests -> Yes php bin/magento cache:clean + php bin/magento cache:flush.

If you do not do both or setup:upgrade instead, it will not work. Also, I don’t know if it has an impact but I switched from default to developer mode.