error when running sudo phing

289 views
Skip to first unread message

TV TOYZ

unread,
Feb 26, 2020, 5:57:52 PM2/26/20
to Ministra TV platform (formerly Stalker Middleware)
when i run sudo phing the posses stops and i get this in red text:




     [echo] Loading configuration from the integration code of your framework (setter).

                    Ministra DB Migrations


WARNING! You have 2 previously executed migrations in the database that are not registered migrations.
    >>  ()
    >>  ()
Migrating up to 20190927081556 from 1535720165

  ++ migrating 1535720166

     -> --
CREATE TABLE `themes` (
  `id` INT NOT NULL AUTO_INCREMENT,
  `alias` VARCHAR(64) NOT NULL DEFAULT '',
  `variables` TEXT,
  `added` TIMESTAMP NULL DEFAULT NULL,
  `updated` TIMESTAMP NULL DEFAULT NULL,
  UNIQUE INDEX `alias` (`alias`),
  PRIMARY KEY (`id`)
) DEFAULT CHARSET = UTF8;
Migration 1535720166 failed during Execution. Error An exception occurred while executing '--
CREATE TABLE `themes` (
  `id` INT NOT NULL AUTO_INCREMENT,
  `alias` VARCHAR(64) NOT NULL DEFAULT '',
  `variables` TEXT,
  `added` TIMESTAMP NULL DEFAULT NULL,
  `updated` TIMESTAMP NULL DEFAULT NULL,
  UNIQUE INDEX `alias` (`alias`),
  PRIMARY KEY (`id`)
) DEFAULT CHARSET = UTF8;':

SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'themes' already exists

In AbstractMySQLDriver.php line 49:

  An exception occurred while executing '--
  CREATE TABLE `themes` (
    `id` INT NOT NULL AUTO_INCREMENT,
    `alias` VARCHAR(64) NOT NULL DEFAULT '',
    `variables` TEXT,
    `added` TIMESTAMP NULL DEFAULT NULL,
    `updated` TIMESTAMP NULL DEFAULT NULL,
    UNIQUE INDEX `alias` (`alias`),
    PRIMARY KEY (`id`)
  ) DEFAULT CHARSET = UTF8;':

  SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'themes' already exists


In PDOConnection.php line 106:

  SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'themes' already exists


In PDOConnection.php line 104:

  SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'themes' already exists


migrations:migrate [--write-sql] [--dry-run] [--query-time] [--allow-no-migration] [--configuration [CONFIGURATION]] [--db-configuration [DB-CONFIGURATION]] [--] [<version>]

Loading configuration from the integration code of your framework (setter).

                    Ministra DB Migrations


WARNING! You have 2 previously executed migrations in the database that are not registered migrations.
    >>  ()
    >>  ()
No migrations to execute.
Failed run migration command

BUILD FAILED
/var/www/html/stalker_portal/deploy/build.xml:362:12: /var/www/html/stalker_portal/deploy/build.xml:368:51: Migrations run failed

Total time: 13.9950 seconds
Reply all
Reply to author
Forward
0 new messages