Nextcloud version

Hi,

I’m currently running Nethserver 7.5.1804 Therefore nextcloud 13.0.6 is installed.

This server was installed from scratch end august. Today I did an upgrade of nextcloud using yum -y install nethserver-nextcloud

Now I end up with a total mess :

  • occ says

Exception: Updates between multiple major versions and downgrades are unsupported.
Update failed
Maintenance mode is kept active

  • nextcloud’s web interfaces says we’re still running 13.0.6 (yes, httpd was restarted, yes the web UI is working even if occ says it kept the maintenance mode active)

  • version.php says :

    $OC_Version = array(14,0,3,0);
    $OC_VersionString = '14.0.3';

  • config/config.php says :
    'version' =>; '12.0.0.29',

I’m totally confused. I don’t remember having installed NC 12, for me it was installed directly on 13.

Can anybody help or advice ?

Thanks

Hi @pagaille, I think your previous version was the 12, because I’ve started from this vagrant machine https://app.vagrantup.com/ale_polidori/boxes/Nextcloud/versions/13.0.6 and the config.php says 'version' => '13.0.6.1',

So, skipping major versions is not allowed, so you should have updated to 13 before 14.

Starting from this virtual machine with 13.0.6 version the upgrade has been successful to 14.

14 is you current installed version ? Try:

rpm -q nethserver-nextcloud nextcloud

1 Like

Actually wether I started from 12 or not doesn’t really matter. Since I simply updated the nethserver-nextcloud package that should not happen :frowning:

# rpm -q nethserver-nextcloud nextcloud                                                                           
nethserver-nextcloud-1.2.4-1.ns7.noarch                                                                                         
nextcloud-13.0.6-1.el7.noarch  

There is something really strange happening here. I don’t know what to do. Upgrading again ?

Did an upgrade using the nethserver UI. Solved my problem.

# rpm -q nethserver-nextcloud nextcloud
nethserver-nextcloud-1.2.7-1.ns7.noarch
nextcloud-14.0.3-1.el7.noarch

For some reason the nextcloud package failed to upgrade. Why did it work using the UI and not the command line ? No clues.

Now config.php shows

'version' => '14.0.3.0',

as well as version.php.

Strange…

@alep, thanks for your help. Unfortunately this question is completely irrelevant : I wasn’t working on the right server, I was mistaken by the fact that they have almost the same IP adresses :frowning: sorry for the lost of time.

2 Likes