On October 19, 2021, we have enabled single-sign-on for our Plesk Support Center to provide a seamless login/account experience. This implies that you’ll be able to use a single account across any of our web-facing properties.
If you had already registered your account at Plesk 360 (formerly known as My Plesk) please use one for login. Otherwise please re-register it using the same email address as your existing Zendesk login (support account). It’s essential that you use the same email address on our support center to ensure that your tickets stay attached to the same account.

Unable to deploy NextCloud on a domain: Unable to download file: nextcloud-21.0.2.zip

Follow

Comments

1 comment

  • Avatar
    Wolfgang Reidlinger (Edited )

    Hi Pavel;

    I'm trying to update my nextcloud extension which runs on a subdomain of another (wordpress) website.


    I'm getting this error in the Plesk GUI:

    Execution filemng has failed with exit code 255, stdout: #!/usr/bin/env php Nextcloud Updater - version: v20.0.0beta4-11-g68fa0d4 Current version is 21.0.4. Update to Nextcloud 22.1.1 available. (channel: "stable") Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-22.1.1.zip Open changelog ↗ Updater run in non-interactive mode. Start update Info: Pressing Ctrl-C will finish the currently running step and then stops the updater. [ ] Check for expected files ... [2K[✔] Check for expected files [ ] Check for write permissions ... [2K[✔] Check for write permissions [ ] Create backup ... [2K[✔] Create backup [ ] Downloading ... [2K[✔] Downloading [ ] Verify integrity ..., stderr: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 173684032 bytes) in phar:///var/www/vhosts/domain.com/nextcloud.domain.com/updater/updater.phar/lib/Updater.php on line 637

     

    The Logfile shows the following:

    tail -f /var/www/vhosts/domain.com/.nextcloud/data/4e9d1a52acaa/updater.log


    2021-09-28T12:14:08+0000 cCQhx2SWiy [info] updater cli is executed
    2021-09-28T12:14:08+0000 cCQhx2SWiy [info] currentStep()
    2021-09-28T12:14:08+0000 cCQhx2SWiy [info] current version: 21.0.4 build time: 2021-08-03T15:44:43+00:00 c52fea0b16690b492f6c4175e1ae71d488936244
    2021-09-28T12:14:08+0000 cCQhx2SWiy [info] getUpdateServerResponse()
    2021-09-28T12:14:08+0000 cCQhx2SWiy [info] updaterServer: https://updates.nextcloud.com/updater_server/
    2021-09-28T12:14:08+0000 cCQhx2SWiy [info] releaseChannel: stable
    2021-09-28T12:14:08+0000 cCQhx2SWiy [info] internal version: 21.0.4.1
    2021-09-28T12:14:08+0000 cCQhx2SWiy [info] updateURL: https://updates.nextcloud.com/updater_server/?version=21x0x4x1xxxstablexx2021-08-03T15%3A44%3A43%2B00%3A00+c52fea0b16690b492f6c4175e1ae71d488936244x7x4x23
    2021-09-28T12:14:09+0000 cCQhx2SWiy [info] getUpdateServerResponse response: Array
    (
    [version] => 22.1.1.2
    [versionstring] => Nextcloud 22.1.1
    [url] => https://download.nextcloud.com/server/releases/nextcloud-22.1.1.zip
    [web] => https://docs.nextcloud.com/server/22/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=22.1.1
    [autoupdater] => 1
    [eol] => 0
    [signature] => YfHk1LPEfYKblt8oZWuk0eP7HXmf8+ZuvENoazUYXYcZVWkwE82miY/FI3ED8wA0
    HGpmfvEfy4PKm/fOiehX7nx4M7d1nefnX0m2UwLy7/zKlPhXWbKO1ZWn8/EClBwX
    O79lyW4/Hegh93jWfHXXhnrq2okidKUi5zWF91UYcacmb2YlvuWRzrWlIaLWj7pF
    InPdgd99KrRMpTHTBHgPz0UOpHn8rXk+GN1inJhGdaW3b38g8hjJPrwwjfX8+eta
    kXfWGPhJuilHGsmSUolvLB3dB+l7pKIB7vuDIhcqTxrU/WC14nTAUg/llWm4ppzl
    J4kY3VMkMai9djRWLI7hrA==
    )

    2021-09-28T12:14:09+0000 cCQhx2SWiy [info] checkForUpdate() Array
    (
    [version] => 22.1.1.2
    [versionstring] => Nextcloud 22.1.1
    [url] => https://download.nextcloud.com/server/releases/nextcloud-22.1.1.zip
    [web] => https://docs.nextcloud.com/server/22/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=22.1.1
    [autoupdater] => 1
    [eol] => 0
    [signature] => YfHk1LPEfYKblt8oZWuk0eP7HXmf8+ZuvENoazUYXYcZVWkwE82miY/FI3ED8wA0
    HGpmfvEfy4PKm/fOiehX7nx4M7d1nefnX0m2UwLy7/zKlPhXWbKO1ZWn8/EClBwX
    O79lyW4/Hegh93jWfHXXhnrq2okidKUi5zWF91UYcacmb2YlvuWRzrWlIaLWj7pF
    InPdgd99KrRMpTHTBHgPz0UOpHn8rXk+GN1inJhGdaW3b38g8hjJPrwwjfX8+eta
    kXfWGPhJuilHGsmSUolvLB3dB+l7pKIB7vuDIhcqTxrU/WC14nTAUg/llWm4ppzl
    J4kY3VMkMai9djRWLI7hrA==
    )

    2021-09-28T12:14:09+0000 cCQhx2SWiy [info] getChangelogURL()
    2021-09-28T12:14:09+0000 cCQhx2SWiy [info] end of checkForUpdate() Update to Nextcloud 22.1.1 available. (channel: "stable")<br /><span class="light">Following file will be downloaded automatically:</span> <code class="light">https://download.nextcloud.com/server/releases/nextcloud-22.1.1.zip</code><br /><a class="external_link" href="https://nextcloud.com/changelog/#22-1-1" target="_blank" rel="noreferrer noopener">Open changelog ↗</a>
    2021-09-28T12:14:09+0000 cCQhx2SWiy [info] updater run in non-interactive mode
    2021-09-28T12:14:09+0000 cCQhx2SWiy [info] updater started
    2021-09-28T12:14:09+0000 cCQhx2SWiy [info] executeStep request for step "1"
    2021-09-28T12:14:09+0000 cCQhx2SWiy [info] startStep("1")
    2021-09-28T12:14:09+0000 cCQhx2SWiy [info] checkForExpectedFilesAndFolders()
    2021-09-28T12:14:09+0000 cCQhx2SWiy [info] end of checkForExpectedFilesAndFolders()
    2021-09-28T12:14:09+0000 cCQhx2SWiy [info] endStep("1")
    2021-09-28T12:14:09+0000 cCQhx2SWiy [info] executeStep request for step "2"
    2021-09-28T12:14:09+0000 cCQhx2SWiy [info] startStep("2")
    2021-09-28T12:14:09+0000 cCQhx2SWiy [info] checkWritePermissions()
    2021-09-28T12:14:09+0000 cCQhx2SWiy [info] end of checkWritePermissions()
    2021-09-28T12:14:09+0000 cCQhx2SWiy [info] endStep("2")
    2021-09-28T12:14:09+0000 cCQhx2SWiy [info] executeStep request for step "3"
    2021-09-28T12:14:09+0000 cCQhx2SWiy [info] startStep("3")
    2021-09-28T12:14:09+0000 cCQhx2SWiy [info] createBackup()
    2021-09-28T12:14:09+0000 cCQhx2SWiy [info] backup folder location: /var/www/vhosts/domain.com/.nextcloud/data/4e9d1a52acaa/updater-oc98u2d26q1g/backups/nextcloud-21.0.4.1-1632831249/
    2021-09-28T12:14:16+0000 cCQhx2SWiy [info] end of createBackup()
    2021-09-28T12:14:16+0000 cCQhx2SWiy [info] endStep("3")
    2021-09-28T12:14:16+0000 cCQhx2SWiy [info] executeStep request for step "4"
    2021-09-28T12:14:16+0000 cCQhx2SWiy [info] startStep("4")
    2021-09-28T12:14:16+0000 cCQhx2SWiy [info] downloadUpdate()
    2021-09-28T12:14:16+0000 cCQhx2SWiy [info] getUpdateServerResponse()
    2021-09-28T12:14:16+0000 cCQhx2SWiy [info] updaterServer: https://updates.nextcloud.com/updater_server/
    2021-09-28T12:14:16+0000 cCQhx2SWiy [info] releaseChannel: stable
    2021-09-28T12:14:16+0000 cCQhx2SWiy [info] internal version: 21.0.4.1
    2021-09-28T12:14:16+0000 cCQhx2SWiy [info] updateURL: https://updates.nextcloud.com/updater_server/?version=21x0x4x1xxxstablexx2021-08-03T15%3A44%3A43%2B00%3A00+c52fea0b16690b492f6c4175e1ae71d488936244x7x4x23
    2021-09-28T12:14:16+0000 cCQhx2SWiy [info] getUpdateServerResponse response: Array
    (
    [version] => 22.1.1.2
    [versionstring] => Nextcloud 22.1.1
    [url] => https://download.nextcloud.com/server/releases/nextcloud-22.1.1.zip
    [web] => https://docs.nextcloud.com/server/22/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=22.1.1
    [autoupdater] => 1
    [eol] => 0
    [signature] => YfHk1LPEfYKblt8oZWuk0eP7HXmf8+ZuvENoazUYXYcZVWkwE82miY/FI3ED8wA0
    HGpmfvEfy4PKm/fOiehX7nx4M7d1nefnX0m2UwLy7/zKlPhXWbKO1ZWn8/EClBwX
    O79lyW4/Hegh93jWfHXXhnrq2okidKUi5zWF91UYcacmb2YlvuWRzrWlIaLWj7pF
    InPdgd99KrRMpTHTBHgPz0UOpHn8rXk+GN1inJhGdaW3b38g8hjJPrwwjfX8+eta
    kXfWGPhJuilHGsmSUolvLB3dB+l7pKIB7vuDIhcqTxrU/WC14nTAUg/llWm4ppzl
    J4kY3VMkMai9djRWLI7hrA==
    )

    2021-09-28T12:14:19+0000 cCQhx2SWiy [info] end of downloadUpdate()
    2021-09-28T12:14:19+0000 cCQhx2SWiy [info] endStep("4")
    2021-09-28T12:14:19+0000 cCQhx2SWiy [info] executeStep request for step "5"
    2021-09-28T12:14:19+0000 cCQhx2SWiy [info] startStep("5")
    2021-09-28T12:14:19+0000 cCQhx2SWiy [info] verifyIntegrity()
    2021-09-28T12:14:19+0000 cCQhx2SWiy [info] getUpdateServerResponse()
    2021-09-28T12:14:19+0000 cCQhx2SWiy [info] updaterServer: https://updates.nextcloud.com/updater_server/
    2021-09-28T12:14:19+0000 cCQhx2SWiy [info] releaseChannel: stable
    2021-09-28T12:14:19+0000 cCQhx2SWiy [info] internal version: 21.0.4.1
    2021-09-28T12:14:19+0000 cCQhx2SWiy [info] updateURL: https://updates.nextcloud.com/updater_server/?version=21x0x4x1xxxstablexx2021-08-03T15%3A44%3A43%2B00%3A00+c52fea0b16690b492f6c4175e1ae71d488936244x7x4x23
    2021-09-28T12:14:20+0000 cCQhx2SWiy [info] getUpdateServerResponse response: Array
    (
    [version] => 22.1.1.2
    [versionstring] => Nextcloud 22.1.1
    [url] => https://download.nextcloud.com/server/releases/nextcloud-22.1.1.zip
    [web] => https://docs.nextcloud.com/server/22/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=22.1.1
    [autoupdater] => 1
    [eol] => 0
    [signature] => YfHk1LPEfYKblt8oZWuk0eP7HXmf8+ZuvENoazUYXYcZVWkwE82miY/FI3ED8wA0
    HGpmfvEfy4PKm/fOiehX7nx4M7d1nefnX0m2UwLy7/zKlPhXWbKO1ZWn8/EClBwX
    O79lyW4/Hegh93jWfHXXhnrq2okidKUi5zWF91UYcacmb2YlvuWRzrWlIaLWj7pF
    InPdgd99KrRMpTHTBHgPz0UOpHn8rXk+GN1inJhGdaW3b38g8hjJPrwwjfX8+eta
    kXfWGPhJuilHGsmSUolvLB3dB+l7pKIB7vuDIhcqTxrU/WC14nTAUg/llWm4ppzl
    J4kY3VMkMai9djRWLI7hrA==
    )

    2021-09-28T12:14:20+0000 cCQhx2SWiy [info] storage location: /var/www/vhosts/domain.com/.nextcloud/data/4e9d1a52acaa/updater-oc98u2d26q1g/downloads/

     


    It looks to me, that the updater is stuck in step 5, is also is writen in the .step file in the update folder, located in .nextcloud.

    root@server:/var/www/vhosts/domain.com/.nextcloud/data/4e9d1a52acaa/updater-oc98u2d26q1g# ll
    total 20
    drwxr-xr-x 4 webspace-user psacln 4096 Sep 28 14:14 ./
    drwxrwx--- 5 webspace-user psacln 4096 Sep 28 14:14 ../
    -rw-r--r-- 1 webspace-user psacln 26 Sep 28 14:14 .step
    drwxr-x--- 3 webspace-user psacln 4096 Sep 28 14:14 backups/
    drwxr-x--- 2 webspace-user psacln 4096 Sep 28 14:14 downloads/


    root@server:/var/www/vhosts/domain.com/.nextcloud/data/4e9d1a52acaa/updater-oc98u2d26q1g# cat .step

    {"state":"start","step":5}

     


    When I try to hit the update button again I'm getting this in the GUI:

    Execution filemng has failed with exit code 255, stdout: #!/usr/bin/env php Nextcloud Updater - version: v20.0.0beta4-11-g68fa0d4 Step 5 is currently in process. Please call this command later. , stderr:

     

    When I remove the .step file, the whole process can be repeated, till i have {"state":"start","step":5} written in the .step file again!


    I also tried with this comand, without sucess!
    sudo -u webspace-user php /var/www/vhosts/domain.com/nextcloud.domain.com/updater/updater.phar

     


    Questions:

    • if nextcloud extension is installed an a subdomain of an existion domain, is it normal, that the .nextcloud folder is in the root directory of the domain and not the subdomain?
    • can I skip step 5 (integrity check) in the nextcloud update process?



    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request