Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Server Update woes
#6
Yep that worked, up to update_v0.8.0_v0.9.0.php .

Code:
NOTICE: After this update the Peppers for Encryption.class.php and CSRF.class.php are stored in the new config file. So if you didn't merge them you would have to put the old pepper values into inc/conf.php to make the log in working again. Read more on this on the specific release information.
Apply updates...
Moving db config... OK
Check agent binaries... PHP Fatal error:  Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'updateTrack' in 'field list' in /var/www/html/dba/AbstractModelFactory.class.php:569
Stack trace:
#0 /var/www/html/dba/AbstractModelFactory.class.php(569): PDOStatement->execute(Array)
#1 /var/www/html/dba/models/AgentBinaryFactory.class.php(54): DBA\AbstractModelFactory->filter(Array, true)
#2 /var/www/html/install/updates/update_v0.8.0_v0.9.0.php(31): DBA\AgentBinaryFactory->filter(Array, true)
#3 {main}
 thrown in /var/www/html/dba/AbstractModelFactory.class.php on line 569


It's just moved/changed the DB conf, so on the next run of this the DB is unusable to update.  Tongue
I'll rollback the snapshot and start over.


So, for update_v0.8.0_v0.9.0 the errored line is thrown at 31, which is:




Code:
  $binary = Factory::getAgentBinaryFactory()->filter([Factory::FILTER => $qF], true);
  if ($binary != null) {
    if (Util::versionComparison($binary->getVersion(), "0.3.0") == 1) {
      echo "update python version... ";
      $binary->setVersion("0.3.0");
      Factory::getAgentBinaryFactory()->update($binary);
      echo "OK";
    }
  }



How hosed am I?
Reply


Messages In This Thread
Server Update woes - by SomeFellow - 04-06-2019, 12:51 PM
RE: Server Update woes - by s3in!c - 04-08-2019, 01:41 PM
RE: Server Update woes - by SomeFellow - 04-09-2019, 09:23 AM
RE: Server Update woes - by s3in!c - 04-09-2019, 12:59 PM
RE: Server Update woes - by SomeFellow - 04-09-2019, 01:09 PM
RE: Server Update woes - by SomeFellow - 04-10-2019, 12:11 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)