Skip to content
Snippets Groups Projects
Commit fc2393cb authored by baldwinlouie's avatar baldwinlouie Committed by Yas Naoi
Browse files

Issue #3239091 by baldwinlouie, yas: Fix build process for version 3.* in CFn templates

parent 3a3c7f1f
No related branches found
No related tags found
No related merge requests found
......@@ -80,12 +80,12 @@ To package the templates for your own usage, follow these steps:
Troubleshooting
===============
- If you encounter Drupal errors after building Cloud Orchestrator, please clear cache
by running `drush cr` or clearing cache from the Drupal UI.
A sample error that could be encountered is specified below. A cache clear
will fix this issue.
- If you encounter the following error, try to build the CFn template again.
``
Uncaught PHP Exception Symfony\\Component\\Routing\\Exception\\RouteNotFoundException: "Route "update.manual_status" does not exist." at /var/www/cloud_orchestrator/docroot/core/lib/Drupal/Core/Routing/RouteProvider.php line 206,
PHP Fatal error:
Uncaught Drupal\Component\Plugin\Exception\PluginNotFoundException:
The "page" entity type does not exist. in
/var/www/cloud_orchestrator/docroot/core/
lib/Drupal/Core/Entity/EntityTypeManager.php:143
``
......@@ -321,9 +321,7 @@ Resources:
--account-pass=${DrupalPassword} \
--site-name=\"Cloud Orchestrator\" \
--account-mail=${DrupalEmail} \
cloud_orchestrator \
cloud_orchestrator_module_configure_form.cloud_service_providers.aws_cloud=aws_cloud \
cloud_orchestrator_module_configure_form.cloud_service_providers.k8s=k8s"
cloud_orchestrator"
fi
sudo docker exec -w $DOCKER_DIR $CONTAINER_NAME sh -c "chown -R www-data:www-data $DOCKER_DIR/files"
......
......@@ -320,9 +320,7 @@ Resources:
--account-pass=${DrupalPassword} \
--site-name=\"Cloud Orchestrator\" \
--account-mail=${DrupalEmail} \
cloud_orchestrator \
cloud_orchestrator_module_configure_form.cloud_service_providers.aws_cloud=aws_cloud \
cloud_orchestrator_module_configure_form.cloud_service_providers.k8s=k8s"
cloud_orchestrator
fi
sudo docker exec -w $DOCKER_DIR $CONTAINER_NAME sh -c "chown -R www-data:www-data $DOCKER_DIR/files"
......
......@@ -360,9 +360,7 @@ Resources:
--account-pass=${DrupalPassword} \
--site-name="Cloud Orchestrator" \
--account-mail=${DrupalEmail} \
cloud_orchestrator \
cloud_orchestrator_module_configure_form.cloud_service_providers.aws_cloud=aws_cloud \
cloud_orchestrator_module_configure_form.cloud_service_providers.k8s=k8s
cloud_orchestrator
fi
# After install setup cron
......
......@@ -371,9 +371,7 @@ Resources:
--account-pass=${DrupalPassword} \
--site-name="Cloud Orchestrator" \
--account-mail=${DrupalEmail} \
cloud_orchestrator \
cloud_orchestrator_module_configure_form.cloud_service_providers.aws_cloud=aws_cloud \
cloud_orchestrator_module_configure_form.cloud_service_providers.k8s=k8s
cloud_orchestrator
fi
# After install setup cron
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment