We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 511a500 commit bb09cd2Copy full SHA for bb09cd2
1 file changed
scripts/migrate.sh
@@ -264,10 +264,6 @@ migrate_database() {
264
dump_size=$(human_readable "$(stat -c%s "$TEMP_SQL_FILE")")
265
echo "✓ Database exported successfully ($dump_size)"
266
267
- # Start MySQL container
268
- echo "Starting MySQL container..."
269
- docker compose up db -d
270
-
271
# Wait for MySQL to be ready
272
echo -n "Waiting for MySQL container to be ready"
273
local counter=0
@@ -542,6 +538,10 @@ main() {
542
538
systemctl disable "$ghost_service_name" 2>/dev/null || true
543
539
echo "✓ Ghost service stopped"
544
540
541
+ # Start MySQL container
+ echo "Starting MySQL container for migration..."
+ docker compose up db -d
+
545
# Migrate content
546
echo ""
547
migrate_content
0 commit comments