I can’t edit blocks after I upgraded my Magento installation on a testing instance from 2.4.6-p3 to 2.4.6-p8
What could be the reason? Any hints where I can start investigating? I already tried to search through the logs in ./var/log
but no hints to the problem.
I am clueless right now.
I also tried:
bin/magento setup:db-schema:upgrade
with no success.
What I did:
#!/bin/bash
set -euxo pipefail
php bin/magento maintenance:enable
php bin/magento cache:clean
php bin/magento deploy:mode:set developer
php bin/magento cron:remove
php bin/magento cron:run --group=consumers
# Check if any cron jobs are still running
while pgrep -f 'bin/magento queue' >/dev/null; do
echo "Waiting for cron jobs to complete..."
sleep 10
done
composer require-commerce magento/product-community-edition 2.4.6-p8 --no-update --interactive-root-conflicts --force-root-updates
composer update
[ -d var/cache ] && rm -rf var/cache/*
[ -d var/page_cache ] && rm -rf var/page_cache/*
[ -d generated/code ] && rm -rf generated/code/*
php bin/magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento deploy:mode:set production
php bin/magento cron:install
php bin/magento maintenance:disable
php bin/magento cache:clean