Skip to content

Can't upgrade from 2.0.2 to 2.0.4 by the back-end "Web Setup Wizard" #3961

@woei66

Description

@woei66

Steps to reproduce

  1. composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition magento2 (I installed version 2.0.2)
  2. php bin/magento setup:install --base-url=http://load-balancer-domain/ --db-host=mysqldbhost --db-name=dbname --db-user=dbuser --db-password=dbpassword --admin-firstname=Magento --admin-lastname=User --admin-email=admin@email --admin-user=admin --admin-password=adminpassword --language=en_US --currency=USD --timezone=America/Los_Angeles --use-rewrites=1
  3. php bin/magento setup:config:set --http-cache-hosts=127.0.0.1:6082 (I installed varnish and it's backend port is 6082)
  4. php bin/magento setup:upgrade ==> pass without error
  5. php bin/magento setup:static-content:deploy en_US ==> pass without error
  6. php bin/magento setup:di:compile ==> pass without error
  7. php bin/magento indexer:reindex ==> pass without error
  8. php bin/magento cache:flush ==> pass without error
  9. php bin/magento cache:clean ==> pass without error
  10. varnish listen on port 80 and nginx listen on port 8000
  11. I installed on AWS and enable the Load balancer and it will redirect http(80) and https(443) to http(80)
  12. I visit the http://load-balancer-domain/admin_url/ and all functions works correctly except the "Web Setup Wizard".
  13. I check http://load-balancer-domain/ and all front-end works correctly.
  14. Today, I got the upgrade message and try to upgrade my magento 2.0.2 to 2.0.4 but I can't use the "Web Setup Wizard"
  15. I tested all functions and links of front-end and back-end and all works correctly except the "Web Setup Wizard"
    Expected result

  16. I had read the page http://devdocs.magento.com/guides/v2.0/comp-mgr/upgrader/upgrade-start.html

Actual result

2016-04-01 19_14_32

Ps. I tried to add " port_in_redirect off;" in nginx but it doesn't work.
Ps. I tried discussion of http://serverfault.com/questions/351212/nginx-redirects-to-port-8080-when-accessing-url-without-slash but failed.
Ps. I am not sure the problem is caused by nginx+vanrish or magento2 php code?
Ps. Is there a way to upgrade by command line? I can't see any guideline about this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions