View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
16652Bug reportsComfortUpdatepublic2020-09-10 11:14
ReporterMazi Assigned ToLimeBot  
PrioritynoneSeveritycrash 
Status closedResolutionfixed 
Product Version3.23.3 
Summary16652: ComfortUpdate fails from 2.06 to latest 3.x version
Description

When trying to use ComfortUpdate to update from Version 2.06lts Build 160801 to the latest 3.x version, I get the following error after the updater had updated itself and tried starting the update process:
Fatal error: Call to undefined function convertToGlobalSettingFormat() in /home/XXX/public_html/mydomain/limesurvey/application/controllers/admin/update.php on line 537.

When trying to start the update once more I get this shown at GLobal Settings -> ComfortUpdate tab:
tice: Undefined variable: serverAnswer in /home/XXX/public_html/mydomain/limesurvey/application/views/admin/update/_updateContainer.php on line 34

Notice: Trying to get property of non-object in /home/XXX/public_html/mydomain/limesurvey/application/views/admin/update/_updateContainer.php on line 34

Notice: Undefined variable: serverAnswer in /home/XXX/public_html/mydomain/limesurvey/application/views/admin/update/_updateContainer.php on line 42

Notice: Trying to get property of non-object in /home/XXX/public_html/mydomain/limesurvey/application/views/admin/update/check_updates/update_buttons/_updatesavailable_error.php on line 16

Notice: Trying to get property of non-object in /home/XXX/public_html/mydomain/limesurvey/application/views/admin/update/check_updates/update_buttons/_updatesavailable_error.php on line 71

Steps To Reproduce

You probably have to install Version 2.06lts Build 160801 and try ComfortUpdate.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)Version 2.06lts Build 160801
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionmysqlnd 5.0.11
Server OS (if known)Linux
Webserver software & version (if known)Apache
PHP Version5.6.40

Users monitoring this issue

There are no users monitoring this issue.

Activities

LimeBot

LimeBot

2020-09-10 10:26

administrator   ~59762

Yes ! There is a bug in that version . I will send you a Patch to fix it :) .

LimeBot

LimeBot

2020-09-10 10:37

administrator   ~59763

Please Unzip the file in the attachment (comfort_update_patcher.zip) and replace the files in your installation.

Instructions:

1) Turn off the debug mode (set debug to 0 on your config file located at application/config/config.php)
2) Replace common_helper.php (Located at application/helpers/common_helper.php)
3) Replace _updateContainer.php (Located at application/views/admin/update/_updateContainer.php)
4) Log out and Log In. Try to update again.

Cheers

Mazi

Mazi

2020-09-10 11:09

updater   ~59765

I solved the problem by clicking the security note on top of the LS 2.06 admin interface. That took me to the updater page because even with the fix I wasn't able to call the ComfortUpdate tab at the Global Settings.

From there I was able to use ComfortUpdate to update from 2.06 to the latest 3.23.x version.

Note that you should set your system to have a sufficient max_execution_time (setting at php.ini) in order to make sure the DB backup or loading the larger update package (~50MB) doesn't time out.

LimeBot

LimeBot

2020-09-10 11:14

administrator   ~59766

Thank you for replying , I will add the max_execution_time tips to my notes .
Cheers

:)

Issue History

Date Modified Username Field Change
2020-09-10 10:21 Mazi New Issue
2020-09-10 10:26 LimeBot Note Added: 59762
2020-09-10 10:27 LimeBot Assigned To => LimeBot
2020-09-10 10:27 LimeBot Status new => assigned
2020-09-10 10:27 LimeBot Status assigned => confirmed
2020-09-10 10:37 LimeBot Note Added: 59763
2020-09-10 10:37 LimeBot File Added: comfort_update_patcher.zip
2020-09-10 11:09 Mazi Note Added: 59765
2020-09-10 11:14 LimeBot Status confirmed => closed
2020-09-10 11:14 LimeBot Resolution open => fixed
2020-09-10 11:14 LimeBot Note Added: 59766