
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.
@woei66 do you have the recommended cron scripts set?
TO upgrade by command line:
composer require magento/product-community-edition 2.0.4 --no-updatecomposer updatedi and generation folders. bin/magento setup:upgradeHi @woei66 Working on documentation now. It'll be available soon; I'll let you know. Meanwhile, Maddy's steps should work.
@mazhalai
it works. thank you.
I write down my steps for users who has the same issue:
composer require magento/product-community-edition 2.0.4 --no-update
composer update
rm -rf var/di var/generation
php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento indexer:reindex
EDIT: Apologies if this is out of place/off topic... I'm inexperienced with GitHub and this was the closest thing I could find...
Trying to upgrade from 2.0.2 to 2.0.4, auth keys in place, cron set up, but my System Upgrade screen just hangs with the Checking for a new version spinner going... so I thought I'd try the CLI listed here.
When I take the above steps I get:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package magento/product-community-edition could not be found in any version, there may be a typo in the package name.
Potential causes:
.... I'm running composer from /update/vendor/composer/composer/bin/
like:
php composer
@blizam have you set you repository to point to repo.magento.com? Also, have you saved the private and public keys?
/public_html/update/composer.json
has this:
"repositories": [
{
"type": "composer",
"url": "https://repo.magento.com/"
}
],
And yes, in my backend admin, System > Web Setup Wizard > System Configuration -- I've got my public and private keys to my magento.com account saved
What about in Magento's root composer.json file? not the one in update folder. Also, have you set cronjobs to post to a log as recommended. Any errors in these logs?
there is magic in the air... I think my issue is with my cron settings... after manually running the cron commands I'm now able to proceed in the Web Setup Wizard
and yes, the root composer.json has the correct repo URL
Closing since @woei66 and @blizam 's issues have been resolved. Please feel free to open a new one if issues arise.
Most helpful comment
@woei66 do you have the recommended cron scripts set?
TO upgrade by command line:
composer require magento/product-community-edition 2.0.4 --no-updatecomposer updatediandgenerationfolders.bin/magento setup:upgrade