Please help us by providing the following info. Before posting please also check the pinned "Known issues" threads and make sure that you're running the latest available version for your oC release: https://owncloud.org/changelog/
Steps to reproduce
1. Attempt to upgrade 8.0.3 to the next version
2. Follow all the instructions with my current version
3. When time comes to press the Upgrade button, get an error: "Possible CSRF attack. Connection will be closed."
4. Go to owncloud directory and enter sudo -u www-data php occ upgrade
The response is Exception: Updates between multiple major versions and downgrades are unsupported.
Expected behaviour
Well, I was hoping that as of step 3 above the upgrade would be completed with no errors.
Actual behaviour
The error listed above.
Server configuration
Operating system: Ubuntu 14.04 server
Web server: Apache 2.4.7
Database: MySQL
PHP version: 5.5.9
ownCloud version (see ownCloud admin page): 8.0.3
Updated from an older ownCloud or fresh install: This was a fresh install about a year ago
ownCloud log (data/owncloud.log, see https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808): It's 2661 lines long...but tail owncloud.log
is given below.
I'm a bit stumped... how do I upgrade?
--
{"reqId":"5d803442bacb1e8033e038a1e372954a","remoteAddr":"118.209.102.196","app":"core","message":"Invalid OCS content returned for app 166053","level":4,"time":"2016-07-31T11:10:40+00:00"}
{"reqId":"5d803442bacb1e8033e038a1e372954a","remoteAddr":"118.209.102.196","app":"core","message":"Invalid OCS content returned for app 166051","level":4,"time":"2016-07-31T11:10:40+00:00"}
{"reqId":"5d803442bacb1e8033e038a1e372954a","remoteAddr":"118.209.102.196","app":"core","message":"Invalid OCS content returned for app 166056","level":4,"time":"2016-07-31T11:10:41+00:00"}
{"reqId":"5d803442bacb1e8033e038a1e372954a","remoteAddr":"118.209.102.196","app":"core","message":"Invalid OCS content returned for app 166049","level":4,"time":"2016-07-31T11:10:42+00:00"}
{"reqId":"5d803442bacb1e8033e038a1e372954a","remoteAddr":"118.209.102.196","app":"core","message":"Invalid OCS content returned for app 166052","level":4,"time":"2016-07-31T11:10:43+00:00"}
{"reqId":"Goli5vRelqF5PfBNvvY8","remoteAddr":"118.209.102.196","app":"index","message":"Exception: {\"Exception\":\"OC\\NeedsUpdateException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\/var\\/www\\/owncloud\\/lib\\/private\\/app.php(118): OC_App::loadApp('files')\n#1 \\/var\\/www\\/owncloud\\/lib\\/private\\/util.php(130): OC_App::loadApps(Array)\n#2 \\/var\\/www\\/owncloud\\/lib\\/base.php(850): OC_Util::setupFS()\n#3 \\/var\\/www\\/owncloud\\/index.php(39): OC::handleRequest()\n#4 {main}\",\"File\":\"\\/var\\/www\\/owncloud\\/lib\\/private\\/app.php\",\"Line\":139}","level":3,"time":"2016-07-31T11:19:03+00:00"}
{"reqId":"0He\/TgF\/7sd8Y9FPk7zc","remoteAddr":"","app":"core","message":"starting upgrade from 8.0.3.4 to 8.2.1.4","level":0,"time":"2016-07-31T11:25:46+00:00","method":"--","url":"--"}
{"reqId":"0He\/TgF\/7sd8Y9FPk7zc","remoteAddr":"","app":"core","message":"Exception: {\"Exception\":\"Exception\",\"Message\":\"Updates between multiple major versions and downgrades are unsupported.\",\"Code\":0,\"Trace\":\"#0 \\/var\\/www\\/owncloud\\/lib\\/private\\/updater.php(205): OC\\Updater->doUpgrade('8.2.1.4', '8.0.3.4')\n#1 \\/var\\/www\\/owncloud\\/core\\/command\\/upgrade.php(213): OC\\Updater->upgrade()\n#2 \\/var\\/www\\/owncloud\\/3rdparty\\/symfony\\/console\\/Symfony\\/Component\\/Console\\/Command\\/Command.php(253): OC\\Core\\Command\\Upgrade->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#3 \\/var\\/www\\/owncloud\\/3rdparty\\/symfony\\/console\\/Symfony\\/Component\\/Console\\/Application.php(874): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#4 \\/var\\/www\\/owncloud\\/3rdparty\\/symfony\\/console\\/Symfony\\/Component\\/Console\\/Application.php(195): Symfony\\Component\\Console\\Application->doRunCommand(Object(OC\\Core\\Command\\Upgrade), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#5 \\/var\\/www\\/owncloud\\/3rdparty\\/symfony\\/console\\/Symfony\\/Component\\/Console\\/Application.php(126): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#6 \\/var\\/www\\/owncloud\\/lib\\/private\\/console\\/application.php(97): Symfony\\Component\\Console\\Application->run(NULL, NULL)\n#7 \\/var\\/www\\/owncloud\\/console.php(69): OC\\Console\\Application->run()\n#8 \\/var\\/www\\/owncloud\\/occ(11): require_once('\\/var\\/www\\/ownclo...')\n#9 {main}\",\"File\":\"\\/var\\/www\\/owncloud\\/lib\\/private\\/updater.php\",\"Line\":285}","level":3,"time":"2016-07-31T11:25:46+00:00","method":"--","url":"--"}
{"reqId":"LTV4r30iT5Gz1ySHF2uD","remoteAddr":"","app":"core","message":"starting upgrade from 8.0.3.4 to 8.2.1.4","level":0,"time":"2016-07-31T11:28:06+00:00","method":"--","url":"--"}
{"reqId":"LTV4r30iT5Gz1ySHF2uD","remoteAddr":"","app":"core","message":"Exception: {\"Exception\":\"Exception\",\"Message\":\"Updates between multiple major versions and downgrades are unsupported.\",\"Code\":0,\"Trace\":\"#0 \\/var\\/www\\/owncloud\\/lib\\/private\\/updater.php(205): OC\\Updater->doUpgrade('8.2.1.4', '8.0.3.4')\n#1 \\/var\\/www\\/owncloud\\/core\\/command\\/upgrade.php(213): OC\\Updater->upgrade()\n#2 \\/var\\/www\\/owncloud\\/3rdparty\\/symfony\\/console\\/Symfony\\/Component\\/Console\\/Command\\/Command.php(253): OC\\Core\\Command\\Upgrade->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#3 \\/var\\/www\\/owncloud\\/3rdparty\\/symfony\\/console\\/Symfony\\/Component\\/Console\\/Application.php(874): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#4 \\/var\\/www\\/owncloud\\/3rdparty\\/symfony\\/console\\/Symfony\\/Component\\/Console\\/Application.php(195): Symfony\\Component\\Console\\Application->doRunCommand(Object(OC\\Core\\Command\\Upgrade), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#5 \\/var\\/www\\/owncloud\\/3rdparty\\/symfony\\/console\\/Symfony\\/Component\\/Console\\/Application.php(126): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#6 \\/var\\/www\\/owncloud\\/lib\\/private\\/console\\/application.php(97): Symfony\\Component\\Console\\Application->run(NULL, NULL)\n#7 \\/var\\/www\\/owncloud\\/console.php(69): OC\\Console\\Application->run()\n#8 \\/var\\/www\\/owncloud\\/occ(11): require_once('\\/var\\/www\\/ownclo...')\n#9 {main}\",\"File\":\"\\/var\\/www\\/owncloud\\/lib\\/private\\/updater.php\",\"Line\":285}","level":3,"time":"2016-07-31T11:28:06+00:00","method":"--","url":"--"}