Deployment Manual3 min readReviewed 2026-05-15

Deployment Validation and Troubleshooting

Deployment troubleshooting should begin with service health, configuration correctness, storage availability, and network reachability before investigating application-specific behavior.

Validation Sequence

StepExpected result
Compose validationCompose file renders successfully with the selected environment file.
Container statusfrontend, backend, postgres, gotenberg, preview-worker, and index-worker are running.
Health checksFrontend and backend health checks pass; PostgreSQL and Gotenberg are healthy.
Public URLProduction FQDN loads the application over HTTPS.
LoginAdmin and non-admin accounts can authenticate.
UploadTest files upload successfully.
PreviewRepresentative PDF and Office documents preview correctly.
OCR/searchIndexed documents can be found after worker processing.
WorkflowA representative workflow can be completed.
EmailSMTP test and live notification/document email work if enabled.
BackupManual or scheduled backup completes and writes to the configured location.
Restore reviewRestore is tested or a deferred validation plan is recorded.

Common Issue Matrix

SymptomLikely areaInitial checks
Frontend not reachableDNS, TLS, firewall, frontend containerConfirm FQDN, certificate, port binding, reverse proxy target, frontend health.
Login page loads but API calls failNGINX proxy, backend, CORS/public URLConfirm /api/ proxy, backend health, FRONTEND_URL, allowed origins.
Backend unhealthyDatabase, required env vars, migrations, startup settingsCheck DATABASE_URL, JWT_SECRET_KEY, CONVERTER_URL, production guards, migration logs.
Database connection failurePostgreSQL, credentials, networkConfirm postgres container health, credentials, DATABASE_URL, internal DNS name.
Previews failGotenberg, preview worker, storage permissionsConfirm Gotenberg health, CONVERTER_URL, worker status, upload/preview paths.
OCR/search delayedIndex worker, Tesseract, workloadConfirm index worker running, OCR_ENABLED, TESSERACT_CMD, queue volume, CPU.
Email links use wrong URLPublic URL configurationConfirm FRONTEND_URL or PUBLIC_URL and application settings.
SMTP failsRelay, credentials, firewall, TLS policyConfirm host, port, user/password, outbound firewall, relay allow-list, and test recipient.
Backup failsBackup path, Docker access, permissions, encryption keyConfirm BACKUP_ROOT, available disk, key presence, write permissions, and deployment-specific backup method.
Restore failsBackup integrity, destructive restore sequence, service stateValidate backup contents, database dump, data paths, restore procedure, and available disk.

Implementation Notes

Linux compose diagnostics:

docker compose -f docker-compose.prod.yml --env-file .env.prod ps
docker compose -f docker-compose.prod.yml --env-file .env.prod logs --tail 100 backend
docker compose -f docker-compose.prod.yml --env-file .env.prod logs --tail 100 preview-worker
docker compose -f docker-compose.prod.yml --env-file .env.prod logs --tail 100 index-worker

Windows deploy-kit diagnostics:

.\deploy-kit\scripts\healthcheck.ps1
docker compose -f .\deploy-kit\compose\docker-compose.production.yml --env-file .\deploy-kit\.env ps

Commands should be executed by authorized deployment or operations personnel.

Escalation Data

For support escalation, collect:

  • Deployment model and OS.
  • DeskDox image tag/release.
  • Compose file path and sanitized environment summary.
  • Container status and health.
  • Relevant logs with secrets removed.
  • Public URL and reverse proxy pattern.
  • Recent change history.
  • Backup/restore status if data recovery is involved.
  • Exact user-facing error and timestamp.

Troubleshooting Boundary

DeskDox support can assist with application behavior, container configuration, documented deployment scripts, and product-level validation. Customer infrastructure teams own DNS, TLS, reverse proxy, firewall, host OS, Docker runtime installation, endpoint security policy, storage health, SMTP relay, external API availability, and enterprise monitoring platforms.

Was this article helpful?

Related articles

Continue with closely related deployment manual guidance.