Upgrade from 25.0.7 to 27.0.2 [SOLVED]


With Gentoo, I can’t upgrade from 25.0.7 to 27.0.2:

# sudo -u apache ./occ upgrade
The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see https://www.php.net/manual/en/book.pcntl.php
Additionally the function 'pcntl_signal' and 'pcntl_signal_dispatch' need to be enabled in your php.ini.
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Setting log level to debug
Exception: Updates between multiple major versions and downgrades are unsupported.
Update failed
Maintenance mode is kept active
Resetting log level

What can I do please ?

Solved by going to version 26.0.5, then upgraded to 27.0.2