I can confirm that the updater is super slow on my installation.
Nextcloud 12 to 12.0.1
But this also happend on older Updates.
Step backup takes forever
I have my data folder on a nfs share. The NFS share is a WD My Cloud EX2. Performance is normally amazing with this thing.
But the updater seems to have troube using the full nfs power of that thing. Backup takes minimum 20 minutes.
Having iotop open i see barely activity. 30K-100K
htop says machine is bored 2-8% CPU, RAM 1/5GB
iftop also only shows very low transmission rates to and from my nfs.
Syslog contains nothing
Transfering another file from or to the nfs results in around 70 MB/s transfer speed
To the extracting step:
also takes quite long. htop, iotop and iftop show the same behaviour
Syslog contains nothing
Downloading step
pretty quick on my 35 MBit connection
Will attach the updater log.
But from my point of view it looks like every interaction with the nfs storage is super slow.
System Spec
Ubuntu 16.04.2 LTS
Intel® Core™ i5-4250U CPU @ 1.30GHz Dual Core
5 GB DDR 3 RAM
45 GB SSD Main Storage (where also /var/www/nextcloud is located)
4 TB NFS Storage (for data folder)
Apache 2.4.18
PHP 7.0.22
Machine is Virtual Box on Windows 10 1607
Super long updater log
2017-08-11T21:53:17+0200 bd1564kdmB [info] request to updater
2017-08-11T21:53:17+0200 bd1564kdmB [info] currentStep()
2017-08-11T21:53:18+0200 bd1564kdmB [info] show HTML page
2017-08-11T21:53:18+0200 bd1564kdmB [info] current version: 12.0.0 build time: 2017-05-22T08:27:00+00:00 98e26f8b5c8b238e7f3556e900c524ce78bde95a
2017-08-11T21:53:18+0200 bd1564kdmB [info] getUpdateServerResponse()
2017-08-11T21:53:18+0200 bd1564kdmB [info] updaterServer: https://updates.nextcloud.org/updater_server/
2017-08-11T21:53:18+0200 bd1564kdmB [info] releaseChannel: stable
2017-08-11T21:53:18+0200 bd1564kdmB [info] internal version: 12.0.0.29
2017-08-11T21:53:18+0200 bd1564kdmB [info] updateURL: https://updates.nextcloud.org/updater_server/?version=12x0x0x29xxxstablexx2017-05-22T08%3A27%3A00%2B00%3A00+98e26f8b5c8b238e7f3556e900c524ce78bde95ax7x0x18
2017-08-11T21:53:18+0200 bd1564kdmB [info] getUpdateServerResponse response: Array
(
[version] => 12.0.1.5
[versionstring] => Nextcloud 12.0.1
[url] => https://download.nextcloud.com/server/prereleases/nextcloud-12.0.1.zip
[web] => https://docs.nextcloud.com/server/11/admin_manual/maintenance/upgrade.html
[autoupdater] => 1
[signature] => R6+aQoW/L0L7RyM/ER06kH7XJHyskvmuOHcUKIydWGbFN1PQTjblqXiiUcsmFtsD
+ZLeiPtWg3wquzuA3GWk7vrJrRvIKguULBEdtaDv76jeOxX8IVtPZYyq9ywSleHU
qd9CCurtREBZVmaQLy79+aXvan+pSvq4f9kl9jVVDp/v9QDpaHSLtKrUCHGgyQZO
0APf4QTMn+Jlw40JD3vbQSPkxWb7dcQEE6gGg6htN7iLHRRVXf8sJWFrLGotCHCH
RVY+A9o0d/+e49hXBsqNA03y1ZETQkVle1X7618aFj+Rfekq+yANXG1w2yD69Erv
DB8RQvd5QS/1Igt4LyTdMw==
)
2017-08-11T21:53:18+0200 bd1564kdmB [info] checkForUpdate() Array
(
[version] => 12.0.1.5
[versionstring] => Nextcloud 12.0.1
[url] => https://download.nextcloud.com/server/prereleases/nextcloud-12.0.1.zip
[web] => https://docs.nextcloud.com/server/11/admin_manual/maintenance/upgrade.html
[autoupdater] => 1
[signature] => R6+aQoW/L0L7RyM/ER06kH7XJHyskvmuOHcUKIydWGbFN1PQTjblqXiiUcsmFtsD
+ZLeiPtWg3wquzuA3GWk7vrJrRvIKguULBEdtaDv76jeOxX8IVtPZYyq9ywSleHU
qd9CCurtREBZVmaQLy79+aXvan+pSvq4f9kl9jVVDp/v9QDpaHSLtKrUCHGgyQZO
0APf4QTMn+Jlw40JD3vbQSPkxWb7dcQEE6gGg6htN7iLHRRVXf8sJWFrLGotCHCH
RVY+A9o0d/+e49hXBsqNA03y1ZETQkVle1X7618aFj+Rfekq+yANXG1w2yD69Erv
DB8RQvd5QS/1Igt4LyTdMw==
)
2017-08-11T21:53:19+0200 bd1564kdmB [info] end of checkForUpdate() Update to Nextcloud 12.0.1 available. (channel: “stable”)
Following file will be downloaded automatically: https://download.nextcloud.com/server/prereleases/nextcloud-12.0.1.zip
2017-08-11T21:53:22+0200 U27FhCejSu [info] request to updater
2017-08-11T21:53:22+0200 U27FhCejSu [info] currentStep()
2017-08-11T21:53:22+0200 U27FhCejSu [info] POST request for step "1"
2017-08-11T21:53:23+0200 U27FhCejSu [info] startStep(“1”)
2017-08-11T21:53:23+0200 U27FhCejSu [info] checkForExpectedFilesAndFolders()
2017-08-11T21:53:23+0200 U27FhCejSu [info] end of checkForExpectedFilesAndFolders()
2017-08-11T21:53:23+0200 U27FhCejSu [info] endStep(“1”)
2017-08-11T21:53:23+0200 6AvkqBCUGg [info] request to updater
2017-08-11T21:53:23+0200 6AvkqBCUGg [info] currentStep()
2017-08-11T21:53:23+0200 6AvkqBCUGg [info] Step 1 is in state “end”.
2017-08-11T21:53:24+0200 6AvkqBCUGg [info] POST request for step "2"
2017-08-11T21:53:24+0200 6AvkqBCUGg [info] startStep(“2”)
2017-08-11T21:53:24+0200 6AvkqBCUGg [info] checkWritePermissions()
2017-08-11T21:53:24+0200 6AvkqBCUGg [info] end of checkWritePermissions()
2017-08-11T21:53:24+0200 6AvkqBCUGg [info] endStep(“2”)
2017-08-11T21:53:24+0200 oSupYBuiOQ [info] request to updater
2017-08-11T21:53:24+0200 oSupYBuiOQ [info] currentStep()
2017-08-11T21:53:24+0200 oSupYBuiOQ [info] Step 2 is in state “end”.
2017-08-11T21:53:25+0200 oSupYBuiOQ [info] POST request for step "3"
2017-08-11T21:53:25+0200 oSupYBuiOQ [info] startStep(“3”)
2017-08-11T21:53:25+0200 oSupYBuiOQ [info] setMaintenanceMode(“true”)
2017-08-11T21:53:25+0200 oSupYBuiOQ [info] configFileName /etc/nextcloud/config.php
2017-08-11T21:53:25+0200 oSupYBuiOQ [info] end of setMaintenanceMode()
2017-08-11T21:53:25+0200 oSupYBuiOQ [info] endStep(“3”)
2017-08-11T21:53:25+0200 UIT1oaDCuw [info] request to updater
2017-08-11T21:53:26+0200 UIT1oaDCuw [info] currentStep()
2017-08-11T21:53:26+0200 UIT1oaDCuw [info] Step 3 is in state “end”.
2017-08-11T21:53:26+0200 UIT1oaDCuw [info] POST request for step "4"
2017-08-11T21:53:26+0200 UIT1oaDCuw [info] startStep(“4”)
2017-08-11T21:53:26+0200 UIT1oaDCuw [info] createBackup()
2017-08-11T22:20:46+0200 UIT1oaDCuw [info] end of createBackup()
2017-08-11T22:20:47+0200 UIT1oaDCuw [info] endStep(“4”)
2017-08-11T22:20:47+0200 7A7CVxeysV [info] request to updater
2017-08-11T22:20:47+0200 7A7CVxeysV [info] currentStep()
2017-08-11T22:20:47+0200 7A7CVxeysV [info] Step 4 is in state “end”.
2017-08-11T22:20:47+0200 7A7CVxeysV [info] POST request for step "5"
2017-08-11T22:20:47+0200 7A7CVxeysV [info] startStep(“5”)
2017-08-11T22:20:47+0200 7A7CVxeysV [info] downloadUpdate()
2017-08-11T22:20:47+0200 7A7CVxeysV [info] getUpdateServerResponse()
2017-08-11T22:20:48+0200 7A7CVxeysV [info] updaterServer: https://updates.nextcloud.org/updater_server/
2017-08-11T22:20:48+0200 7A7CVxeysV [info] releaseChannel: stable
2017-08-11T22:20:48+0200 7A7CVxeysV [info] internal version: 12.0.0.29
2017-08-11T22:20:48+0200 7A7CVxeysV [info] updateURL: https://updates.nextcloud.org/updater_server/?version=12x0x0x29xxxstablexx2017-05-22T08%3A27%3A00%2B00%3A00+98e26f8b5c8b238e7f3556e900c524ce78bde95ax7x0x18
2017-08-11T22:20:48+0200 7A7CVxeysV [info] getUpdateServerResponse response: Array
(
[version] => 12.0.1.5
[versionstring] => Nextcloud 12.0.1
[url] => https://download.nextcloud.com/server/prereleases/nextcloud-12.0.1.zip
[web] => https://docs.nextcloud.com/server/11/admin_manual/maintenance/upgrade.html
[autoupdater] => 1
[signature] => R6+aQoW/L0L7RyM/ER06kH7XJHyskvmuOHcUKIydWGbFN1PQTjblqXiiUcsmFtsD
+ZLeiPtWg3wquzuA3GWk7vrJrRvIKguULBEdtaDv76jeOxX8IVtPZYyq9ywSleHU
qd9CCurtREBZVmaQLy79+aXvan+pSvq4f9kl9jVVDp/v9QDpaHSLtKrUCHGgyQZO
0APf4QTMn+Jlw40JD3vbQSPkxWb7dcQEE6gGg6htN7iLHRRVXf8sJWFrLGotCHCH
RVY+A9o0d/+e49hXBsqNA03y1ZETQkVle1X7618aFj+Rfekq+yANXG1w2yD69Erv
DB8RQvd5QS/1Igt4LyTdMw==
)
2017-08-11T22:20:48+0200 7A7CVxeysV [info] storage location exists
2017-08-11T22:21:55+0200 7A7CVxeysV [info] end of downloadUpdate()
2017-08-11T22:21:55+0200 7A7CVxeysV [info] endStep(“5”)
2017-08-11T22:21:55+0200 OQNjgLUK4I [info] request to updater
2017-08-11T22:21:55+0200 OQNjgLUK4I [info] currentStep()
2017-08-11T22:21:55+0200 OQNjgLUK4I [info] Step 5 is in state “end”.
2017-08-11T22:21:55+0200 OQNjgLUK4I [info] POST request for step "6"
2017-08-11T22:21:56+0200 OQNjgLUK4I [info] startStep(“6”)
2017-08-11T22:21:56+0200 OQNjgLUK4I [info] verifyIntegrity()
2017-08-11T22:21:56+0200 OQNjgLUK4I [info] getUpdateServerResponse()
2017-08-11T22:21:56+0200 OQNjgLUK4I [info] updaterServer: https://updates.nextcloud.org/updater_server/
2017-08-11T22:21:56+0200 OQNjgLUK4I [info] releaseChannel: stable
2017-08-11T22:21:56+0200 OQNjgLUK4I [info] internal version: 12.0.0.29
2017-08-11T22:21:56+0200 OQNjgLUK4I [info] updateURL: https://updates.nextcloud.org/updater_server/?version=12x0x0x29xxxstablexx2017-05-22T08%3A27%3A00%2B00%3A00+98e26f8b5c8b238e7f3556e900c524ce78bde95ax7x0x18
2017-08-11T22:21:58+0200 OQNjgLUK4I [info] getUpdateServerResponse response: Array
(
[version] => 12.0.1.5
[versionstring] => Nextcloud 12.0.1
[url] => https://download.nextcloud.com/server/prereleases/nextcloud-12.0.1.zip
[web] => https://docs.nextcloud.com/server/11/admin_manual/maintenance/upgrade.html
[autoupdater] => 1
[signature] => R6+aQoW/L0L7RyM/ER06kH7XJHyskvmuOHcUKIydWGbFN1PQTjblqXiiUcsmFtsD
+ZLeiPtWg3wquzuA3GWk7vrJrRvIKguULBEdtaDv76jeOxX8IVtPZYyq9ywSleHU
qd9CCurtREBZVmaQLy79+aXvan+pSvq4f9kl9jVVDp/v9QDpaHSLtKrUCHGgyQZO
0APf4QTMn+Jlw40JD3vbQSPkxWb7dcQEE6gGg6htN7iLHRRVXf8sJWFrLGotCHCH
RVY+A9o0d/+e49hXBsqNA03y1ZETQkVle1X7618aFj+Rfekq+yANXG1w2yD69Erv
DB8RQvd5QS/1Igt4LyTdMw==
)
2017-08-11T22:21:58+0200 OQNjgLUK4I [info] storage location: /mnt/cloud/owncloud/data//updater-oc6xfwx9u4yr/downloads/
2017-08-11T22:21:58+0200 OQNjgLUK4I [info] end of verifyIntegrity()
2017-08-11T22:21:58+0200 OQNjgLUK4I [info] endStep(“6”)
2017-08-11T22:21:58+0200 BYruZPFDs9 [info] request to updater
2017-08-11T22:21:58+0200 BYruZPFDs9 [info] currentStep()
2017-08-11T22:21:59+0200 BYruZPFDs9 [info] Step 6 is in state “end”.
2017-08-11T22:21:59+0200 BYruZPFDs9 [info] POST request for step "7"
2017-08-11T22:21:59+0200 BYruZPFDs9 [info] startStep(“7”)
2017-08-11T22:21:59+0200 BYruZPFDs9 [info] extractDownload()
2017-08-11T22:21:59+0200 BYruZPFDs9 [info] storage location: /mnt/cloud/owncloud/data//updater-oc6xfwx9u4yr/downloads/
2017-08-11T22:41:37+0200 BYruZPFDs9 [info] end of extractDownload()
2017-08-11T22:41:37+0200 BYruZPFDs9 [info] endStep(“7”)
2017-08-11T22:41:37+0200 azKhcFPqdh [info] request to updater
2017-08-11T22:41:38+0200 azKhcFPqdh [info] currentStep()
2017-08-11T22:41:38+0200 azKhcFPqdh [info] Step 7 is in state “end”.
2017-08-11T22:41:38+0200 azKhcFPqdh [info] POST request for step "8"
2017-08-11T22:41:38+0200 azKhcFPqdh [info] startStep(“8”)
2017-08-11T22:41:38+0200 azKhcFPqdh [info] replaceEntryPoints()
2017-08-11T22:41:38+0200 azKhcFPqdh [info] replace index.php
2017-08-11T22:41:38+0200 azKhcFPqdh [info] replace status.php
2017-08-11T22:41:38+0200 azKhcFPqdh [info] replace remote.php
2017-08-11T22:41:38+0200 azKhcFPqdh [info] replace public.php
2017-08-11T22:41:38+0200 azKhcFPqdh [info] replace ocs/v1.php
2017-08-11T22:41:39+0200 azKhcFPqdh [info] replace ocs/v2.php
2017-08-11T22:41:39+0200 azKhcFPqdh [info] end of replaceEntryPoints()
2017-08-11T22:41:39+0200 azKhcFPqdh [info] endStep(“8”)
2017-08-11T22:41:39+0200 l289lpVf9Z [info] request to updater
2017-08-11T22:41:39+0200 l289lpVf9Z [info] currentStep()
2017-08-11T22:41:39+0200 l289lpVf9Z [info] Step 8 is in state “end”.
2017-08-11T22:41:39+0200 l289lpVf9Z [info] POST request for step "9"
2017-08-11T22:41:39+0200 l289lpVf9Z [info] startStep(“9”)
2017-08-11T22:41:39+0200 l289lpVf9Z [info] deleteOldFiles()
2017-08-11T22:41:40+0200 l289lpVf9Z [info] config sample exists
2017-08-11T22:41:40+0200 l289lpVf9Z [info] thmes README exists
2017-08-11T22:41:40+0200 l289lpVf9Z [info] end of deleteOldFiles()
2017-08-11T22:41:40+0200 l289lpVf9Z [info] endStep(“9”)
2017-08-11T22:41:41+0200 YLYqfXgVBJ [info] request to updater
2017-08-11T22:41:41+0200 YLYqfXgVBJ [info] currentStep()
2017-08-11T22:41:41+0200 YLYqfXgVBJ [info] Step 9 is in state “end”.
2017-08-11T22:41:41+0200 YLYqfXgVBJ [info] POST request for step "10"
2017-08-11T22:41:41+0200 YLYqfXgVBJ [info] startStep(“10”)
2017-08-11T22:41:41+0200 YLYqfXgVBJ [info] moveNewVersionInPlace()
2017-08-11T22:41:41+0200 YLYqfXgVBJ [info] storage location: /mnt/cloud/owncloud/data//updater-oc6xfwx9u4yr/downloads/nextcloud/
2017-08-11T22:43:01+0200 YLYqfXgVBJ [info] end of moveNewVersionInPlace()
2017-08-11T22:43:01+0200 YLYqfXgVBJ [info] endStep(“10”)
2017-08-11T22:43:08+0200 e92QslX8Gk [info] request to updater
2017-08-11T22:43:08+0200 e92QslX8Gk [info] currentStep()
2017-08-11T22:43:08+0200 e92QslX8Gk [info] Step 10 is in state “end”.
2017-08-11T22:43:08+0200 e92QslX8Gk [info] POST request for step "12"
2017-08-11T22:43:09+0200 e92QslX8Gk [info] startStep(“12”)
2017-08-11T22:43:09+0200 e92QslX8Gk [info] finalize()
2017-08-11T22:43:09+0200 e92QslX8Gk [info] storage location: /mnt/cloud/owncloud/data//updater-oc6xfwx9u4yr/downloads/nextcloud/
2017-08-11T22:43:09+0200 e92QslX8Gk [info] end of finalize()
2017-08-11T22:43:09+0200 e92QslX8Gk [info] endStep(“12”)