- Posts: 341
- Thank you received: 94
Ask the community, share ideas, and connect with other LimeSurvey users!
I might find the time to look into the codebase to see if something was changed in the updateroutines with the release of LS2.05+ 150708. I am not pushy on that issue. I am used to update manually and via comfortupdater. And at least 2.06+ 150730 was able to update to 150731 via Comfortupdater it might be only a small group of installations which no longer see updates.c_schmitz wrote: Edit: The weird thing is that we did not change anything in the backend regarding this.
Thanks, that might help finding a difference between these two update servers when it comes to incoming connections.LouisGac wrote: since 150730 , LimeSurvey use a totally new ComfortUpdater, calling a different server : comfortupdate.limesurvey.org
Undefined index: UpdaterRevision
/var/www/application/controllers/admin/update.php(527)
515 if ($oHTTPRequest->response_status!='200')
516 {
517 $updateinfo=$oHTTPRequest->response_status;
518 $updateinfo=$full_body;
519 }
520 }
521 else
522 {
523 $updateinfo=$error;
524 $updateinfo=$error;
525 }
526 unset( $oHTTPRequest );
527 if ((int)$updateinfo<=$buildnumber)
528 {
529 // There is no newer updater version on the server
530 return true;
531 }
532
533 if (!is_writable($tempdir) || !is_writable(APPPATH.DIRECTORY_SEPARATOR.'controllers'.DIRECTORY_SEPARATOR.'admin'.DIRECTORY_SEPARATOR.'update.php'))
534 {
535 $error=true;
536 }
537
538 // Download the zip file, unpack it and replace the updater file accordingly
539 // Create DB and file backups now
Stack Trace
#0
–
/var/www/application/controllers/admin/update.php(44): update->_RunUpdaterUpdate()
39 * Default Controller Action
40 */
41 function index($sSubAction = null)
42 {
43 updateCheck();
44 $this->_RunUpdaterUpdate();
45 Yii::import('application.libraries.admin.http.httpRequestIt');
46
47 $clang = $this->getController()->lang;
48 $iCurrentBuildnumber = Yii::app()->getConfig("buildnumber");
49 $tempdir = Yii::app()->getConfig("tempdir");
#1
unknown(0): update->index(null)
#2
+
/var/www/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(update, array(null))
#3
–
/var/www/application/core/Survey_Common_Action.php(99): CAction->runWithParamsInternal(update, ReflectionMethod, array("build" => "150731", "sa" => "index"))
094 $oMethod = new ReflectionMethod($this, $sDefault);
095 }
096
097 // We're all good to go, let's execute it
098 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params
099 return parent::runWithParamsInternal($this, $oMethod, $params);
100 }
101
102 /**
103 * Some functions have different parameters, which are just an alias of the
104 * usual parameters we're getting in the url. This function just populates
#4
+
/var/www/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("build" => "150731", "sa" => "index"))
#5
+
/var/www/framework/web/CController.php(286): CController->runAction(update)
#6
+
/var/www/framework/web/CController.php(265): CController->runActionWithFilters(update, array())
#7
–
/var/www/application/controllers/AdminController.php(169): CController->run("update")
164 $this->redirect(array('/admin/authentication/sa/login'));
165 }
166
167 }
168
169 return parent::run($action);
170 }
171
172 /**
173 * Routes all the actions to their respective places
174 *
#8
+
/var/www/framework/web/CWebApplication.php(282): AdminController->run("update")
#9
+
/var/www/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/update/sa/index")
#10
+
/var/www/framework/base/CApplication.php(180): CWebApplication->processRequest()
#11
+
/var/www/index.php(200): CApplication->run()