Steps to reproduce
- Migrate a NethServer 7 instance to NS8 with an old Nextcloud install
- Update sequentially through several major Nextcloud versions in a row (e.g. 29 → 30 → 31 → 32 → 33), one
update-module run per version, with no overlap (logs show each run completing before the next starts)
- Check the instance state after the last update
Expected behavior
Each intermediate upgrade step fully completes (including the occ upgrade performed by the container entrypoint) before the module is restarted with the next target image, so config.php's version always matches version.php at the end of every step, and the instance ends up fully upgraded and out of maintenance mode.
Actual behavior
The instance was left in an inconsistent state: version.php reported 33 while config.php still reported 31. No occ action was possible and Nextcloud was stuck in maintenance mode.
Components
ns8-nextcloud 1.7.4
See also
Steps to reproduce
update-modulerun per version, with no overlap (logs show each run completing before the next starts)Expected behavior
Each intermediate upgrade step fully completes (including the
occ upgradeperformed by the container entrypoint) before the module is restarted with the next target image, soconfig.php's version always matchesversion.phpat the end of every step, and the instance ends up fully upgraded and out of maintenance mode.Actual behavior
The instance was left in an inconsistent state:
version.phpreported 33 whileconfig.phpstill reported 31. Nooccaction was possible and Nextcloud was stuck in maintenance mode.Components
ns8-nextcloud 1.7.4
See also