QUICK LINKS
Support
Issue Tracker
[Services]
Questions
[uAchieve 4.5 Applications]
[uAchieve 5.0 Application]
[uAchieve 5.1 Application]
Transferology
TES
[Training & Conferences]
Accessibility
Be Aware
Be aware of your crontab job and the directory it expects to find the execution scripts ({new-trex}/bin/run-trex.*)
I would recommend removing the version from the directory name so that you don't have to update crontab for future upgrades
Be aware of any changes made to your run-trex.* script, and compare it with the new T-Rex to make sure any of your changes are carried forward
Some schools have increased the memory profile of the app
Do not remove any of the JAVA_OPTS defined in the file (only update/add your own)
#!/bin/bash # Update these values to match your environment trex_dir='/trex' old_client='transfer-rule-extractor-1.0.2.9' new_client='transfer-rule-extractor-1.0.6.1' db_driver='ojdbc8.jar' # Upgrade Commands mv ~/${new_client}.tar.gz ${trex_dir} cd ${trex_dir} tar xvf ${new_client}.tar.gz cp ${old_client}/bin/lib/${db_driver} ${new_client}/bin/lib cp ${old_client}/config/trex.properties ${new_client}/config cp ${old_client}/config/trex-sql.properties ${new_client}/config cp ${old_client}/config/log4j.properties ${new_client}/config chmod 744 ${new_client}/bin/run-trex.* # Update receiver URL, if necessary v2=$(grep 'transfer-rule-receiver-v2' ${new_client}/config/trex.properties) if [[ -z $v2 ]] then trexProps=$(awk '{gsub(/transfer-rule-receiver/,"transfer-rule-receiver-v2"); print}' ${new_client}/config/trex.properties) echo $trexProps > ${new_client}/config/trex.properties fi # if necessary mv ${new_client} transfer-rule-extractor # to test cd transfer-rule-extractor/bin ./run-trex.sh