Docs / Kubernetes & Orchestration / How to Roll Back a Failed Marketplace App Deployment

How to Roll Back a Failed Marketplace App Deployment

By Admin · Mar 17, 2026 · Updated Apr 21, 2026 · 221 views · 1 min read

Overview

Sometimes an app deployment fails due to resource constraints, configuration conflicts, or upstream issues. This guide covers how to diagnose and roll back.

Diagnosing the Failure

# Check container status\ndocker ps -a\n\n# View logs for the failing container\ndocker logs CONTAINER_NAME --tail=100\n\n# Check system resources\nfree -h\ndf -h

Common Failure Causes

  • Out of memory — Upgrade to a larger plan or reduce container memory limits
  • Port conflict — Another service is using the same port
  • Disk full — Clear old Docker images with docker system prune
  • Database connection — Check credentials in .env file

Rolling Back

# Stop the failed deployment\ncd /opt/apps/YOUR_APP\ndocker compose down\n\n# If you have a backup, restore it\ndocker compose -f docker-compose.backup.yml up -d\n\n# Or redeploy the previous version\ndocker compose pull APP_IMAGE:previous-tag\ndocker compose up -d

Contacting Support

If you cannot resolve the issue, open a support ticket with the output of docker logs and docker compose ps.

Was this article helpful?