Задать вопрос
@GRESHNICKE

Duplicator, ошибка копирования базы данных. Как решить?

При попытке создать бэкап сайта, Duplicator на попытке скопировать базу данных выдает ошибку. Вот лог ошибки. Если кто сталкивался, подскажите решение!
spoiler
********************************************************************************
DUPLICATOR-LITE PACKAGE-LOG: 01.11.2023 11:17
NOTICE: Do NOT post to public sites or forums
********************************************************************************
VERSION: 1.5.6.1
WORDPRESS: 6.3.2
PHP INFO: 8.0.30 | SAPI: litespeed
SERVER: Apache/2.4.37 () OpenSSL/1.1.1k mod_fcgid/2.3.9 PHP/7.2.24
PHP TIME LIMIT: (0) no time limit imposed
PHP MAX MEMORY: 4294967296 (2048M default)
MEMORY STACK: 30MB
[CTRL DUP ARCIVE] PACKAGE AS NEW ID 23 SAVED | STATUS:0
[DUP ARCHIVE] BUILDING DATABASE

********************************************************************************
DATABASE:
********************************************************************************
BUILD MODE: MYSQLDUMP
MYSQLTIMEOUT: 5000
MYSQLDUMP: Is Supported
COMPATIBLE: [mysql40]
MYSQL DUMP ERROR 1

==================================================================================
DUPLICATOR ERROR
Please try again! If the error persists see the Duplicator 'Help' menu.
---------------------------------------------------------------------------------
MESSAGE:
Shell mysql dump error. Change SQL Mode to the "PHP Code" in the Duplicator > Settings > Packages.
DETAILS:
Invalid mode to --compatible: mysql40
/* Duplicator WordPress Timestamp: 2023-11-01 11:17:55*/
/* DUPLICATOR_MYSQLDUMP_EOF */
TRACE:
1. class.pack.database.php : error (606)
2. class.pack.database.php : mysqlDump (230)
3. class.pack.php : build (1301)
4. ctrl.package.php : runDupArchiveBuild (170)
5. class-wp-hook.php : duplicator_duparchive_package_build (310)
6. class-wp-hook.php : apply_filters (334)
7. plugin.php : do_action (517)
8. admin-ajax.php : do_action (188)
==================================================================================

==================================================================================
DUPLICATOR ERROR
Please try again! If the error persists see the Duplicator 'Help' menu.
---------------------------------------------------------------------------------
MESSAGE:
Runtime error in DUP_Database::Build. Shell mysql dump error. Change SQL Mode to the "PHP Code" in the Duplicator > Settings > Packages.
DETAILS:
Exception: Exception: Shell mysql dump error. Change SQL Mode to the "PHP Code" in the Duplicator > Settings > Packages. in /var/www/user8072/data/www/baranovichi-detstvo.by/wp-content/plugins/duplicator/classes/class.logging.php:301
Stack trace:
#0 /var/www/user8072/data/www/baranovichi-detstvo.by/wp-content/plugins/duplicator/classes/package/class.pack.database.php(606): DUP_Log::error()
#1 /var/www/user8072/data/www/baranovichi-detstvo.by/wp-content/plugins/duplicator/classes/package/class.pack.database.php(230): DUP_Database->mysqlDump()
#2 /var/www/user8072/data/www/baranovichi-detstvo.by/wp-content/plugins/duplicator/classes/package/class.pack.php(1301): DUP_Database->build()
#3 /var/www/user8072/data/www/baranovichi-detstvo.by/wp-content/plugins/duplicator/ctrls/ctrl.package.php(170): DUP_Package->runDupArchiveBuild()
#4 /var/www/user8072/data/www/baranovichi-detstvo.by/wp-includes/class-wp-hook.php(310): duplicator_duparchive_package_build()
#5 /var/www/user8072/data/www/baranovichi-detstvo.by/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#6 /var/www/user8072/data/www/baranovichi-detstvo.by/wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /var/www/user8072/data/www/baranovichi-detstvo.by/wp-admin/admin-ajax.php(188): do_action()
#8 {main}
TRACE:
1. class.pack.database.php : error (259)
2. class.pack.php : build (1301)
3. ctrl.package.php : runDupArchiveBuild (170)
4. class-wp-hook.php : duplicator_duparchive_package_build (310)
5. class-wp-hook.php : apply_filters (334)
6. plugin.php : do_action (517)
7. admin-ajax.php : do_action (188)
==================================================================================

[CTRL DUP ARCIVE] ERROR: caught exception

==================================================================================
DUPLICATOR ERROR
Please try again! If the error persists see the Duplicator 'Help' menu.
---------------------------------------------------------------------------------
MESSAGE:
[CTRL DUP ARCIVE] Caught exception
DETAILS:
Runtime error in DUP_Database::Build. Shell mysql dump error. Change SQL Mode to the "PHP Code" in the Duplicator > Settings > Packages.
TRACE:
1. ctrl.package.php : error (173)
2. class-wp-hook.php : duplicator_duparchive_package_build (310)
3. class-wp-hook.php : apply_filters (334)
4. plugin.php : do_action (517)
5. admin-ajax.php : do_action (188)
==================================================================================

[CTRL DUP ARCIVE] ERROR: after log
[CTRL DUP ARCIVE] COMPLETED PACKAGE STATUS: -1.0
[CTRL DUP ARCIVE] ERROR

==================================================================================
DUPLICATOR ERROR
Please try again! If the error persists see the Duplicator 'Help' menu.
---------------------------------------------------------------------------------
MESSAGE:
Build failed so sending back error
DETAILS:
Ошибка сборки пакета DupArchive<br/>
TRACE:
1. ctrl.package.php : error (197)
2. class-wp-hook.php : duplicator_duparchive_package_build (310)
3. class-wp-hook.php : apply_filters (334)
4. plugin.php : do_action (517)
5. admin-ajax.php : do_action (188)
==================================================================================

[CTRL DUP ARCIVE] ERROR AFTER LOG 2
  • Вопрос задан
  • 305 просмотров
Подписаться 1 Простой Комментировать
Пригласить эксперта
Ответы на вопрос 1
@Refguser
Решения для бизнеса: от создания ИМ до...
При ошибках дуплакатор даёт ссылку. Нужно перейти по ней и почитать,

Но тут в логах чётко написано что нужно сделать
Change SQL Mode to the "PHP Code" in the Duplicator > Settings > Packages.
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы