I would like to update my Magento 2.1.2 version to the new Magento 2.1.3 via SSH. I have established a connection with my server, but am not sure how to continue.
The internet provides me commands on how to update from 2.0.x to 2.1.x, but I do not know how to change these such that they perform the desired 2.1.2 to 2.1.3 update.
Also, it seems that the commands needed differ depending wether or not my Magento was originally installed with sample data. I cannot remember if my version was installed with sample data.
Commands found
without sample data
1 composer require magento/product-community-edition 2.1.0 --no-update
2 Composer update
3 php bin/magento setup:upgrade
with sample data
1 composer require magento/product-community-edition 2.1.0 --no-update
2 composer require magento/module-bundle-sample-data:100.1.0 magento/module-widget-sample-data:100.1.0 magento/module-theme-sample-data:100.1.0 magento/module-catalog-sample-data:100.1.0 magento/module-customer-sample-data:100.1.0 magento/module-cms-sample-data:100.1.0 magento/module-catalog-rule-sample-data:100.1.0 magento/module-sales-rule-sample-data:100.1.0 magento/module-review-sample-data:100.1.0 magento/module-tax-sample-data:100.1.0 magento/module-sales-sample-data:100.1.0 magento/module-grouped-product-sample-data:100.1.0 magento/module-downloadable-sample-data:100.1.0 magento/module-msrp-sample-data:100.1.0 magento/module-configurable-sample-data:100.1.0 magento/module-product-links-sample-data:100.1.0 magento/module-wishlist-sample-data:100.1.0 magento/module-swatches-sample-data:100.1.0 magento/sample-data-media:100.1.0 magento/module-offline-shipping-sample-data:100.1.0 --no-update
3 Composer update
4 php bin/magento setup:upgrade
In concrete, my questions are,
- How do I figure out wether or not I initially installed with sample data?
- How do I change the above commands such that I obtain the desired result?