Upgrade of Nextcloud from 27.0.1 to 27.0.2 results in instance being stuck in maintenance mode

A reboot was likely unnecessary. A bump to the Apache server probably would have been enough. It may have taken care of itself eventually, depending on your opcache.revalidate_freq setting (though it’s possible to set it such that it never do so).

At least that’s my guess.