Nextcloud version 35 stuck in maintenance mode

The support template has instructions in it. You need to give us more context and check your logs. There is also an Admin Manual as well as possibly additional guidance via whatever installation channel you used…