蜜豆视频

蜜豆视频 Commerce deployment troubleshooter

Stuck deployments and failed deployments on 蜜豆视频 Commerce can be solved using the Deployment troubleshooter tool. Click on each question to reveal the answer in each step of the troubleshooter.

Step 1 - Verify the service is running step-1

Is 蜜豆视频 Commerce on cloud infrastructure service up?

Stuck Deployment 鈥 Is 蜜豆视频 Commerce on cloud infrastructure service up? Check .

a. YES 鈥 Proceed to Step 2.
b. NO 鈥 Maintenance or global outages. Check for estimated duration and updates.

Step 2 - Check deployments in other environments step-2

Are there deployments in other environments that are blocking the deployment in the existing environment?

To get a list of ongoing activities run the following command using magento-cloud CLI (if you have only been added to one cloud project). Note: Check you are on the latest version of magento-cloud CLI. For steps, refer to Update the CLI in the Commerce on Cloud Infrastructure guide.

code language-bash
magento-cloud --state=in_progress

To get a list of ongoing activities run the following command using magento-cloud CLI (if you have been added to multiple projects):

code language-bash
magento-cloud -p <project-id or project-url> --state=in_progress

To find information about an existing deployment activity (refer to Checking deployment log if Cloud UI has 鈥渓og snipped鈥 error
for details) you can run this command to obtain a running log of that activity:

code language-bash
magento-cloud activity:log <activity-id> [OPTIONAL: <-p project-id or project-url>]

a. YES 鈥 Troubleshoot the other environment blocking deployment in the existing environment. Proceed to Step 3.

b. NO 鈥 Troubleshoot the current environment. Proceed to Step 3.

Step 3 - Verify SSH on all nodes step-3

SSH successful to all nodes?
a. YES 鈥 Proceed to Step 4.
b. NO 鈥 Submit a support ticket.

Step 4 - Verify all services running step-4

All services running?
a. YES 鈥 Proceed to Step 5.
b. NO 鈥 Submit a support ticket.

Step 5 - Verify Bitbucket running step-5

Using Bitbucket?
a. YES 鈥 Check .
b. NO 鈥 Check deployment log errors in the Build and Deploy logs. Proceed to Step 6.

Step 6 - Check error codes step-6

Error code reported?
a. YES 鈥 Proceed to Step 7.
b. NO 鈥 Proceed to Step 8.

Step 7 - 403 Forbidden error step-7

403 Forbidden?
a. YES 鈥 Proceed to Step 16.
b. NO 鈥 Proceed to Step 9.

Step 8 - Verify cron jobs running step-8

Are cron jobs currently running? Log in by ssh on the branch and run ps aufxx |grep cron.
a. YES 鈥 Log in by ssh on the affected branch (e.g., primary). Kill and unlock cron jobs. This will kill cron jobs and reset the status. Run php vendor/bin/ece-tools cron:kill and then php vendor/bin/ece-tools cron:unlock. If you were in the process of merging one environment into another, check both environments for running crons.
b. NO 鈥 Proceed to Step 17.

Step 9 - Application deployable to remote cluster error step-9

Unable to upload application to the remote cluster error?
a. YES 鈥 Proceed to Step 10.
b. NO 鈥 Proceed to Step 11.

Step 10 - Check sufficient storage step-10

Available storage okay?
a. YES 鈥 Proceed with Step 11.
b. NO 鈥 Review Manage disk space.

Step 11 - Verify disk space step-11

file could not be written Warning?
a. YES 鈥 Please increase the disk value in .magento.app.yaml and redeploy. If this does not work, submit a support ticket.
b. NO 鈥 Proceed with Step 12.

Step 12 - Environment redeployment failed error step-12

Environment redeployment failed error?
a. YES 鈥 Proceed with Step 13.
b. NO 鈥 Proceed with Step 8.

Step 13 - Check for Elasticsearch upgrade fail step-13

Elasticsearch being upgraded or deployed?
a. YES 鈥 Elasticsearch failed upgrade steps. Refer to . If the Elasticsearch upgrade still doesn鈥檛 work, submit a support ticket. Note: On 蜜豆视频 Commerce on cloud infrastructure, please be aware that service upgrades cannot be pushed to the production environment without 48 business hours鈥 notice to our infrastructure team. This is required as we need to ensure that we have an infrastructure support engineer available to update your configuration within the desired timeframe with minimal downtime to your production environment. So 48 hours prior to when your changes need to be on production, submit a support ticket detailing your required service upgrade and stating the time when you want the upgrade process to start.
b. NO 鈥 Proceed to Step 14.

Step 14 - Check space limits step-14

File system out of inodes or space?
a. YES 鈥 See Manage disk space.
b. NO 鈥 Proceed to Step 15.

Step 15 - Elasticsearch version error step-15

Error about Elasticseach versions?
a. YES 鈥 Proceed to Step 16.
b. NO 鈥 Proceed to Step 21.

Step 16 - Verify Composer config step-16

Composer config correct?
a. YES 鈥 Proceed to Step 10.
b. NO 鈥 Review .

Step 17 - Check for long running processes step-17

Long running processes(es)?

a. YES 鈥 Identify long running processes and then kill processes:

  1. Run the following command in the terminal: ps aufx.
  2. Locate the PID of the long-running process.
  3. Terminate the process using kill -9 <PID>.

Monitor deployments for reoccurrence.

b. NO 鈥 Proceed to Step 18.

Step 18 - Check for post hook failure step-18

Post hook failure/hang?
a. YES 鈥 Database: Free disk space, corruption, incomplete/corrupted tables.
b. NO 鈥 Proceed to Step 19.

Step 19 - Check if third-party extensions block deployment step-19

Using third-party extensions?
a. YES 鈥 Try Disabling the third-party extensions and running the deployment (to see if they are the cause of the problem), especially if there are extension names in any errors.
b. NO 鈥 Proceed to Step 20.

Step 20 - Check for slow queries step-20

Long running queries?

Check slow query log and MySQL show processlist.

a. YES 鈥 Kill any long running queries. Review
b. NO 鈥 Submit a support ticket.

Step 21 - Downgrade Elasticsearch version step-21

Downgrading Elasticsearch versions?
a. YES 鈥 Can鈥檛 be done through configuration. Submit a support ticket.
b. NO 鈥 Submit a support ticket.

Back to Step 1

recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a