Skip to content

Commit

Permalink
Merge pull request #2220 from magento-devdocs/ece-tools-2002.1.6
Browse files Browse the repository at this point in the history
Release notes for ECE-Tools 2002.1.6
  • Loading branch information
bdenham committed Apr 20, 2021
2 parents 519b3e8 + 75627d2 commit 87e5cd2
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 7 deletions.
5 changes: 2 additions & 3 deletions src/_data/var.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ mbi: Magento Business Intelligence
# Cloud product name variables

ece: Magento Commerce Cloud
ece-release-date: Feb 1, 2021
ece-release-date: April 20, 2021
csuite: Magento Commerce Cloud Suite
ct: ece-tools
ct-repo: magento/ece-tools
ct-release: 2002.1.5
ct-release: 2002.1.6
mcp-prod: Magento Cloud Patches
mcp-package: magento/magento-cloud-patches
mcp-release: 1.0.9
Expand All @@ -36,7 +36,6 @@ mcc-prod: Magento Cloud Components
mcc-package: magento/magento-cloud-components
mcc-release: 1.0.7


# TIP: Use the following syntax to use a variable in the documentation source: {{site.data.var.xx}} where xx
# is the variable value.

Expand Down
9 changes: 6 additions & 3 deletions src/_includes/cloud/error-codes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!--Note: This topic is auto-generated from the https://github.com/magento/ece-tools/blob/e3b13ca023afe324cd93d0caa2fd62d5683b60b9/config/schema.error.yaml source code. To request changes to error code descriptions or suggestions, submit a GitHub issue to the magento/ece-tools repository.-->
<!--Note: The error code tables in this file are auto-generated from source code. To request changes to error code descriptions or suggestions, submit a GitHub issue to the magento/ece-tools repository.-->

## Critical Errors

Expand Down Expand Up @@ -71,10 +71,11 @@ Critical errors indicate a problem with the {{ site.data.var.ece }} project conf
| 129 | install-update: reset-password | Unable to read reset password template | |
| 130 | install-update: cache_type | Command failed: `php ./bin/magento cache:enable` | Command `php ./bin/magento cache:enable` runs only when Magento was installed but `./app/etc/env.php` file was absent or empty at the beginning of the deployment. Check the `cloud.log` for more information. Add `VERBOSE_COMMANDS: '-vvv'` into `.magento.env.yaml` for more detailed command output. |
| 131 | install-update | The `crypt/key` key value does not exist in the `./app/etc/env.php` file or the `CRYPT_KEY` cloud environment variable | This error occurs if the `./app/etc/env.php` file is not present when Magento deployment begins, or if the `crypt/key` value is undefined. If you migrated the database from another environment, retrieve the crypt key value from that environment. Then, add the value to the [CRYPT_KEY](https://devdocs.magento.com/cloud/env/variables-deploy.html#crypt_key) cloud environment variable in your current environment. See [Add the Magento encryption key](https://devdocs.magento.com/cloud/setup/first-time-setup-import-import.html#encryption-key). If you accidentally removed the `./app/etc/env.php` file, use the following command to restore it from the backup files created from a previous deployment: `./vendor/bin/ece-tools backup:restore` CLI command ." |
| 132 | | Can not connect to the Elasticsearch service | Check for valid Elasticsearch credentials and verify that the service is running |
| 132 | | Can not connect to the Elasticsearch service | Check for valid Elasticsearch credentials and verify that the service is running |
| 133 | validate-config | Remove Magento Braintree module configuration which is no longer supported in Magento 2.4 and later versions. | Support for the Braintree module is no longer included with Magento 2.4.0 and later. Remove the CONFIG__STORES__DEFAULT__PAYMENT__BRAINTREE__CHANNEL variable from the variables section of the .magento.app.yaml file. For Braintree support, use an official Braintree Payments extension from the Magento Marketplace instead. |
| 134 | validate-config | Magento 2.4.0 requires Elasticsearch service to be installed | Install Elasticsearch service |
| 135 | validate-config | The search engine must be set to Elasticsearch for Magento >= 2.4.0 | Check the SEARCH_CONFIGURATION variable for the `engine` option. If it is configured, remove the option, or set the value to "elasticsearch". |
| 136 | validate-config | Split Database was removed starting from Magento 2.5.0. | If you use split database you have to revert to or migrate to a single database or use an alternative approach. |

### Post-deploy stage

Expand Down Expand Up @@ -128,7 +129,7 @@ Warning errors indicate a problem with the {{ site.data.var.ece }} project confi
| 2003 | validate-config | The directory nesting level value for error reporting has not been configured | |
| 2004 | validate-config | Invalid configuration in the ./pub/errors/local.xml file. | |
| 2005 | validate-config | Admin data is used to create an admin user during initial installation only. Any changes to Admin data are ignored during the upgrade process. | After the initial installation, you can remove admin data from the configuration. |
| 2006 | validate-config | Admin user was not created as admin email was not set | After installation, you can create an admin user manually: Use ssh to connect to your environment. Then, run the `bin/magento admin:user:create` command. |
| 2006 | validate-config | Admin user was not created as admin email was not set | After installation, you can create an admin user manually: Use ssh to connect to your environment. Then, run the `bin/magento admin:user:create` command. |
| 2007 | validate-config | Update php version to recommended version | |
| 2008 | validate-config | Solr support has been deprecated in Magento 2.1. | |
| 2009 | validate-config | Solr is no longer supported by Magento 2.2 or later. | |
Expand All @@ -142,6 +143,7 @@ Warning errors indicate a problem with the {{ site.data.var.ece }} project confi
| 2017 | validate-config | The current configuration is not compatible with this version of Magento | |
| 2018 | validate-config | Some services have passed EOL | |
| 2019 | validate-config | The MySQL search configuration option is deprecated | Use Elasticsearch instead. |
| 2029 | validate-config | Split Database was deprecated in the Magento 2.4.2 and will be removed in 2.5. | If you use split database you should start planning to revert to or migrate to a single database or use an alternative approach. |
| 2020 | install-update | Magento installation completed, but the `app/etc/env.php` configuration file was missing or empty. | Required data will be restored from environment configurations and from .magento.env.yaml file. |
| 2021 | install-update:db-connection | For split databases used custom connections | |
| 2022 | install-update:db-connection | You have changed to a database configuration that is not compatible with the slave connection. | |
Expand All @@ -150,6 +152,7 @@ Warning errors indicate a problem with the {{ site.data.var.ece }} project confi
| 2025 | install-update:split-db | Slave connection not set. | |
| 2026 | pre-deploy:restore-writable-dirs | Failed to restore some data generated during the build phase to the mounted directories | Check the `cloud.log` for more information. |
| 2027 | validate-config:mage-mode-variable | Mode value for MAGE_MODE environment variable not supported | Remove the MAGE_MODE environment variable, or change its value to "production". Magento Cloud supports "production" mode only. |
| 2028 | remote-storage | Remote storage could not be enabled. | Verify remote storage credentials. |

### Post-deploy stage

Expand Down
13 changes: 12 additions & 1 deletion src/cloud/release-notes/ece-release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,20 @@ The `{{site.data.var.ct}}` package uses the following release versioning sequenc
{:.bs-callout-info}
See [Upgrades and patches]({{ site.baseurl }}/cloud/project/project-upgrade-parent.html) for information about updating to the latest release of the `{{site.data.var.ct}}` package.

## v2002.1.5
## v2002.1.6
*Release date: {{ site.data.var.ece-release-date }}*<br/>

- {:.new}<!--MCLOUD-7694--> **Redis authentication credentials**—Added the ability to read Redis authorization credentials from the `relationships` property during the deploy phase.
- {:.new}<!--MCLOUD-7695--> **Elasticsearch authorization credentials**—Added the ability to read Elasticsearch authorization credentials from the `relationships` property during the deploy phase.
- {:.new}<!--MCLOUD-7698--> **Dedicated session storage service**—Added `redis-session` as a second option for session storage. You can use the `redis-session` service to store session information and use the `redis` service for cache to provide better performance.
- {:.new}<!--MCLOUD-7806--> **Deprecated SPLIT_DB messages**—Added validator warning and critical messages for the deprecated `SPLIT_DB` option for Magento 2.4.2 and its removal in Magento 2.5.0.
- {:.fix}<!--MCLOUD-7572--> **Elasticsearch version from relationships**—Fixed Service validator to retrieve the correct version of Elasticsearch from the `relationships` properties in Cloud Docker and integration environments.
- {:.fix}<!--MCLOUD-7722--> **Flexible Redis port validation**—Redis can now validate the port in a custom cache connection from the `server` URL. For example, you can add your port number to your server URL as follows: `server: 'tcp://rfs-store-simple-page-cache:26379'`. This helps prevent validation errors where the `port` option is either missing or incorrect.
- {:.fix}<!--MCLOUD-7776--> **Upgrading to Magento 2.4.2**—Fixed the issue that required users to manually run `bin/magento setup:upgrade` to make their sites operational after upgrading to Magento 2.4.2.

## v2002.1.5
*Release date: Feb 1, 2021*<br/>

- {:.new}**Remote storage**—Added the [`REMOTE_STORAGE`]({{site.baseurl}}/cloud/env/variables-deploy.html#remote_storage) environment variable to enable Cloud Projects for remote storage of media files using a storage service, such as AWS S3.<!--MCLOUD-7153-->

- {:.new}**New cloud:config:validate command**—Added command `php vendor/bin/ece-tools cloud:config:validate` to validate the `.magento.env.yaml` configuration before pushing changes to the remote Cloud environment.<!--MCLOUD-7120-->
Expand Down

0 comments on commit 87e5cd2

Please sign in to comment.