Page 1 of 1

Automatic Upgrade Failure

Posted: Thu Feb 16, 2023 4:43 am
by techmanexpress
I am running this on Windows 2012 R2. The automatic upgrade failed last night. I have plenty of PHP errors. I went through a similar problem in the past, so I forced running the upgrade using c:\timetrex\php\php.exe c:\timetrex\timetrex\tools\unattended_upgrade.php -ff.

This is the output in my cmd window:

PS D:\> d:\timetrex\php\php.exe d:\timetrex\timetrex\tools\unattended_upgrade.php -ff
Force Mode enabled...
New version available, collecting data to download...
PHP Fatal error: Uncaught Error: Class "GovernmentDocumentListFactory" not found in D:\TimeTrex\timetrex\includes\globa
l.inc.php:304
Stack trace:
#0 D:\TimeTrex\timetrex\classes\modules\soap\TimeTrexSoapClient.class.php(668): TTnew('GovernmentDocum...')
#1 D:\TimeTrex\timetrex\tools\unattended_upgrade.php(544): TimeTrexSoapClient->sendCompanyData('c271bffa-998b-c...', tru
e)
#2 {main}
thrown in D:\TimeTrex\timetrex\includes\global.inc.php on line 304

I also received a longer error email which I have attached as a TXT.

I also have what looks like a longer log file error from the first automatic try from around 3AM.

Thank you for your assistance!

Re: Automatic Upgrade Failure

Posted: Thu Feb 16, 2023 6:34 pm
by mikeb
There is an issue with the auto-update system, it should be corrected within 1-2 days. In theory you shouldn't need to do anything and it will resolve itself.

If its not resolved by Monday please let us know here.