|
1 |
| - |
| 1 | +<!-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.-> |
2 | 2 |
|
3 | 3 | ## Critical Errors
|
4 | 4 |
|
| 5 | +Critical errors indicate a problem with the Magento Commerce Cloud project configuration that causes deployment failure, for example incorrect, unsupported, or missing configuration for required settings. Before you can deploy, you must update the configuration to resolve these errors. |
5 | 6 |
|
6 | 7 | ### Build stage
|
7 | 8 |
|
8 | 9 | {:.error-table}
|
9 |
| -| Error code | Build step | Error description | Suggested action | |
| 10 | +| Error code | Build step | Error description (Title) | Suggested action | |
10 | 11 | | - | - | - | - |
|
11 | 12 | | 2 | | Cannot write to the `./app/etc/env.php` file | Deployment script cannot make required changes to the `/app/etc/env.php` file. Check your filesystem permissions. |
|
12 | 13 | | 3 | | Configuration isn't defined in the `schema.yaml` file | Configuration is not defined in the `./vendor/magento/ece-tools/config/schema.yaml` file. Check that the config variable name is correct, and that it is defined. |
|
|
37 | 38 | ### Deploy stage
|
38 | 39 |
|
39 | 40 | {:.error-table}
|
40 |
| -| Error code | Deploy step | Error description | Suggested action | |
| 41 | +| Error code | Deploy step | Error description (Title) | Suggested action | |
41 | 42 | | - | - | - | - |
|
42 | 43 | | 101 | pre-deploy: cache | Incorrect cache configuration (missing port or host) | Cache configuration is missing required parameters `server` or `port`. Check the `cloud.log` for more information. |
|
43 | 44 | | 102 | | Cannot write to the `./app/etc/env.php` file | Deployment script cannot make required changes to the `/app/etc/env.php` file. Check your filesystem permissions. |
|
|
72 | 73 | | 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 ." |
|
73 | 74 | | 132 | | Can not connect to the Elasticsearch service | Check that credentials for elasticsearch are correct and service is running |
|
74 | 75 | | 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. |
|
| 76 | +| 134 | validate-config | Magento 2.4.0 requires Elasticsearch service to be installed | Install Elasticsearch service | |
75 | 77 |
|
76 | 78 | ### Post-deploy stage
|
77 | 79 |
|
78 | 80 | {:.error-table}
|
79 |
| -| Error code | Post-deploy step | Error description | Suggested action | |
| 81 | +| Error code | Post-deploy step | Error description (Title) | Suggested action | |
80 | 82 | | - | - | - | - |
|
81 | 83 | | 201 | is-deploy-failed | Deploy stage failed | |
|
82 | 84 | | 202 | | The `./app/etc/env.php` file is not writable | Deployment script cannot make required changes to the `/app/etc/env.php` file. Check your filesystem permissions. |
|
|
91 | 93 | ### General
|
92 | 94 |
|
93 | 95 | {:.error-table}
|
94 |
| -| Error code | General step | Error description | Suggested action | |
| 96 | +| Error code | General step | Error description (Title) | Suggested action | |
95 | 97 | | - | - | - | - |
|
96 | 98 | | 243 | | Configuration is not defined in the `schema.yaml` file | Check that the config variable name is correct, and that it defined. |
|
97 | 99 | | 244 | | Failed to parse the `.magento.env.yaml` file | The `./.magento.env.yaml` file format is invalid. Use a YAML parser to check the syntax and fix any errors. |
|
98 | 100 | | 245 | | Unable to read the `.magento.env.yaml` file | Unable to read the `./.magento.env.yaml` file. Check file permissions. |
|
99 | 101 | | 246 | | Unable to read the `.schema.yaml` file | |
|
100 | 102 |
|
101 |
| - |
102 | 103 | ## Warning Errors
|
103 | 104 |
|
| 105 | +Warning errors indicate a problem with the Magento Commerce Cloud project configuration such as incorrect, deprecated, unsupported, or missing configuration settings for optional features that can affect site operation. Although a warning does not cause deployment failure, you should review warning messages and update the configuration to resolve them. |
104 | 106 |
|
105 | 107 | ### Build stage
|
106 | 108 |
|
107 | 109 | {:.error-table}
|
108 |
| -| Error code | Build step | Error description | Suggested action | |
| 110 | +| Error code | Build step | Error description (Title) | Suggested action | |
109 | 111 | | - | - | - | - |
|
110 | 112 | | 1001 | validate-config | File app/etc/config.php does not exist | |
|
111 | 113 | | 1002 | validate-config | The ./build_options.ini file is no longer supported | |
|
|
118 | 120 | ### Deploy stage
|
119 | 121 |
|
120 | 122 | {:.error-table}
|
121 |
| -| Error code | Deploy step | Error description | Suggested action | |
| 123 | +| Error code | Deploy step | Error description (Title) | Suggested action | |
122 | 124 | | - | - | - | - |
|
123 | 125 | | 2001 | pre-deploy:cache | Cache is configured for a Redis service that is not available. Configuration will be ignored. | |
|
124 | 126 | | 2002 | validate-config | The configured state is not ideal | |
|
|
149 | 151 | ### Post-deploy stage
|
150 | 152 |
|
151 | 153 | {:.error-table}
|
152 |
| -| Error code | Post-deploy step | Error description | Suggested action | |
| 154 | +| Error code | Post-deploy step | Error description (Title) | Suggested action | |
153 | 155 | | - | - | - | - |
|
154 | 156 | | 3001 | validate-config | Debug logging is enabled in Magento | To save disk space, do not enable debug logging for your production environments. |
|
155 | 157 | | 3002 | warm-up | Can not fetch store urls | |
|
|
158 | 160 | ### General
|
159 | 161 |
|
160 | 162 | {:.error-table}
|
161 |
| -| Error code | General step | Error description | Suggested action | |
| 163 | +| Error code | General step | Error description (Title) | Suggested action | |
162 | 164 | | - | - | - | - |
|
163 | 165 | | 4001 | | Can not get system processor count: | |
|
164 | 166 |
|
|
0 commit comments