V15 update failed - restore 14 or start fresh?

Nextcloud version (eg, 12.0.2): 14.0.2.2
Operating system and version (eg, Ubuntu 17.04): Docker container (unRAID)
Apache or nginx version (eg, Apache 2.4.25): Where do I find this?
PHP version (eg, 7.1): 7.2.14 (via `php --version)

The issue you are facing:
v15 update via GUI always failed (timeout on download?) so attempted command line update. Seemed to run fine but died on step 6 and now I can’t get things running again.

Should I try to recover 14 (there IS a /data/updater-*/backups folder) or give up and install 15 in another container then figure out how to move settings / database over?

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. No clue.

The output of your Nextcloud log in Admin > Logging:

Can't UI inoperative

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

/config/www/nextcloud/config/config.php
<?php
$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'datadirectory' => '/data',
  'instanceid' => 'octuc72d36du',
  'passwordsalt' => 'mfUZIM5kPbzyEoQpHf0SivEKDs3g1m',
  'secret' => 'a21GfjpVT69vKzlzIV+FJcHtp+4hk3rx3V49THND5lneXHlc',
  'trusted_domains' =>
  array (
    0 => '192.168.1.10:31023',
    1 => 'classic.gopherphoto.com:31023',
    2 => 'tower:31023',
  ),
  'overwrite.cli.url' => 'https://192.168.1.10:31082',
  'dbtype' => 'sqlite3',
  'version' => '14.0.2.2',
  'installed' => true,
  'mail_smtpmode' => 'smtp',
  'mail_smtpauthtype' => 'PLAIN',
  'mail_from_address' => 'Nextcloud',
  'mail_domain' => 'jonmikelv.e4ward.com',
  'mail_smtphost' => '192.168.1.103',
  'mail_smtpport' => '25',
  'maintenance' => true,
  'theme' => '',
  'loglevel' => 2,
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
  'updater.secret' => '$2y$10$l9144lgu/ZD2ZOLMWJen/uh/MRqwtoxd25IoXZRtwZzqyxb4FqQ.y',
);

The output of your Apache/nginx/system log in /var/log/____:

2019/02/26 01:29:26 [emerg] 418#418: open() "/run/nginx/nginx.pid" failed (2: No such file or directory)
root@ea6e4c332df0:/$ cat /var/log/nginx/access.log

And just for fun…

/data/updater.log
...
2018-12-26T15:39:03-0600 bHTQQyQUam [info] backup folder location exists
2018-12-26T15:40:18-0600 bHTQQyQUam [info] end of createBackup()
2018-12-26T15:40:18-0600 bHTQQyQUam [info] endStep("3")
2019-02-21T10:05:36-0600 2vkmTZAsbZ [info] request to updater
2019-02-21T10:05:36-0600 2vkmTZAsbZ [info] currentStep()
2019-02-21T10:05:36-0600 2vkmTZAsbZ [info] Step 3 is in state "end".
2019-02-21T10:05:36-0600 2vkmTZAsbZ [info] show HTML page
2019-02-21T10:05:36-0600 2vkmTZAsbZ [info] current version: 14.0.2 build time: 2018-10-11T07:45:17+00:00 51813f76d99db70998efe867ba689fd5c2294cbd
2019-02-21T10:05:36-0600 2vkmTZAsbZ [info] getUpdateServerResponse()
2019-02-21T10:05:36-0600 2vkmTZAsbZ [info] updaterServer: https://updates.nextcloud.org/updater_server/
2019-02-21T10:05:36-0600 2vkmTZAsbZ [info] releaseChannel: stable
2019-02-21T10:05:36-0600 2vkmTZAsbZ [info] internal version: 14.0.2.2
2019-02-21T10:05:36-0600 2vkmTZAsbZ [info] updateURL: https://updates.nextcloud.org/updater_server/?version=14x0x2x2xxxstablexx2018-10-11T07%3A45%3A17%2B00%3A00+51813f76d99db70998efe867ba689fd5c2294cbdx7x2x13
2019-02-21T10:05:38-0600 2vkmTZAsbZ [info] getUpdateServerResponse response: Array
(
    [version] => 15.0.4.0
    [versionstring] => Nextcloud 15.0.4
    [url] => https://download.nextcloud.com/server/releases/nextcloud-15.0.4.zip
    [web] => https://docs.nextcloud.com/server/15/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=15.0.4
    [autoupdater] => 1
    [eol] => 0
    [signature] => qc02+m/hYn1LP7ax2j9nkm6twoEMS2adz6WQp++7WCbJCU0u7cATjlO40ZS06V3v
eIR4tZD+FbHGnPuuGOnK4nPKgDR28z9PxyB022HNBEpk7UbAVhT4Z2VysXEcPJCS
q5jP5hEEgV34zdz+8f31vu1/Lxd24IkTZuZ19mZaPtD3DcCgN6m1PCKduNqX4ZcU
rvI+kMzNDB6A9dPN0X1nwolYKRvDEihnI8sGcgHTnP49rPRjpOvh+TzOKMrFMLD5
XaRVB9zYlG1HxynI3GZoMEbUnzufsi7E1+zVkzNgd5RGD2lIcIC8aFlZ1RIul7BF
uiEiEB8dBhn2p6hruRnXkw==
)

2019-02-21T10:05:38-0600 2vkmTZAsbZ [info] checkForUpdate() Array
(
    [version] => 15.0.4.0
    [versionstring] => Nextcloud 15.0.4
    [url] => https://download.nextcloud.com/server/releases/nextcloud-15.0.4.zip
    [web] => https://docs.nextcloud.com/server/15/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=15.0.4
    [autoupdater] => 1
    [eol] => 0
    [signature] => qc02+m/hYn1LP7ax2j9nkm6twoEMS2adz6WQp++7WCbJCU0u7cATjlO40ZS06V3v
eIR4tZD+FbHGnPuuGOnK4nPKgDR28z9PxyB022HNBEpk7UbAVhT4Z2VysXEcPJCS
q5jP5hEEgV34zdz+8f31vu1/Lxd24IkTZuZ19mZaPtD3DcCgN6m1PCKduNqX4ZcU
rvI+kMzNDB6A9dPN0X1nwolYKRvDEihnI8sGcgHTnP49rPRjpOvh+TzOKMrFMLD5
XaRVB9zYlG1HxynI3GZoMEbUnzufsi7E1+zVkzNgd5RGD2lIcIC8aFlZ1RIul7BF
uiEiEB8dBhn2p6hruRnXkw==
)

2019-02-21T10:05:38-0600 2vkmTZAsbZ [info] end of checkForUpdate() Update to Nextcloud 15.0.4 available. (channel: "stable")<br /><span class="light">Following file will be downloaded automatically:</span> <code class="light">https://download.nextcloud.com/server/releases/nextcloud-15.0.4.zip</code>
2019-02-21T10:05:47-0600 9oqCZCXXSJ [info] request to updater
2019-02-21T10:05:47-0600 9oqCZCXXSJ [info] currentStep()
2019-02-21T10:05:47-0600 9oqCZCXXSJ [info] Step 3 is in state "end".
2019-02-21T10:05:47-0600 9oqCZCXXSJ [info] POST request for step "4"
2019-02-21T10:05:47-0600 9oqCZCXXSJ [info] startStep("4")
2019-02-21T10:05:47-0600 9oqCZCXXSJ [info] downloadUpdate()
2019-02-21T10:05:47-0600 9oqCZCXXSJ [info] getUpdateServerResponse()
2019-02-21T10:05:47-0600 9oqCZCXXSJ [info] updaterServer: https://updates.nextcloud.org/updater_server/
2019-02-21T10:05:47-0600 9oqCZCXXSJ [info] releaseChannel: stable
2019-02-21T10:05:47-0600 9oqCZCXXSJ [info] internal version: 14.0.2.2
2019-02-21T10:05:47-0600 9oqCZCXXSJ [info] updateURL: https://updates.nextcloud.org/updater_server/?version=14x0x2x2xxxstablexx2018-10-11T07%3A45%3A17%2B00%3A00+51813f76d99db70998efe867ba689fd5c2294cbdx7x2x13
2019-02-21T10:05:49-0600 9oqCZCXXSJ [info] getUpdateServerResponse response: Array
(
    [version] => 15.0.4.0
    [versionstring] => Nextcloud 15.0.4
    [url] => https://download.nextcloud.com/server/releases/nextcloud-15.0.4.zip
    [web] => https://docs.nextcloud.com/server/15/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=15.0.4
    [autoupdater] => 1
    [eol] => 0
    [signature] => qc02+m/hYn1LP7ax2j9nkm6twoEMS2adz6WQp++7WCbJCU0u7cATjlO40ZS06V3v
eIR4tZD+FbHGnPuuGOnK4nPKgDR28z9PxyB022HNBEpk7UbAVhT4Z2VysXEcPJCS
q5jP5hEEgV34zdz+8f31vu1/Lxd24IkTZuZ19mZaPtD3DcCgN6m1PCKduNqX4ZcU
rvI+kMzNDB6A9dPN0X1nwolYKRvDEihnI8sGcgHTnP49rPRjpOvh+TzOKMrFMLD5
XaRVB9zYlG1HxynI3GZoMEbUnzufsi7E1+zVkzNgd5RGD2lIcIC8aFlZ1RIul7BF
uiEiEB8dBhn2p6hruRnXkw==
)

2019-02-21T10:05:49-0600 9oqCZCXXSJ [info] storage location exists
2019-02-21T10:06:14-0600 9oqCZCXXSJ [info] end of downloadUpdate()
2019-02-21T10:06:14-0600 9oqCZCXXSJ [info] endStep("4")
2019-02-21T10:06:14-0600 KsTKIUOe9r [info] request to updater
2019-02-21T10:06:14-0600 KsTKIUOe9r [info] currentStep()
2019-02-21T10:06:14-0600 KsTKIUOe9r [info] Step 4 is in state "end".
2019-02-21T10:06:14-0600 KsTKIUOe9r [info] POST request for step "5"
2019-02-21T10:06:14-0600 KsTKIUOe9r [info] startStep("5")
2019-02-21T10:06:14-0600 KsTKIUOe9r [info] verifyIntegrity()
2019-02-21T10:06:14-0600 KsTKIUOe9r [info] getUpdateServerResponse()
2019-02-21T10:06:14-0600 KsTKIUOe9r [info] updaterServer: https://updates.nextcloud.org/updater_server/
2019-02-21T10:06:14-0600 KsTKIUOe9r [info] releaseChannel: stable
2019-02-21T10:06:14-0600 KsTKIUOe9r [info] internal version: 14.0.2.2
2019-02-21T10:06:14-0600 KsTKIUOe9r [info] updateURL: https://updates.nextcloud.org/updater_server/?version=14x0x2x2xxxstablexx2018-10-11T07%3A45%3A17%2B00%3A00+51813f76d99db70998efe867ba689fd5c2294cbdx7x2x13
2019-02-21T10:06:17-0600 KsTKIUOe9r [info] getUpdateServerResponse response: Array
(
    [version] => 15.0.4.0
    [versionstring] => Nextcloud 15.0.4
    [url] => https://download.nextcloud.com/server/releases/nextcloud-15.0.4.zip
    [web] => https://docs.nextcloud.com/server/15/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=15.0.4
    [autoupdater] => 1
    [eol] => 0
    [signature] => qc02+m/hYn1LP7ax2j9nkm6twoEMS2adz6WQp++7WCbJCU0u7cATjlO40ZS06V3v
eIR4tZD+FbHGnPuuGOnK4nPKgDR28z9PxyB022HNBEpk7UbAVhT4Z2VysXEcPJCS
q5jP5hEEgV34zdz+8f31vu1/Lxd24IkTZuZ19mZaPtD3DcCgN6m1PCKduNqX4ZcU
rvI+kMzNDB6A9dPN0X1nwolYKRvDEihnI8sGcgHTnP49rPRjpOvh+TzOKMrFMLD5
XaRVB9zYlG1HxynI3GZoMEbUnzufsi7E1+zVkzNgd5RGD2lIcIC8aFlZ1RIul7BF
uiEiEB8dBhn2p6hruRnXkw==
)

2019-02-21T10:06:17-0600 KsTKIUOe9r [info] storage location: /data/updater-octuc72d36du/downloads/
2019-02-21T10:06:20-0600 KsTKIUOe9r [info] end of verifyIntegrity()
2019-02-21T10:06:20-0600 KsTKIUOe9r [info] endStep("5")
2019-02-21T10:06:20-0600 mOWbyDkNGK [info] request to updater
2019-02-21T10:06:20-0600 mOWbyDkNGK [info] currentStep()
2019-02-21T10:06:20-0600 mOWbyDkNGK [info] Step 5 is in state "end".
2019-02-21T10:06:20-0600 mOWbyDkNGK [info] POST request for step "6"
2019-02-21T10:06:20-0600 mOWbyDkNGK [info] startStep("6")
2019-02-21T10:06:20-0600 mOWbyDkNGK [info] extractDownload()
2019-02-21T10:06:20-0600 mOWbyDkNGK [info] storage location: /data/updater-octuc72d36du/downloads/
2019-02-21T10:09:44-0600 mOWbyDkNGK [info] end of extractDownload()
2019-02-21T10:09:45-0600 mOWbyDkNGK [info] endStep("6")
2019-02-21T10:12:08-0600 jk16HQJzzv [info] request to updater
2019-02-21T10:12:09-0600 jk16HQJzzv [info] currentStep()
2019-02-21T10:12:09-0600 jk16HQJzzv [info] Step 6 is in state "end".
2019-02-21T10:12:09-0600 jk16HQJzzv [info] POST request for step "6"
2019-02-21T10:12:10-0600 jk16HQJzzv [info] startStep("6")
2019-02-21T10:12:10-0600 jk16HQJzzv [info] extractDownload()
2019-02-21T10:12:10-0600 jk16HQJzzv [info] storage location: /data/updater-octuc72d36du/downloads/
2019-02-21T10:12:11-0600 jk16HQJzzv [error] POST request failed with other exception
2019-02-21T10:12:11-0600 jk16HQJzzv [error] Exception: Exception
Message: Can't handle ZIP file. Error code is: 28
Code:0
Trace:
#0 /config/www/nextcloud/updater/index.php(1324): Updater->extractDownload()
#1 {main}
File:/config/www/nextcloud/updater/index.php
Line:787

2019-02-21T10:12:11-0600 jk16HQJzzv [info] rollbackChanges("6")
2019-02-21T10:12:11-0600 jk16HQJzzv [info] unlink .step
2019-02-21T10:12:11-0600 jk16HQJzzv [info] end of  rollbackChanges()
2019-02-21T10:12:19-0600 SNWXLJGrKp [info] request to updater
2019-02-21T10:12:19-0600 SNWXLJGrKp [info] currentStep()
2019-02-21T10:12:19-0600 SNWXLJGrKp [info] POST request for step "6"
2019-02-21T10:12:19-0600 SNWXLJGrKp [info] startStep("6")
2019-02-21T10:12:19-0600 SNWXLJGrKp [info] extractDownload()
2019-02-21T10:12:19-0600 SNWXLJGrKp [info] storage location: /data/updater-octuc72d36du/downloads/
2019-02-21T10:12:19-0600 SNWXLJGrKp [error] POST request failed with other exception
2019-02-21T10:12:19-0600 SNWXLJGrKp [error] Exception: Exception
Message: Can't handle ZIP file. Error code is: 28
Code:0
Trace:
#0 /config/www/nextcloud/updater/index.php(1324): Updater->extractDownload()
#1 {main}
File:/config/www/nextcloud/updater/index.php
Line:787

2019-02-21T10:12:19-0600 SNWXLJGrKp [info] rollbackChanges("6")
2019-02-21T10:12:19-0600 SNWXLJGrKp [info] unlink .step
2019-02-21T10:12:19-0600 SNWXLJGrKp [info] end of  rollbackChanges()
2019-02-21T11:42:02-0600 Z7apZ5RqDz [info] request to updater
2019-02-21T11:42:03-0600 Z7apZ5RqDz [info] currentStep()
2019-02-21T11:42:03-0600 Z7apZ5RqDz [info] show HTML page
2019-02-21T11:42:03-0600 Z7apZ5RqDz [info] current version: 14.0.2 build time: 2018-10-11T07:45:17+00:00 51813f76d99db70998efe867ba689fd5c2294cbd
2019-02-21T11:42:03-0600 Z7apZ5RqDz [info] getUpdateServerResponse()
2019-02-21T11:42:03-0600 Z7apZ5RqDz [info] updaterServer: https://updates.nextcloud.org/updater_server/
2019-02-21T11:42:03-0600 Z7apZ5RqDz [info] releaseChannel: stable
2019-02-21T11:42:03-0600 Z7apZ5RqDz [info] internal version: 14.0.2.2
2019-02-21T11:42:03-0600 Z7apZ5RqDz [info] updateURL: https://updates.nextcloud.org/updater_server/?version=14x0x2x2xxxstablexx2018-10-11T07%3A45%3A17%2B00%3A00+51813f76d99db70998efe867ba689fd5c2294cbdx7x2x13
2019-02-21T11:42:04-0600 Z7apZ5RqDz [info] getUpdateServerResponse response: Array
(
    [version] => 15.0.4.0
    [versionstring] => Nextcloud 15.0.4
    [url] => https://download.nextcloud.com/server/releases/nextcloud-15.0.4.zip
    [web] => https://docs.nextcloud.com/server/15/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=15.0.4
    [autoupdater] => 1
    [eol] => 0
    [signature] => qc02+m/hYn1LP7ax2j9nkm6twoEMS2adz6WQp++7WCbJCU0u7cATjlO40ZS06V3v
eIR4tZD+FbHGnPuuGOnK4nPKgDR28z9PxyB022HNBEpk7UbAVhT4Z2VysXEcPJCS
q5jP5hEEgV34zdz+8f31vu1/Lxd24IkTZuZ19mZaPtD3DcCgN6m1PCKduNqX4ZcU
rvI+kMzNDB6A9dPN0X1nwolYKRvDEihnI8sGcgHTnP49rPRjpOvh+TzOKMrFMLD5
XaRVB9zYlG1HxynI3GZoMEbUnzufsi7E1+zVkzNgd5RGD2lIcIC8aFlZ1RIul7BF
uiEiEB8dBhn2p6hruRnXkw==
)

2019-02-21T11:42:04-0600 Z7apZ5RqDz [info] checkForUpdate() Array
(
    [version] => 15.0.4.0
    [versionstring] => Nextcloud 15.0.4
    [url] => https://download.nextcloud.com/server/releases/nextcloud-15.0.4.zip
    [web] => https://docs.nextcloud.com/server/15/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=15.0.4
    [autoupdater] => 1
    [eol] => 0
    [signature] => qc02+m/hYn1LP7ax2j9nkm6twoEMS2adz6WQp++7WCbJCU0u7cATjlO40ZS06V3v
eIR4tZD+FbHGnPuuGOnK4nPKgDR28z9PxyB022HNBEpk7UbAVhT4Z2VysXEcPJCS
q5jP5hEEgV34zdz+8f31vu1/Lxd24IkTZuZ19mZaPtD3DcCgN6m1PCKduNqX4ZcU
rvI+kMzNDB6A9dPN0X1nwolYKRvDEihnI8sGcgHTnP49rPRjpOvh+TzOKMrFMLD5
XaRVB9zYlG1HxynI3GZoMEbUnzufsi7E1+zVkzNgd5RGD2lIcIC8aFlZ1RIul7BF
uiEiEB8dBhn2p6hruRnXkw==
)

2019-02-21T11:42:04-0600 Z7apZ5RqDz [info] end of checkForUpdate() Update to Nextcloud 15.0.4 available. (channel: "stable")<br /><span class="light">Following file will be downloaded automatically:</span> <code class="light">https://download.nextcloud.com/server/releases/nextcloud-15.0.4.zip</code>
2019-02-21T11:42:08-0600 auwmwvu4Yz [info] request to updater
2019-02-21T11:42:08-0600 auwmwvu4Yz [info] currentStep()
2019-02-21T11:42:08-0600 auwmwvu4Yz [info] POST request for step "1"
2019-02-21T11:42:09-0600 auwmwvu4Yz [info] startStep("1")
2019-02-21T11:42:09-0600 auwmwvu4Yz [info] checkForExpectedFilesAndFolders()
2019-02-21T11:42:09-0600 auwmwvu4Yz [info] end of checkForExpectedFilesAndFolders()
2019-02-21T11:42:09-0600 auwmwvu4Yz [info] endStep("1")
2019-02-21T11:42:09-0600 wO0npGCKLn [info] request to updater
2019-02-21T11:42:09-0600 wO0npGCKLn [info] currentStep()
2019-02-21T11:42:09-0600 wO0npGCKLn [info] Step 1 is in state "end".
2019-02-21T11:42:09-0600 wO0npGCKLn [info] POST request for step "2"
2019-02-21T11:42:09-0600 wO0npGCKLn [info] startStep("2")
2019-02-21T11:42:09-0600 wO0npGCKLn [info] checkWritePermissions()
2019-02-21T11:42:09-0600 wO0npGCKLn [info] end of checkWritePermissions()
2019-02-21T11:42:09-0600 wO0npGCKLn [info] endStep("2")
2019-02-21T11:42:09-0600 mr8WpnnjFz [info] request to updater
2019-02-21T11:42:09-0600 mr8WpnnjFz [info] currentStep()
2019-02-21T11:42:09-0600 mr8WpnnjFz [info] Step 2 is in state "end".
2019-02-21T11:42:09-0600 mr8WpnnjFz [info] POST request for step "3"
2019-02-21T11:42:09-0600 mr8WpnnjFz [info] startStep("3")
2019-02-21T11:42:09-0600 mr8WpnnjFz [info] createBackup()
2019-02-21T11:42:09-0600 mr8WpnnjFz [info] backup folder location exists
2019-02-21T11:44:19-0600 mr8WpnnjFz [info] end of createBackup()
2019-02-21T11:44:19-0600 mr8WpnnjFz [info] endStep("3")
2019-02-21T17:57:41+0000 SS6EtvkyYO [info] updater cli is executed
2019-02-21T17:57:41+0000 SS6EtvkyYO [info] currentStep()
2019-02-21T17:57:41+0000 SS6EtvkyYO [info] Step 3 is in state "end".
2019-02-21T17:57:41+0000 SS6EtvkyYO [info] current version: 14.0.2 build time: 2018-10-11T07:45:17+00:00 51813f76d99db70998efe867ba689fd5c2294cbd
2019-02-21T17:57:41+0000 SS6EtvkyYO [info] getUpdateServerResponse()
2019-02-21T17:57:41+0000 SS6EtvkyYO [info] updaterServer: https://updates.nextcloud.org/updater_server/
2019-02-21T17:57:41+0000 SS6EtvkyYO [info] releaseChannel: stable
2019-02-21T17:57:41+0000 SS6EtvkyYO [info] internal version: 14.0.2.2
2019-02-21T17:57:41+0000 SS6EtvkyYO [info] updateURL: https://updates.nextcloud.org/updater_server/?version=14x0x2x2xxxstablexx2018-10-11T07%3A45%3A17%2B00%3A00+51813f76d99db70998efe867ba689fd5c2294cbdx7x2x13
2019-02-21T17:57:42+0000 SS6EtvkyYO [info] getUpdateServerResponse response: Array
(
    [version] => 15.0.4.0
    [versionstring] => Nextcloud 15.0.4
    [url] => https://download.nextcloud.com/server/releases/nextcloud-15.0.4.zip
    [web] => https://docs.nextcloud.com/server/15/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=15.0.4
    [autoupdater] => 1
    [eol] => 0
    [signature] => qc02+m/hYn1LP7ax2j9nkm6twoEMS2adz6WQp++7WCbJCU0u7cATjlO40ZS06V3v
eIR4tZD+FbHGnPuuGOnK4nPKgDR28z9PxyB022HNBEpk7UbAVhT4Z2VysXEcPJCS
q5jP5hEEgV34zdz+8f31vu1/Lxd24IkTZuZ19mZaPtD3DcCgN6m1PCKduNqX4ZcU
rvI+kMzNDB6A9dPN0X1nwolYKRvDEihnI8sGcgHTnP49rPRjpOvh+TzOKMrFMLD5
XaRVB9zYlG1HxynI3GZoMEbUnzufsi7E1+zVkzNgd5RGD2lIcIC8aFlZ1RIul7BF
uiEiEB8dBhn2p6hruRnXkw==
)

2019-02-21T17:57:42+0000 SS6EtvkyYO [info] checkForUpdate() Array
(
    [version] => 15.0.4.0
    [versionstring] => Nextcloud 15.0.4
    [url] => https://download.nextcloud.com/server/releases/nextcloud-15.0.4.zip
    [web] => https://docs.nextcloud.com/server/15/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=15.0.4
    [autoupdater] => 1
    [eol] => 0
    [signature] => qc02+m/hYn1LP7ax2j9nkm6twoEMS2adz6WQp++7WCbJCU0u7cATjlO40ZS06V3v
eIR4tZD+FbHGnPuuGOnK4nPKgDR28z9PxyB022HNBEpk7UbAVhT4Z2VysXEcPJCS
q5jP5hEEgV34zdz+8f31vu1/Lxd24IkTZuZ19mZaPtD3DcCgN6m1PCKduNqX4ZcU
rvI+kMzNDB6A9dPN0X1nwolYKRvDEihnI8sGcgHTnP49rPRjpOvh+TzOKMrFMLD5
XaRVB9zYlG1HxynI3GZoMEbUnzufsi7E1+zVkzNgd5RGD2lIcIC8aFlZ1RIul7BF
uiEiEB8dBhn2p6hruRnXkw==
)

2019-02-21T17:57:42+0000 SS6EtvkyYO [info] end of checkForUpdate() Update to Nextcloud 15.0.4 available. (channel: "stable")<br /><span class="light">Following file will be downloaded automatically:</span> <code class="light">https://download.nextcloud.com/server/releases/nextcloud-15.0.4.zip</code>
2019-02-21T17:58:06+0000 SS6EtvkyYO [info] updater started
2019-02-21T17:58:06+0000 SS6EtvkyYO [info] executeStep request for step "4"
2019-02-21T17:58:06+0000 SS6EtvkyYO [info] startStep("4")
2019-02-21T17:58:06+0000 SS6EtvkyYO [info] downloadUpdate()
2019-02-21T17:58:06+0000 SS6EtvkyYO [info] getUpdateServerResponse()
2019-02-21T17:58:06+0000 SS6EtvkyYO [info] updaterServer: https://updates.nextcloud.org/updater_server/
2019-02-21T17:58:06+0000 SS6EtvkyYO [info] releaseChannel: stable
2019-02-21T17:58:06+0000 SS6EtvkyYO [info] internal version: 14.0.2.2
2019-02-21T17:58:06+0000 SS6EtvkyYO [info] updateURL: https://updates.nextcloud.org/updater_server/?version=14x0x2x2xxxstablexx2018-10-11T07%3A45%3A17%2B00%3A00+51813f76d99db70998efe867ba689fd5c2294cbdx7x2x13
2019-02-21T17:58:07+0000 SS6EtvkyYO [info] getUpdateServerResponse response: Array
(
    [version] => 15.0.4.0
    [versionstring] => Nextcloud 15.0.4
    [url] => https://download.nextcloud.com/server/releases/nextcloud-15.0.4.zip
    [web] => https://docs.nextcloud.com/server/15/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=15.0.4
    [autoupdater] => 1
    [eol] => 0
    [signature] => qc02+m/hYn1LP7ax2j9nkm6twoEMS2adz6WQp++7WCbJCU0u7cATjlO40ZS06V3v
eIR4tZD+FbHGnPuuGOnK4nPKgDR28z9PxyB022HNBEpk7UbAVhT4Z2VysXEcPJCS
q5jP5hEEgV34zdz+8f31vu1/Lxd24IkTZuZ19mZaPtD3DcCgN6m1PCKduNqX4ZcU
rvI+kMzNDB6A9dPN0X1nwolYKRvDEihnI8sGcgHTnP49rPRjpOvh+TzOKMrFMLD5
XaRVB9zYlG1HxynI3GZoMEbUnzufsi7E1+zVkzNgd5RGD2lIcIC8aFlZ1RIul7BF
uiEiEB8dBhn2p6hruRnXkw==
)

2019-02-21T17:58:07+0000 SS6EtvkyYO [info] storage location exists
2019-02-21T17:58:57+0000 SS6EtvkyYO [info] end of downloadUpdate()
2019-02-21T17:58:57+0000 SS6EtvkyYO [info] endStep("4")
2019-02-21T17:58:57+0000 SS6EtvkyYO [info] executeStep request for step "5"
2019-02-21T17:58:57+0000 SS6EtvkyYO [info] startStep("5")
2019-02-21T17:58:57+0000 SS6EtvkyYO [info] verifyIntegrity()
2019-02-21T17:58:57+0000 SS6EtvkyYO [info] getUpdateServerResponse()
2019-02-21T17:58:57+0000 SS6EtvkyYO [info] updaterServer: https://updates.nextcloud.org/updater_server/
2019-02-21T17:58:57+0000 SS6EtvkyYO [info] releaseChannel: stable
2019-02-21T17:58:57+0000 SS6EtvkyYO [info] internal version: 14.0.2.2
2019-02-21T17:58:57+0000 SS6EtvkyYO [info] updateURL: https://updates.nextcloud.org/updater_server/?version=14x0x2x2xxxstablexx2018-10-11T07%3A45%3A17%2B00%3A00+51813f76d99db70998efe867ba689fd5c2294cbdx7x2x13
2019-02-21T17:58:58+0000 SS6EtvkyYO [info] getUpdateServerResponse response: Array
(
    [version] => 15.0.4.0
    [versionstring] => Nextcloud 15.0.4
    [url] => https://download.nextcloud.com/server/releases/nextcloud-15.0.4.zip
    [web] => https://docs.nextcloud.com/server/15/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=15.0.4
    [autoupdater] => 1
    [eol] => 0
    [signature] => qc02+m/hYn1LP7ax2j9nkm6twoEMS2adz6WQp++7WCbJCU0u7cATjlO40ZS06V3v
eIR4tZD+FbHGnPuuGOnK4nPKgDR28z9PxyB022HNBEpk7UbAVhT4Z2VysXEcPJCS
q5jP5hEEgV34zdz+8f31vu1/Lxd24IkTZuZ19mZaPtD3DcCgN6m1PCKduNqX4ZcU
rvI+kMzNDB6A9dPN0X1nwolYKRvDEihnI8sGcgHTnP49rPRjpOvh+TzOKMrFMLD5
XaRVB9zYlG1HxynI3GZoMEbUnzufsi7E1+zVkzNgd5RGD2lIcIC8aFlZ1RIul7BF
uiEiEB8dBhn2p6hruRnXkw==
)

2019-02-21T17:58:58+0000 SS6EtvkyYO [info] storage location: /data/updater-octuc72d36du/downloads/
2019-02-21T17:59:02+0000 SS6EtvkyYO [info] end of verifyIntegrity()
2019-02-21T17:59:02+0000 SS6EtvkyYO [info] endStep("5")
2019-02-21T17:59:02+0000 SS6EtvkyYO [info] executeStep request for step "6"
2019-02-21T17:59:02+0000 SS6EtvkyYO [info] startStep("6")
2019-02-21T17:59:02+0000 SS6EtvkyYO [info] extractDownload()
2019-02-21T17:59:02+0000 SS6EtvkyYO [info] storage location: /data/updater-octuc72d36du/downloads/
2019-02-21T18:01:56+0000 SS6EtvkyYO [info] end of extractDownload()
2019-02-21T18:02:02+0000 SS6EtvkyYO [info] endStep("6")
2019-02-21T18:02:05+0000 SS6EtvkyYO [info] executeStep request for step "7"
2019-02-21T18:02:05+0000 SS6EtvkyYO [info] startStep("7")
2019-02-21T18:02:05+0000 SS6EtvkyYO [info] setMaintenanceMode("true")
2019-02-21T18:02:05+0000 SS6EtvkyYO [info] configFileName /config/www/nextcloud/updater/../config/config.php
2019-02-21T18:02:05+0000 SS6EtvkyYO [info] end of setMaintenanceMode()
2019-02-21T18:02:05+0000 SS6EtvkyYO [info] endStep("7")
2019-02-21T18:02:05+0000 SS6EtvkyYO [info] executeStep request for step "8"
2019-02-21T18:02:05+0000 SS6EtvkyYO [info] startStep("8")
2019-02-21T18:02:05+0000 SS6EtvkyYO [info] replaceEntryPoints()
2019-02-21T18:02:05+0000 SS6EtvkyYO [info] replace index.php
2019-02-21T18:02:05+0000 SS6EtvkyYO [info] replace status.php
2019-02-21T18:02:05+0000 SS6EtvkyYO [info] replace remote.php
2019-02-21T18:02:05+0000 SS6EtvkyYO [info] replace public.php
2019-02-21T18:02:05+0000 SS6EtvkyYO [info] replace ocs/v1.php
2019-02-21T18:02:05+0000 SS6EtvkyYO [info] replace ocs/v2.php
2019-02-21T18:02:05+0000 SS6EtvkyYO [info] end of replaceEntryPoints()
2019-02-21T18:02:05+0000 SS6EtvkyYO [info] endStep("8")
2019-02-21T18:02:05+0000 SS6EtvkyYO [info] executeStep request for step "9"
2019-02-21T18:02:05+0000 SS6EtvkyYO [info] startStep("9")
2019-02-21T18:02:05+0000 SS6EtvkyYO [info] deleteOldFiles()
2019-02-21T18:02:09+0000 SS6EtvkyYO [info] config sample exists
2019-02-21T18:02:09+0000 SS6EtvkyYO [info] themes README exists
2019-02-21T18:02:13+0000 SS6EtvkyYO [error] executeStep request failed with other exception
2019-02-21T18:02:14+0000 SS6EtvkyYO [error] Exception: Exception
Message: Could not rmdir: /config/www/nextcloud/updater/../lib/private/legacy
Code:0
Trace:
#0 phar:///config/www/nextcloud/updater/updater.phar/lib/UpdateCommand.php(374): NC\Updater\Updater->deleteOldFiles()
#1 phar:///config/www/nextcloud/updater/updater.phar/lib/UpdateCommand.php(228): NC\Updater\UpdateCommand->executeStep(9)
#2 phar:///config/www/nextcloud/updater/updater.phar/vendor/symfony/console/Command/Command.php(256): NC\Updater\UpdateCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 phar:///config/www/nextcloud/updater/updater.phar/vendor/symfony/console/Application.php(820): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 phar:///config/www/nextcloud/updater/updater.phar/vendor/symfony/console/Application.php(187): Symfony\Component\Console\Application->doRunCommand(Object(NC\Updater\UpdateCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#5 phar:///config/www/nextcloud/updater/updater.phar/vendor/symfony/console/Application.php(118): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 phar:///config/www/nextcloud/updater/updater.phar/updater.php(10): Symfony\Component\Console\Application->run()
#7 /config/www/nextcloud/updater/updater.phar(10): require('phar:///config/...')
#8 {main}
File:phar:///config/www/nextcloud/updater/updater.phar/lib/Updater.php
Line:845

2019-02-21T18:02:14+0000 SS6EtvkyYO [info] rollbackChanges("9")
2019-02-21T18:02:14+0000 SS6EtvkyYO [info] unlink .step
2019-02-21T18:02:14+0000 SS6EtvkyYO [info] rollbackChanges - step >= 7
2019-02-21T18:02:14+0000 SS6EtvkyYO [info] end of  rollbackChanges()
2019-02-21T18:10:48+0000 RdJgFsLOc6 [info] updater cli is executed
2019-02-21T18:10:48+0000 RdJgFsLOc6 [info] currentStep()
2019-02-21T18:10:48+0000 RdJgFsLOc6 [info] current version: 14.0.2 build time:
2019-02-21T18:10:48+0000 RdJgFsLOc6 [info] getUpdateServerResponse()
2019-02-21T18:10:48+0000 RdJgFsLOc6 [info] updaterServer: https://updates.nextcloud.org/updater_server/
2019-02-21T18:10:48+0000 RdJgFsLOc6 [info] releaseChannel: stable
2019-02-21T18:10:48+0000 RdJgFsLOc6 [info] internal version: 14.0.2.2
2019-02-21T18:10:48+0000 RdJgFsLOc6 [info] updateURL: https://updates.nextcloud.org/updater_server/?version=14x0x2x2xxxstablexxx7x2x13
2019-02-21T18:10:49+0000 RdJgFsLOc6 [info] getUpdateServerResponse response: Array
(
    [version] => 15.0.4.0
    [versionstring] => Nextcloud 15.0.4
    [url] => https://download.nextcloud.com/server/releases/nextcloud-15.0.4.zip
    [web] => https://docs.nextcloud.com/server/15/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=15.0.4
    [autoupdater] => 1
    [eol] => 0
    [signature] => qc02+m/hYn1LP7ax2j9nkm6twoEMS2adz6WQp++7WCbJCU0u7cATjlO40ZS06V3v
eIR4tZD+FbHGnPuuGOnK4nPKgDR28z9PxyB022HNBEpk7UbAVhT4Z2VysXEcPJCS
q5jP5hEEgV34zdz+8f31vu1/Lxd24IkTZuZ19mZaPtD3DcCgN6m1PCKduNqX4ZcU
rvI+kMzNDB6A9dPN0X1nwolYKRvDEihnI8sGcgHTnP49rPRjpOvh+TzOKMrFMLD5
XaRVB9zYlG1HxynI3GZoMEbUnzufsi7E1+zVkzNgd5RGD2lIcIC8aFlZ1RIul7BF
uiEiEB8dBhn2p6hruRnXkw==
)

2019-02-21T18:10:49+0000 RdJgFsLOc6 [info] checkForUpdate() Array
(
    [version] => 15.0.4.0
    [versionstring] => Nextcloud 15.0.4
    [url] => https://download.nextcloud.com/server/releases/nextcloud-15.0.4.zip
    [web] => https://docs.nextcloud.com/server/15/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=15.0.4
    [autoupdater] => 1
    [eol] => 0
    [signature] => qc02+m/hYn1LP7ax2j9nkm6twoEMS2adz6WQp++7WCbJCU0u7cATjlO40ZS06V3v
eIR4tZD+FbHGnPuuGOnK4nPKgDR28z9PxyB022HNBEpk7UbAVhT4Z2VysXEcPJCS
q5jP5hEEgV34zdz+8f31vu1/Lxd24IkTZuZ19mZaPtD3DcCgN6m1PCKduNqX4ZcU
rvI+kMzNDB6A9dPN0X1nwolYKRvDEihnI8sGcgHTnP49rPRjpOvh+TzOKMrFMLD5
XaRVB9zYlG1HxynI3GZoMEbUnzufsi7E1+zVkzNgd5RGD2lIcIC8aFlZ1RIul7BF
uiEiEB8dBhn2p6hruRnXkw==
)

2019-02-21T18:10:49+0000 RdJgFsLOc6 [info] end of checkForUpdate() Update to Nextcloud 15.0.4 available. (channel: "stable")<br /><span class="light">Following file will be downloaded automatically:</span> <code class="light">https://download.nextcloud.com/server/releases/nextcloud-15.0.4.zip</code>
2019-02-21T18:11:05+0000 RdJgFsLOc6 [info] updater started
2019-02-21T18:11:05+0000 RdJgFsLOc6 [info] executeStep request for step "1"
...

why did you do that? shutdown the container.get the new image (nc15). and start a container from that image.

that’s way docker works.

I seemed stuck on 14.0.2 (never got updated to newer 14.0.x versions) despite container itself being updated.

I was actually fine with 14 but then I started getting sync errors after an Android client update so figured a major version change was worth the upgrade.

If course I completely forgot the manual update would likely get overridden with the next container update. :crazy_face:

Regardless of how, I’m still stick with the what (broken container).

It sounds like a fresh container is the way to go (who knows what damage I did poking around the CLI) so I’ll search the forum to find instructions on migrating settings from one container to another.

At least I’ll have the broken v14 as a fallback if I screw something up on the new container. :slight_smile:

probably the database version doesn’t fit anymore to your container version. (not the version of mysql. the schema version.)

if your setup is correct you would have a) your data folder, b) the www folder of nextcloud including config.php and c) your database persistent on the hosts file system.
there should be no config in the container.

the nc version in config.php and the version of your database should match.

if you change just now to a newer image there is an upgrade script
https://github.com/nextcloud/docker/blob/master/15.0/fpm-alpine/entrypoint.sh#L121

that’s it.

Thanks for the tips. I’m sure I didn’t do things correctly, but they worked so that’s good. :slight_smile:

I ended up:

  • installing a new Docker container with same settings as the broken one
  • copying over the /config/www/nextcloud/config/ from the broken container
  • starting up the container (so I could connect to a terminal)
  • running sudo -u abc chown abc /config/www/nextcloud/config/
  • going to the web UI and being prompted to install the update

I didn’t do anything with any database, so I’m assuming I just got lucky.