Skip to content

Jethro v2.19.2

Compare
Choose a tag to compare
@tbar0970 tbar0970 released this 06 Apr 02:43
· 1141 commits to master since this release

This release fixes various problems with 2.19.0

Bugfixes

  • Issue #342 - the system-wide search now matches the beginnings of words within names, not just the beginning of names
  • Issue #343 - some pre-existing person reports did not work after upgrading to 2.19.0
  • Problems with installation

Upgrade Procedure - if upgrading from a version OLDER than 2.19.0

  1. Log out of Jethro
  2. Take a backup of your mysql database. Really, do it.
  3. Apply all applicable upgrade SQL files from the upgrades folder to your mysql database, including upgrades/2017-upgrade-to-2.19.sql
  4. Move away your old Jethro files (eg. rename your jethro folder to jethro_old)
  5. Unzip the new files into the right place (don't just overwrite the old files)
  6. Move your old conf.php and files/ subdirectory (if not empty) back into your jethro folder.
  7. Important extra step: Open Jethro in your browser. You should see a bunch of messages saying "The setting XYZ has been migrated to the database and can/should be removed from conf.php". (Alternative option: Instead of opening Jethro in the browser you can run scripts/migrate_settings.php)
  8. Once you've seen the messages above, rename your conf.php to conf-OLD.php. (Make sure you keep the .php extension - otherwise you'll expose your database credentials to the world)
  9. Rename conf.php.sample to conf.php
  10. Edit conf.php and for each setting that's in there, copy its value from conf-OLD.php.
    NB a) many settings will no longer be in conf.php because they've migrated to the database
    NB b) SMTP and SMS related settings will NOT have been automatically migrated to the database, so either leave them in the conf.php file or enter them manually into the web interface
  11. Log in to Jethro and check your system configuration at Admin > System Configuration

Upgrade Procedure from 2.19.0

If you have ALREADY upgraded to 2.19.0 then to upgrade to 2.19.2 you should

  1. Log out of Jethro
  2. Take a backup of your mysql database.
  3. Move away your old Jethro files (eg. rename your jethro folder to jethro_old)
  4. Unzip the new files into the right place
  5. Move your old conf.php and files/ subdirectory (if not empty) back into your jethro folder.
  6. Special step: If possible, run scripts/fix_reports.php to resolve Issue #343. NB this is ONLY needed if your system was already upgraded to 2.19.0.
  7. If you are not able to run the fix_reports.php script (eg if you don't have command line access) then log in to Jethro and test all your person reports. If any report produces a database error when you click "show results", you'll need to "edit configuration" for that report and adjust the "age bracket" rule.