Thank you very much for the quick response.
. os:
ubuntu 18.04.7
. AtoM: 2.6.2
. php 7.2.24
One thing I must mention: The DB gets upgraded from version 2.4.1. But the same happens after an upgrade from 2.5.1. The upgrades are successful. This is the code I'm using:
rm -f /data/Atom_A/downloads/jobs/*
mysql --host localhost --execute "UPDATE atom_A.setting_i18n SET value='
https://xxxxxxx.com' WHERE id=(SELECT id FROM atom_A.setting WHERE name='siteBaseUrl' LIMIT 1);"
mysql --host localhost --execute "UPDATE atom_A.setting_i18n SET value='0' WHERE id=(SELECT id FROM atom_A.setting WHERE name='global_login_button' LIMIT 1);"
sudo -u www-data php -d memory_limit=-1 /usr/share/nginx/atom_A/symfony tools:upgrade-sql --no-confirmation
sudo -u www-data php -d memory_limit=-1 /usr/share/nginx/atom_A/symfony search:populate
sudo -u www-data php -d memory_limit=-1 /usr/share/nginx/atom_A/symfony tools:delete-drafts --no-confirmation
sudo -u www-data php /usr/share/nginx/atom_A/symfony cache:clear
systemctl restart php7.2-fpm
systemctl restart memcached
The draft records gets deleted but very slow (about 2h for 200 records) and with a lot of these php warnings.