What's new
Panelica Community Forum

Welcome to the official Panelica Community Forum — the central hub for server administrators, developers, and hosting professionals. Register a free account today to access technical discussions, product announcements, feature requests, and direct support from the Panelica team. Be part of the growing community shaping the future of server management.

Migration from DirectAdmin failed

maarten

New member
Hi,

Currently trying to migrate some sites from DA to Panelica but failing.

[22:11:23] [success] [file_transfer] Step File Transfer completed in 9.287s
[22:11:23] [info] [file_transfer] Skipping step: Subdomain Migration
[22:11:23] [info] [database_import] Executing step: Database Import
[22:11:23] [info] [database_import] Discovering source MySQL authentication method...
[22:11:23] [success] [database_import] Found MySQL root password from DirectAdmin config
[22:11:23] [info] [database_import] Importing 1 database(s)
[22:11:23] [info] [database_import] Using Enterprise Database Migration Agent
[22:11:23] [info] [database_import] Priority: CONFIG_BASED → HASH_BASED fallback
[22:11:23] [info] [database_import] Importing database: prive_WP ()
[22:11:23] [info] [database_import] Querying source MySQL for user with access to prive_WP...
[22:11:23] [info] [database_import] Starting enterprise database user discovery...
[22:11:23] [info] [database_import] Method 0: 1 username(s) from site discovery: [prive_WPU]
[22:11:23] [info] [database_import] Method 0: no grant-verified user from site discovery, continuing to authoritative methods
[22:11:23] [info] [database_import] No user in mysql.db, trying alternative discovery methods...
[22:11:24] [info] [database_import] No user found by pattern, trying config file discovery...
[22:11:24] [success] [database_import] Found credentials in config file: user=prive_WPU
[22:11:24] [info] [database_import] User not in mysql.user, will create with password from config
[22:11:24] [success] [database_import] Found MySQL user: prive_WPU@localhost (plugin: mysql_native_password)
[22:11:24] [info] [database_import] Hash: ...
[22:11:24] [info] [database_import] Dump method available: mysqldump (/usr/bin/mysqldump)
[22:11:24] [success] [database_import] Detected 2 dump methods: [mysqldump sql_export]
[22:11:24] [info] [database_import] Attempting dump with mysqldump for database prive_WP
[22:11:24] [info] [database_import] MariaDB detected - skipping --set-gtid-purged (not supported)
[22:11:24] [warn] [database_import] Dump with mysqldump failed: dump failed: Process exited with status 2, stderr: mysqldump: Got error: 2002: "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)" when trying to connect , trying next method...
[22:11:25] [info] [database_import] Attempting dump with sql_export for database prive_WP
[22:11:25] [warn] [database_import] Using SQL export fallback - this may be slower and miss some objects
[22:11:25] [warn] [database_import] Dump with sql_export failed: failed to get table list: Process exited with status 1, trying next method...
[22:11:25] [error] [database_import] Failed to dump prive_WP: failed to get table list: Process exited with status 1
[22:11:25] [info] [database_import] Database migration summary: 0 succeeded, 1 failed
[22:11:25] [error] [database_import] All 1 database(s) failed to migrate
[22:11:25] [error] [database_import] Step Database Import failed: all databases failed to migrate: failed to dump prive_WP: failed to get table list: Process exited with status 1
[22:11:25] [warn] [database_import] Starting rollback...

The DA setup consists of 2 servers, DA01 which hosts files and DA and DB01 which hosts only the MariaDB.
They both have external addresses but the DB connection runs over a second network with IP's 192.168.1.145 and 146, could this be the issue?

Best regards,
Maarten
 
Back
Top