Update in process error

Nextcloud version _22.2.9
Operating system Ubuntu 20.04.4
Apache version 2.4.53
PHP version 8.0

Trying to update nextcloud

I tried from the browser update and it failed and left me with “Update in process” on a white page.
I have found references to this on the net, I deleted the updater-oc… file and tried again in putty with php updater.phar, I got the following and still have the "update in process, below it says it cannot find the files in …/updater/updater.phar but updater.phar is a file not a folder.
Could someone help please

[:heavy_check_mark:] Downloading
[:heavy_check_mark:] Verify integrity
Extracting …PHP Warning: require(/home/clive/web/cloud.mydomain/public_html/updater/…/version.php): Failed to open stream: No such file or directory in phar:///home/clive/web/cloud.mydomain/public_html/updater/updater.phar/lib/Updater.php on line 658
PHP Fatal error: Uncaught Error: Failed opening required ‘/home/clive/web/cloud.mydomain/public_html/updater/…/version.php’ (include_path=‘.:/usr/share/php’) in phar:///home/clive/web/cloud.mydomain/public_html/updater/updater.phar/lib/Updater.php:658
Stack trace:
#0 phar:///home/clive/web/cloud.mydomain/public_html/updater/updater.phar/lib/Updater.php(695): NC\Updater\Updater->getVersionByVersionFile()
#1 phar:///home/clive/web/cloud.mydomain/public_html/updater/updater.phar/lib/UpdateCommand.php(372): NC\Updater\Updater->extractDownload()
#2 phar:///home/clive/web/cloud.mydomain/public_html/updater/updater.phar/lib/UpdateCommand.php(233): NC\Updater\UpdateCommand->executeStep()
#3 phar:///home/clive/web/cloud.mydomain/public_html/updater/updater.phar/vendor/symfony/console/Command/Command.php(256): NC\Updater\UpdateCommand->execute()
#4 phar:///home/clive/web/cloud.mydomain/public_html/updater/updater.phar/vendor/symfony/console/Application.php(820): Symfony\Component\Console\Command\Command->run()
#5 phar:///home/clive/web/cloud.mydomain/public_html/updater/updater.phar/vendor/symfony/console/Application.php(187): Symfony\Component\Console\Application->doRunCommand()
#6 phar:///home/clive/web/cloud.mydomain/public_html/updater/updater.phar/vendor/symfony/console/Application.php(118): Symfony\Component\Console\Application->doRun()
#7 phar:///home/clive/web/cloud.mydomain/public_html/updater/updater.phar/updater.php(10): Symfony\Component\Console\Application->run()
#8 /home/clive/web/cloud.mydomain/public_html/updater/updater.phar(10): require(‘…’)
#9 {main}
thrown in phar:///home/clive/web/cloud.mydomain/public_html/updater/updater.phar/lib/Updater.php on line 658

Never mind, I have deleted it, it is obviously not stable enough.

OK, I tried using nextcloud again, it has been running for a few months OK.
But now there is a new update from 24.0.6 to 24.0.9 this time it got as far as “Delete old files” and stopped, I now get the Update in process error again.
some help would be good please I dont want to start from a clean install again