Skip to content

Sequential NS7-migrated Nextcloud upgrades can leave config.php behind version.php #8159

Description

@DavidePrincipi

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions