What upgrade first - NextCloudPi (from v1.52.1 to v1.52.2) or PHP (from 7.4.33 to 8.0)

Ok, so first I update to NCP v1.52.2. What next? Some services seem to be down, so that I cannot find the version of NC. Schloud I try to “update” NC to 25.0.6 as described in this post or will I run in unexpected problems regarding the wrong PHP version?