Magento

Maintain Magento modules

List all loaded modules: php7.2 /var/www/domain.nl/web/bin/magento module:status Disable specific module: php7.2 /var/www/domain.nl/web/bin/magento module:disable VendorName_ModuleName Update database schema php7.2 /var/www/domain.nl/web/bin/magento setup:upgrade

Read More »

Change Magento hostname

First run the following MySQL queries: UPDATE core_config_data SET `value` = ‘http://www.newdomain.nl/’ WHERE core_config_data.path = ‘web/unsecure/base_url’; UPDATE core_config_data SET `value` = ‘https://www.newdomain.nl/ ‘ WHERE core_config_data.path

Read More »

Create Magento admin account from command shell

You can simplify the process of creating an admin account by running the following command from the CLI: php magento admin:user:create –admin-user=”admin” –admin-password=”YourSecretPassword” –admin-email=”jouw@emailadres.nl” –admin-firstname=”Piet” –admin-lastname=”Von Bach”

Read More »

Update Magento from shell

First we set the shop to maintenance mode: php magento maintenance:enable To update Magento to version 2.3.0 run the following command: composer require magento/product-community-edition 2.3.0

Read More »