2003 - Update failure from 3.9.2 to 3.9.5


There is a typo in one of the updater scripts that causes an update from rConfig 3.9.2 to 3.9.5 to fail without any errors.

Issue and fix

There is an extra semicolon in 'rconfig/www/lib/ajaxHandlers/ajaxInstallUpdate.php'. on line 107 that causes PHP to error. This can be found in rConfig 3.9.2 and 3.9.3.

Login to your rConfig server console and run the following command.

Please verify this is a 3.9.2 or 3.9.3 installation before running the commands.

cp /home/rconfig/www/lib/ajaxHandlers/ajaxInstallUpdate.php /home/rconfig/www/lib/ajaxHandlers/ajaxInstallUpdate.php.bak
sed -i '107d' /home/rconfig/www/lib/ajaxHandlers/ajaxInstallUpdate.php

These commands will create a backup of the file, and then remove the line with the semicolon.

The update should work now. Please go to rConfig.com and get the latest rconfig-3.9.5.zip file. Make sure the name of the file is rconfig-3.9.5.zip before uploading it, and then run the update, following the instructions from the rConfig main Dashboard. You should see the following output.

Alt text