Nextcloud stuck at "Update in process"

While updating Nextcloud to 25.0.3 the process halted at either “Move new files in place” or “Delete old files”. Now during web access I only receive the message “Update in process.” I tried logging into the docker container and running updater.phar and received the following error at the Downloading step:

Downloading …PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 134217736 bytes) in phar:///config/www/nextcloud/updater/updater.phar/lib/Updater.php on line 781

Per a forum post I added an environment variable to the docker container: PHP_MEMORY_LIMIT=512M Now, when I run the updater I receive another error: Step 4 is currently in process. Please call this command later.

Any suggestions? Thanks for any help you can provide.