Problem upgrading via OCC-command from to 10.2.1

I have written myself a small step-by-step guide to manually upgrade my OC installation on my shared hosting instance. (I have no root access, so sudo commands are not possible to execute.)

Basically it follows the instructions " Upgrading ownCloud with the Updater App" from here:

I used this script for the last 2 years or so to periodically do my upgrades. No problems.
But… following the steps here, it fails for 10.2.1… what could be the reasons?
Where there some changes recently concerning the manual updater app?

Steps to reproduce

  1. Via ssh:
    Step 1 rename owncloud folder to current-time-stamp backup
    mv owncloud/ owncloud-dirbkp_date +"%Y%m%d"/

  2. Get current release:

  3. Extract release into new owncloud-folder:
    tar xjf owncloud-10.2.1.tar.bz2

  4. Recover “config” and “data” from the previously taken filesystem backup:
    cp -fR owncloud-dirbkp_date +"%Y%m%d"/config/ owncloud/config/
    cp -fR owncloud-dirbkp_date +"%Y%m%d"/data/ owncloud/data/

  5. Start the manual updater app
    ./owncloud/occ upgrade

Expected behaviour

The upgrade should start.

Actual behaviour

I get an error message (red colored box)
Command “upgrade” is not defined.

Server configuration

Web server:


PHP version:

ownCloud version: (see ownCloud admin page)

installed 1
versionstring 10.1.0
edition Community
productname ownCloud


have you tried to change into the “owncloud” folder before running the command here: