New to NC, stuck at the occ upgrade error

Hi All

Moving from OC to NC, reusing the /var/www/owncloud directory but replaced all the files & folders with NC13.0.2 files and folders.

The only items that I retained are the config.php file and the .well-known which I placed back into the new NC.

Trying to run the following:

root@mail:/var/www/owncloud# php ./occ upgrade
The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Set log level to debug
Exception: Updates between multiple major versions and downgrades are unsupported.
Update failed
Maintenance mode is kept active
Reset log level

Any help would be greatly appreciated


Take a look at

From which version of ownCloud are you trying to migrate?