Hi,
i did automatic update, the last message i saw was "Installing" and since then site is offline.
Cpu load is low, I/O is low and its taking already 2 hours. after that i tried restart php-fpm, nginx, mysql nothing helped. I suspect this update cant handle large databases and is somehow looping, or whats worse damaged my database ( happened already once with one update) . Someone got idea how to get it done at least to the last stable version?
thanx
EDIT: in sql stats i see more than 500 processes with status "updating" with duplicate sql queries
UPDATE `chv_users` SET user_followers = user_followers - COALESCE((SELECT 1 FROM `chv_follows` WHERE follow_user_id = 9256 AND user_id = follow_followed_user_id AND follow_user_id <> follow_followed_user_id GROUP BY follow_followed_user_id),"0")
and
UPDATE `chv_users` SET user_likes = user_likes - COALESCE((SELECT COUNT(*) FROM `chv_likes` WHERE like_user_id = 9255 AND user_id = like_content_user_id AND like_user_id <> like_content_user_id GROUP BY like_content_user_id),"0")
i did automatic update, the last message i saw was "Installing" and since then site is offline.
Cpu load is low, I/O is low and its taking already 2 hours. after that i tried restart php-fpm, nginx, mysql nothing helped. I suspect this update cant handle large databases and is somehow looping, or whats worse damaged my database ( happened already once with one update) . Someone got idea how to get it done at least to the last stable version?
thanx
EDIT: in sql stats i see more than 500 processes with status "updating" with duplicate sql queries
UPDATE `chv_users` SET user_followers = user_followers - COALESCE((SELECT 1 FROM `chv_follows` WHERE follow_user_id = 9256 AND user_id = follow_followed_user_id AND follow_user_id <> follow_followed_user_id GROUP BY follow_followed_user_id),"0")
and
UPDATE `chv_users` SET user_likes = user_likes - COALESCE((SELECT COUNT(*) FROM `chv_likes` WHERE like_user_id = 9255 AND user_id = like_content_user_id AND like_user_id <> like_content_user_id GROUP BY like_content_user_id),"0")
Last edited: