@@ -161,7 +161,7 @@ WHAT WILL HAPPEN:
161161 ✓ Copy content directory to Docker mount
162162 ✓ Export and import your database to a Docker based MySQL instance
163163 ✓ Start Ghost in Docker container
164- ✓ Optionally configure Caddy for HTTPS
164+ ✓ Optionally configure Caddy Webserver for HTTPS
165165
166166WHAT WONT HAPPEN:
167167 ✓ No data will be deleted
@@ -431,19 +431,19 @@ main() {
431431 # Final confirmation before stopping Ghost
432432 echo " "
433433 echo " ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
434- echo " ⚠️ YOUR SITE WILL NOW GO OFFLINE FOR MIGRATION"
434+ echo " ⚠️ YOUR SITE WILL BE UNAVAILABLE DURING MIGRATION"
435435 echo " ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
436436 echo " "
437437 echo " The next steps will:"
438438 echo " 1. Stop your Ghost service"
439439 echo " 2. Migrate your content and database"
440- echo " a. Your content directory will now be at ${PWD} /data/ghost/"
441- echo " b. Your MySQL database will now be at ${PWD} /data/mysql/"
440+ echo " a. Your new content directory will be at ${PWD} /data/ghost/"
441+ echo " b. Your new MySQL database will be at ${PWD} /data/mysql/"
442442 echo " 3. Start Ghost in Docker"
443443 echo " "
444444 echo " If anything goes wrong, run: bash $RECOVERY_SCRIPT "
445445 echo " "
446- read -rp ' Continue with migration? This will take your site offline . (y/n): ' confirm
446+ read -rp ' Continue with migration? This will make your site unavailable . (y/n): ' confirm
447447
448448 if [[ " ${confirm,,} " != " y" ]]; then
449449 echo " Migration cancelled."
@@ -498,7 +498,7 @@ main() {
498498
499499 # Caddy setup
500500 echo " "
501- read -rp ' Start Caddy for automatic HTTPS? This will stop Nginx. (y/n): ' confirm
501+ read -rp ' Start Caddy Webserver for automatic HTTPS? This will stop Nginx. (y/n): ' confirm
502502 if [[ " ${confirm,,} " == " y" ]]; then
503503 echo " Stopping Nginx..."
504504 systemctl stop nginx || true
@@ -510,7 +510,7 @@ main() {
510510 local domain
511511 domain=$( grep ' DOMAIN' " ${PWD} /.env" | cut -d ' =' -f 2)
512512 echo " "
513- echo " ✓ Caddy is running!"
513+ echo " ✓ Caddy Webserver is running!"
514514 echo " ✓ Your site is available at: https://${domain} "
515515 else
516516 echo " "
@@ -530,6 +530,13 @@ main() {
530530 echo " Original installation files remain at: $current_location "
531531 echo " Your existing MySQL instance is still running at: $mysql_host "
532532 echo " "
533+ echo " Once you're checked over the migration you can remove the old installation files and database by running:"
534+ echo " "
535+ echo " rm -r $current_location "
536+ echo " mysql -e 'DROP DATABASE IF EXISTS ${mysql_database} "
537+ echo " "
538+ echo " This will remove the old Ghost CLI and Ghost 5.x installation"
539+ echo " "
533540 echo " Next steps:"
534541 echo " - Monitor logs: docker compose logs -f ghost"
535542 echo " - View status: docker compose ps"
0 commit comments