Nextcloud wont start after uppdate

hello i have a nextcloud for a while. but a not so long ago i uppdated my nextcloud. now i get this mesage in the logs

using keys found in /config/keys
Migrating legacy install (this can take a while) …)
Can’t start Nextcloud because the version of the data ( is more than one major version behind the docker image version ( and upgrading more than one major version is not supported. Please run an image tagged for the major version 25 first.

i dont know what to do and how to do it.
do some of you know how i can fix this problem so i can get my server up and going.

1 Like

Hi - this error means that you can’t upgrade from v24.x to v27.x. you need to upgrade to v25 - than to v26 and then to v27.
To prevent this in the future always make sure to update your instance on a regular basis.

I have the same problem and followed the instructions and this now solved the problem.
I went from 25 to 27