You have already asked that here: https://forum.howtoforge.com/threads/problem-moving-site.89787/#post-441024 I agree fully with the reply of @nhybgtvfr there. I'll probably write a guide on updating 20.04 to 22.04 soon.
Upgrading 18.04 to 22.04 in one step does not work. So you must do it step by step, 18.04 -> 20.04, 20,04 -> 22.04. There are upgrade discussion on this forum, use Internet Search to find them.