Patching TGP Rotator

Introduction

We will be updating TGP Rotator when necessary to fix any bugs and add small features. These releases can be recognized by a change in the third digit of the software version number. For example a change from version 1.2.0 to 1.2.1 is a patch release. When these patches are released you should upgrade your installation with the new version. This document contains instructions for doing just that.

Patching

Patching your installation is very simple. All you need to do is upload the new files from the new version to your server. All of the files that need to be uploaded are listed below. You should not run any upgrade scripts when patching your installation, those are only used when upgrading from a previous major release. Once all of the files have been uploaded, change the permissions on the cron.cgi and scanner.cgi files to 777. You can then bring up the patch.cgi script in your browser which will update those two files with the correct settings. After that has been successfully completed, change the permissions back to 755 on the cron.cgi and scanner.cgi files.

The final step is to login to the control panel and visit the Edit Options interface. You do not need to change any of the settings, simply press the button to save your current settings which will force the software to run through a check to ensure all of the files and directories it needs have been created. You are now complete with the patching process.

Important Notes

If Perl 5 is not located at /usr/bin/perl be sure to update the first line of all .cgi files with the correct path to Perl on your server.

Make sure you upload all of the files in ASCII mode!

It is not necessary to delete any files from your server before you upload the updated scripts. If you do delete any files, make sure you reset all permissions on the files you upload. All file permissions are covered in the Installation section of the manual.