File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -893,6 +893,21 @@ Command line upgrade
893893These commands are available after downloading an upgraded package or tarball,
894894and before completing the upgrade.
895895
896+ .. important ::
897+ ``occ upgrade `` only runs the **migration phase **: database schema updates and
898+ app upgrades. It does **not ** download or replace Nextcloud's code files.
899+
900+ Before running ``occ upgrade `` you must first replace the code using one of:
901+
902+ * The built-in updater: ``sudo -E -u www-data php /var/www/nextcloud/updater/updater.phar ``
903+ * A manually extracted tarball (see :doc: `../maintenance/manual_upgrade `)
904+
905+ If ``occ upgrade `` reports *"Nextcloud is up to date" * when you expect an upgrade
906+ to run, the code files have not been replaced yet — run the updater or extract
907+ the new tarball first.
908+
909+ See :doc: `../maintenance/upgrade ` for the full upgrade process.
910+
896911When performing an upgrade, use ``occ upgrade `` instead of the web-based
897912upgrader to avoid PHP timeout limits (the web interface enforces a 3600-second
898913limit). On large installations this may not be sufficient, leaving the system
You can’t perform that action at this time.
0 commit comments