Download failed while upgrading from 150731 to 150825

More
6 years 3 months ago #124069 by DirkMelchers
Using: Version 2.06+ Build 150731

Preparation: When I use the comfort updater today, it requested the key, so I created an account and added the key to the updater. Then it updated itself.

When I now start the updater, it works until the download of the new package. It simply says: 'ComfortUpdate could not download the update !' and stops there. All previous steps where successful.

What can I do to update to 150825?

Best regards,

Dirk Melchers
The topic has been locked.
More
6 years 3 months ago - 6 years 3 months ago #124070 by jelo
Perhaps a temporary problem with the connection or the updateserver. I would wait a few hours and try it again. If it is a different problem, others will join this thread soon.

I have reproduced the error with the 150812 build.
"ComfortUpdate could not download the update!"

We will have to wait or do the update the manual way.

The updater downloads/generates up to three files in the tmp folder of Limesurvey.

comfort_updater_cookie.txt 232
update.zip 79.911
update_updater.zip 18.456

When deleting the files, the cookie and the update.zip will be redownloaded with the next update attempt.
So looks like a code problem to me.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Last edit: 6 years 3 months ago by jelo.
The topic has been locked.
More
6 years 3 months ago #124091 by c_schmitz
We are currently working on a issue with the ComfortUpdate. LouisGac should comment after it is completely resolved.

Best regards

Carsten Schmitz
LimeSurvey project leader
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
6 years 3 months ago #124093 by LouisGac
ok, it's now completely resolved.

Sorry for the problems. We had several problems at the time :

1. GitHub under DDOS attack, causing trouble on the update server (it's using hardly GitHub)
2. First time we use the new updater for the ComfortUpdate : needing to update the ComfortUpdate itself before launching it. So all the process to do it perfectly wasn't established. Now it is, so it will be fine in the future.
3. Until now, after a ComfortUpdate (or an update of the ComfortUpdate itself), people had to refresh their browser cache. In this case, it was making problems because the ComfortUpdate use AJAX and need specific CSS and JS to work. Now, we're using the Yii asset manager, so it will be no more necessary (for the adminstyle.css. We'll use for other style and javascript in the future, if everything is going fine).

Sorry again for those problems. The testing of the update of the ComfortUpdate has been harder than the the testing of the ComfortUpdate itself.
The topic has been locked.
More
6 years 3 months ago #124096 by jelo
FYI: Currently (18:00 CET) the update server seems to be unavailable.
Error message:
No server answer!
We couldn't reach the server or the server didn't provide any answer. Please try again in few minutes.

Just FYI, no need to hurry. I am still on 2.05+ which is stable.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
More
6 years 3 months ago #124114 by c_schmitz
Jelo, what is the source build your are updating from?

Best regards

Carsten Schmitz
LimeSurvey project leader
The topic has been locked.
More
6 years 3 months ago #124115 by fransmarcelissen
I have the same problem, updating from Build 150812
Frans
The topic has been locked.
More
6 years 3 months ago #124116 by jelo
Version 2.06+ Build 150812
Issue is reproduceable.
@DirkMelchers: What OS is used with your LimeSurvey installation?
I use CentOS 6.7 x64.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
6 years 3 months ago #124117 by LouisGac
this update... :silly:

ok working now
The topic has been locked.
More
6 years 3 months ago #124118 by DirkMelchers
OS is: Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-88-generic x86_64)
The topic has been locked.
More
6 years 3 months ago #124119 by jelo
I can confirm the update to 150825.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
6 years 3 months ago #124120 by LouisGac

OS is: Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-88-generic x86_64)

do you still have problems ?
The topic has been locked.
More
6 years 3 months ago - 6 years 3 months ago #124121 by DirkMelchers
New error after updating the updater and try again to update after that: it tries to update the updater again, but some directories or files are write protected - but the list of problems is empty.

So update fails in step 1 now :(

I am not the php guru - so how can I debug that?

What I see in tcpdump (XXXX for maybe private information)
GET //index.php?r=updates/updateinfo&currentbuild=150731&id=XXXXXXXXXXXXXXXXXX&crosscheck=0
-->
{"master":{"build":"150825","versionnumber":"2.06+","php_version":"5.3.3","branch":"master","created":"2015-08-24 16:04:34","php_modules":"","security_update":"0","updater_version":"5"},"result":true}
 
GET //index.php?r=updates/getwelcome&currentbuild=150731&keyid=XXXXXXXX&destinationbuild=150825&updater_version=3
--> {"result":true,"destinationBuild":"150825","view":"updater_update"}
Attachments:
Last edit: 6 years 3 months ago by DirkMelchers. Reason: Added base64 decoded answers from comfortupdate server
The topic has been locked.
More
6 years 3 months ago #124122 by jelo

I am not the php guru - so how can I debug that?
What I see in tcpdump (XXXX for maybe private information)

Since you know tcpdump you're already on guru level ;-)
I haven't sniffed the traffic, but it looks like the update service is now dependent on GITHub Services too.
To speed things up, I would install a fresh LS. I have done that after 20150730 -> 31 had the installer transition and bogged a test-installation. I hope you don't use 2.06+ in a productive way. I would expect a bumpy road ahead.
Or you update manually. 150825 is available for download www.limesurvey.org/en/downloads/category...atest-stable-release

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
6 years 3 months ago - 6 years 3 months ago #124128 by LouisGac
We're experimenting the murphy law here...

The file you can't write and which is not checked by the updater is :
application/views/admin/super/header.php

A file wich is not related at all with the ComfortUpdate, but that I needed to debug to update the css without the final user need to refresh the cache...

All those problems for this last update proves that the update of the updater itself should be so complex as the ComfortUpdate itself, asking to the update server what to check on the local installation.

Again : sorry for all those problems with the update of the updater.
Last edit: 6 years 3 months ago by LouisGac.
The topic has been locked.

Start now!

Just create your account and start using Limesurvey today.

Register now