Hello,
I’ve tried to update my 13.0.6 NextCloud instance to new 14.0.3 using Web-updater. But I got warning about extra file ‘nextcloud.log’.
Well, I’ve seen this one problem before and fixed it by removing ‘Auditing / Logging’ app, removing nextcloud logs and setting loglevel to 2 - all done retrospectively after manual update.
I’ve also restarted nginx and php services - without effect.
Nextcloud version: 13.0.6
Operating system and version: Ubuntu 18.04
Apache or nginx version: nginx/1.14.0 (Ubuntu)
PHP version (eg, 7.1): 7.2-fpm
What I have done till now:
- ‘Auditing / Logging’ app disabled
- Loglevel changed from 1 to 2
- /usr/share/nginx/nextcloud/nextcloud.log and /usr/share/nginx/nextcloud/ocs.nextcloud.log and /media/cloud-storage/data/nextcloud.log files has been removed
- Restarting nginx and php services
Please help, I would really love to avoid manual update this time.
Here is my updater.log
2018-10-14T20:24:09+0200 jMmWqdZRIN [info] request to updater
2018-10-14T20:24:09+0200 jMmWqdZRIN [info] currentStep()
2018-10-14T20:24:09+0200 jMmWqdZRIN [info] show HTML page
2018-10-14T20:24:09+0200 jMmWqdZRIN [info] current version: 13.0.6 build time: 2018-08-30T11:19:35+00:00 2a973843f0acf084ba62d41f7d2c1526b5f8f4d1
2018-10-14T20:24:09+0200 jMmWqdZRIN [info] getUpdateServerResponse()
2018-10-14T20:24:09+0200 jMmWqdZRIN [info] updaterServer: https://updates.nextcloud.org/updater_server/
2018-10-14T20:24:09+0200 jMmWqdZRIN [info] releaseChannel: stable
2018-10-14T20:24:09+0200 jMmWqdZRIN [info] internal version: 13.0.6.1
2018-10-14T20:24:09+0200 jMmWqdZRIN [info] updateURL: https://updates.nextcloud.org/updater_server/?version=13x0x6x1xxxstablexx2018-08-30T11%3A19%3A35%2B00%3A00+2a973843f0acf084ba62d41f7d2c1526b5f8f4d1x7x2x10
2018-10-14T20:24:09+0200 jMmWqdZRIN [info] getUpdateServerResponse response: Array
(
[version] => 14.0.3.0
[versionstring] => Nextcloud 14.0.3
[url] => https://download.nextcloud.com/server/releases/nextcloud-14.0.3.zip
[web] => https://docs.nextcloud.com/server/14/admin_manual/maintenance/upgrade.html
[changes] => https://updates.nextcloud.com/changelog_server/?version=14.0.3
[autoupdater] => 1
[eol] => 0
[signature] => cWbv8qrFK4lKaRAtHLvM3AjLcwd4S1lIWYzE3hbAN30MuW60weRqYZf412jUe/7g
EEaas6MNqgd5omqwsnTwn4KwtfUkKSB5JbwGHZY95Wv/mf5EyZfw0x04xo5A6W5l
Zv7kK0HOGGOzT1nqyJJHvin9jU3eBzpWe9Es2hwhQYFI9C+V/5Fvbm37dqN821gQ
aTT4zv8XwVkAoH6BRrNGjoUqQHVBcONVEcYPEahBI9SjuTVX807e9HETrsziKtHu
k5E2t0FCNl/qUvxEDtsvQk5+XD1fW6v5ievqfLoZhv/XqKdCfAqgyC83NijYB0/8
ajEplLd/VwvoezLExRngLQ==
)
2018-10-14T20:24:09+0200 jMmWqdZRIN [info] checkForUpdate() Array
(
[version] => 14.0.3.0
[versionstring] => Nextcloud 14.0.3
[url] => https://download.nextcloud.com/server/releases/nextcloud-14.0.3.zip
[web] => https://docs.nextcloud.com/server/14/admin_manual/maintenance/upgrade.html
[changes] => https://updates.nextcloud.com/changelog_server/?version=14.0.3
[autoupdater] => 1
[eol] => 0
[signature] => cWbv8qrFK4lKaRAtHLvM3AjLcwd4S1lIWYzE3hbAN30MuW60weRqYZf412jUe/7g
EEaas6MNqgd5omqwsnTwn4KwtfUkKSB5JbwGHZY95Wv/mf5EyZfw0x04xo5A6W5l
Zv7kK0HOGGOzT1nqyJJHvin9jU3eBzpWe9Es2hwhQYFI9C+V/5Fvbm37dqN821gQ
aTT4zv8XwVkAoH6BRrNGjoUqQHVBcONVEcYPEahBI9SjuTVX807e9HETrsziKtHu
k5E2t0FCNl/qUvxEDtsvQk5+XD1fW6v5ievqfLoZhv/XqKdCfAqgyC83NijYB0/8
ajEplLd/VwvoezLExRngLQ==
)
2018-10-14T20:24:09+0200 jMmWqdZRIN [info] end of checkForUpdate() Update to Nextcloud 14.0.3 available. (channel: "stable")<br /><span class="light">Following file will be downloaded automatically:</span> <code class="light">https://download.nextcloud.com/server/releases/nextcloud-14.0.3.zip</code>
2018-10-14T20:24:13+0200 9UyTwA7Od7 [info] request to updater
2018-10-14T20:24:13+0200 9UyTwA7Od7 [info] currentStep()
2018-10-14T20:24:13+0200 9UyTwA7Od7 [info] POST request for step "1"
2018-10-14T20:24:13+0200 9UyTwA7Od7 [info] startStep("1")
2018-10-14T20:24:13+0200 9UyTwA7Od7 [info] checkForExpectedFilesAndFolders()
2018-10-14T20:24:13+0200 9UyTwA7Od7 [error] POST request failed with UpdateException
2018-10-14T20:24:13+0200 9UyTwA7Od7 [error] Exception: UpdateException
Message:
Code:0
Trace:
#0 /usr/share/nginx/nextcloud/updater/index.php(1285): Updater->checkForExpectedFilesAndFolders()
#1 {main}
File:/usr/share/nginx/nextcloud/updater/index.php
Line:383
Data:
Array
(
[0] => nextcloud.log
)
2018-10-14T20:24:13+0200 9UyTwA7Od7 [info] rollbackChanges("1")
2018-10-14T20:24:13+0200 9UyTwA7Od7 [info] unlink .step
2018-10-14T20:24:13+0200 9UyTwA7Od7 [info] end of rollbackChanges()
My config file
<?php
$CONFIG = array (
'trusted_domains' =>
array (
0 => 'cloud.myweb.com',
),
'datadirectory' => '/media/cloud-storage/data',
'overwrite.cli.url' => 'https://cloud.myweb.com',
'dbtype' => 'mysql',
'version' => '13.0.6.1',
'dbname' => 'nextcloud',
'dbhost' => 'localhost:3306',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'dadada',
'dbpassword' => 'ook',
'installed' => true,
'maintenance' => false,
'log_type' => 'owncloud',
'logfile' => 'nextcloud.log',
'loglevel' => 2,
'logdateformat' => 'F d, Y H:i:s',
'updater.release.channel' => 'stable',
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'filelocking.enabled' => 'true',
'redis' =>
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.0,
),
'updater.secret' => '$2y$10$9h/zYSnQSm6kwCuPngJ5Fu769VJT.IQKK5E97BfwJNq834R9zaoE2',
);