"Downgrading is not supported" after upgrading from 11.0.0 to 11.0.1

Hi there,

I just finished upgrading my nextcloud instance to 11.0.1 I receive the following error when trying to access my cloud:

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

This error confuses me a bit since I have installed neither of the two versions. I have searched through the forum here and came across a number of similar error messages. All these topics could be solved by manually changing the version number in the config file (in my case to 11.0.0.10). However, it as well fixes the issue for me, but when I then login I get a notification that I am not using the most recent version.
Since I have not changed anything in the PHP files by hand I am wondering what I can do to omit the issue and upgrade to the most recent version?

Also a note on how I do my upgrades: I am not using the built in updater because I once lost all my data using it back in owncloud times. I now always download the most recent version of NC and symlink the data and config folders into the extraced source source folder. After running the the upgrade method of “occ” normally everything works fine.

Thanks,

Moritz

There’s a template when creating a new support ticket here which provides us with a lot of information that can help. Can you refer to it and update/comment with more information about your setup please?

Hi Jason,

here’s what you’ve asked for:

Steps to reproduce

  1. Open nextcloud in browser

Expected behaviour
Show the login form.

Actual behaviour
The warning

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

is shown.

Server configuration

Operating system: Ubuntu 12.04.5

Web server: Nginx 1.10.2

Database: MySQL 5.6.32

PHP version: PHP 7.0.15

Nextcloud version: according to the version string in config.php it’s 11.0.1.2

Updated from an older Nextcloud/ownCloud or fresh install: Updated using the procedure described in my first post.

Where did you install Nextcloud from: source .zip from website (https://download.nextcloud.com/server/releases/nextcloud-11.0.1.zip)

Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
– NOT POSSIBLE as no login possible –

List of activated apps:
Enabled:

  • activity: 2.4.1
  • admin_audit: 1.1.0
  • comments: 1.1.0
  • dav: 1.1.1
  • encryption: 1.4.1
  • external: 1.2
  • federatedfilesharing: 1.1.1
  • federation: 1.1.1
  • files: 1.6.1
  • files_accesscontrol: 1.1.2
  • files_automatedtagging: 1.1.1
  • files_external: 1.1.2
  • files_pdfviewer: 1.0.1
  • files_retention: 1.0.1
  • files_sharing: 1.1.1
  • files_texteditor: 2.2
  • files_trashbin: 1.1.0
  • files_versions: 1.4.0
  • files_videoplayer: 1.0.0
  • firstrunwizard: 2.0
  • gallery: 16.0.0
  • logreader: 2.0.0
  • lookup_server_connector: 1.0.0
  • nextcloud_announcements: 1.0
  • notifications: 1.0.1
  • password_policy: 1.1.0
  • provisioning_api: 1.1.0
  • serverinfo: 1.1.1
  • sharebymail: 1.0.1
  • survey_client: 0.1.5
  • systemtags: 1.1.3
  • templateeditor: 0.2
  • theming: 1.1.1
  • twofactor_backupcodes: 1.0.0
  • updatenotification: 1.1.1
  • workflowengine: 1.1.1
    Disabled:
  • announcementcenter
  • calendar
  • contacts
  • spreed
  • user_external
  • user_ldap
  • user_saml

The content of config/config.php:Config report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "11.0.1.2",
        "dbname": "owncloud_test",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "singleuser": false,
        "appstore.experimental.enabled": true,
        "maintenance": false,
        "loglevel": 2,
        "htaccess.RewriteBase": "\/",
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}

Are you using external storage, if yes which one: no

Are you using encryption: yes

Client configuration

Browser: Chrome 55.0.2883.95 (64-bit)

Operating system: OSX 10.12.2

1 Like

So just in case anybody is coming across the same issue: The reason why nextcloud threw the error mentioned above, that it seemed that the old version number had been cached in whatever php cache.
A simple service php-fpm restart seemed to have cleared the cache and it’s working now.