Setup command fails at creation of Person Role

XMLWordPrintable

      Running ./bin/cake setup fails at the creation of the Person Role. This is on line 161 of src/Command/SetupCommand.php.

      The exception that is thrown:

      2023-05-01 23:46:28 error: [Cake\Datasource\Exception\RecordNotFoundException] Record not found in table "types" in /srv/comanage/registry-develop/app/vendor/cakephp/cakephp/src/Datasource/QueryTrait.php on line 509
      Stack Trace:
      - /srv/comanage/registry-develop/app/src/Model/Table/TypesTable.php:247
      - /srv/comanage/registry-develop/app/vendor/cakephp/cakephp/src/ORM/Association.php:1193
      - /srv/comanage/registry-develop/app/src/Command/SetupCommand.php:162
      - /srv/comanage/registry-develop/app/vendor/cakephp/cakephp/src/Console/BaseCommand.php:189
      - /srv/comanage/registry-develop/app/vendor/cakephp/cakephp/src/Console/CommandRunner.php:334
      - /srv/comanage/registry-develop/app/vendor/cakephp/cakephp/src/Console/CommandRunner.php:172
      - /srv/comanage/registry-develop/app/bin/cake.php:12
       
      [Cake\Datasource\Exception\RecordNotFoundException] Record not found in table "types" in /srv/comanage/registry-develop/app/vendor/cakephp/cakephp/src/Datasource/QueryTrait.php on line 509
       
      Stack Trace:
       
      #0 /srv/comanage/registry-develop/app/src/Model/Table/TypesTable.php(247): Cake\ORM\Query->firstOrFail()
      #1 /srv/comanage/registry-develop/app/vendor/cakephp/cakephp/src/ORM/Association.php(1193): App\Model\Table\TypesTable->getTypeId()
      #2 /srv/comanage/registry-develop/app/src/Command/SetupCommand.php(164): Cake\ORM\Association->__call()
      #3 /srv/comanage/registry-develop/app/vendor/cakephp/cakephp/src/Console/BaseCommand.php(189): App\Command\SetupCommand->execute()
      #4 /srv/comanage/registry-develop/app/vendor/cakephp/cakephp/src/Console/CommandRunner.php(334): Cake\Console\BaseCommand->run()
      #5 /srv/comanage/registry-develop/app/vendor/cakephp/cakephp/src/Console/CommandRunner.php(172): Cake\Console\CommandRunner->runCommand()
      #6 /srv/comanage/registry-develop/app/bin/cake.php(12): Cake\Console\CommandRunner->run()
      #7 {main} 

            Assignee:
            Arlen Johnson
            Reporter:
            Arlen Johnson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: