TimeTrex automatic upgrade has failed due to a system error.

General support regarding TimeTrex, such as
configuring policies/taxes or processing payroll.
Post Reply
caliel
Posts: 2
Joined: Mon Dec 12, 2016 7:31 pm

TimeTrex automatic upgrade has failed due to a system error.

Post by caliel »

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

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...
Running this from command line ...

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
... produced the following result.

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
I installed CURL with

Code: Select all

apt-get install php7.0-curl 
I re-ran the requirement check....

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
... and this time it said.

Code: Select all

Requirements all pass successfully!
It appears to try to install on a schedule and my users took 3 days to tell me about the problem :roll: 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.
caliel
Posts: 2
Joined: Mon Dec 12, 2016 7:31 pm

Re: TimeTrex automatic upgrade has failed due to a system er

Post by caliel »

Yes. It did just what it was supposed to.
rlewis49
Posts: 7
Joined: Fri Aug 11, 2017 7:38 pm

Re: TimeTrex automatic upgrade has failed due to a system er

Post by rlewis49 »

Symptom: A red bar recently 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 10.7.0
OS Ubuntu Xenial (16.04.1 LTS)
Install type manual
Webserver Apache

The previous replies for this topic do not work for me.

What steps are required to get this error message removed ?

Thanks, Richard
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: TimeTrex automatic upgrade has failed due to a system er

Post by shaunw »

Please re-run the TimeTrex web installer and it should give you a specific message as to what the problem is.
Post Reply