Deploy索引標籤
- 主題:
- 設定
建立對象:
- 經驗豐富
- 管理員
- 開發人員
此標籤嘗試快速隔離部署問題的問題和原因。
Deploy log Deployment Troubleshooter
Deploy log Deployment Troubleshooter 框架顯示所選時間範圍內發生的部署記錄事件計數。 目的是提供部署活動的簡單檢視,並依據計數判斷部署的複雜性。 記錄的訊息越多,部署通常就越複雜。
Deploy State
Deploy State 框架會顯示所選時間範圍內發生的部署事件。 此框架的剖析器會尋找這些特定訊號:
- '
%NOTICE: Starting generate command%
')做為'start_gen
' - '
%git apply /app/vendor/magento/ece-tools/patches%
')做為'apply_patches
' - '
%Set flag: .static_content_deploy%
')做為'SCD
' - '
%NOTICE: Generate command completed%
')做為'gen_compl
' - '
%NOTICE: Starting deploy.%
')做為'start_deploy
' - '
%NOTICE: Deployment completed%
')做為'deploy_compl
' - '
%NOTICE: Starting post-deploy.%
')做為'start_pdeploy
' - '
%NOTICE: Post-deploy is complete%
')做為'pdeploy
' - '
%deploy-complete%
')做為'cl_deploy_compl
'
Deploy Log Detail
Deploy Log Detail 框架顯示所選時間範圍內發生的部署記錄檔訊息摘要詳細資料。 此框架正在剖析部署記錄檔中的下列字串:
- '
%NOTICE: Starting deploy.%
')做為'start_dply
' - '
%INFO: Starting scenario(s): scenario/deploy.xml%
')做為'start_scenario
' - '
%NOTICE: Starting pre-deploy%
')做為'strt_predply
' - '
%INFO: Restoring patch log file%
')做為'rstr_ptch_log
' - '
%INFO: Updating cache configuration.%
')做為'updt_cach_config
' - '
%INFO: Set Redis slave connection%
')做為'redis_sec_conn_set
' - '
%INFO: Static content deployment was performed during build hook, cleaning old content%
')做為'scd_build_hk
' - '
%INFO: Clearing pub/static%
')做為'clr_pub_static
' - '
%NFO: Clearing redis cache:%
')做為'clr_redis_cach
' - '
%INFO: Clearing var/cache directory%
')做為'clr_var_cach
' - '
%NOTICE: Enabling Maintenance mode%
')做為'enable_maint_mode
' - '
%INFO: Disable cron%
')做為'disable_cron
' - '
%INFO: Trying to kill running cron jobs and consumers processes%
')做為'kill_cron_try
' - '
%INFO: Running Adobe Commerce cron and consumers processes were not found.%
')做為'no_cron_fnd
' - '
%NOTICE: Validating configuration%
')做為'validate_config
' - '
%The following admin data is required to create an admin user during initial installation%
')做為'no_admin
' - '
%recommended PHP version satisfying the constraint%
')做為'php_ver_constraint
' - '
%WARNING: Fix configuration with given suggestions:%
')做為'fix_config_sugg
' - '
%WARNING: [2003] The directory nesting level value for error reporting has not been configured.%
')做為'nest_err_reporting
' - '
%NOTICE: End of validation%
')做為'end_validation
' - '
%NOTICE: Starting update.%
')做為'start_update
' - '
%INFO: Updating env.php.%
')做為'update_php_env
' - '
%INFO: Updating env.php DB connection configuration.%
')做為'update_php_env_db
' - '
%INFO: Updating env.php AMQP configuration%
')做為'update_php_env_amqp
' - '
%INFO: Set search engine to: elasticsearch7%
')做為'set_elastic7
' - '
%elasticsearch 6.5.4 has passed EOL%
')做為'elastic_ver_EOL
' - '
%INFO: Set search engine to: elasticsearch6%
')做為'set_elastic6
' - '
%INFO: Updating secure and unsecure URLs%
')做為'update_urls
' - '
%INFO: Running setup upgrade.%
')做為'setup_upgrade_run
' - '
%INFO: Post-deploy hook enabled. Cron enabling, cache cleaning, and pre-warming operations are postponed%
')做為'post_hook_enabled
' - '
%NOTICE: Maintenance mode is disabled.%
')做為'maint_mode_disabled
' - '
%INFO: Scenario(s) finished%
')做為'scenario_finished
' - '
%WARNING: Command maintenance:enable finished with an error. Creating a maintenance flag file%
')做為'enable_maintenance_fail
' - '
%MySQL server has gone away%
')做為'MySQL_has_gone_away
'
Post Deploy Log Detail
Post Deploy Log Detail 框架會顯示所選時間範圍內發生的部署後記錄檔詳細資料。 此框架著重於包含以下字串的特定記錄訊息:
- '
%Disabled maintenance mode%
')做為'disabled_maint_mode
' - '
%INFO: Starting scenario(s): scenario/post-deploy.xml%
')做為'start_pstdply_scenario
' - '
%NOTICE: Validating configuration%
')做為'val_config
' - '
%NOTICE: End of validation%
')做為'end_val_config
' - '
%INFO: Enable cron%
')做為'cron_enabled
' - '
%INFO: Create backup of important files.%
')做為'file_backup
' - '
%INFO: Successfully created backup%
')做為'file_backup_success
' - '
%INFO: Starting page warming up%
')做為'pg_warmup_start
' - '
%INFO: Warmed up page:%
')做為'warmed_up_pg
' - '
%ERROR: Warming up failed:%
')做為'warm_up_pg_err
' - '
%INFO: Scenario(s) finished%
')做為'scenario_finished
'
Cloud Log Detail
Cloud Log Detail 框架會顯示所選時間範圍內發生的雲端記錄檔詳細資料。 系統會剖析下列字串,並傳回下列的「AS」標籤:
- '
%DEBUG: /bin/bash -c "set -o pipefail; php ./bin/magento setup:upgrade%
')做為'start_update
' - '
%Schema creation/updates:%
')做為'schema_updates
' - '
%Nothing to import.%
')做為'mod_import_finish
' - '
%NOTICE: End of update.%
')做為'update_finished
' - '
%DEBUG: Running step: deploy-static-content%
')做為'scd_run
' - '
%NOTICE: Skipping static content deploy. SCD on demand is enabled.%
')做為'scd_ondemand
' - '
%INFO: Clearing%
')做為'clr_dirs
' - '
%DEBUG: Step "deploy-static-content" finished%
')做為'scd_finished
' - '
%NOTICE: Skipping static content compression. SCD on demand is enabled.%
')做為'scd_compression_run
' - '
%INFO: Clearing var/cache directory%
')做為'clr_var_cach
' - '
%DEBUG: Step "compress-static-content" finished%
')做為'scd_compression_finished
' - '
%DEBUG: Running step: deploy-complete%
')做為'deploy_finished
' - '
%INFO: Post-deploy hook enabled. Cron enabling, cache cleaning, and pre-warming operations are postponed to post-deploy stage.%
')做為'Post_deploy_hook_enabled
' - '
%NOTICE: Maintenance mode is disabled.%
')做為'maint_mode_disabled
' - '
%INFO: Scenario(s) finished%
')做為'scenario_finished
' - '
%post-deploy.xml%
')做為'post_deploy_start
' - '
%NOTICE: Validating configuration%
')做為'validate_config
' - '
%WARNING: [2003] The directory nesting level value for error reporting has not been configured.%
')做為'nest_err_reporting
' - '
%NOTICE: End of validation%
')做為'end_validation
' - '
%INFO: Enable cron%
')做為'enable_cron
' - '
%INFO: Create backup of important files%
')做為'create_backup
' - '
%DEBUG: Step "backup" finished%
')做為'backup_finished
' - '
%INFO: Starting page warming up%
')做為'warmup_start
' - '
%ERROR: Warming up failed:%
')做為'warm_up_fail
' - '
%DEBUG: Step "warm-up" finished%
')做為'warmup_finished
' - '
%DEBUG: Step "time-to-first-byte" finished%
')做為'ttfb_finished
' - '
%INFO: Scenario(s) finished%
')做為'post_deploy_finished
' - '
%DEBUG: Running step: pre-build%
')做為'run_pre-build
' - '
%DEBUG: Flag .static_content_deploy has already been deleted%
')做為'scd_flag_del
' - '
%DEBUG: Step "pre-build" finished%
')做為'pre-build_completed
' - '
%NOTICE: Applying patches%
')做為'apply_patches
' - '
%has been applied%
')做為'patches_applied
' - '
%DEBUG: Step "apply-patches" finished%
')做為'apply_patches_complete
' - '
%Deploy using quick strategy%
')做為'quick_strategy_deploy
' - '
%NOTICE: Running DI compilation%
')做為'di_compliation_start
' - '
%NOTICE: End of running DI compilation%
')做為'di_compliation_finished
' - '
%NOTICE: Generating fresh static content%
')做為'gen_frsh_static_content
' - '
%magento setup:static-content:deploy%
')做為'scd_executing
' - '
%NOTICE: End of generating fresh static content%
')做為'gen_frsh_static_cont_finished
' - '
%INFO: Starting scenario(s): scenario/build/transfer.xml%
')做為'start_transferxml
' - '
%INFO: Trying to kill running cron jobs%
')做為'kill_crons
' - '
%INFO: Clearing redis cache:%
')做為'clear_redis_cache
' - '
%INFO: Checking if db exists and has tables%
')做為'db_check
' - '
%WARNING: [2010] Elasticsearch service is installed at infrastructure layer, but is not used as a search engine.%
)做為'es_not_used
' - '
%NOTICE: Starting update.%
')做為'starting_update
' - '
%INFO: Set search engine to: mysql%
')做為'mysql_search
' - '
%SQLSTATE[HY000] [2006] MySQL server has gone away%
')做為'mysql_gone
'
Count of modules imported during deploy
部署期間匯入的
Count of modules imported during deploy 框架顯示部署期間在選取的時間範圍內匯入的模組數目。
Deployed module list
Deployed module list 框架會顯示所選時間範圍內的已部署模組。