[SOLVED] Error upgrading to 10.0.2

Today I upgrade from 10.0.1 to 10.0.2 from administration panel upgrade app.
I select to do final upgrade from command line with occ.
All seems fine in command line.
But in web i only get this message:

Downgrading is not supported and is likely to cause unpredictable issues (from to

Command occ status give this:

  • installed: true
  • version:
  • versionstring: 10.0.2
  • edition:

In config.php:
‘version’ => ‘’,

Content of version.php:
$OC_Version = array(9,1,2,2);
$OC_VersionString = ‘10.0.2’;
$OC_Edition = ‘’;
$OC_Channel = ‘stable’;
$OC_VersionCanBeUpgradedFrom = array(9,0);
$OC_Build = ‘2016-12-09T10:14:11+00:00 6849d7235ef1acd2293382cc170a82c55c6bb3ba’;
$vendor = ‘nextcloud’;

How can i fix this problem?


I think there is an answer here in the forum already, try to search for “Downgrading is not supported”.

Before post i searched in the forum, but didn’t find any solution to my problem…

After restart mysql, php-fpm and web server, many times, i can login, but all files are gone!!!

Users are there.

Again restar services and run cron for nextcloud manually.

All seems to go right again.

It’s there, if you search broadly:

There’s no solution other than opening /path/to/nextcloud/config/config.php and manually changing the version.

1 Like