Open nyevess opened 8 months ago
@nyevess
I need to rework the full upgrade process. This is my next important task ... please be patient a little more.
@nilsteampassnet Thanks for your reply, ok we will wait to do the upgrade, when do you think it will be possible, next weeks or next months? Thank you in advance!
@nyevess Some tests have run and results seem ok. You could start upgrade but with usage of another instance than production.
Hello @nilsteampassnet what do you mean by using another instance? we are performing the upgrade on a cloned instance of the production one, but in the last upgrade attempt the process took 12 hours until it hung. Is this normal? Thank you!
Hello I had this problem. During the update, I loop in the step the Created_at. I had cleaned up the log to reduce the volume of the base. The script couldn't update the date of creation in table item because the request for find items without date of created and date of created in the table log returned null.
"select i.id as id, ls.date as datetime
from `" . $pre . "items` as i
inner join `" . $pre . "log_items` as ls on ls.id_item = i.id
WHERE ls.action = 'at_creation' AND i.created_at IS NULL
LIMIT " . $post_nb.";"
As it still detects items without date of creation, it lauches a loop again
"SELECT * FROM
" . $pre . "itemsWHERE created_at IS NULL"
I injected the backup with all the logs into the database and that solved the problem.