Islandora-Devops / islandora-playbook

Ansible playbook for building Islandora
MIT License
31 stars 53 forks source link

Install profile #200

Closed alxp closed 2 years ago

alxp commented 3 years ago

GitHub Issue: Make Islandora a Drupal Distribution

What does this Pull Request do?

Uses a composer project to set up a Drupal project, which then imports an install profile that can be set in a variable. Available profiles are the standard profile and the Born Digital-derived install profile.

What's new?

Uses a composer profile that supports 3rd-party libraries and install profiles, which the Drupal recommended-project does not. Retrieves and installs a Drupal install profile specified in a Vagrant or Ansible variable.

Composer then recursively fetches the Install Profile and all requirements, so those are no longer listed in the playbook.

possible side effects.

All new install profile with modules and theme, so new sites will be fully different in look and feel and behaviour.

How should this be tested?

Before running a playbook, set the following variables in your Unix shell or Vagrantfile

ISLANDORA_DRUPAL_PROFILE_PROJECT to either islandora/islandora_profile:1.x-dev or islandora/islandora_install_profile_demo:dev-main ISLANDORA_DRUPAL_PROFILE to either islandora_profile or islandora_install_profile_demo

Test by running a playbook install and creating nodes and media to ensure that the site behaves as expected. Some forms will be different as they have been altered by Born Digital.

Interested parties

Tag (@ mention) interested parties or, if unsure, @Islandora-Devops/committers

seth-shaw-unlv commented 3 years ago

Giving this a go right now.

seth-shaw-unlv commented 3 years ago

Failed on the JWT config import:

TASK [webserver-app : Import JWT Config Into Drupal] ***************************
Tuesday 04 May 2021  09:30:17 -0700 (0:00:01.003)       0:13:57.307 *********** 
fatal: [default]: FAILED! => {"changed": true, "cmd": ["/var/www/html/drupal/vendor/drush/drush/drush", "--root", "/var/www/html/drupal/web", "config-import", "-y", "--partial", "--source=/opt/islandora/configs/jwt"], "delta": "0:00:00.625007", "end": "2021-05-04 16:30:17.586963", "msg": "non-zero return code", "rc": 1, "start": "2021-05-04 16:30:16.961956", "stderr": " [error]  Drupal\\Core\\Config\\ConfigImporterException: There were errors validating the config synchronization.\nConfiguration <em class=\"placeholder\">block.block.bartik_breadcrumbs</em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not be installed after import.\nConfiguration <em class=\"placeholder\">block.block.bartik_content</em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not be installed after import.\nConfiguration <em class=\"placeholder\">block.block.bartik_help</em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not be installed after import.\nConfiguration <em class=\"placeholder\">block.block.bartik_local_actions</em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not be installed after import.\nConfiguration <em class=\"placeholder\">block.block.bartik_local_tasks</em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not be installed after import.\nConfiguration <em class=\"placeholder\">block.block.bartik_page_title</em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not be installed after import.\nConfiguration <em class=\"placeholder\">block.block.creatorsandcontributors</em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not be installed after import.\nConfiguration <em class=\"placeholder\">block.block.exposedformsolr_search_contentpage_1</em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not be installed after import.\nConfiguration <em class=\"placeholder\">block.block.physicalform</em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not be installed after import.\nConfiguration <em class=\"placeholder\">block.block.subject</em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not be installed after import.\nConfiguration <em class=\"placeholder\">block.block.subjectname</em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not be installed after import.\nConfiguration <em class=\"placeholder\">block.block.temporalsubject</em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not be installed after import. in Drupal\\Core\\Config\\ConfigImporter->validate() (line 755 of /var/www/html/drupal/web/core/lib/Drupal/Core/Config/ConfigImporter.php). \n\nIn ConfigImportCommands.php line 261:\n                                                                               \n  The import failed due to the following reasons:                              \n  Configuration <em class=\"placeholder\">block.block.bartik_breadcrumbs</em> d  \n  epends on the <em class=\"placeholder\">Bartik</em> theme that will not be in  \n  stalled after import.                                                        \n  Configuration <em class=\"placeholder\">block.block.bartik_content</em> depen  \n  ds on the <em class=\"placeholder\">Bartik</em> theme that will not be instal  \n  led after import.                                                            \n  Configuration <em class=\"placeholder\">block.block.bartik_help</em> depends   \n  on the <em class=\"placeholder\">Bartik</em> theme that will not be installed  \n   after import.                                                               \n  Configuration <em class=\"placeholder\">block.block.bartik_local_actions</em>  \n   depends on the <em class=\"placeholder\">Bartik</em> theme that will not be   \n  installed after import.                                                      \n  Configuration <em class=\"placeholder\">block.block.bartik_local_tasks</em> d  \n  epends on the <em class=\"placeholder\">Bartik</em> theme that will not be in  \n  stalled after import.                                                        \n  Configuration <em class=\"placeholder\">block.block.bartik_page_title</em> de  \n  pends on the <em class=\"placeholder\">Bartik</em> theme that will not be ins  \n  talled after import.                                                         \n  Configuration <em class=\"placeholder\">block.block.creatorsandcontributors</  \n  em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not   \n  be installed after import.                                                   \n  Configuration <em class=\"placeholder\">block.block.exposedformsolr_search_co  \n  ntentpage_1</em> depends on the <em class=\"placeholder\">Bartik</em> theme t  \n  hat will not be installed after import.                                      \n  Configuration <em class=\"placeholder\">block.block.physicalform</em> depends  \n   on the <em class=\"placeholder\">Bartik</em> theme that will not be installe  \n  d after import.                                                              \n  Configuration <em class=\"placeholder\">block.block.subject</em> depends on t  \n  he <em class=\"placeholder\">Bartik</em> theme that will not be installed aft  \n  er import.                                                                   \n  Configuration <em class=\"placeholder\">block.block.subjectname</em> depends   \n  on the <em class=\"placeholder\">Bartik</em> theme that will not be installed  \n   after import.                                                               \n  Configuration <em class=\"placeholder\">block.block.temporalsubject</em> depe  \n  nds on the <em class=\"placeholder\">Bartik</em> theme that will not be insta  \n  lled after import.                                                           \n                                                                               \n\nconfig:import [--preview [PREVIEW]] [--source SOURCE] [--partial] [--diff] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-d|--debug] [-y|--yes] [--no] [--remote-host REMOTE-HOST] [--remote-user REMOTE-USER] [-r|--root ROOT] [-l|--uri URI] [--simulate] [--pipe] [-D|--define DEFINE] [--xh-link XH-LINK] [--druplicon] [--notify [NOTIFY]] [--] <command> [<label>]", "stderr_lines": [" [error]  Drupal\\Core\\Config\\ConfigImporterException: There were errors validating the config synchronization.", "Configuration <em class=\"placeholder\">block.block.bartik_breadcrumbs</em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not be installed after import.", "Configuration <em class=\"placeholder\">block.block.bartik_content</em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not be installed after import.", "Configuration <em class=\"placeholder\">block.block.bartik_help</em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not be installed after import.", "Configuration <em class=\"placeholder\">block.block.bartik_local_actions</em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not be installed after import.", "Configuration <em class=\"placeholder\">block.block.bartik_local_tasks</em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not be installed after import.", "Configuration <em class=\"placeholder\">block.block.bartik_page_title</em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not be installed after import.", "Configuration <em class=\"placeholder\">block.block.creatorsandcontributors</em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not be installed after import.", "Configuration <em class=\"placeholder\">block.block.exposedformsolr_search_contentpage_1</em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not be installed after import.", "Configuration <em class=\"placeholder\">block.block.physicalform</em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not be installed after import.", "Configuration <em class=\"placeholder\">block.block.subject</em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not be installed after import.", "Configuration <em class=\"placeholder\">block.block.subjectname</em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not be installed after import.", "Configuration <em class=\"placeholder\">block.block.temporalsubject</em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not be installed after import. in Drupal\\Core\\Config\\ConfigImporter->validate() (line 755 of /var/www/html/drupal/web/core/lib/Drupal/Core/Config/ConfigImporter.php). ", "", "In ConfigImportCommands.php line 261:", "                                                                               ", "  The import failed due to the following reasons:                              ", "  Configuration <em class=\"placeholder\">block.block.bartik_breadcrumbs</em> d  ", "  epends on the <em class=\"placeholder\">Bartik</em> theme that will not be in  ", "  stalled after import.                                                        ", "  Configuration <em class=\"placeholder\">block.block.bartik_content</em> depen  ", "  ds on the <em class=\"placeholder\">Bartik</em> theme that will not be instal  ", "  led after import.                                                            ", "  Configuration <em class=\"placeholder\">block.block.bartik_help</em> depends   ", "  on the <em class=\"placeholder\">Bartik</em> theme that will not be installed  ", "   after import.                                                               ", "  Configuration <em class=\"placeholder\">block.block.bartik_local_actions</em>  ", "   depends on the <em class=\"placeholder\">Bartik</em> theme that will not be   ", "  installed after import.                                                      ", "  Configuration <em class=\"placeholder\">block.block.bartik_local_tasks</em> d  ", "  epends on the <em class=\"placeholder\">Bartik</em> theme that will not be in  ", "  stalled after import.                                                        ", "  Configuration <em class=\"placeholder\">block.block.bartik_page_title</em> de  ", "  pends on the <em class=\"placeholder\">Bartik</em> theme that will not be ins  ", "  talled after import.                                                         ", "  Configuration <em class=\"placeholder\">block.block.creatorsandcontributors</  ", "  em> depends on the <em class=\"placeholder\">Bartik</em> theme that will not   ", "  be installed after import.                                                   ", "  Configuration <em class=\"placeholder\">block.block.exposedformsolr_search_co  ", "  ntentpage_1</em> depends on the <em class=\"placeholder\">Bartik</em> theme t  ", "  hat will not be installed after import.                                      ", "  Configuration <em class=\"placeholder\">block.block.physicalform</em> depends  ", "   on the <em class=\"placeholder\">Bartik</em> theme that will not be installe  ", "  d after import.                                                              ", "  Configuration <em class=\"placeholder\">block.block.subject</em> depends on t  ", "  he <em class=\"placeholder\">Bartik</em> theme that will not be installed aft  ", "  er import.                                                                   ", "  Configuration <em class=\"placeholder\">block.block.subjectname</em> depends   ", "  on the <em class=\"placeholder\">Bartik</em> theme that will not be installed  ", "   after import.                                                               ", "  Configuration <em class=\"placeholder\">block.block.temporalsubject</em> depe  ", "  nds on the <em class=\"placeholder\">Bartik</em> theme that will not be insta  ", "  lled after import.                                                           ", "                                                                               ", "", "config:import [--preview [PREVIEW]] [--source SOURCE] [--partial] [--diff] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-d|--debug] [-y|--yes] [--no] [--remote-host REMOTE-HOST] [--remote-user REMOTE-USER] [-r|--root ROOT] [-l|--uri URI] [--simulate] [--pipe] [-D|--define DEFINE] [--xh-link XH-LINK] [--druplicon] [--notify [NOTIFY]] [--] <command> [<label>]"], "stdout": "+------------+---------------------------+-----------+\n| Collection | Config                    | Operation |\n+------------+---------------------------+-----------+\n|            | key.key.islandora_rsa_key | Create    |\n|            | jwt.config                | Update    |\n|            | key.key.islandora_rsa_key | Delete    |\n+------------+---------------------------+-----------+\n\n // Import the listed configuration changes?: yes.                              ", "stdout_lines": ["+------------+---------------------------+-----------+", "| Collection | Config                    | Operation |", "+------------+---------------------------+-----------+", "|            | key.key.islandora_rsa_key | Create    |", "|            | jwt.config                | Update    |", "|            | key.key.islandora_rsa_key | Delete    |", "+------------+---------------------------+-----------+", "", " // Import the listed configuration changes?: yes.                              "]}

It is complaining that Bartik won't be installed but we have bartik related configs. Perhaps we need to move the bartik configs to a /config/optional/ directory?

alxp commented 3 years ago

Forgot to push a stray commit. This just enabled Bartik without setting it as the default. I noticed that the config items that referenced Bartik are already in /optional so not sure what's going on there.

seth-shaw-unlv commented 3 years ago

Ran it again and hit an error with migrations where it couldn't connect to activemq:

TASK [Run migrations] **********************************************************
Tuesday 04 May 2021  10:21:46 -0700 (0:00:00.539)       0:31:49.925 *********** 
fatal: [default]: FAILED! => {"changed": true, "cmd": ["/var/www/html/drupal/vendor/drush/drush/drush", "--root", "/var/www/html/drupal/web", "-y", "-l", "localhost:8000", "--userid=1", "mim", "--group=islandora"], "delta": "0:00:04.095171", "end": "2021-05-04 17:21:49.993124", "msg": "non-zero return code", "rc": 1, "start": "2021-05-04 17:21:45.897953", "stderr": " [notice] Now acting as user ID 1\n [error]  Error publishing message: Could not connect to a broker (Host: activemq) \n [error]  Error: Call to a member function getBeginFrame() on null in Stomp\\States\\ProducerTransactionState->initTransaction() (line 53 of /var/www/html/drupal/vendor/stomp-php/stomp-php/src/States/TransactionsTrait.php) #0 /var/www/html/drupal/vendor/stomp-php/stomp-php/src/States/ProducerTransactionState.php(28): Stomp\\States\\ProducerTransactionState->initTransaction(Array)\n#1 /var/www/html/drupal/vendor/stomp-php/stomp-php/src/States/StateTemplate.php(98): Stomp\\States\\ProducerTransactionState->init(Array)\n#2 /var/www/html/drupal/vendor/stomp-php/stomp-php/src/States/ProducerState.php(32): Stomp\\States\\StateTemplate->setState(Object(Stomp\\States\\ProducerTransactionState))\n#3 /var/www/html/drupal/vendor/stomp-php/stomp-php/src/StatefulStomp.php(95): Stomp\\States\\ProducerState->begin()\n#4 /var/www/html/drupal/web/modules/contrib/islandora/src/EventGenerator/EmitEvent.php(168): Stomp\\StatefulStomp->begin()\n#5 /var/www/html/drupal/web/core/lib/Drupal/Core/Action/ActionBase.php(22): Drupal\\islandora\\EventGenerator\\EmitEvent->execute(Object(Drupal\\taxonomy\\Entity\\Term))\n#6 /var/www/html/drupal/web/core/modules/system/src/Entity/Action.php(129): Drupal\\Core\\Action\\ActionBase->executeMultiple(Array)\n#7 /var/www/html/drupal/web/modules/contrib/islandora/src/PresetReaction/PresetReaction.php(59): Drupal\\system\\Entity\\Action->execute(Array)\n#8 /var/www/html/drupal/web/modules/contrib/islandora/src/IslandoraUtils.php(383): Drupal\\islandora\\PresetReaction\\PresetReaction->execute(Object(Drupal\\taxonomy\\Entity\\Term))\n#9 /var/www/html/drupal/web/modules/contrib/islandora/islandora.module(247): Drupal\\islandora\\IslandoraUtils->executeTermReactions('\\\\Drupal\\\\islando...', Object(Drupal\\taxonomy\\Entity\\Term))\n#10 [internal function]: islandora_taxonomy_term_insert(Object(Drupal\\taxonomy\\Entity\\Term))\n#11 /var/www/html/drupal/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(403): call_user_func_array('islandora_taxon...', Array)\n#12 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(204): Drupal\\Core\\Extension\\ModuleHandler->invokeAll('taxonomy_term_i...', Array)\n#13 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php(843): Drupal\\Core\\Entity\\EntityStorageBase->invokeHook('insert', Object(Drupal\\taxonomy\\Entity\\Term))\n#14 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(535): Drupal\\Core\\Entity\\ContentEntityStorageBase->invokeHook('insert', Object(Drupal\\taxonomy\\Entity\\Term))\n#15 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php(728): Drupal\\Core\\Entity\\EntityStorageBase->doPostSave(Object(Drupal\\taxonomy\\Entity\\Term), false)\n#16 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(460): Drupal\\Core\\Entity\\ContentEntityStorageBase->doPostSave(Object(Drupal\\taxonomy\\Entity\\Term), false)\n#17 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php(837): Drupal\\Core\\Entity\\EntityStorageBase->save(Object(Drupal\\taxonomy\\Entity\\Term))\n#18 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/EntityBase.php(395): Drupal\\Core\\Entity\\Sql\\SqlContentEntityStorage->save(Object(Drupal\\taxonomy\\Entity\\Term))\n#19 /var/www/html/drupal/web/core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php(214): Drupal\\Core\\Entity\\EntityBase->save()\n#20 /var/www/html/drupal/web/core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php(174): Drupal\\migrate\\Plugin\\migrate\\destination\\EntityContentBase->save(Object(Drupal\\taxonomy\\Entity\\Term), Array)\n#21 /var/www/html/drupal/web/core/modules/migrate/src/MigrateExecutable.php(230): Drupal\\migrate\\Plugin\\migrate\\destination\\EntityContentBase->import(Object(Drupal\\migrate\\Row), Array)\n#22 /var/www/html/drupal/vendor/drush/drush/includes/drush.inc(223): Drupal\\migrate\\MigrateExecutable->import()\n#23 /var/www/html/drupal/vendor/drush/drush/includes/drush.inc(214): drush_call_user_func_array(Array, Array)\n#24 /var/www/html/drupal/web/modules/contrib/migrate_tools/src/Commands/MigrateToolsCommands.php(859): drush_op(Array)\n#25 [internal function]: Drupal\\migrate_tools\\Commands\\MigrateToolsCommands->executeMigration(Object(Drupal\\migrate\\Plugin\\Migration), 'islandora_defau...', Array)\n#26 /var/www/html/drupal/web/modules/contrib/migrate_tools/src/Commands/MigrateToolsCommands.php(319): array_walk(Array, Array, Array)\n#27 [internal function]: Drupal\\migrate_tools\\Commands\\MigrateToolsCommands->import('', Array)\n#28 /var/www/html/drupal/vendor/consolidation/annotated-command/src/CommandProcessor.php(257): call_user_func_array(Array, Array)\n#29 /var/www/html/drupal/vendor/consolidation/annotated-command/src/CommandProcessor.php(212): Consolidation\\AnnotatedCommand\\CommandProcessor->runCommandCallback(Array, Object(Consolidation\\AnnotatedCommand\\CommandData))\n#30 /var/www/html/drupal/vendor/consolidation/annotated-command/src/CommandProcessor.php(176): Consolidation\\AnnotatedCommand\\CommandProcessor->validateRunAndAlter(Array, Array, Object(Consolidation\\AnnotatedCommand\\CommandData))\n#31 /var/www/html/drupal/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(302): Consolidation\\AnnotatedCommand\\CommandProcessor->process(Object(Symfony\\Component\\Console\\Output\\ConsoleOutput), Array, Array, Object(Consolidation\\AnnotatedCommand\\CommandData))\n#32 /var/www/html/drupal/vendor/symfony/console/Command/Command.php(255): Consolidation\\AnnotatedCommand\\AnnotatedCommand->execute(Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#33 /var/www/html/drupal/vendor/symfony/console/Application.php(1005): Symfony\\Component\\Console\\Command\\Command->run(Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#34 /var/www/html/drupal/vendor/symfony/console/Application.php(255): Symfony\\Component\\Console\\Application->doRunCommand(Object(Consolidation\\AnnotatedCommand\\AnnotatedCommand), Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#35 /var/www/html/drupal/vendor/symfony/console/Application.php(148): Symfony\\Component\\Console\\Application->doRun(Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#36 /var/www/html/drupal/vendor/drush/drush/src/Runtime/Runtime.php(118): Symfony\\Component\\Console\\Application->run(Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#37 /var/www/html/drupal/vendor/drush/drush/src/Runtime/Runtime.php(49): Drush\\Runtime\\Runtime->doRun(Array, Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#38 /var/www/html/drupal/vendor/drush/drush/drush.php(72): Drush\\Runtime\\Runtime->run(Array)\n#39 /var/www/html/drupal/vendor/drush/drush/drush(4): require('/var/www/html/d...')\n#40 {main}. \nError: Call to a member function getBeginFrame() on null in /var/www/html/drupal/vendor/stomp-php/stomp-php/src/States/TransactionsTrait.php on line 53 #0 /var/www/html/drupal/vendor/stomp-php/stomp-php/src/States/ProducerTransactionState.php(28): Stomp\\States\\ProducerTransactionState->initTransaction(Array)\n#1 /var/www/html/drupal/vendor/stomp-php/stomp-php/src/States/StateTemplate.php(98): Stomp\\States\\ProducerTransactionState->init(Array)\n#2 /var/www/html/drupal/vendor/stomp-php/stomp-php/src/States/ProducerState.php(32): Stomp\\States\\StateTemplate->setState(Object(Stomp\\States\\ProducerTransactionState))\n#3 /var/www/html/drupal/vendor/stomp-php/stomp-php/src/StatefulStomp.php(95): Stomp\\States\\ProducerState->begin()\n#4 /var/www/html/drupal/web/modules/contrib/islandora/src/EventGenerator/EmitEvent.php(168): Stomp\\StatefulStomp->begin()\n#5 /var/www/html/drupal/web/core/lib/Drupal/Core/Action/ActionBase.php(22): Drupal\\islandora\\EventGenerator\\EmitEvent->execute(Object(Drupal\\taxonomy\\Entity\\Term))\n#6 /var/www/html/drupal/web/core/modules/system/src/Entity/Action.php(129): Drupal\\Core\\Action\\ActionBase->executeMultiple(Array)\n#7 /var/www/html/drupal/web/modules/contrib/islandora/src/PresetReaction/PresetReaction.php(59): Drupal\\system\\Entity\\Action->execute(Array)\n#8 /var/www/html/drupal/web/modules/contrib/islandora/src/IslandoraUtils.php(383): Drupal\\islandora\\PresetReaction\\PresetReaction->execute(Object(Drupal\\taxonomy\\Entity\\Term))\n#9 /var/www/html/drupal/web/modules/contrib/islandora/islandora.module(247): Drupal\\islandora\\IslandoraUtils->executeTermReactions('\\\\Drupal\\\\islando...', Object(Drupal\\taxonomy\\Entity\\Term))\n#10 [internal function]: islandora_taxonomy_term_insert(Object(Drupal\\taxonomy\\Entity\\Term))\n#11 /var/www/html/drupal/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(403): call_user_func_array('islandora_taxon...', Array)\n#12 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(204): Drupal\\Core\\Extension\\ModuleHandler->invokeAll('taxonomy_term_i...', Array)\n#13 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php(843): Drupal\\Core\\Entity\\EntityStorageBase->invokeHook('insert', Object(Drupal\\taxonomy\\Entity\\Term))\n#14 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(535): Drupal\\Core\\Entity\\ContentEntityStorageBase->invokeHook('insert', Object(Drupal\\taxonomy\\Entity\\Term))\n#15 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php(728): Drupal\\Core\\Entity\\EntityStorageBase->doPostSave(Object(Drupal\\taxonomy\\Entity\\Term), false)\n#16 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(460): Drupal\\Core\\Entity\\ContentEntityStorageBase->doPostSave(Object(Drupal\\taxonomy\\Entity\\Term), false)\n#17 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php(837): Drupal\\Core\\Entity\\EntityStorageBase->save(Object(Drupal\\taxonomy\\Entity\\Term))\n#18 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/EntityBase.php(395): Drupal\\Core\\Entity\\Sql\\SqlContentEntityStorage->save(Object(Drupal\\taxonomy\\Entity\\Term))\n#19 /var/www/html/drupal/web/core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php(214): Drupal\\Core\\Entity\\EntityBase->save()\n#20 /var/www/html/drupal/web/core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php(174): Drupal\\migrate\\Plugin\\migrate\\destination\\EntityContentBase->save(Object(Drupal\\taxonomy\\Entity\\Term), Array)\n#21 /var/www/html/drupal/web/core/modules/migrate/src/MigrateExecutable.php(230): Drupal\\migrate\\Plugin\\migrate\\destination\\EntityContentBase->import(Object(Drupal\\migrate\\Row), Array)\n#22 /var/www/html/drupal/vendor/drush/drush/includes/drush.inc(223): Drupal\\migrate\\MigrateExecutable->import()\n#23 /var/www/html/drupal/vendor/drush/drush/includes/drush.inc(214): drush_call_user_func_array(Array, Array)\n#24 /var/www/html/drupal/web/modules/contrib/migrate_tools/src/Commands/MigrateToolsCommands.php(859): drush_op(Array)\n#25 [internal function]: Drupal\\migrate_tools\\Commands\\MigrateToolsCommands->executeMigration(Object(Drupal\\migrate\\Plugin\\Migration), 'islandora_defau...', Array)\n#26 /var/www/html/drupal/web/modules/contrib/migrate_tools/src/Commands/MigrateToolsCommands.php(319): array_walk(Array, Array, Array)\n#27 [internal function]: Drupal\\migrate_tools\\Commands\\MigrateToolsCommands->import('', Array)\n#28 /var/www/html/drupal/vendor/consolidation/annotated-command/src/CommandProcessor.php(257): call_user_func_array(Array, Array)\n#29 /var/www/html/drupal/vendor/consolidation/annotated-command/src/CommandProcessor.php(212): Consolidation\\AnnotatedCommand\\CommandProcessor->runCommandCallback(Array, Object(Consolidation\\AnnotatedCommand\\CommandData))\n#30 /var/www/html/drupal/vendor/consolidation/annotated-command/src/CommandProcessor.php(176): Consolidation\\AnnotatedCommand\\CommandProcessor->validateRunAndAlter(Array, Array, Object(Consolidation\\AnnotatedCommand\\CommandData))\n#31 /var/www/html/drupal/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(302): Consolidation\\AnnotatedCommand\\CommandProcessor->process(Object(Symfony\\Component\\Console\\Output\\ConsoleOutput), Array, Array, Object(Consolidation\\AnnotatedCommand\\CommandData))\n#32 /var/www/html/drupal/vendor/symfony/console/Command/Command.php(255): Consolidation\\AnnotatedCommand\\AnnotatedCommand->execute(Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#33 /var/www/html/drupal/vendor/symfony/console/Application.php(1005): Symfony\\Component\\Console\\Command\\Command->run(Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#34 /var/www/html/drupal/vendor/symfony/console/Application.php(255): Symfony\\Component\\Console\\Application->doRunCommand(Object(Consolidation\\AnnotatedCommand\\AnnotatedCommand), Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#35 /var/www/html/drupal/vendor/symfony/console/Application.php(148): Symfony\\Component\\Console\\Application->doRun(Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#36 /var/www/html/drupal/vendor/drush/drush/src/Runtime/Runtime.php(118): Symfony\\Component\\Console\\Application->run(Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#37 /var/www/html/drupal/vendor/drush/drush/src/Runtime/Runtime.php(49): Drush\\Runtime\\Runtime->doRun(Array, Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#38 /var/www/html/drupal/vendor/drush/drush/drush.php(72): Drush\\Runtime\\Runtime->run(Array)\n#39 /var/www/html/drupal/vendor/drush/drush/drush(4): require('/var/www/html/d...')\n#40 {main}\n [warning] Drush command terminated abnormally.", "stderr_lines": [" [notice] Now acting as user ID 1", " [error]  Error publishing message: Could not connect to a broker (Host: activemq) ", " [error]  Error: Call to a member function getBeginFrame() on null in Stomp\\States\\ProducerTransactionState->initTransaction() (line 53 of /var/www/html/drupal/vendor/stomp-php/stomp-php/src/States/TransactionsTrait.php) #0 /var/www/html/drupal/vendor/stomp-php/stomp-php/src/States/ProducerTransactionState.php(28): Stomp\\States\\ProducerTransactionState->initTransaction(Array)", "#1 /var/www/html/drupal/vendor/stomp-php/stomp-php/src/States/StateTemplate.php(98): Stomp\\States\\ProducerTransactionState->init(Array)", "#2 /var/www/html/drupal/vendor/stomp-php/stomp-php/src/States/ProducerState.php(32): Stomp\\States\\StateTemplate->setState(Object(Stomp\\States\\ProducerTransactionState))", "#3 /var/www/html/drupal/vendor/stomp-php/stomp-php/src/StatefulStomp.php(95): Stomp\\States\\ProducerState->begin()", "#4 /var/www/html/drupal/web/modules/contrib/islandora/src/EventGenerator/EmitEvent.php(168): Stomp\\StatefulStomp->begin()", "#5 /var/www/html/drupal/web/core/lib/Drupal/Core/Action/ActionBase.php(22): Drupal\\islandora\\EventGenerator\\EmitEvent->execute(Object(Drupal\\taxonomy\\Entity\\Term))", "#6 /var/www/html/drupal/web/core/modules/system/src/Entity/Action.php(129): Drupal\\Core\\Action\\ActionBase->executeMultiple(Array)", "#7 /var/www/html/drupal/web/modules/contrib/islandora/src/PresetReaction/PresetReaction.php(59): Drupal\\system\\Entity\\Action->execute(Array)", "#8 /var/www/html/drupal/web/modules/contrib/islandora/src/IslandoraUtils.php(383): Drupal\\islandora\\PresetReaction\\PresetReaction->execute(Object(Drupal\\taxonomy\\Entity\\Term))", "#9 /var/www/html/drupal/web/modules/contrib/islandora/islandora.module(247): Drupal\\islandora\\IslandoraUtils->executeTermReactions('\\\\Drupal\\\\islando...', Object(Drupal\\taxonomy\\Entity\\Term))", "#10 [internal function]: islandora_taxonomy_term_insert(Object(Drupal\\taxonomy\\Entity\\Term))", "#11 /var/www/html/drupal/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(403): call_user_func_array('islandora_taxon...', Array)", "#12 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(204): Drupal\\Core\\Extension\\ModuleHandler->invokeAll('taxonomy_term_i...', Array)", "#13 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php(843): Drupal\\Core\\Entity\\EntityStorageBase->invokeHook('insert', Object(Drupal\\taxonomy\\Entity\\Term))", "#14 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(535): Drupal\\Core\\Entity\\ContentEntityStorageBase->invokeHook('insert', Object(Drupal\\taxonomy\\Entity\\Term))", "#15 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php(728): Drupal\\Core\\Entity\\EntityStorageBase->doPostSave(Object(Drupal\\taxonomy\\Entity\\Term), false)", "#16 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(460): Drupal\\Core\\Entity\\ContentEntityStorageBase->doPostSave(Object(Drupal\\taxonomy\\Entity\\Term), false)", "#17 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php(837): Drupal\\Core\\Entity\\EntityStorageBase->save(Object(Drupal\\taxonomy\\Entity\\Term))", "#18 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/EntityBase.php(395): Drupal\\Core\\Entity\\Sql\\SqlContentEntityStorage->save(Object(Drupal\\taxonomy\\Entity\\Term))", "#19 /var/www/html/drupal/web/core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php(214): Drupal\\Core\\Entity\\EntityBase->save()", "#20 /var/www/html/drupal/web/core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php(174): Drupal\\migrate\\Plugin\\migrate\\destination\\EntityContentBase->save(Object(Drupal\\taxonomy\\Entity\\Term), Array)", "#21 /var/www/html/drupal/web/core/modules/migrate/src/MigrateExecutable.php(230): Drupal\\migrate\\Plugin\\migrate\\destination\\EntityContentBase->import(Object(Drupal\\migrate\\Row), Array)", "#22 /var/www/html/drupal/vendor/drush/drush/includes/drush.inc(223): Drupal\\migrate\\MigrateExecutable->import()", "#23 /var/www/html/drupal/vendor/drush/drush/includes/drush.inc(214): drush_call_user_func_array(Array, Array)", "#24 /var/www/html/drupal/web/modules/contrib/migrate_tools/src/Commands/MigrateToolsCommands.php(859): drush_op(Array)", "#25 [internal function]: Drupal\\migrate_tools\\Commands\\MigrateToolsCommands->executeMigration(Object(Drupal\\migrate\\Plugin\\Migration), 'islandora_defau...', Array)", "#26 /var/www/html/drupal/web/modules/contrib/migrate_tools/src/Commands/MigrateToolsCommands.php(319): array_walk(Array, Array, Array)", "#27 [internal function]: Drupal\\migrate_tools\\Commands\\MigrateToolsCommands->import('', Array)", "#28 /var/www/html/drupal/vendor/consolidation/annotated-command/src/CommandProcessor.php(257): call_user_func_array(Array, Array)", "#29 /var/www/html/drupal/vendor/consolidation/annotated-command/src/CommandProcessor.php(212): Consolidation\\AnnotatedCommand\\CommandProcessor->runCommandCallback(Array, Object(Consolidation\\AnnotatedCommand\\CommandData))", "#30 /var/www/html/drupal/vendor/consolidation/annotated-command/src/CommandProcessor.php(176): Consolidation\\AnnotatedCommand\\CommandProcessor->validateRunAndAlter(Array, Array, Object(Consolidation\\AnnotatedCommand\\CommandData))", "#31 /var/www/html/drupal/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(302): Consolidation\\AnnotatedCommand\\CommandProcessor->process(Object(Symfony\\Component\\Console\\Output\\ConsoleOutput), Array, Array, Object(Consolidation\\AnnotatedCommand\\CommandData))", "#32 /var/www/html/drupal/vendor/symfony/console/Command/Command.php(255): Consolidation\\AnnotatedCommand\\AnnotatedCommand->execute(Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))", "#33 /var/www/html/drupal/vendor/symfony/console/Application.php(1005): Symfony\\Component\\Console\\Command\\Command->run(Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))", "#34 /var/www/html/drupal/vendor/symfony/console/Application.php(255): Symfony\\Component\\Console\\Application->doRunCommand(Object(Consolidation\\AnnotatedCommand\\AnnotatedCommand), Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))", "#35 /var/www/html/drupal/vendor/symfony/console/Application.php(148): Symfony\\Component\\Console\\Application->doRun(Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))", "#36 /var/www/html/drupal/vendor/drush/drush/src/Runtime/Runtime.php(118): Symfony\\Component\\Console\\Application->run(Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))", "#37 /var/www/html/drupal/vendor/drush/drush/src/Runtime/Runtime.php(49): Drush\\Runtime\\Runtime->doRun(Array, Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))", "#38 /var/www/html/drupal/vendor/drush/drush/drush.php(72): Drush\\Runtime\\Runtime->run(Array)", "#39 /var/www/html/drupal/vendor/drush/drush/drush(4): require('/var/www/html/d...')", "#40 {main}. ", "Error: Call to a member function getBeginFrame() on null in /var/www/html/drupal/vendor/stomp-php/stomp-php/src/States/TransactionsTrait.php on line 53 #0 /var/www/html/drupal/vendor/stomp-php/stomp-php/src/States/ProducerTransactionState.php(28): Stomp\\States\\ProducerTransactionState->initTransaction(Array)", "#1 /var/www/html/drupal/vendor/stomp-php/stomp-php/src/States/StateTemplate.php(98): Stomp\\States\\ProducerTransactionState->init(Array)", "#2 /var/www/html/drupal/vendor/stomp-php/stomp-php/src/States/ProducerState.php(32): Stomp\\States\\StateTemplate->setState(Object(Stomp\\States\\ProducerTransactionState))", "#3 /var/www/html/drupal/vendor/stomp-php/stomp-php/src/StatefulStomp.php(95): Stomp\\States\\ProducerState->begin()", "#4 /var/www/html/drupal/web/modules/contrib/islandora/src/EventGenerator/EmitEvent.php(168): Stomp\\StatefulStomp->begin()", "#5 /var/www/html/drupal/web/core/lib/Drupal/Core/Action/ActionBase.php(22): Drupal\\islandora\\EventGenerator\\EmitEvent->execute(Object(Drupal\\taxonomy\\Entity\\Term))", "#6 /var/www/html/drupal/web/core/modules/system/src/Entity/Action.php(129): Drupal\\Core\\Action\\ActionBase->executeMultiple(Array)", "#7 /var/www/html/drupal/web/modules/contrib/islandora/src/PresetReaction/PresetReaction.php(59): Drupal\\system\\Entity\\Action->execute(Array)", "#8 /var/www/html/drupal/web/modules/contrib/islandora/src/IslandoraUtils.php(383): Drupal\\islandora\\PresetReaction\\PresetReaction->execute(Object(Drupal\\taxonomy\\Entity\\Term))", "#9 /var/www/html/drupal/web/modules/contrib/islandora/islandora.module(247): Drupal\\islandora\\IslandoraUtils->executeTermReactions('\\\\Drupal\\\\islando...', Object(Drupal\\taxonomy\\Entity\\Term))", "#10 [internal function]: islandora_taxonomy_term_insert(Object(Drupal\\taxonomy\\Entity\\Term))", "#11 /var/www/html/drupal/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(403): call_user_func_array('islandora_taxon...', Array)", "#12 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(204): Drupal\\Core\\Extension\\ModuleHandler->invokeAll('taxonomy_term_i...', Array)", "#13 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php(843): Drupal\\Core\\Entity\\EntityStorageBase->invokeHook('insert', Object(Drupal\\taxonomy\\Entity\\Term))", "#14 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(535): Drupal\\Core\\Entity\\ContentEntityStorageBase->invokeHook('insert', Object(Drupal\\taxonomy\\Entity\\Term))", "#15 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php(728): Drupal\\Core\\Entity\\EntityStorageBase->doPostSave(Object(Drupal\\taxonomy\\Entity\\Term), false)", "#16 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(460): Drupal\\Core\\Entity\\ContentEntityStorageBase->doPostSave(Object(Drupal\\taxonomy\\Entity\\Term), false)", "#17 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php(837): Drupal\\Core\\Entity\\EntityStorageBase->save(Object(Drupal\\taxonomy\\Entity\\Term))", "#18 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/EntityBase.php(395): Drupal\\Core\\Entity\\Sql\\SqlContentEntityStorage->save(Object(Drupal\\taxonomy\\Entity\\Term))", "#19 /var/www/html/drupal/web/core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php(214): Drupal\\Core\\Entity\\EntityBase->save()", "#20 /var/www/html/drupal/web/core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php(174): Drupal\\migrate\\Plugin\\migrate\\destination\\EntityContentBase->save(Object(Drupal\\taxonomy\\Entity\\Term), Array)", "#21 /var/www/html/drupal/web/core/modules/migrate/src/MigrateExecutable.php(230): Drupal\\migrate\\Plugin\\migrate\\destination\\EntityContentBase->import(Object(Drupal\\migrate\\Row), Array)", "#22 /var/www/html/drupal/vendor/drush/drush/includes/drush.inc(223): Drupal\\migrate\\MigrateExecutable->import()", "#23 /var/www/html/drupal/vendor/drush/drush/includes/drush.inc(214): drush_call_user_func_array(Array, Array)", "#24 /var/www/html/drupal/web/modules/contrib/migrate_tools/src/Commands/MigrateToolsCommands.php(859): drush_op(Array)", "#25 [internal function]: Drupal\\migrate_tools\\Commands\\MigrateToolsCommands->executeMigration(Object(Drupal\\migrate\\Plugin\\Migration), 'islandora_defau...', Array)", "#26 /var/www/html/drupal/web/modules/contrib/migrate_tools/src/Commands/MigrateToolsCommands.php(319): array_walk(Array, Array, Array)", "#27 [internal function]: Drupal\\migrate_tools\\Commands\\MigrateToolsCommands->import('', Array)", "#28 /var/www/html/drupal/vendor/consolidation/annotated-command/src/CommandProcessor.php(257): call_user_func_array(Array, Array)", "#29 /var/www/html/drupal/vendor/consolidation/annotated-command/src/CommandProcessor.php(212): Consolidation\\AnnotatedCommand\\CommandProcessor->runCommandCallback(Array, Object(Consolidation\\AnnotatedCommand\\CommandData))", "#30 /var/www/html/drupal/vendor/consolidation/annotated-command/src/CommandProcessor.php(176): Consolidation\\AnnotatedCommand\\CommandProcessor->validateRunAndAlter(Array, Array, Object(Consolidation\\AnnotatedCommand\\CommandData))", "#31 /var/www/html/drupal/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(302): Consolidation\\AnnotatedCommand\\CommandProcessor->process(Object(Symfony\\Component\\Console\\Output\\ConsoleOutput), Array, Array, Object(Consolidation\\AnnotatedCommand\\CommandData))", "#32 /var/www/html/drupal/vendor/symfony/console/Command/Command.php(255): Consolidation\\AnnotatedCommand\\AnnotatedCommand->execute(Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))", "#33 /var/www/html/drupal/vendor/symfony/console/Application.php(1005): Symfony\\Component\\Console\\Command\\Command->run(Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))", "#34 /var/www/html/drupal/vendor/symfony/console/Application.php(255): Symfony\\Component\\Console\\Application->doRunCommand(Object(Consolidation\\AnnotatedCommand\\AnnotatedCommand), Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))", "#35 /var/www/html/drupal/vendor/symfony/console/Application.php(148): Symfony\\Component\\Console\\Application->doRun(Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))", "#36 /var/www/html/drupal/vendor/drush/drush/src/Runtime/Runtime.php(118): Symfony\\Component\\Console\\Application->run(Object(Drush\\Symfony\\DrushArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))", "#37 /var/www/html/drupal/vendor/drush/drush/src/Runtime/Runtime.php(49): Drush\\Runtime\\Runtime->doRun(Array, Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))", "#38 /var/www/html/drupal/vendor/drush/drush/drush.php(72): Drush\\Runtime\\Runtime->run(Array)", "#39 /var/www/html/drupal/vendor/drush/drush/drush(4): require('/var/www/html/d...')", "#40 {main}", " [warning] Drush command terminated abnormally."], "stdout": "Error: Call to a member function getBeginFrame() on null in Stomp\\States\\ProducerTransactionState->initTransaction() (line 53 of /var/www/html/drupal/vendor/stomp-php/stomp-php/src/States/TransactionsTrait.php).", "stdout_lines": ["Error: Call to a member function getBeginFrame() on null in Stomp\\States\\ProducerTransactionState->initTransaction() (line 53 of /var/www/html/drupal/vendor/stomp-php/stomp-php/src/States/TransactionsTrait.php)."]}

I'm going to destroy the box and try again.

seth-shaw-unlv commented 3 years ago

Found the problem. Following the threads lead me to the activemq config @ https://github.com/Islandora-Devops/islandora_install_profile_demo/blob/main/config/install/islandora.settings.yml#L1, which I presume was set to use an activemq host name for Docker. But we aren't using Docker for the playbook so Drupal can't find the host "activemq". The playbook needs this config to be 'tcp://localhost:61613' or 'tcp://127.0.0.1:61613'.

seth-shaw-unlv commented 3 years ago

Perhaps the install profile needs to have both a Docker and a Playbook branch?

Tagging @dannylamb.

alxp commented 3 years ago

I think a separate local settings module that adds e.g. docker-specific settings that gets installed after the profile would make sense.

On May 5, 2021, at 8:10 PM, Seth Shaw @.***> wrote:

Perhaps the install profile needs to have both a Docker and a Playbook branch?

Tagging @dannylamb https://github.com/dannylamb.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Islandora-Devops/islandora-playbook/pull/200#issuecomment-833106533, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAUD3HFPOGUQXHO2QXSFFDTMHF7TANCNFSM434OAP6A.

alxp commented 3 years ago

Updated to support multiple install profiles. See the 'how should this be tested' section or the updated README.