Hi,
I am currently running CE 2.3.2 and am looking to upgrade to the latest version (2.4.7?). Is there a step by guide somewhere that includes both upgrading Magento, and installing the dependents that weren't required previously, eg. elasticsearch? Hosted on managed VPS (apache) with cPanel. I can find Magento only tutorials (the easy bit), but they always gloss over the extra bits you need. TIA
Solved! Go to Solution.
Here’s a simplified step-by-step guide to upgrading Magento from version 2.3.2 to 2.4.7 on a managed VPS with Apache and cPanel:
Step 1: Backup Your Store
1. Backup Files:
- Use cPanel’s File Manager or an FTP client to download all files from your Magento root directory.
2. Backup Database:
- Use phpMyAdmin in cPanel to export your database.
Step 2: Check System Requirements
Ensure your server meets the requirements for Magento 2.4.7:
- PHP 7.4, 8.1, or 8.2
- MySQL 8.0 or MariaDB 10.4+
- Elasticsearch 7.9+
Step 3: Upgrade PHP Version
1. Change PHP Version in cPanel:
- Log in to cPanel.
- Go to MultiPHP Manager.
- Select your domain.
- Set the PHP version to 7.4, 8.1, or 8.2.
Step 4: Install Elasticsearch
1. Access your VPSThis step requires some command line interaction, but it’s necessary)
- Use an SSH client (like PuTTY) to connect to your server.
2. Install Elasticsearch:
- Follow the [official Elasticsearch installation guide](https://www.elastic.co/guide/en/elasticsearch/reference/current/install-elasticsearch.html) for your operating system.
Step 5: Upgrade Magento
1. Put Magento in Maintenance Mode:
- In your Magento admin panel, go to System > Maintenance and enable maintenance mode.
2. Upgrade Magento via Composer:
- This step is usually done via SSH and Composer. If you’re not comfortable doing this, you may need your hosting provider or a developer to assist.
3. Clear Generated Files:
- Similarly, this involves command line interaction to clear and regenerate Magento’s generated files.
4. Run Magento Upgrade and Clean Cache:
- Typically done via SSH to perform necessary upgrade commands.
5. Disable Maintenance Mode:
- Go back to System > Maintenance in your Magento admin panel and disable maintenance mode.
Step 6: Verify the Upgrade
1. Check Magento Admin and Storefront:
- Log in to your Magento admin panel and check if it’s working correctly.
- Browse your storefront to ensure it’s functioning properly.
2. Test Key Functionalities:
- Verify that key functions like checkout, product pages, and admin operations are working as expected.
Step 7: Post-Upgrade Tasks
1. Update Cron Jobs:
- Ensure your Magento cron jobs are correctly configured. This might require some command-line interaction.
2. Review Security Settings:
- Check for any security patches or updates that need to be applied.
Additional Resources
- Magento Official Documentation: Check Magento’s official upgrade guides and documentation for detailed instructions and troubleshooting tips.
Hosting Provider Support: If you're unsure about any steps, consider contacting your hosting provider’s support team for assistance.
If you are not a Magento developer, I'd suggest seeking help from them to get you through the seamless upgrade.
Parece que você está procurando um guia completo para atualizar o Magento, incluindo a instalação de dependências como Elasticsearch, e está hospedando-o em um VPS gerenciado com cPanel. Embora os tutoriais exclusivos do Magento sejam abundantes, encontrar um que cubra todas as etapas adicionais necessárias pode realmente ser um desafio.
Você pode considerar reunir informações de várias fontes. Procure guias de atualização do Magento que cobrem o salto da versão 2.3.2 para 2.4.7 especificamente. Em seguida, procure tutoriais ou documentação sobre como configurar o Elasticsearch em um servidor com Apache e cPanel.
Alternativamente, entrar em contato com fóruns ou comunidades Magento pode render conselhos mais específicos e personalizados de usuários experientes que passaram por atualizações semelhantes. Boa sorte com seu processo de atualização!
Here’s a simplified step-by-step guide to upgrading Magento from version 2.3.2 to 2.4.7 on a managed VPS with Apache and cPanel:
Step 1: Backup Your Store
1. Backup Files:
- Use cPanel’s File Manager or an FTP client to download all files from your Magento root directory.
2. Backup Database:
- Use phpMyAdmin in cPanel to export your database.
Step 2: Check System Requirements
Ensure your server meets the requirements for Magento 2.4.7:
- PHP 7.4, 8.1, or 8.2
- MySQL 8.0 or MariaDB 10.4+
- Elasticsearch 7.9+
Step 3: Upgrade PHP Version
1. Change PHP Version in cPanel:
- Log in to cPanel.
- Go to MultiPHP Manager.
- Select your domain.
- Set the PHP version to 7.4, 8.1, or 8.2.
Step 4: Install Elasticsearch
1. Access your VPSThis step requires some command line interaction, but it’s necessary)
- Use an SSH client (like PuTTY) to connect to your server.
2. Install Elasticsearch:
- Follow the [official Elasticsearch installation guide](https://www.elastic.co/guide/en/elasticsearch/reference/current/install-elasticsearch.html) for your operating system.
Step 5: Upgrade Magento
1. Put Magento in Maintenance Mode:
- In your Magento admin panel, go to System > Maintenance and enable maintenance mode.
2. Upgrade Magento via Composer:
- This step is usually done via SSH and Composer. If you’re not comfortable doing this, you may need your hosting provider or a developer to assist.
3. Clear Generated Files:
- Similarly, this involves command line interaction to clear and regenerate Magento’s generated files.
4. Run Magento Upgrade and Clean Cache:
- Typically done via SSH to perform necessary upgrade commands.
5. Disable Maintenance Mode:
- Go back to System > Maintenance in your Magento admin panel and disable maintenance mode.
Step 6: Verify the Upgrade
1. Check Magento Admin and Storefront:
- Log in to your Magento admin panel and check if it’s working correctly.
- Browse your storefront to ensure it’s functioning properly.
2. Test Key Functionalities:
- Verify that key functions like checkout, product pages, and admin operations are working as expected.
Step 7: Post-Upgrade Tasks
1. Update Cron Jobs:
- Ensure your Magento cron jobs are correctly configured. This might require some command-line interaction.
2. Review Security Settings:
- Check for any security patches or updates that need to be applied.
Additional Resources
- Magento Official Documentation: Check Magento’s official upgrade guides and documentation for detailed instructions and troubleshooting tips.
Hosting Provider Support: If you're unsure about any steps, consider contacting your hosting provider’s support team for assistance.
If you are not a Magento developer, I'd suggest seeking help from them to get you through the seamless upgrade.
Thank you!