Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 12 -> 13 ; Stuck in step 10 : Move new files in place : Parsing response failed #156

Closed
Feratti opened this issue Feb 14, 2018 · 9 comments

Comments

@Feratti
Copy link

Feratti commented Feb 14, 2018

Hi guys!

After upgrading from v12 to v13 of nextcloud, i faced with problem in step 10 Move new files in place : Parsing response failed

When i make manually "php updater.phar" i got the error :
Parse error: syntax error, unexpected '<' in ../nextcloud/updater/updater.phar on line 38

Shared server provider is Godaddy

This is updater.log output:

2018-02-13T23:19:22-0700 TrIjMpo8kl [info] storage location: /home/content/03/11942903/html/nextcloud/data/updater-oca3vflrdijq/downloads/
2018-02-13T23:19:23-0700 TrIjMpo8kl [info] end of verifyIntegrity()
2018-02-13T23:19:23-0700 TrIjMpo8kl [info] endStep("6")
2018-02-13T23:19:23-0700 ZCvCajCuaE [info] request to updater
2018-02-13T23:19:23-0700 ZCvCajCuaE [info] currentStep()
2018-02-13T23:19:23-0700 ZCvCajCuaE [info] Step 6 is in state "end".
2018-02-13T23:19:23-0700 ZCvCajCuaE [info] POST request for step "7"
2018-02-13T23:19:24-0700 ZCvCajCuaE [info] startStep("7")
2018-02-13T23:19:24-0700 ZCvCajCuaE [info] extractDownload()
2018-02-13T23:19:24-0700 ZCvCajCuaE [info] storage location: /home/content/03/11942903/html/nextcloud/data/updater-oca3vflrdijq/downloads/
2018-02-13T23:20:10-0700 ZCvCajCuaE [info] end of extractDownload()
2018-02-13T23:20:10-0700 ZCvCajCuaE [info] endStep("7")
2018-02-13T23:20:10-0700 6k9okdrkil [info] request to updater
2018-02-13T23:20:10-0700 6k9okdrkil [info] currentStep()
2018-02-13T23:20:10-0700 6k9okdrkil [info] Step 7 is in state "end".
2018-02-13T23:20:10-0700 6k9okdrkil [info] POST request for step "8"
2018-02-13T23:20:11-0700 6k9okdrkil [info] startStep("8")
2018-02-13T23:20:11-0700 6k9okdrkil [info] replaceEntryPoints()
2018-02-13T23:20:11-0700 6k9okdrkil [info] replace index.php
2018-02-13T23:20:11-0700 6k9okdrkil [info] replace status.php
2018-02-13T23:20:11-0700 6k9okdrkil [info] replace remote.php
2018-02-13T23:20:11-0700 6k9okdrkil [info] replace public.php
2018-02-13T23:20:11-0700 6k9okdrkil [info] replace ocs/v1.php
2018-02-13T23:20:11-0700 6k9okdrkil [info] replace ocs/v2.php
2018-02-13T23:20:11-0700 6k9okdrkil [info] end of replaceEntryPoints()
2018-02-13T23:20:11-0700 6k9okdrkil [info] endStep("8")
2018-02-13T23:20:11-0700 eJ3xvtWENh [info] request to updater
2018-02-13T23:20:11-0700 eJ3xvtWENh [info] currentStep()
2018-02-13T23:20:11-0700 eJ3xvtWENh [info] Step 8 is in state "end".
2018-02-13T23:20:11-0700 eJ3xvtWENh [info] POST request for step "9"
2018-02-13T23:20:11-0700 eJ3xvtWENh [info] startStep("9")
2018-02-13T23:20:11-0700 eJ3xvtWENh [info] deleteOldFiles()
2018-02-13T23:20:18-0700 eJ3xvtWENh [info] config sample exists
2018-02-13T23:20:18-0700 eJ3xvtWENh [info] thmes README exists
2018-02-13T23:20:39-0700 eJ3xvtWENh [info] end of deleteOldFiles()
2018-02-13T23:20:39-0700 eJ3xvtWENh [info] endStep("9")
@Feratti Feratti changed the title Stuck in step 10 : Move new files in place : Parsing response failed Upgrade 12 -> 13 ; Stuck in step 10 : Move new files in place : Parsing response failed Feb 14, 2018
@Feratti Feratti changed the title Upgrade 12 -> 13 ; Stuck in step 10 : Move new files in place : Parsing response failed Update 12 -> 13 ; Stuck in step 10 : Move new files in place : Parsing response failed Feb 14, 2018
@Feratti
Copy link
Author

Feratti commented Feb 14, 2018

error

@Feratti
Copy link
Author

Feratti commented Feb 15, 2018

Problem was solved with command rsync -Aax nextcloud_newversion/ nextcloud/ and then upgrade was successful from web page.

Maybe problem was in updater itself, because when i make php updater.phar i get the error:


Parse error: syntax error, unexpected '<' in ..../nextcloud/updater/updater.phar on line 38

php version: 5.6

@MorrisJobke
Copy link
Member

Parse error: syntax error, unexpected '<' in ..../nextcloud/updater/updater.phar on line 38

:/ Not nice ... but I can't reproduce this,

@mjjzf
Copy link

mjjzf commented Jun 7, 2018

Experiencing same issue 13.0.2 > 13.0.3, shared hosting

@prschopf
Copy link

prschopf commented Jun 7, 2018

same issue here, 13.0.2 > 13.0.3, shared hosting

What I did to solve it:

mv nextcloud nextcloud.old
wget https://download.nextcloud.com/server/releases/nextcloud-13.0.3.zip
unzip nextcloud-13.0.3.zip
cp nextcloud.old/config/config.php nextcloud/config
changed maintenance mode to false
Logged in again so, I went directly to database update procedure
changed maintenance mode to false

Now, its updated. After this procedure, you may delete some files: rm -fr nextcloud.old nextcloud-13.0.3.zip

@phirschbeck
Copy link

phirschbeck commented Sep 23, 2018

same issue here, 13.0.2 > 13.0.6

Solved it with a simple click on "retry update"!

@nichierichetti
Copy link

Hello all,

I just had this problem in updating to 21.0.7
Move new files in place. Parsing response failed.

the detailed response is simply the same content of the update page but in un-parsed html

@nichierichetti
Copy link

Hello all,

I just had this problem in updating to 21.0.7 Move new files in place. Parsing response failed.

the detailed response is simply the same content of the update page but in un-parsed html

UP

@joshtrichards
Copy link
Member

The Parsing Response Failed was fixed in #90.

@Feratti Not sure why things originally failed, but may be related to #519 or other oddities with some hosting environments. The inability to run the phar is weird, but maybe it was corrupted somehow. Glad the manual update approach worked!

@phirschbeck The need to do a Retry Update (once or several times) may be addressed with pending work on the Iterator in (#519).

Since this is such a old report and many things have changed, I'm going to close this out. But any of you feel free to create new dedicated issues for any new bugs you encounter. Thanks for your reports!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants