Jethro v2.19.2
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
- Log out of Jethro
- Take a backup of your mysql database. Really, do it.
- Apply all applicable upgrade SQL files from the upgrades folder to your mysql database, including upgrades/2017-upgrade-to-2.19.sql
- Move away your old Jethro files (eg. rename your jethro folder to jethro_old)
- Unzip the new files into the right place (don't just overwrite the old files)
- Move your old conf.php and files/ subdirectory (if not empty) back into your jethro folder.
- 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)
- 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)
- Rename conf.php.sample to conf.php
- 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 - 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
- Log out of Jethro
- Take a backup of your mysql database.
- Move away your old Jethro files (eg. rename your jethro folder to jethro_old)
- Unzip the new files into the right place
- Move your old conf.php and files/ subdirectory (if not empty) back into your jethro folder.
- 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.
- 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.