this may be the same issue I had. @TrystanLea said this was the fix for me
On Oct the 8th 2024 I made a commit that inadvertently broke the update mechanism here harden getServiceStatus and setService · emoncms/emoncms@cc8d526 · GitHub then @reedy fixed it on Nov 7th here admin_model.php: Make runService public again · emoncms/emoncms@ef0299f · GitHub.
Systems updated between these date will unfortunately get stuck and need to be fixed via a luckily relatively simple SSH update of emoncms core:
cd /var/www/emoncms
git pull origin master
Then try running the full update again from the UI so that the rest of the system is updated.