Page 1 of 1

Unattended upgrade Community 7.4.7->7.4.8 error

Posted: Sun Jan 04, 2015 1:48 pm
by gbl
We started seeing this note in red just the other day:

WARNING: TimeTrex automatic upgrade has failed due to a system error! Please contact your TimeTrex administrator immediately to re-run the TimeTrex installer to correct the issue.

Finally had time to investigate, and it appears that this command:
% /home/gbl/TimeTrex/php/bin/php /home/gbl/TimeTrex/timetrex//tools/unattended_upgrade.php --config /home/gbl/TimeTrex/timetrex/includes/../timetrex.ini.php

Returns with this error:
ERROR: Current system requirements check failed...
Failed Requirements: Require,WFileChecksums

Running with --requirements_only shows the same error, but running with "--requirements_only --web_installer" says everything is ok.

% /home/gbl/TimeTrex/php/bin/php /home/gbl/TimeTrex/timetrex//tools/unattended_upgrade.php --config /home/gbl/TimeTrex/timetrex/includes/../timetrex.ini.php --requirements_only
Failed Requirements: Require,WFileChecksums

% /home/gbl/TimeTrex/php/bin/php /home/gbl/TimeTrex/timetrex//tools/unattended_upgrade.php --config /home/gbl/TimeTrex/timetrex/includes/../timetrex.ini.php --requirements_only --web_installer
Requirements all pass successfully!

What else should I be looking at here?

Thanks,

-G

Re: Unattended upgrade Community 7.4.7->7.4.8 error

Posted: Mon Jan 05, 2015 9:14 am
by shaunw
If you enable the installer in the timetrex.ini.php and run it again, it should let you know exactly where the problem is.

Re: Unattended upgrade Community 7.4.7->7.4.8 error

Posted: Tue Jan 13, 2015 12:15 pm
by gbl
Sure, of course. Setting installer_enabled = TRUE and re-running the web installer says that TimeTrex/timetrex/templates/Login.tpl has an invalid checksum. Because I modified that file to remove the floating "this old interface will be disabled" warning that was generally annoying when using the legacy html interface.

Guess this will be futzier to fix than I have time for presently.

Thanks,

-G

Re: Unattended upgrade Community 7.4.7->7.4.8 error

Posted: Wed Jan 14, 2015 12:03 pm
by shaunw
The legacy HTML interface should not be used and will corrupt your database if you attempt to change the code to re-enable it.

Re: Unattended upgrade Community 7.4.7->7.4.8 error

Posted: Wed Jan 14, 2015 3:34 pm
by gbl
I have not changed the code to re-enable the interface, it was already enabled. I just changed the code to not pop-up the warning message. The legacy interface is far easier for some people to work with when viewing schedules and the like.

-G