Skip to content

Commit cc24faa

Browse files
Merge branch 'develop' into MCLOUD-13455
2 parents e710dc5 + 7a26350 commit cc24faa

File tree

2 files changed

+63
-61
lines changed

2 files changed

+63
-61
lines changed

config/schema.error.yaml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Critical errors
22
!php/const Magento\MagentoCloud\App\Error::BUILD_ENV_PHP_IS_NOT_WRITABLE:
3-
title: 'Can not write to the `./app/etc/env.php` file'
4-
suggestion: 'Deployment script can not make required changes to the `/app/etc/env.php` file. Check your filesystem permissions.'
3+
title: 'Cannot write to the `./app/etc/env.php` file'
4+
suggestion: 'Deployment script cannot make required changes to the `/app/etc/env.php` file. Check your filesystem permissions.'
55
stage: build
66
type: critical
77
!php/const Magento\MagentoCloud\App\Error::BUILD_CONFIG_NOT_DEFINED:
@@ -26,13 +26,13 @@
2626
type: critical
2727
!php/const Magento\MagentoCloud\App\Error::BUILD_CONFIG_PHP_IS_NOT_WRITABLE:
2828
step: refresh-modules
29-
title: 'Can not write to the `./app/etc/config.php` file'
30-
suggestion: 'The deployment script can not make required changes to the `/app/etc/config.php` file. Check your filesystem permissions.'
29+
title: 'Cannot write to the `./app/etc/config.php` file'
30+
suggestion: 'The deployment script cannot make required changes to the `/app/etc/config.php` file. Check your filesystem permissions.'
3131
stage: build
3232
type: critical
3333
!php/const Magento\MagentoCloud\App\Error::BUILD_CANT_READ_COMPOSER_JSON:
3434
step: validate-config
35-
title: 'Can not read the `composer.json` file'
35+
title: 'Cannot read the `composer.json` file'
3636
suggestion: 'Unable to read the `./composer.json` file. Check file permissions.'
3737
stage: build
3838
type: critical
@@ -62,7 +62,7 @@
6262
type: critical
6363
!php/const Magento\MagentoCloud\App\Error::BUILD_FILE_LOCAL_XML_IS_NOT_WRITABLE:
6464
step: set-report-dir-nesting-level
65-
title: 'Can not write to the file `/pub/errors/local.xml`'
65+
title: 'Cannot write to the file `/pub/errors/local.xml`'
6666
suggestion: ''
6767
stage: build
6868
type: critical
@@ -86,7 +86,7 @@
8686
type: critical
8787
!php/const Magento\MagentoCloud\App\Error::BUILD_BALER_NOT_FOUND:
8888
step: run-baler
89-
title: 'The command to run `Baler` for Javascript bundling failed'
89+
title: 'The command to run `Baler` for JavaScript bundling failed'
9090
suggestion: 'Check the `SCD_USE_BALER` environment variable to verify that the Baler module is configured and enabled for JS bundling. If you do not need the Baler module, set `SCD_USE_BALER: false`.'
9191
stage: build
9292
type: critical
@@ -99,7 +99,7 @@
9999
!php/const Magento\MagentoCloud\App\Error::BUILD_SCD_FAILED:
100100
step: deploy-static-content
101101
title: 'Command `/bin/magento setup:static-content:deploy` failed'
102-
suggestion: 'Check the `cloud.log` for more information. For more detailed command output, add the `VERBOSE_COMMANDS: ''-vvv''` option to the `.magento.env.yaml` file.'
102+
suggestion: 'Check the `cloud.log` for more information. For more detailed command output, add the `VERBOSE_COMMANDS: ''-vvv''` option to the `.magento.env.yaml` file.'
103103
stage: build
104104
type: critical
105105
!php/const Magento\MagentoCloud\App\Error::BUILD_SCD_COMPRESSION_FAILED:
@@ -132,7 +132,7 @@
132132
stage: build
133133
type: critical
134134
!php/const Magento\MagentoCloud\App\Error::BUILD_COMPOSER_PACKAGE_NOT_FOUND:
135-
title: 'Can not find the Composer package'
135+
title: 'Cannot find the Composer package'
136136
suggestion: 'If you installed the Adobe Commerce application version directly from the GitHub repository, verify that the `DEPLOYED_MAGENTO_VERSION_FROM_GIT` environment variable is configured.'
137137
stage: build
138138
type: critical
@@ -149,8 +149,8 @@
149149
stage: deploy
150150
type: critical
151151
!php/const Magento\MagentoCloud\App\Error::DEPLOY_ENV_PHP_IS_NOT_WRITABLE:
152-
title: 'Can not write to the `./app/etc/env.php` file'
153-
suggestion: 'Deployment script can not make required changes to the `/app/etc/env.php` file. Check your filesystem permissions.'
152+
title: 'Cannot write to the `./app/etc/env.php` file'
153+
suggestion: 'Deployment script cannot make required changes to the `/app/etc/env.php` file. Check your filesystem permissions.'
154154
stage: deploy
155155
type: critical
156156
!php/const Magento\MagentoCloud\App\Error::DEPLOY_CONFIG_NOT_DEFINED:
@@ -263,8 +263,8 @@
263263
type: critical
264264
!php/const Magento\MagentoCloud\App\Error::DEPLOY_SCD_CANNOT_UPDATE_VERSION:
265265
step: 'deploy-static-content:generate'
266-
title: 'Can not update the deployed version'
267-
suggestion: 'Can not update the `./pub/static/deployed_version.txt` file. Check your filesystem permissions.'
266+
title: 'Cannot update the deployed version'
267+
suggestion: 'Cannot update the `./pub/static/deployed_version.txt` file. Check your filesystem permissions.'
268268
stage: deploy
269269
type: critical
270270
!php/const Magento\MagentoCloud\App\Error::DEPLOY_SCD_CLEAN_FAILED:
@@ -324,16 +324,16 @@
324324
!php/const Magento\MagentoCloud\App\Error::DEPLOY_CRYPT_KEY_IS_ABSENT:
325325
step: install-update
326326
title: 'The `crypt/key` key value does not exist in the `./app/etc/env.php` file or the `CRYPT_KEY` cloud environment variable'
327-
suggestion: "This error occurs if the `./app/etc/env.php` file is not present when Adobe Commerce 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://experienceleague.adobe.com/docs/commerce-cloud-service/user-guide/configure/env/stage/variables-deploy.html#crypt_key) cloud environment variable in your current environment. See [Adobe Commerce encryption key](https://experienceleague.adobe.com/docs/commerce-cloud-service/user-guide/develop/overview.html#gather-credentials). 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 .\""
327+
suggestion: "This error occurs if the `./app/etc/env.php` file is not present when Adobe Commerce 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://experienceleague.adobe.com/docs/commerce-cloud-service/user-guide/configure/env/stage/variables-deploy.html#crypt_key) cloud environment variable in your current environment. See [Adobe Commerce encryption key](https://experienceleague.adobe.com/docs/commerce-cloud-service/user-guide/develop/overview.html#gather-credentials). 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.\""
328328
stage: deploy
329329
type: critical
330330
!php/const Magento\MagentoCloud\App\Error::DEPLOY_ES_CANNOT_CONNECT:
331-
title: 'Can not connect to the Elasticsearch service'
331+
title: 'Cannot connect to the Elasticsearch service'
332332
suggestion: 'Check for valid Elasticsearch credentials and verify that the service is running'
333333
stage: deploy
334334
type: critical
335335
!php/const Magento\MagentoCloud\App\Error::DEPLOY_OS_CANNOT_CONNECT:
336-
title: 'Can not connect to the OpenSearch service'
336+
title: 'Cannot connect to the OpenSearch service'
337337
suggestion: 'Check for valid OpenSearch credentials and verify that the service is running'
338338
stage: deploy
339339
type: critical
@@ -364,7 +364,7 @@
364364
!php/const Magento\MagentoCloud\App\Error::DEPLOY_REMOVED_SPLIT_DB:
365365
step: validate-config
366366
title: 'Split Database was removed starting from Adobe Commerce and Magento Open Source 2.5.0.'
367-
suggestion: 'If you use split database you have to revert to or migrate to a single database or use an alternative approach.'
367+
suggestion: 'If you use a split database you have to revert to or migrate to a single database or use an alternative approach.'
368368
stage: deploy
369369
type: critical
370370
!php/const Magento\MagentoCloud\App\Error::PD_DEPLOY_IS_FAILED:
@@ -375,7 +375,7 @@
375375
type: critical
376376
!php/const Magento\MagentoCloud\App\Error::PD_ENV_PHP_IS_NOT_WRITABLE:
377377
title: 'The `./app/etc/env.php` file is not writable'
378-
suggestion: 'Deployment script can not make required changes to the `/app/etc/env.php` file. Check your filesystem permissions.'
378+
suggestion: 'Deployment script cannot make required changes to the `/app/etc/env.php` file. Check your filesystem permissions.'
379379
stage: post-deploy
380380
type: critical
381381
!php/const Magento\MagentoCloud\App\Error::PD_CONFIG_NOT_DEFINED:
@@ -488,17 +488,17 @@
488488
step: validate-config
489489
type: warning
490490
!php/const Magento\MagentoCloud\App\Error::WARN_BALER_CANNOT_BE_USED:
491-
title: 'Baler JS bundling can not be used'
491+
title: 'Baler JS bundling cannot be used'
492492
stage: build
493493
step: run-baler
494494
type: warning
495495
!php/const Magento\MagentoCloud\App\Error::WARN_REDIS_SERVICE_NOT_AVAILABLE:
496-
title: 'Cache is configured for a Redis service that is not available. Configuration will be ignored.'
496+
title: 'Cache is configured for a Redis service that is not available. Configuration is ignored.'
497497
stage: deploy
498498
step: 'pre-deploy:cache'
499499
type: warning
500500
!php/const Magento\MagentoCloud\App\Error::WARN_VALKEY_SERVICE_NOT_AVAILABLE:
501-
title: 'Cache is configured for a Valkey service that is not available. Configuration will be ignored.'
501+
title: 'Cache is configured for a Valkey service that is not available. Configuration is ignored.'
502502
stage: deploy
503503
step: 'pre-deploy:cache'
504504
type: warning
@@ -525,7 +525,7 @@
525525
type: warning
526526
!php/const Magento\MagentoCloud\App\Error::WARN_ADMIN_EMAIL_NOT_SET:
527527
title: 'Admin user was not created as admin email was not set'
528-
suggestion: '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.'
528+
suggestion: '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.'
529529
stage: deploy
530530
step: validate-config
531531
type: warning
@@ -545,13 +545,13 @@
545545
step: validate-config
546546
type: warning
547547
!php/const Magento\MagentoCloud\App\Error::WARN_ES_INSTALLED_BUT_NOT_USED:
548-
title: 'Elasticsearch service is installed at infrastructure layer, but it is not used as a search engine.'
548+
title: 'Elasticsearch service is installed at the infrastructure layer, but it is not used as a search engine.'
549549
suggestion: 'Consider removing the Elasticsearch service from the infrastructure layer to optimize resource usage.'
550550
stage: deploy
551551
step: validate-config
552552
type: warning
553553
!php/const Magento\MagentoCloud\App\Error::WARN_ES_VERSION_MISMATCH:
554-
title: 'Elasticsearch service version on infrastructure layer is not compatible with current version of the elasticsearch/elasticsearch module, used by your Adobe Commerce application.'
554+
title: 'Elasticsearch service version on infrastructure layer is not compatible with the current version of the elasticsearch/elasticsearch module, used by your Adobe Commerce application.'
555555
stage: deploy
556556
step: validate-config
557557
type: warning
@@ -576,7 +576,7 @@
576576
step: validate-config
577577
type: warning
578578
!php/const Magento\MagentoCloud\App\Error::WARN_CONFIG_WRONG_JSON_FORMAT:
579-
title: 'JSON type configuration can not be decoded'
579+
title: 'JSON type configuration cannot be decoded'
580580
stage: deploy
581581
step: validate-config
582582
type: warning
@@ -599,12 +599,12 @@
599599
!php/const Magento\MagentoCloud\App\Error::WARN_DEPRECATED_SPLIT_DB:
600600
title: 'Split Database was deprecated in the Adobe Commerce and Magento Open Source 2.4.2 and will be removed in 2.5.'
601601
stage: deploy
602-
suggestion: 'If you use split database you should start planning to revert to or migrate to a single database or use an alternative approach.'
602+
suggestion: 'If you use a split database you should start planning to revert to or migrate to a single database or use an alternative approach.'
603603
step: validate-config
604604
type: warning
605605
!php/const Magento\MagentoCloud\App\Error::WARN_ENV_PHP_MISSED:
606606
title: 'Adobe Commerce installation completed, but the `app/etc/env.php` configuration file was missing or empty.'
607-
suggestion: 'Required data will be restored from environment configurations and from the .magento.env.yaml file.'
607+
suggestion: 'Required data is restored from environment configurations and from the .magento.env.yaml file.'
608608
stage: deploy
609609
step: install-update
610610
type: warning
@@ -619,7 +619,7 @@
619619
step: 'install-update:db-connection'
620620
type: warning
621621
!php/const Magento\MagentoCloud\App\Error::WARN_SPLIT_DB_ENABLING_SKIPPED:
622-
title: 'Enabling a split database will be skipped.'
622+
title: 'Enabling a split database is skipped.'
623623
stage: deploy
624624
step: 'install-update:split-db'
625625
type: warning
@@ -658,22 +658,22 @@
658658
step: validate-config
659659
type: warning
660660
!php/const Magento\MagentoCloud\App\Error::WARN_CANNOT_FETCH_STORE_URLS:
661-
title: 'Can not fetch store urls'
661+
title: 'Cannot fetch store urls'
662662
stage: post-deploy
663663
step: warm-up
664664
type: warning
665665
!php/const Magento\MagentoCloud\App\Error::WARN_CANNOT_FETCH_STORE_URL:
666-
title: 'Can not fetch store url'
666+
title: 'Cannot fetch store url'
667667
stage: post-deploy
668668
step: warm-up
669669
type: warning
670670
!php/const Magento\MagentoCloud\App\Error::WARN_CREATE_CONFIG_BACKUP_FAILED:
671-
title: 'Can not create backup files'
671+
title: 'Cannot create backup files'
672672
stage: post-deploy
673673
step: backup
674674
type: warning
675675
!php/const Magento\MagentoCloud\App\Error::WARN_CANNOT_GET_PROC_COUNT:
676-
title: 'Can not get system processor count:'
676+
title: 'Cannot get system processor count:'
677677
type: warning
678678
stage: general
679679
!php/const Magento\MagentoCloud\App\Error::WARN_OS_ES_SERVICES_BOTH_INSTALLED:
@@ -685,6 +685,6 @@
685685
!php/const Magento\MagentoCloud\App\Error::DEPLOY_MAGENTO_VERSION_DOES_NOT_SUPPORT_OS:
686686
step: validate-config
687687
title: 'Incorrect search engine'
688-
suggestion: 'This Adobe Commerce or Magento Open Source version does not support OpenSearch. You must use versions 2.3.7-p3, 2.4.3-p2, or later'
688+
suggestion: 'This Adobe Commerce or Magento Open Source version does not support OpenSearch. Use versions 2.3.7-p3, 2.4.3-p2, or later'
689689
stage: deploy
690690
type: critical

0 commit comments

Comments
 (0)