TimeTrex automatic upgrade has failed due to a system error.
Posted: Mon Dec 12, 2016 9:05 pm
I believe that my issue is resolved. I am posting this in the hope that it might be useful to someone else.
Symptom: On Dec 10th a red bar appeared at the top of the TimeTrex screen saying "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."
Conditions:
TimeTrex version 9.1.3
OS Ubuntu Xenial (16.04.1 LTS)
Install type manual
Database psql (PostgreSQL) 9.5.5
Webserver Apache
Logs:
timetrex.log contained the following
Running this from command line ...
... produced the following result.
I installed CURL with
I re-ran the requirement check....
... and this time it said.
It appears to try to install on a schedule and my users took 3 days to tell me about the problem so I am going to let it do the install automatically the next time it tries to do it. I will report back, but I am confident that it will work.
Symptom: On Dec 10th a red bar appeared at the top of the TimeTrex screen saying "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."
Conditions:
TimeTrex version 9.1.3
OS Ubuntu Xenial (16.04.1 LTS)
Install type manual
Database psql (PostgreSQL) 9.5.5
Webserver Apache
Logs:
timetrex.log contained the following
Code: Select all
DEBUG [L0494] [18017ms]: [Function](): Checking new version system requirements.
.. Command: "/usr/bin/php" "/var/timetrex/cache/upgrade_staging//latest_version/
tools/unattended_upgrade.php" --config "/usr/share/TimeTrex_Community_Edition_v
DEBUG [L0494] [18017ms]: [Function](): 9.1.3/includes/../timetrex.ini.php" --req
uirements_only Exit Code: 1
DEBUG [L0523] [18017ms]: [Function](): ERROR: New version system requirements no
t met...
Code: Select all
/usr/bin/php /var/timetrex/cache/upgrade_staging/latest_version/tools/unattended_upgrade.php --config /usr/share/TimeTrex_Community_Edition_v9.1.3/includes/../timetrex.ini.php --requirements_only
Code: Select all
----WARNING----WARNING----WARNING-----
--------------------------------------
Minimum PHP Requirements are NOT met!!
--------------------------------------
Failed Requirements: CURL
--------------------------------------
PHP INI: /etc/php/7.0/cli/php.ini
Process Owner: root
--------------------------------------
Failed Requirements: Require,CURL
Code: Select all
apt-get install php7.0-curl
Code: Select all
/usr/bin/php /var/timetrex/cache/upgrade_staging/latest_version/tools/unattended_upgrade.php --config /usr/share/TimeTrex_Community_Edition_v9.1.3/includes/../timetrex.ini.php --requirements_only
Code: Select all
Requirements all pass successfully!