cancel
Showing results for 
Search instead for 
Did you mean: 

Web Setup Wizard not work

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Web Setup Wizard not work

I am using Mageto version 2.1.15 , when I go to system === Web Setup Wizard it show me this message : 

 

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

how I can sign into admin account

 

thank you for your support

 

5 REPLIES 5

Re: Web Setup Wizard not work

Hi @Mohammed_qendwan

this is a known issue. will be fixed in 2.3

 

https://github.com/magento/magento2/blob/2.2-develop/app/code/Magento/Backend/Model/Setup/MenuBuilde...

/**
     * Removes 'Web Setup Wizard' from the menu if doc root is pub and no setup url variable is specified.
     *
     * @param Builder $subject
     * @param Menu $menu
     * @return Menu
     * @SuppressWarnings(PHPMD.UnusedFormalParameter)
     * @since 100.1.0
     */
    public function afterGetResult(Builder $subject, Menu $menu)
    {
        if ($this->docRootLocator->isPub()) {
            $menu->remove('Magento_Backend::setup_wizard');
        }
        return $menu;
    }
}


====================================================== FIX:

 you can:

 

  1. comment that function.
  2. create nginx rewrite logic.
  3. using manual redirect:

 https://github.com/magento/magento2/issues/4159#issuecomment-244483087

 

  don't forget that you must have 2 doc roots for your website and setup.

    

 

## Set Magento root folder
set $MAGE_ROOT /var/www/html;
## Set main public directory /pubroot $MAGE_ROOT/pub;

 

location ~ ^/(setup|update) {    root $MAGE_ROOT;

     

------------------------------------------------
If you've found one of my answers useful, please give"Kudos" or "Accept as Solution"

Re: Web Setup Wizard not work

Hello @mohammed_qendwan

 

As you noted this has been confirmed as an issue on Github here: github.com/magento/magento2/issues/5247

However this has been closed as it is a duplicate of: https://github.com/magento/magento2/issues/4159

This issue thread also details a workaround until the fix is merged into the next Magento release, which is to switch your webserver root to that of the Magento root path, not the /pub subdirectory.

I have verified this works on CE 2.1 (you need to clean cache after this change), however I would personally not recommend using this workaround on a production environment as is less secure.

Manish Mittal
https://www.manishmittal.com/

Re: Web Setup Wizard not work

still I couldn't solve the problem 

from where I can 

sign into your Admin account 

 

 

Re: Web Setup Wizard not work


@mohammed_qendwan wrote:

still I couldn't solve the problem 

from where I can 

sign into your Admin account 

 

 



First make sure you have full admin access, then add https (if not secured). After url place "/setup".
Regards : Muhammad Noman Irfan

Re: Web Setup Wizard not work

Please check my video : https://www.loom.com/share/e956971ddb3040668dcf3d61981cfde7/

and give me kudos if you have done

Regards : Muhammad Noman Irfan