./scripts/sync-db.sh
Downloading latest PROD database from: https://dsva-vagov-prod-cms-backup-sanitized.s3-us-gov-west-1.amazonaws.com/database/cms-prod-db-sanitized-latest.sql.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 170M 100 170M 0 0 2312k 0 0:01:15 0:01:15 --:--:-- 2449k
Downloaded PROD Database to .dumps/cms-prod-db-sanitized-latest.sql
Purging devel configuration files.
Importing database.
__ __ __ __ ___ _ __ __ __ ______
/ / / /__ ___/ /__ _/ /____ / _ |_ _____ _(_) /__ _/ / / /__ / / / /
/ /_/ / _ \/ _ / _ `/ __/ -_) / __ | |/ / _ `/ / / _ `/ _ \/ / -_)_/_/_/
\____/ .__/\_,_/\_,_/\__/\__/ /_/ |_|___/\_,_/_/_/\_,_/_.__/_/\__(_|_|_)
/_/
Updating helps us provide the best support and saves us tons of time
Use the link below to get the latest and greatest
https://github.com/lando/lando/releases/tag/v3.6.2
Lando is FREE and OPEN SOURCE software that relies on contributions from developers like you!
If you like Lando then help us spend more time making, updating and supporting it by contributing at the link below
https://github.com/sponsors/lando
If you would like to customize the behavior of this message then check out:
https://docs.lando.dev/config/releases.html
Preparing to import /app/.dumps/cms-prod-db-sanitized-latest.sql into database 'drupal8' on service 'database' as user root...
Emptying drupal8...
NOTE: See the --no-wipe flag to avoid this step!
Dropping advancedqueue from drupal8 database...
--- truncated for github ---
Dropping xmlsitemap from drupal8 database...
Importing /app/.dumps/cms-prod-db-sanitized-latest.sql...
Import complete!
usermod: no changes
usermod: no changes
[notice] Database updates start.
> [error] Drupal\Component\Plugin\Exception\PluginNotFoundException while computing Views data for index Content: Unable to determine class for field type 'viewfield' found in the 'field.field.node.vamc_system_billing_insurance.field_non_clinical_services' configuration in Drupal\Core\Field\FieldConfigStorageBase->mapFromStorageRecords() (line 31 of /app/docroot/core/lib/Drupal/Core/Field/FieldConfigStorageBase.php).
> [error] Drupal\Component\Plugin\Exception\PluginNotFoundException while adding Views handlers for field Content » Main content on index Knowledge base search: Unable to determine class for field type 'viewfield' found in the 'field.storage.node.field_non_clinical_services' configuration in Drupal\field\FieldStorageConfigStorage->mapFromStorageRecords() (line 167 of /app/docroot/core/modules/field/src/FieldStorageConfigStorage.php).
> [error] Drupal\Core\Field\FieldException while computing Views data for index Knowledge base search: Attempt to create a field field_administration that does not exist on entity type node. in Drupal\field\Entity\FieldConfig->getFieldStorageDefinition() (line 315 of /app/docroot/core/modules/field/src/Entity/FieldConfig.php).
>
> In Template.php line 419:
>
> An exception has been thrown during the rendering of a template ("Unable to determine class for field type 'viewfield' found in the 'field.storage.node.field_non_clinical_services' configuration") in "__string_template__7d4112180379f3fe7202e5727089445
> 1cb6a088d3535b232973533c8e3a43a54" at line 1.
>
>
> In FieldStorageConfigStorage.php line 167:
>
> Unable to determine class for field type 'viewfield' found in the 'field.storage.node.field_non_clinical_services' configuration
>
>
> In DiscoveryTrait.php line 53:
>
> The "viewfield" plugin does not exist. Valid plugin IDs for Drupal\Core\Field\FieldTypePluginManager are: address, address_country, address_zone, allow_only_one, datetime, daterange, dynamic_entity_reference, entity_field_fetch, entity_reference_revis
> ions, file, file_uri, hms, image, layout_section, link, markup, metatag, office_hours, list_integer, list_string, list_float, path, redirect_source, smartdate, social_media_links_field, tablefield, telephone, text, text_long, text_with_summary, video_
> embed_field, language, uri, decimal, string, uuid, boolean, entity_reference, string_long, integer, timestamp, password, created, float, changed, email, map
>
>
In Process.php line 266:
The command "/app/docroot/vendor/drush/drush/drush updatedb --no-cache-clear --uri=default --root=/app/docroot" failed.
Exit Code: 1(General error)
Working directory:
Output:
================
Error Output:
================
[error] Drupal\Component\Plugin\Exception\PluginNotFoundException while computing Views data for index Content: Unable to determine class for field type 'viewfield' found in the 'field.field.node.vamc_system_billing_insurance.field_non_clinical_serv
ices' configuration in Drupal\Core\Field\FieldConfigStorageBase->mapFromStorageRecords() (line 31 of /app/docroot/core/lib/Drupal/Core/Field/FieldConfigStorageBase.php).
[error] Drupal\Component\Plugin\Exception\PluginNotFoundException while adding Views handlers for field Content » Main content on index Knowledge base search: Unable to determine class for field type 'viewfield' found in the 'field.storage.node.fiel
d_non_clinical_services' configuration in Drupal\field\FieldStorageConfigStorage->mapFromStorageRecords() (line 167 of /app/docroot/core/modules/field/src/FieldStorageConfigStorage.php).
[error] Drupal\Core\Field\FieldException while computing Views data for index Knowledge base search: Attempt to create a field field_administration that does not exist on entity type node. in Drupal\field\Entity\FieldConfig->getFieldStorageDefinitio
n() (line 315 of /app/docroot/core/modules/field/src/Entity/FieldConfig.php).
In Template.php line 419:
An exception has been thrown during the rendering of a template ("Unable to determine class for field type 'viewfield' found in the 'field.storage.node.field_non_clinical_services' configuration") in "__string_template__7d4112180379f3fe7202e57270894
45
1cb6a088d3535b232973533c8e3a43a54" at line 1.
In FieldStorageConfigStorage.php line 167:
Unable to determine class for field type 'viewfield' found in the 'field.storage.node.field_non_clinical_services' configuration
In DiscoveryTrait.php line 53:
The "viewfield" plugin does not exist. Valid plugin IDs for Drupal\Core\Field\FieldTypePluginManager are: address, address_country, address_zone, allow_only_one, datetime, daterange, dynamic_entity_reference, entity_field_fetch, entity_reference_rev
is
ions, file, file_uri, hms, image, layout_section, link, markup, metatag, office_hours, list_integer, list_string, list_float, path, redirect_source, smartdate, social_media_links_field, tablefield, telephone, text, text_long, text_with_summary, vide
o_
embed_field, language, uri, decimal, string, uuid, boolean, entity_reference, string_long, integer, timestamp, password, created, float, changed, email, map
ERROR ==> message=, stack=Error
at /snapshot/cli/lib/shell.js
From previous event:
at Shell.sh (/snapshot/cli/lib/shell.js)
at Object.dc (/snapshot/cli/lib/bootstrap.js)
at compose (/snapshot/cli/lib/bootstrap.js)
From previous event:
at /snapshot/cli/lib/router.js
at processImmediate (internal/timers.js:464:21)
From previous event:
at Object.run (/snapshot/cli/lib/router.js)
at run (/snapshot/cli/lib/engine.js)
at /snapshot/cli/lib/router.js
From previous event:
at Object.eventWrapper (/snapshot/cli/lib/router.js)
at Engine.engineCmd (/snapshot/cli/lib/engine.js)
at Engine.run (/snapshot/cli/lib/engine.js)
at AsyncEvents.<anonymous> (/snapshot/cli/plugins/lando-events/app.js)
at AsyncEvents.handle (/snapshot/cli/lib/events.js)
at /snapshot/cli/lib/events.js
at processImmediate (internal/timers.js:464:21)
From previous event:
at AsyncEvents.emit (/snapshot/cli/lib/events.js)
at /snapshot/cli/plugins/lando-tooling/lib/build.js
From previous event:
at Object.run (/snapshot/cli/plugins/lando-tooling/lib/build.js)
From previous event:
at /snapshot/cli/lib/bootstrap.js
at /snapshot/cli/lib/cli.js
at processImmediate (internal/timers.js:464:21)
From previous event:
at /snapshot/cli/lib/cli.js
From previous event:
at Object.handler (/snapshot/cli/lib/cli.js)
at Object.runCommand (/snapshot/cli/node_modules/yargs/lib/command.js:238:44)
at Object.parseArgs [as _parseArgs] (/snapshot/cli/node_modules/yargs/yargs.js:1063:30)
at Function.get [as argv] (/snapshot/cli/node_modules/yargs/yargs.js:1004:21)
at Cli.init (/snapshot/cli/lib/cli.js)
at Cli.run (/snapshot/cli/lib/cli.js)
From previous event:
at /snapshot/cli/bin/lando.js
From previous event:
at Object.<anonymous> (/snapshot/cli/bin/lando.js)
at Module._compile (pkg/prelude/bootstrap.js:1751:22)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
at Function.runMain (pkg/prelude/bootstrap.js:1804:12)
at internal/main/run_main_module.js:17:47, __stackCleaned__=true
Additional context
Add any other context about the problem here. Reach out to the Product Managers to determine if it should be escalated as critical (prevents users from accomplishing their work with no known workaround and needs to be addressed within 2 business days).
Desktop (please complete the following information if relevant, or delete)
OS: [e.g. iOS]
Ubuntu 20.04
Lando v3.6.0
Labels
(You can delete this section once it's complete)
[x] Issue type (red) (defaults to "Defect")
[ ] CMS subsystem (green)
[ ] CMS practice area (blue)
[x] CMS workstream (orange) (not needed for bug tickets)
[ ] CMS-supported product (black)
CMS Team
Please check the team(s) that will do this work.
[ ] CMS Program
[x] Platform CMS Team
[ ] Sitewide CMS Team (leave Sitewide unchecked and check the specific team instead)
Describe the defect
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
lando start
./scripts/sync-db.sh
reference: https://github.com/department-of-veterans-affairs/va.gov-cms/blob/main/READMES/getting-started.md#step-3-sync-your-local-site-with-production-dataExpected behavior
Local CMS instance running with Production data.
Screenshots
Additional context
Add any other context about the problem here. Reach out to the Product Managers to determine if it should be escalated as critical (prevents users from accomplishing their work with no known workaround and needs to be addressed within 2 business days).
Desktop (please complete the following information if relevant, or delete)
Labels
(You can delete this section once it's complete)
CMS Team
Please check the team(s) that will do this work.
CMS Program
Platform CMS Team
Sitewide CMS Team
(leave Sitewide unchecked and check the specific team instead)⭐️ Content ops
⭐️ CMS experience
⭐️ Offices
⭐️ Product support
⭐️ User support