Am I right, you never done a full-upgrade since 2020, and now you want to full-upgrade to 2024?
Uh, that's will be a very rough ride.
First backup all your IMPORTANT data, all of them!
Then think about what you are trying to do. for sure it is possible but I think it will be less frustrating to reinstall it and replay the backup, but then you do not have the fun to find out what's going wrong, what is missing and so on..
Ok that's not an advice how to do it, I only want to know if I understand you right.
Also give us the output of inxi -F, to know what kind of system you have!