Unable to Upgrade to Nextcloud 31.0.1-ls373

I currently have a docker image version Linuxserver.io version: 31.0.0-ls373 Build-date: 2025-03-11T11:52:03+00:00 which is working fine. I wanted to upgrade to the latest image, but whenever I setup the container for the new image, the image gets pulled down, goes through its upgrading from 31.0.0.18, sets permissions, then fails with upgrade/download from previous versions not supported and leaves the container in maintence mode.

Am I missing a build hence why it is not moving off 31.0.0.18?

Any advise much appreciated. Thanks

You need to provide your docker compose or docker run, full container logs beginning with our ascii logo, and the output of uname -mr && docker version