Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Yireo_GoogleTagManager2 #243

Closed
dmitrii-fediuk opened this issue Jun 29, 2023 · 2 comments
Closed

Install Yireo_GoogleTagManager2 #243

dmitrii-fediuk opened this issue Jun 29, 2023 · 2 comments

Comments

@dmitrii-fediuk
Copy link
Contributor

I need it for #241

@dmitrii-fediuk
Copy link
Contributor Author

dmitrii-fediuk commented Jun 29, 2023

Duplicated from #241 (comment)

Yireo_GoogleTagManager2 requires Magento ≥ 2.3.7 and PHP ≥ 7.4: github.com/yireo/Yireo_GoogleTagManager2#requirements

We have Magento 2.3.2 and PHP 7.2.

So the upgrade path is quite complex:

  1. Upgrade Magento 2.3.2 → 2.3.6
  2. Upgrade PHP from 7.2 → 7.3
  3. Upgrade Magento 2.3.6 → 2.3.7
  4. Upgrade PHP 7.3 → 7.4
  5. Install Yireo_GoogleTagManager2

@dmitrii-fediuk
Copy link
Contributor Author

sudo service crond stop
sudo service nginx stop
sudo service php-fpm stop
bin/magento maintenance:enable
php -d memory_limit=-1 /usr/local/bin/composer require yireo/magento2-googletagmanager2:*
rm -rf var/di var/generation generated/*
bin/magento setup:upgrade
bin/magento cache:enable
bin/magento setup:di:compile
bin/magento cache:clean
rm -rf pub/static/* var/cache var/page_cache var/view_preprocessed
bin/magento setup:static-content:deploy \
	--area adminhtml \
	--theme Magento/backend \
	-f en_US en_GB
bin/magento setup:static-content:deploy \
	--area frontend \
	--theme TradeFurnitureCompany/default \
	-f en_GB
bin/magento cache:clean
sudo service php-fpm start
sudo service nginx start
bin/magento maintenance:disable
sudo service crond start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant