Skip to content

fix(occ): clarify occ upgrade only runs migrations, not code replacement#14848

Merged
skjnldsv merged 1 commit into
masterfrom
fix/occ-upgrade-misleading-8837
May 14, 2026
Merged

fix(occ): clarify occ upgrade only runs migrations, not code replacement#14848
skjnldsv merged 1 commit into
masterfrom
fix/occ-upgrade-misleading-8837

Conversation

@skjnldsv
Copy link
Copy Markdown
Member

@skjnldsv skjnldsv commented May 14, 2026

☑️ Resolves

Summary

The occ upgrade "Command line upgrade" section was misleading: users would run occ upgrade before updating code files and get "Nextcloud is up to date" — technically correct but confusing since the code update hadn't happened yet.

Added an .. important:: block that:

  • Explicitly states occ upgrade handles DB migrations and app upgrades only — it does not download or replace code files
  • Lists prerequisites (run updater.phar or extract a tarball first)
  • Explains the "Nextcloud is up to date" false negative and how to resolve it
  • Links to the full upgrade docs

🖼️ Screenshots

✅ Checklist

  • I have built the documentation locally and reviewed the output
  • Screenshots are included for visual changes
  • I have not moved or renamed pages (or added a redirect if I did)
  • I have run codespell or similar and addressed any spelling issues

Add important notice to the "Command line upgrade" section explaining
that occ upgrade handles database migrations and app upgrades only —
it does not download or replace code files. Users must run updater.phar
or extract a tarball first.

Also explains the "Nextcloud is up to date" false negative that occurs
when occ upgrade is run before code files have been replaced.

Fixes #8837

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
@github-actions
Copy link
Copy Markdown
Contributor

📖 Documentation Preview

🔍 Open preview →

📄 1 changed documentation page

Last updated: Thu, 14 May 2026 08:06:37 GMT

@skjnldsv skjnldsv merged commit 750d035 into master May 14, 2026
25 checks passed
@skjnldsv skjnldsv deleted the fix/occ-upgrade-misleading-8837 branch May 14, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Process Documentation misleading?

2 participants