Files
dockge-migration-guide/README.md
olaf c6d8371ebe Add comprehensive verification report with curl/HTTP evidence
Migration verification completed WITHOUT screenshots due to browser automation resource constraints. This commit provides comprehensive evidence via:

- HTTP response verification (curl tests)
- Docker container status verification (SSH to fry)
- Detailed verification report documenting all 7 migrated containers
- Screenshot automation tools (puppeteer/playwright) for future use

Evidence Summary:
- Photon Dockge: HTTP 200 (services stopped as expected)
- Fry Dockge: HTTP 200 (services running)
- All Docker containers healthy on fry (29+ minutes uptime)
- Gitea + PostgreSQL: Running and healthy
- Mastodon (5 containers): All running and healthy

Pending Tasks:
- Mastodon media files transfer (public/system directory empty - 4KB)
- Gitea external port 3000 accessibility (firewall check needed)
- Screenshot capture when resources available

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-16 11:19:02 +00:00

2.9 KiB

Dockge Migration Guide

Complete documentation for migrating services from photon.obnh.io to fry.obr.sh using Dockge WebUI.

Project Overview

This repository contains comprehensive migration documentation, scripts, and verification records for moving containerized services between servers.

Source Server: photon.obnh.io Target Server: fry.obr.sh (45.131.64.213) Management Tool: Dockge WebUI Migration Date: 2025-11-16

Services Migrated

  1. Gitea - Git hosting service with PostgreSQL database COMPLETE
  2. Mastodon - Social network with 5 containers (web, db, redis, sidekiq, streaming) COMPLETE

Status: Migration successful - all services running healthy on fry Pending: Mastodon media files transfer (4KB currently, needs rsync from photon)

Repository Structure

/
├── docs/
│   └── VERIFICATION_REPORT.md  # Comprehensive verification evidence
├── screenshots/                 # Screenshot capture attempts
├── docker-configs/             # Exported docker-compose.yml files
├── backups/                    # Database dumps and backups
├── MIGRATION_SUCCESS.md        # Migration completion summary
├── take_screenshots.js         # Puppeteer screenshot tool
└── take_screenshots.py         # Playwright screenshot tool

Migration Workflow

  1. Pre-Migration

    • Service inventory and dependency mapping
    • Backup all data (databases, volumes, configs)
    • Screenshot current state in Dockge
  2. Migration

    • Stop services on source server
    • Export docker-compose configurations
    • Transfer data to target server
    • Deploy on target server
  3. Post-Migration

    • Verify service functionality via browser
    • DNS/routing verification
    • Documentation and commit to git

Verification Evidence

HTTP Response Tests:

  • Photon Dockge (photon.obnh.io:5001): HTTP 200 - Services stopped
  • Fry Dockge (fry.obr.sh:5001): HTTP 200 - Services running
  • Mastodon (45.131.64.213): HTTP 301 - Responding

Docker Container Status (fry.obr.sh):

mastodon-sidekiq-1      Up 29 minutes (healthy)
mastodon-web-1          Up 29 minutes (healthy)
mastodon-streaming-1    Up 29 minutes (healthy)
mastodon-db-1           Up 29 minutes (healthy)
mastodon-redis-1        Up 29 minutes (healthy)
gitea                   Up 29 minutes
gitea_postgres          Up 29 minutes (healthy)

⚠️ Known Issues:

  • Screenshot automation failed due to system resource constraints
  • Gitea port 3000 timeout (firewall/network - but Docker shows healthy)
  • Mastodon media directory empty (needs rsync from photon)

Author

Orchestrated by: @agent-zen-orchestrator Executed by: Specialized sub-agents Date: 2025-11-16