Are you looking to better manage your Magento 2 ecommerce platform? Our Magento 2 help is right here for you with the answers to the most common questions!
Are you in the market for a complex yet powerful, an open-source Content Management System (CMS) ecommerce platform like Magento 2 will satisfy your requirements. Magento brings you endless customization and scalability possibilities for your business.
How do I upgrade to Magento 2?
Learn how to create a manual backup using the command line in our related help article.
It would be best if you put your store in maintenance mode while upgrading. Use the command below to enable it:
php bin/magento maintenance:enable
Check Composer version using the below command:
composer -V
Magento 2.4.2 introduces Composer 2 support. Magento 2.4.1 must first be upgraded to a version of Magento compatible with Composer 2. Hence, if you find that your Composer version has not been upgraded, run the following command:
mkdir -p ~/.local/bin ; cd ~/.local/bin ; wget https://getcomposer.org/composer-2.phar ; chmod 755 ./composer-2.phar ;mv composer-2.phar composer ; echo "export PATH="$HOME/.local/bin:$PATH"" >> ~/.bashrc ; echo "COMPOSER 2 INSTALLED" ; source ~/.bashrc ; composer -V
Refer to our Magento help article on how to flush the Magento cache, or follow the steps in the command lines below:
php bin/magento cache:flush rm -rf var/cache/* rm -rf var/page_cache/* rm -rf var/generation/*
Run the upgrade module and complete the Magento 2 setup upgrade. Use the command below:
php bin/magento setup:upgrade
php bin/magento setup:di:compile php bin/magento indexer:reindex
php bin/magento maintenance:disable
The overall Magento 2 setup and installation process has been improved. Now you may check the Magento version using the following command:
php bin/magento --version
Yes, indeed! WebP is a suite of tools used to support the WebP image format, which was designed for speed. You may download the suite of tools via the following URL:
https://developers.google.com/speed/webp/download
In most cases, it is best to have all of them installed except for vwebp, since that's just a WebP file viewer, which isn't needed on a server.
In a common setup, the Admin URL immediate follows the base URL. However, there are ways to the store Admin URL in other paths, including for it to be located in one directory below the root.
Changing the Magento 2 Admin URL path to another location is possible. Magento allows you to customize the Admin URL for your store in three ways.
<?php return [ 'backend' => [ 'frontName' => 'admin'
php bin/magento setup:config:set –backend-frontname=“newadminurl”
We keep 30 days of incremental backups as a standard practice. So, despite the fact that your site will be supported naturally, as an admin, you have the option to make a backup of your site whenever you prefer.
Please note that backups are run for live sites, developer sites, and staging sites.
Log in to your Client Portal, and from the main menu click Plans.
Please choose your desired plan, then click its name or select Plan Dashboard from the menu.
Check out this informative video about the Client Portal!
Click on the site name that you want to create the backup.
From the main menu click on Backups.
Click Create Backup.
Click Create Backup again to confirm.
Check out this article from our Nexcess Knowledge Base to find out how to create a manual backup via the command line.
Magento requires Elasticsearch as a catalog search engine, starting with version 2.4.
Refer to our Magento 2 help article for details about installing Elasticsearch and initial configuration.
If Magento 2 fails to meet your speed expectations, you can try to:
Modules can be enabled or disabled in Magento 2 by executing a command from the Magento root. Use the following command to list all modules if you do not know the exact name of your module:
php bin/magento module:status
To enable or disable available modules, run the below commands:
magento module:enable [-c|--clear-static-content] [-f|--force] [--all] <module-list> magento module:disable [-c|--clear-static-content] [-f|--force] [--all] <module-list>
Enable module:
php bin/magento module:enable Vendor_ModuleName
Disable module:
php bin/magento module:disable Vendor_ModuleName
Run the following command to update the database schema if you enabled one or more modules:
php bin/magento setup:upgrade
Refer to the How to schedule cron jobs in Nexcess Cloud article.
Useful YouTube > Nexcess Channel Links
Need more help? The Applications > Magento 2 and Magento 1 sections within the Nexcess Knowledge Base are important resources for those seeking additional knowledge. Or, check out our related articles below.
If you need any assistance with the above-mentioned, don't hesitate to reach out. For 24-hour assistance any day of the year, Nexcess customers can contact our support team by email or through your Client Portal.
Not a Nexcess customer yet? Check out our fully managed hosting solutions. The option to chat with an expert is also available.
Our award-winning customer care team is here for you.
Contact Support