{
    "timestamp": "2026-07-09 04:00:08",
    "level": "INFO",
    "message": "[syncCourseTypes] Hoàn thành toàn bộ. Tổng = 0"
}
{
    "timestamp": "2026-07-09 04:00:08",
    "level": "INFO",
    "message": "[syncCourses] Hoàn thành toàn bộ. Tổng = 54"
}
{
    "timestamp": "2026-07-09 04:00:09",
    "level": "INFO",
    "message": "[syncStudents] Hoàn thành toàn bộ. Tổng = 2"
}
{
    "timestamp": "2026-07-09 04:00:09",
    "level": "INFO",
    "message": "[syncCourseStudents] Hoàn thành toàn bộ. Tổng = 2"
}
{
    "timestamp": "2026-07-09 04:00:10",
    "level": "INFO",
    "message": "[syncStudentScores] Hoàn thành toàn bộ. Tổng = 115"
}
{
    "timestamp": "2026-07-09 04:00:10",
    "level": "INFO",
    "message": "[syncUserAssignments] Hoàn thành toàn bộ. Tổng = 1"
}
{
    "timestamp": "2026-07-09 04:00:10",
    "level": "INFO",
    "message": "[mirrorToZeus] Bắt đầu mirror dữ liệu sang Zeus (isSync = 115)..."
}
{
    "timestamp": "2026-07-09 04:00:10",
    "level": "INFO",
    "message": "[mirrorToZeus] Hoàn tất bảng lcms_course_types. Tổng đã sync: 0"
}
{
    "timestamp": "2026-07-09 04:00:10",
    "level": "ERROR",
    "message": "[mirrorToZeus] Bắt catch ngoại lệ bảng lcms_students chi tiết:",
    "context": {
        "msg": "SQLSTATE[HY000] [1049] Unknown database 'ZEUS_speakup' (Connection: zeus, SQL: insert into `lcms_students` (`stu_created_at`, `stu_dob`, `stu_email`, `stu_gender`, `stu_id`, `stu_is_sync`, `stu_name`, `stu_phone`, `stu_updated_at`, `stu_user_id`, `stu_username`) values (2024-12-26 10:19:37, 2025-03-03, kienp2901@gmail.com, Female, 1, 115, Kiên Phạm, 0394859392, 2026-07-08 09:38:15, 485, SPW71652694), (2025-08-07 13:22:18, ?, z_thuantv@ican.vn, Male, 20, 115, Thuận Thiều, ?, 2026-07-08 08:50:05, 216, hihi.vt.thuantv) on duplicate key update `stu_name` = values(`stu_name`), `stu_email` = values(`stu_email`), `stu_username` = values(`stu_username`), `stu_user_id` = values(`stu_user_id`), `stu_phone` = values(`stu_phone`), `stu_dob` = values(`stu_dob`), `stu_gender` = values(`stu_gender`), `stu_is_sync` = values(`stu_is_sync`), `stu_updated_at` = values(`stu_updated_at`))",
        "trace": "#0 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php(779): Illuminate\\Database\\Connection->runQueryCallback()\n#1 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php(584): Illuminate\\Database\\Connection->run()\n#2 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Query\/Builder.php(3917): Illuminate\\Database\\Connection->affectingStatement()\n#3 \/var\/www\/html\/lms_hocmai\/app\/Console\/Commands\/LmsDailySyncCommand.php(599): Illuminate\\Database\\Query\\Builder->upsert()\n#4 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Concerns\/BuildsQueries.php(59): App\\Console\\Commands\\LmsDailySyncCommand->App\\Console\\Commands\\{closure}()\n#5 \/var\/www\/html\/lms_hocmai\/app\/Console\/Commands\/LmsDailySyncCommand.php(589): Illuminate\\Database\\Query\\Builder->chunk()\n#6 \/var\/www\/html\/lms_hocmai\/app\/Console\/Commands\/LmsDailySyncCommand.php(125): App\\Console\\Commands\\LmsDailySyncCommand->mirrorToZeus()\n#7 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php(36): App\\Console\\Commands\\LmsDailySyncCommand->handle()\n#8 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#9 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php(95): Illuminate\\Container\\Util::unwrapIfClosure()\n#10 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod()\n#11 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Container.php(696): Illuminate\\Container\\BoundMethod::call()\n#12 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Console\/Command.php(213): Illuminate\\Container\\Container->call()\n#13 \/var\/www\/html\/lms_hocmai\/vendor\/symfony\/console\/Command\/Command.php(341): Illuminate\\Console\\Command->execute()\n#14 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Console\/Command.php(182): Symfony\\Component\\Console\\Command\\Command->run()\n#15 \/var\/www\/html\/lms_hocmai\/vendor\/symfony\/console\/Application.php(1117): Illuminate\\Console\\Command->run()\n#16 \/var\/www\/html\/lms_hocmai\/vendor\/symfony\/console\/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand()\n#17 \/var\/www\/html\/lms_hocmai\/vendor\/symfony\/console\/Application.php(195): Symfony\\Component\\Console\\Application->doRun()\n#18 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Console\/Kernel.php(198): Symfony\\Component\\Console\\Application->run()\n#19 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle()\n#20 \/var\/www\/html\/lms_hocmai\/artisan(13): Illuminate\\Foundation\\Application->handleCommand()\n#21 {main}"
    }
}
{
    "timestamp": "2026-07-09 04:00:10",
    "level": "ERROR",
    "message": "[mirrorToZeus] Bắt catch ngoại lệ bảng lcms_courses chi tiết:",
    "context": {
        "msg": "SQLSTATE[HY000] [1049] Unknown database 'ZEUS_speakup' (Connection: zeus, SQL: insert into `lcms_courses` (`cou_created_at`, `cou_id`, `cou_is_sync`, `cou_last_round`, `cou_moodle_id`, `cou_name`, `cou_parent_id`, `cou_quiz_setting_type`, `cou_section_type`, `cou_total_round`, `cou_type`, `cou_type_id`, `cou_updated_at`, `cou_visible`) values (2025-10-27 03:17:33, 567, 115, ?, 133, Home Work, 34, ?, ?, ?, course, 7, 2026-07-09 03:49:04, 1), (2026-07-07 07:31:12, 5098, 115, 11929, 5554, LOẠI F_  SpeakWell-Solutions-All, 4850, 36, ?, 5, quiz, ?, 2026-07-08 02:33:15, 1), (2026-07-08 07:56:24, 5100, 115, ?, 1859, Topic 11, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:24, 1), (2026-07-08 07:56:28, 5101, 115, ?, 1860, Topic 12, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:28, 1), (2026-07-08 07:56:29, 5102, 115, ?, 1861, Topic 13, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:29, 1), (2026-07-08 07:56:29, 5103, 115, ?, 1862, Topic 14, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:29, 1), (2026-07-08 07:56:29, 5104, 115, ?, 1863, Topic 15, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:29, 1), (2026-07-08 07:56:29, 5105, 115, ?, 1864, Topic 16, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:29, 1), (2026-07-08 07:56:30, 5106, 115, ?, 1865, Topic 17, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:30, 1), (2026-07-08 07:56:30, 5107, 115, ?, 1866, Topic 18, 5036, ?, 2, ?, section, ?, 2026-07-08 07:57:03, 1), (2026-07-08 07:56:30, 5108, 115, ?, 1867, Topic 19, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:30, 1), (2026-07-08 07:56:30, 5109, 115, ?, 1868, Topic 20, 5036, ?, 2, ?, section, ?, 2026-07-08 07:57:14, 1), (2026-07-08 07:56:31, 5110, 115, ?, 1869, Topic 21, 5036, ?, 2, ?, section, ?, 2026-07-08 07:57:29, 1), (2026-07-08 07:56:31, 5111, 115, ?, 1870, Topic 21, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:31, 1), (2026-07-08 07:56:31, 5112, 115, ?, 1871, Topic 22, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:31, 1), (2026-07-08 07:56:32, 5113, 115, ?, 1872, Topic 22, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:32, 1), (2026-07-08 07:56:32, 5114, 115, ?, 1873, Topic 23, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:32, 1), (2026-07-08 07:56:32, 5115, 115, ?, 1874, Topic 24, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:32, 1), (2026-07-08 07:57:44, 5116, 115, ?, 1875, Topic 27, 5036, ?, 2, ?, section, ?, 2026-07-08 07:57:44, 1), (2026-07-08 07:57:47, 5117, 115, ?, 1876, Topic 28, 5036, ?, 2, ?, section, ?, 2026-07-08 07:57:47, 1), (2026-07-08 07:57:51, 5118, 115, ?, 1877, Topic 29, 5036, ?, 2, ?, section, ?, 2026-07-08 07:57:51, 1), (2026-07-08 07:57:55, 5119, 115, ?, 1878, Topic 30, 5036, ?, 2, ?, section, ?, 2026-07-08 07:57:55, 1), (2026-07-08 07:58:00, 5120, 115, ?, 1879, Topic 31, 5036, ?, 2, ?, section, ?, 2026-07-08 07:58:00, 1), (2026-07-08 07:58:05, 5121, 115, ?, 1880, Topic 32, 5036, ?, 2, ?, section, ?, 2026-07-08 07:58:05, 1), (2026-07-08 07:58:09, 5122, 115, ?, 1881, Topic 33, 5036, ?, 2, ?, section, ?, 2026-07-08 07:58:09, 1), (2026-07-08 07:58:14, 5123, 115, ?, 1882, Topic 34, 5036, ?, 2, ?, section, ?, 2026-07-08 07:58:14, 1), (2026-07-08 07:58:19, 5124, 115, ?, 1883, Topic 35, 5036, ?, 2, ?, section, ?, 2026-07-08 07:58:19, 1), (2026-07-08 07:58:23, 5125, 115, ?, 1884, Topic 36, 5036, ?, 2, ?, section, ?, 2026-07-08 07:58:23, 1), (2026-07-08 07:59:31, 5126, 115, ?, 1885, Lesson 11 - Unit 3 - Reading, 5063, ?, 2, ?, section, ?, 2026-07-08 08:03:43, 1), (2026-07-08 07:59:33, 5127, 115, ?, 1886, Lesson 12 - Unit 3 - Listening, 5063, ?, 2, ?, section, ?, 2026-07-08 08:03:53, 1), (2026-07-08 07:59:36, 5128, 115, ?, 1887, Lesson 13 - Unit 3 - Writing, 5063, ?, 2, ?, section, ?, 2026-07-08 08:04:04, 1), (2026-07-08 07:59:39, 5129, 115, ?, 1888, Lesson 14 - Unit 3 - Speaking, 5063, ?, 2, ?, section, ?, 2026-07-08 08:04:13, 1), (2026-07-08 07:59:39, 5130, 115, ?, 1889, Lesson 15 - Unit 4 - Reading, 5063, ?, 2, ?, section, ?, 2026-07-08 08:04:23, 1), (2026-07-08 07:59:39, 5131, 115, ?, 1890, Lesson 16 - Unit 4 - Listening, 5063, ?, 2, ?, section, ?, 2026-07-08 08:04:35, 1), (2026-07-08 07:59:39, 5132, 115, ?, 1891, Lesson 17 - Unit 4 - Writing, 5063, ?, 2, ?, section, ?, 2026-07-08 08:04:44, 1), (2026-07-08 07:59:39, 5133, 115, ?, 1892, Lesson 18 - Unit 4 - Speaking, 5063, ?, 2, ?, section, ?, 2026-07-08 08:04:52, 1), (2026-07-08 07:59:40, 5134, 115, ?, 1893, Lesson 19 - Review 2 - Reading & Writing, 5063, ?, 2, ?, section, ?, 2026-07-08 08:05:04, 1), (2026-07-08 07:59:40, 5135, 115, ?, 1894, Lesson 20 - Review 2 - Listening & Speaking, 5063, ?, 2, ?, section, ?, 2026-07-08 08:05:15, 1), (2026-07-08 07:59:40, 5136, 115, ?, 1895, Lesson 21 - Unit 5 - Reading, 5063, ?, 2, ?, section, ?, 2026-07-08 08:05:24, 1), (2026-07-08 07:59:41, 5137, 115, ?, 1896, Lesson 22 - Unit 5 - Listening, 5063, ?, 2, ?, section, ?, 2026-07-08 08:05:35, 1), (2026-07-08 07:59:41, 5138, 115, ?, 1897, Lesson 23 - Unit 5 - Writing, 5063, ?, 2, ?, section, ?, 2026-07-08 08:05:44, 1), (2026-07-08 07:59:41, 5139, 115, ?, 1898, Lesson 24 - Unit 5 - Speaking, 5063, ?, 2, ?, section, ?, 2026-07-08 08:05:53, 1), (2026-07-08 07:59:41, 5140, 115, ?, 1899, Lesson 25 - Unit 6 - Reading, 5063, ?, 2, ?, section, ?, 2026-07-08 08:06:05, 1), (2026-07-08 07:59:42, 5141, 115, ?, 1900, Lesson 26 - Unit 6 - Listening, 5063, ?, 2, ?, section, ?, 2026-07-08 08:06:15, 1), (2026-07-08 07:59:42, 5142, 115, ?, 1901, Lesson 27 - Unit 6 - Writing, 5063, ?, 2, ?, section, ?, 2026-07-08 08:06:24, 1), (2026-07-08 07:59:42, 5143, 115, ?, 1902, Lesson 28 - Unit 6 - Speaking, 5063, ?, 2, ?, section, ?, 2026-07-08 08:06:33, 1), (2026-07-08 07:59:42, 5144, 115, ?, 1903, Lesson 29 - Review 3 - Reading & Writing, 5063, ?, 2, ?, section, ?, 2026-07-08 08:06:45, 1), (2026-07-08 07:59:43, 5145, 115, ?, 1904, Lesson 30 - Review 3 - Listening & Speaking, 5063, ?, 2, ?, section, ?, 2026-07-08 08:06:54, 1), (2026-07-08 07:59:43, 5146, 115, ?, 1905, Lesson 31 - Unit 7 - Reading, 5063, ?, 2, ?, section, ?, 2026-07-08 08:07:05, 1), (2026-07-08 07:59:43, 5147, 115, ?, 1906, Lesson 32 - Unit 7 - Listening, 5063, ?, 2, ?, section, ?, 2026-07-08 08:07:17, 1), (2026-07-08 07:59:43, 5148, 115, ?, 1907, Lesson 33 - Unit 7 - Writing, 5063, ?, 2, ?, section, ?, 2026-07-08 08:07:27, 1), (2026-07-08 07:59:43, 5149, 115, ?, 1908, Lesson 34 - Unit 7 - Speaking, 5063, ?, 2, ?, section, ?, 2026-07-08 08:07:36, 1), (2026-07-08 07:59:44, 5150, 115, ?, 1909, Lesson 35 - Review 4 - Reading & Writing, 5063, ?, 2, ?, section, ?, 2026-07-08 08:07:46, 1), (2026-07-08 07:59:44, 5151, 115, ?, 1910, Lesson 36 - Review 4 - Listening & Speaking, 5063, ?, 2, ?, section, ?, 2026-07-08 08:07:56, 1) on duplicate key update `cou_moodle_id` = values(`cou_moodle_id`), `cou_name` = values(`cou_name`), `cou_type` = values(`cou_type`), `cou_parent_id` = values(`cou_parent_id`), `cou_total_round` = values(`cou_total_round`), `cou_last_round` = values(`cou_last_round`), `cou_section_type` = values(`cou_section_type`), `cou_quiz_setting_type` = values(`cou_quiz_setting_type`), `cou_type_id` = values(`cou_type_id`), `cou_visible` = values(`cou_visible`), `cou_is_sync` = values(`cou_is_sync`), `cou_updated_at` = values(`cou_updated_at`))",
        "trace": "#0 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php(779): Illuminate\\Database\\Connection->runQueryCallback()\n#1 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php(584): Illuminate\\Database\\Connection->run()\n#2 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Query\/Builder.php(3917): Illuminate\\Database\\Connection->affectingStatement()\n#3 \/var\/www\/html\/lms_hocmai\/app\/Console\/Commands\/LmsDailySyncCommand.php(599): Illuminate\\Database\\Query\\Builder->upsert()\n#4 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Concerns\/BuildsQueries.php(59): App\\Console\\Commands\\LmsDailySyncCommand->App\\Console\\Commands\\{closure}()\n#5 \/var\/www\/html\/lms_hocmai\/app\/Console\/Commands\/LmsDailySyncCommand.php(589): Illuminate\\Database\\Query\\Builder->chunk()\n#6 \/var\/www\/html\/lms_hocmai\/app\/Console\/Commands\/LmsDailySyncCommand.php(125): App\\Console\\Commands\\LmsDailySyncCommand->mirrorToZeus()\n#7 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php(36): App\\Console\\Commands\\LmsDailySyncCommand->handle()\n#8 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#9 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php(95): Illuminate\\Container\\Util::unwrapIfClosure()\n#10 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod()\n#11 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Container.php(696): Illuminate\\Container\\BoundMethod::call()\n#12 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Console\/Command.php(213): Illuminate\\Container\\Container->call()\n#13 \/var\/www\/html\/lms_hocmai\/vendor\/symfony\/console\/Command\/Command.php(341): Illuminate\\Console\\Command->execute()\n#14 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Console\/Command.php(182): Symfony\\Component\\Console\\Command\\Command->run()\n#15 \/var\/www\/html\/lms_hocmai\/vendor\/symfony\/console\/Application.php(1117): Illuminate\\Console\\Command->run()\n#16 \/var\/www\/html\/lms_hocmai\/vendor\/symfony\/console\/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand()\n#17 \/var\/www\/html\/lms_hocmai\/vendor\/symfony\/console\/Application.php(195): Symfony\\Component\\Console\\Application->doRun()\n#18 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Console\/Kernel.php(198): Symfony\\Component\\Console\\Application->run()\n#19 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle()\n#20 \/var\/www\/html\/lms_hocmai\/artisan(13): Illuminate\\Foundation\\Application->handleCommand()\n#21 {main}"
    }
}
{
    "timestamp": "2026-07-09 04:00:10",
    "level": "ERROR",
    "message": "[mirrorToZeus] Bắt catch ngoại lệ bảng lcms_course_student chi tiết:",
    "context": {
        "msg": "SQLSTATE[HY000] [1049] Unknown database 'ZEUS_speakup' (Connection: zeus, SQL: insert into `lcms_course_student` (`coustu_course_end`, `coustu_course_id`, `coustu_created_at`, `coustu_id`, `coustu_is_sync`, `coustu_student_id`, `coustu_updated_at`, `coustu_user_id`) values (2029-07-07 10:00:10, 887, 2026-07-07 10:00:10, 5377, 115, 3822, 2026-07-07 10:00:11, 534), (2030-07-08 08:50:04, 888, 2026-07-08 08:50:04, 5378, 115, 20, 2026-07-08 08:50:05, 216) on duplicate key update `coustu_student_id` = values(`coustu_student_id`), `coustu_user_id` = values(`coustu_user_id`), `coustu_course_id` = values(`coustu_course_id`), `coustu_course_end` = values(`coustu_course_end`), `coustu_is_sync` = values(`coustu_is_sync`), `coustu_updated_at` = values(`coustu_updated_at`))",
        "trace": "#0 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php(779): Illuminate\\Database\\Connection->runQueryCallback()\n#1 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php(584): Illuminate\\Database\\Connection->run()\n#2 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Query\/Builder.php(3917): Illuminate\\Database\\Connection->affectingStatement()\n#3 \/var\/www\/html\/lms_hocmai\/app\/Console\/Commands\/LmsDailySyncCommand.php(599): Illuminate\\Database\\Query\\Builder->upsert()\n#4 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Concerns\/BuildsQueries.php(59): App\\Console\\Commands\\LmsDailySyncCommand->App\\Console\\Commands\\{closure}()\n#5 \/var\/www\/html\/lms_hocmai\/app\/Console\/Commands\/LmsDailySyncCommand.php(589): Illuminate\\Database\\Query\\Builder->chunk()\n#6 \/var\/www\/html\/lms_hocmai\/app\/Console\/Commands\/LmsDailySyncCommand.php(125): App\\Console\\Commands\\LmsDailySyncCommand->mirrorToZeus()\n#7 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php(36): App\\Console\\Commands\\LmsDailySyncCommand->handle()\n#8 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#9 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php(95): Illuminate\\Container\\Util::unwrapIfClosure()\n#10 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod()\n#11 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Container.php(696): Illuminate\\Container\\BoundMethod::call()\n#12 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Console\/Command.php(213): Illuminate\\Container\\Container->call()\n#13 \/var\/www\/html\/lms_hocmai\/vendor\/symfony\/console\/Command\/Command.php(341): Illuminate\\Console\\Command->execute()\n#14 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Console\/Command.php(182): Symfony\\Component\\Console\\Command\\Command->run()\n#15 \/var\/www\/html\/lms_hocmai\/vendor\/symfony\/console\/Application.php(1117): Illuminate\\Console\\Command->run()\n#16 \/var\/www\/html\/lms_hocmai\/vendor\/symfony\/console\/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand()\n#17 \/var\/www\/html\/lms_hocmai\/vendor\/symfony\/console\/Application.php(195): Symfony\\Component\\Console\\Application->doRun()\n#18 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Console\/Kernel.php(198): Symfony\\Component\\Console\\Application->run()\n#19 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle()\n#20 \/var\/www\/html\/lms_hocmai\/artisan(13): Illuminate\\Foundation\\Application->handleCommand()\n#21 {main}"
    }
}
{
    "timestamp": "2026-07-09 04:00:10",
    "level": "ERROR",
    "message": "[mirrorToZeus] Bắt catch ngoại lệ bảng lcms_student_scores chi tiết:",
    "context": {
        "msg": "SQLSTATE[HY000] [1049] Unknown database 'ZEUS_speakup' (Connection: zeus, SQL: insert into `lcms_student_scores` (`stusco_course_id`, `stusco_created_at`, `stusco_history_contest_id`, `stusco_id`, `stusco_is_sync`, `stusco_mock_contest_id`, `stusco_overall_score`, `stusco_score_status`, `stusco_student_id`, `stusco_updated_at`, `stusco_user_id`) values (420, 2025-09-05 08:56:21, 68ba4345054b849dc1c498e6, 569, 115, 708, -1, 0, 1, 2026-07-08 09:45:33, 485), (420, 2025-09-05 09:02:56, 68ba44d0054b849dc1c49a61, 570, 115, 708, -1, 0, 1, 2026-07-08 09:45:33, 485), (420, 2025-09-05 10:12:14, 68ba550e054b849dc1c49c12, 584, 115, 708, -1, 0, 1, 2026-07-08 09:45:33, 485), (443, 2025-09-05 10:31:09, 68ba597c0dd3d7c16cff1b58, 594, 115, 714, -1, 0, 1, 2026-07-08 09:45:29, 485), (443, 2025-09-05 15:02:53, 68ba992d0dd3d7c16cff1f29, 619, 115, 714, -1, 0, 1, 2026-07-08 09:45:29, 485), (443, 2025-09-05 15:03:35, 68ba99570dd3d7c16cff1f44, 620, 115, 714, -1, 0, 1, 2026-07-08 09:45:29, 485), (443, 2025-09-06 11:57:45, 68bbbf48b977f015cbc90510, 649, 115, 714, -1, 0, 1, 2026-07-08 09:45:29, 485), (443, 2025-09-08 14:50:35, 68be8acbb977f015cbc910a5, 670, 115, 714, -1, 0, 1, 2026-07-08 09:45:29, 485), (443, 2025-09-08 14:51:12, 68be8af0b977f015cbc910c0, 671, 115, 714, -1, 0, 1, 2026-07-08 09:45:29, 485), (104, 2025-09-29 08:39:18, 68d9e345611f49e7f9a40b77, 728, 115, 624, -1, 0, 1, 2026-07-08 07:36:56, 485), (104, 2025-09-29 09:47:23, 68d9f33b611f49e7f9a40b9b, 729, 115, 624, -1, 0, 1, 2026-07-08 07:39:11, 485), (104, 2025-09-29 11:41:05, 68da0dbb611f49e7f9a40bc0, 732, 115, 624, -1, 0, 1, 2026-07-08 08:12:26, 485), (104, 2025-10-03 15:39:25, 68df8bbd611f49e7f9a40d26, 737, 115, 624, -1, 0, 1, 2026-07-08 08:12:26, 485), (104, 2025-10-10 10:45:06, 68e88142611f49e7f9a40ecb, 749, 115, 624, -1, 0, 1, 2026-07-08 08:12:26, 485), (104, 2025-10-13 11:24:26, 68ec7ef9486882764426e960, 750, 115, 624, -1, 0, 1, 2026-07-08 08:12:26, 485), (104, 2025-10-16 15:17:36, 68f0aa1f486882764426ee5f, 774, 115, 624, -1, 0, 1, 2026-07-08 08:12:26, 485), (104, 2025-10-16 15:25:44, 68f0ac08486882764426ee87, 775, 115, 624, -1, 0, 1, 2026-07-08 08:12:26, 485), (104, 2025-10-17 11:34:19, 68f1c74ba8a00a7f9ce10b87, 776, 115, 624, -1, 0, 1, 2026-07-08 08:12:26, 485), (443, 2025-11-19 17:57:51, 691da2ae919d6cbb3dbfca9f, 1530, 115, 714, -1, 0, 1, 2026-07-08 09:45:29, 485), (443, 2025-11-21 09:17:24, 691fcbb4919d6cbb3dbfcb45, 1534, 115, 714, -1, 0, 1, 2026-07-08 09:45:29, 485), (443, 2025-11-24 21:41:55, 69246eb3919d6cbb3dbfdf2c, 1578, 115, 714, -1, 0, 1, 2026-07-08 09:45:29, 485), (571, 2025-12-03 12:12:40, 692fc6c8919d6cbb3dc079f9, 2003, 115, 714, -1, 0, 1, 2026-07-08 09:45:29, 485), (578, 2025-12-06 16:55:34, 6933fd96baa95893c495f29f, 2073, 115, 708, -1, 0, 1, 2026-07-08 09:45:33, 485), (578, 2025-12-08 20:18:01, 6936d008baa95893c495f341, 2086, 115, 708, -1, 0, 1, 2026-07-08 09:45:33, 485), (578, 2025-12-08 20:30:45, 6936d304baa95893c495f35b, 2087, 115, 708, -1, 0, 1, 2026-07-08 09:45:33, 485), (104, 2025-12-09 10:51:07, 69379caabaa95893c495f392, 2093, 115, 624, -1, 0, 22, 2026-07-08 07:01:03, 248), (578, 2025-12-30 14:27:53, 69537ef8baa95893c49606d0, 2290, 115, 708, -1, 0, 1, 2026-07-08 09:45:33, 485), (578, 2025-12-30 15:15:58, 69538a3ebaa95893c496077f, 2291, 115, 708, -1, 0, 1, 2026-07-08 09:45:33, 485), (104, 2026-01-16 10:25:32, 6969afac675ec4178d305a51, 2394, 115, 624, -1, 0, 22, 2026-07-08 08:11:00, 248), (732, 2026-01-22 15:14:21, 6971dc5d675ec4178d30882e, 2719, 115, 624, -1, 0, 22, 2026-07-08 08:11:00, 248), (104, 2026-03-03 09:55:30, 69a64da29a173b5417bc5bc9, 3443, 115, 624, 0.38, 0, 22, 2026-07-08 08:11:00, 248), (104, 2026-03-03 11:01:55, 69a65d339a173b5417bc5d02, 3444, 115, 624, 0.75, 0, 22, 2026-07-08 08:11:00, 248), (104, 2026-03-03 14:33:35, 69a68ecf9a173b5417bc5fa4, 3445, 115, 624, 3.25, 0, 22, 2026-07-08 08:11:00, 248), (104, 2026-03-05 09:47:51, 69a8eed69a173b5417bc6e9b, 3451, 115, 624, -1, 0, 22, 2026-07-08 08:11:00, 248), (104, 2026-03-09 17:13:38, 69ae9d522439c467a5e03425, 3499, 115, 624, 0.25, 0, 22, 2026-07-08 08:11:00, 248), (104, 2026-03-09 17:23:50, 69ae9fb62439c467a5e034de, 3500, 115, 624, -1, 0, 22, 2026-07-08 08:11:00, 248), (885, 2026-03-16 09:22:23, 69b7695e685c01e44111b0eb, 3596, 115, 715, 0, 1, 22, 2026-07-08 09:25:11, 248), (842, 2026-03-30 11:16:00, 69c9f9008a56d754fba5841b, 3677, 115, 715, -1, 0, 22, 2026-07-08 09:25:29, 248), (842, 2026-03-30 11:17:52, 69c9f96f8a56d754fba5843c, 3678, 115, 715, -1, 0, 22, 2026-07-08 09:25:29, 248), (842, 2026-03-30 11:22:28, 69c9fa848a56d754fba58474, 3679, 115, 715, -1, 0, 22, 2026-07-08 09:25:29, 248), (842, 2026-03-30 11:24:15, 69c9faef8a56d754fba584c4, 3680, 115, 715, -1, 0, 22, 2026-07-08 09:25:29, 248), (842, 2026-03-30 15:20:34, 69ca32528a56d754fba58860, 3689, 115, 715, -1, 0, 22, 2026-07-08 09:25:29, 248), (842, 2026-03-30 15:55:55, 69ca3a9a8a56d754fba5888c, 3690, 115, 715, -1, 0, 1, 2026-07-08 09:45:31, 485), (842, 2026-03-30 16:01:10, 69ca3bd68a56d754fba588e4, 3691, 115, 715, -1, 0, 1, 2026-07-08 09:45:31, 485), (842, 2026-03-30 16:08:28, 69ca3d8c8a56d754fba58999, 3692, 115, 715, -1, 0, 1, 2026-07-08 09:45:31, 485), (842, 2026-03-30 16:10:20, 69ca3dfb8a56d754fba58a43, 3693, 115, 715, -1, 0, 1, 2026-07-08 09:45:31, 485), (842, 2026-03-30 16:12:13, 69ca3e6d8a56d754fba58aab, 3694, 115, 715, -1, 0, 1, 2026-07-08 09:45:31, 485), (842, 2026-03-30 16:14:31, 69ca3ef68a56d754fba58b05, 3695, 115, 715, -1, 0, 1, 2026-07-08 09:45:31, 485), (842, 2026-03-30 16:19:33, 69ca40248a56d754fba58b39, 3696, 115, 715, -1, 0, 1, 2026-07-08 09:45:31, 485), (842, 2026-03-30 16:20:06, 69ca40458a56d754fba58b62, 3697, 115, 715, -1, 0, 1, 2026-07-08 09:45:31, 485), (842, 2026-03-30 16:28:33, 69ca42418a56d754fba58c54, 3698, 115, 715, -1, 0, 1, 2026-07-08 09:45:31, 485), (842, 2026-03-30 16:29:11, 69ca42678a56d754fba58c95, 3699, 115, 715, -1, 0, 1, 2026-07-08 09:45:31, 485), (979, 2026-04-03 10:10:52, 69cf2fbcc84b1f9d1392a042, 3716, 115, 774, 7.5, 1, 22, 2026-07-08 03:32:25, 248), (842, 2026-05-07 14:54:15, 69fc4527bc148329f36f733c, 3824, 115, 715, 0, 0, 22, 2026-07-08 09:25:29, 248), (4847, 2026-05-11 15:52:51, 6a0198e343a3e524ae9d2702, 3887, 115, 774, 0.5, 1, 22, 2026-07-08 03:32:25, 248), (841, 2026-05-12 11:50:56, 6a02b1b0622d75dd64ed19d4, 3899, 115, 712, -1, 0, 22, 2026-07-08 10:28:47, 248), (578, 2026-05-13 15:52:43, 6a043bdbcc050f18fdc9487e, 3906, 115, 708, -1, 0, 1, 2026-07-08 09:45:33, 485), (578, 2026-05-14 10:35:57, 6a05431dcc050f18fdc94ab0, 3908, 115, 708, -1, 0, 1, 2026-07-08 09:45:33, 485), (569, 2026-05-21 08:59:43, 6a0e670e0cb836333e77464b, 3950, 115, 712, 0.2, 1, 22, 2026-07-08 10:28:47, 248), (569, 2026-05-21 09:00:54, 6a0e67560cb836333e774b0c, 3951, 115, 712, 0.2, 1, 22, 2026-07-08 10:28:47, 248), (569, 2026-05-21 09:01:54, 6a0e67920cb836333e774d26, 3952, 115, 712, -1, 0, 22, 2026-07-08 10:28:47, 248), (569, 2026-05-21 09:12:12, 6a0e69fc0cb836333e774d68, 3953, 115, 712, 0.2, 1, 22, 2026-07-08 10:28:47, 248), (569, 2026-05-28 12:42:26, 6a17d5c20cb836333e77575e, 3969, 115, 712, 0.1, 1, 22, 2026-07-08 10:28:47, 248), (569, 2026-05-28 12:47:26, 6a17d6ed0cb836333e77589f, 3970, 115, 712, -1, 0, 22, 2026-07-08 10:28:47, 248), (569, 2026-05-29 09:13:11, 6a18f6360cb836333e775cea, 3982, 115, 712, -1, 0, 22, 2026-07-08 10:28:47, 248), (4938, 2026-06-12 09:51:28, 6a2b74300cb836333e7766dd, 4063, 115, 715, 0, 1, 22, 2026-07-08 09:25:29, 248), (4938, 2026-06-12 10:14:25, 6a2b79910cb836333e7768e8, 4067, 115, 715, 1, 1, 22, 2026-07-08 09:25:29, 248), (841, 2026-06-15 10:43:20, 6a2f74d70cb836333e776a5b, 4077, 115, 712, -1, 0, 22, 2026-07-08 10:28:47, 248), (841, 2026-06-15 10:49:30, 6a2f764a0cb836333e776a73, 4078, 115, 712, -1, 0, 22, 2026-07-08 10:28:47, 248), (4995, 2026-06-17 10:10:48, 6a3272a8762f13a1d09ca2fb, 4091, 115, 713, -1, 0, 1, 2026-07-08 09:45:27, 485), (4995, 2026-06-17 10:11:18, 6a3272c6762f13a1d09ca329, 4092, 115, 713, 0.3, 1, 1, 2026-07-08 10:33:59, 485), (4995, 2026-06-17 10:12:22, 6a327306762f13a1d09ca357, 4093, 115, 713, 0.6, 1, 1, 2026-07-08 10:33:59, 485), (4995, 2026-06-17 10:12:47, 6a32731e762f13a1d09ca3a8, 4094, 115, 713, 0.3, 1, 1, 2026-07-08 10:33:59, 485), (4904, 2026-06-23 04:52:49, 6a3a1121762f13a1d09ca5fe, 4097, 115, 713, -1, 0, 1, 2026-07-08 10:33:59, 485), (569, 2026-06-25 10:00:30, 6a3cfc3d762f13a1d09ca823, 4111, 115, 712, -1, 0, 1, 2026-07-08 09:53:03, 485), (569, 2026-06-25 10:31:55, 6a3d039a762f13a1d09ca872, 4112, 115, 712, -1, 0, 1, 2026-07-08 09:53:03, 485), (570, 2026-06-25 10:36:14, 6a3d049e762f13a1d09ca89e, 4113, 115, 713, -1, 0, 1, 2026-07-08 10:33:59, 485), (569, 2026-06-25 10:41:11, 6a3d05c7762f13a1d09ca8dd, 4114, 115, 712, -1, 0, 1, 2026-07-08 09:53:03, 485), (570, 2026-06-25 10:44:15, 6a3d067f762f13a1d09ca917, 4115, 115, 713, -1, 0, 1, 2026-07-08 10:33:59, 485), (569, 2026-06-25 10:45:30, 6a3d06bd762f13a1d09ca958, 4117, 115, 712, -1, 0, 1, 2026-07-08 09:53:03, 485), (5014, 2026-06-25 10:49:26, 6a3d07b6762f13a1d09ca9ab, 4118, 115, 712, -1, 0, 1, 2026-07-08 09:53:03, 485), (5014, 2026-06-25 10:51:15, 6a3d0823762f13a1d09ca9e6, 4119, 115, 712, -1, 0, 1, 2026-07-08 09:53:03, 485), (5015, 2026-06-25 10:53:42, 6a3d08b676ca4dcafe1041e1, 4122, 115, 803, -1, 0, 1, 2026-07-08 09:48:47, 485), (5015, 2026-06-25 10:53:50, 6a3d08be76ca4dcafe1041f8, 4123, 115, 803, -1, 0, 1, 2026-07-08 09:48:47, 485), (5014, 2026-06-25 10:53:59, 6a3d08c7762f13a1d09caa07, 4124, 115, 712, -1, 0, 1, 2026-07-08 09:53:03, 485), (5014, 2026-06-25 10:54:18, 6a3d08da762f13a1d09caa1e, 4125, 115, 712, 0.1, 1, 1, 2026-07-08 09:53:03, 485), (4959, 2026-06-26 04:49:52, 6a3e04f076ca4dcafe10422a, 4126, 115, 803, -1, 0, 1, 2026-07-08 09:48:47, 485), (4959, 2026-06-26 04:51:34, 6a3e055676ca4dcafe104259, 4127, 115, 803, -1, 0, 1, 2026-07-08 09:48:47, 485), (4904, 2026-06-26 06:55:02, 6a3e2246762f13a1d09cab92, 4128, 115, 713, -1, 0, 1, 2026-07-08 10:33:59, 485), (4904, 2026-06-26 07:31:33, 6a3e2ad5762f13a1d09cabac, 4129, 115, 713, -1, 0, 1, 2026-07-08 10:33:59, 485), (4959, 2026-06-27 01:34:41, 6a3f28b076ca4dcafe104419, 4132, 115, 803, -1, 0, 1, 2026-07-08 09:48:47, 485), (4962, 2026-06-27 10:32:05, 6a3fa6a576ca4dcafe10451c, 4133, 115, 803, -1, 0, 1, 2026-07-08 09:48:47, 485), (5026, 2026-07-02 04:16:51, 6a45e63376ca4dcafe105694, 4157, 115, 803, -1, 0, 1, 2026-07-08 09:48:47, 485), (5030, 2026-07-02 07:30:31, 6a4613974b4812c9117bc551, 4158, 115, 803, -1, 0, 1, 2026-07-08 09:48:47, 485), (5030, 2026-07-02 07:30:53, 6a4613ad4b4812c9117bc570, 4159, 115, 803, -1, 0, 1, 2026-07-08 09:48:47, 485), (979, 2026-07-02 08:39:02, 6a4623a5329132f350165bec, 4162, 115, 774, -1, 0, 22, 2026-07-08 03:32:25, 248), (979, 2026-07-02 08:39:20, 6a4623b7329132f350165c0b, 4163, 115, 774, 0.5, 0, 22, 2026-07-08 03:32:25, 248), (979, 2026-07-02 08:42:02, 6a46245a329132f350165cc2, 4164, 115, 774, 0.5, 0, 22, 2026-07-08 03:32:25, 248), (4904, 2026-07-02 09:45:39, 6a4633420402e7d001cd926b, 4169, 115, 713, 0.3, 1, 1, 2026-07-08 10:33:59, 485), (5033, 2026-07-03 04:07:53, 6a47359922728c6091718017, 4171, 115, 803, -1, 0, 1, 2026-07-08 09:48:47, 485), (569, 2026-07-03 10:12:15, 6a478aff0402e7d001cd935a, 4173, 115, 712, -1, 0, 1, 2026-07-08 09:53:03, 485), (569, 2026-07-03 10:16:12, 6a478bec0402e7d001cd939e, 4174, 115, 712, 1.5, 1, 1, 2026-07-08 09:53:03, 485), (979, 2026-07-06 08:53:59, 6a4b6d269e21417f40d7c6d0, 4176, 115, 774, 6.25, 1, 22, 2026-07-08 03:32:25, 248), (979, 2026-07-06 09:13:22, 6a4b71b29e21417f40d7c87c, 4177, 115, 774, 2.75, 0, 22, 2026-07-08 03:32:25, 248), (5092, 2026-07-07 09:03:33, 6a4cc0e59e21417f40d7cd2d, 4186, 115, 624, -1, 0, 22, 2026-07-08 08:11:00, 248), (5099, 2026-07-08 02:31:22, 6a4db67a729540c061b5b892, 4191, 115, 715, 2, 1, 22, 2026-07-08 09:25:29, 248), (979, 2026-07-08 03:07:23, 6a4dbeeab3e46676dd8b6142, 4193, 115, 774, 0.5, 0, 22, 2026-07-08 03:32:25, 248), (979, 2026-07-08 03:32:19, 6a4dc4c3b3e46676dd8b620e, 4194, 115, 774, -1, 0, 22, 2026-07-08 03:32:25, 248), (5092, 2026-07-08 07:01:22, 6a4df5c2b3e46676dd8b69cb, 4195, 115, 624, -1, 0, 22, 2026-07-08 08:11:00, 248), (5092, 2026-07-08 07:37:03, 6a4dfe1fb3e46676dd8b6b50, 4196, 115, 624, -1, 0, 1, 2026-07-08 08:12:26, 485), (5092, 2026-07-08 07:39:13, 6a4dfea1b3e46676dd8b6b7b, 4197, 115, 624, -1, 0, 1, 2026-07-08 08:12:26, 485), (5092, 2026-07-08 08:12:28, 6a4e066cb3e46676dd8b6ba2, 4198, 115, 624, -1, 0, 1, 2026-07-08 08:12:38, 485), (573, 2026-07-08 09:25:13, 6a4e1778729540c061b5b8eb, 4199, 115, 715, 1, 0, 22, 2026-07-08 09:25:29, 248), (4904, 2026-07-08 10:33:51, 6a4e278f729540c061b5ba16, 4200, 115, 713, 0.3, 1, 1, 2026-07-08 10:33:59, 485), (4962, 2026-07-08 10:34:24, 6a4e27b06146715219c0ffda, 4201, 115, 803, 1.5, 1, 1, 2026-07-08 10:34:57, 485) on duplicate key update `stusco_student_id` = values(`stusco_student_id`), `stusco_user_id` = values(`stusco_user_id`), `stusco_course_id` = values(`stusco_course_id`), `stusco_mock_contest_id` = values(`stusco_mock_contest_id`), `stusco_score_status` = values(`stusco_score_status`), `stusco_history_contest_id` = values(`stusco_history_contest_id`), `stusco_overall_score` = values(`stusco_overall_score`), `stusco_is_sync` = values(`stusco_is_sync`), `stusco_updated_at` = values(`stusco_updated_at`))",
        "trace": "#0 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php(779): Illuminate\\Database\\Connection->runQueryCallback()\n#1 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php(584): Illuminate\\Database\\Connection->run()\n#2 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Query\/Builder.php(3917): Illuminate\\Database\\Connection->affectingStatement()\n#3 \/var\/www\/html\/lms_hocmai\/app\/Console\/Commands\/LmsDailySyncCommand.php(599): Illuminate\\Database\\Query\\Builder->upsert()\n#4 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Concerns\/BuildsQueries.php(59): App\\Console\\Commands\\LmsDailySyncCommand->App\\Console\\Commands\\{closure}()\n#5 \/var\/www\/html\/lms_hocmai\/app\/Console\/Commands\/LmsDailySyncCommand.php(589): Illuminate\\Database\\Query\\Builder->chunk()\n#6 \/var\/www\/html\/lms_hocmai\/app\/Console\/Commands\/LmsDailySyncCommand.php(125): App\\Console\\Commands\\LmsDailySyncCommand->mirrorToZeus()\n#7 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php(36): App\\Console\\Commands\\LmsDailySyncCommand->handle()\n#8 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#9 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php(95): Illuminate\\Container\\Util::unwrapIfClosure()\n#10 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod()\n#11 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Container.php(696): Illuminate\\Container\\BoundMethod::call()\n#12 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Console\/Command.php(213): Illuminate\\Container\\Container->call()\n#13 \/var\/www\/html\/lms_hocmai\/vendor\/symfony\/console\/Command\/Command.php(341): Illuminate\\Console\\Command->execute()\n#14 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Console\/Command.php(182): Symfony\\Component\\Console\\Command\\Command->run()\n#15 \/var\/www\/html\/lms_hocmai\/vendor\/symfony\/console\/Application.php(1117): Illuminate\\Console\\Command->run()\n#16 \/var\/www\/html\/lms_hocmai\/vendor\/symfony\/console\/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand()\n#17 \/var\/www\/html\/lms_hocmai\/vendor\/symfony\/console\/Application.php(195): Symfony\\Component\\Console\\Application->doRun()\n#18 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Console\/Kernel.php(198): Symfony\\Component\\Console\\Application->run()\n#19 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle()\n#20 \/var\/www\/html\/lms_hocmai\/artisan(13): Illuminate\\Foundation\\Application->handleCommand()\n#21 {main}"
    }
}
{
    "timestamp": "2026-07-09 04:00:10",
    "level": "ERROR",
    "message": "[mirrorToZeus] Bắt catch ngoại lệ bảng lcms_user_assignments chi tiết:",
    "context": {
        "msg": "SQLSTATE[HY000] [1049] Unknown database 'ZEUS_speakup' (Connection: zeus, SQL: insert into `lcms_user_assignments` (`usrasi_completion_state`, `usrasi_completion_time`, `usrasi_course_id`, `usrasi_created_at`, `usrasi_id`, `usrasi_is_cron`, `usrasi_is_sync`, `usrasi_payload_data`, `usrasi_response_data`, `usrasi_section_id`, `usrasi_student_id`, `usrasi_updated_at`, `usrasi_zeus_id`) values (0, 2026-07-07 23:00:17, 888, 2026-07-07 16:00:27, 145, 0, 115, {\"course_id\": \"170\", \"section_id\": \"940\", \"tenant_key\": \"VWvi4u56mb\", \"zeus_user_id\": 271, \"x_tenant_code\": \"ICC\", \"completion_time\": \"2026-07-07 23:00:17\"}, {\"course\": {\"id\": 170, \"name\": \"🏆Easy IELTS 25 - Foundation\"}, \"section\": {\"id\": 940, \"name\": \"Giữa kỳ lần 1\"}}, 899, 23, 2026-07-07 16:00:30, 271) on duplicate key update `usrasi_course_id` = values(`usrasi_course_id`), `usrasi_section_id` = values(`usrasi_section_id`), `usrasi_zeus_id` = values(`usrasi_zeus_id`), `usrasi_student_id` = values(`usrasi_student_id`), `usrasi_completion_time` = values(`usrasi_completion_time`), `usrasi_completion_state` = values(`usrasi_completion_state`), `usrasi_payload_data` = values(`usrasi_payload_data`), `usrasi_response_data` = values(`usrasi_response_data`), `usrasi_is_cron` = values(`usrasi_is_cron`), `usrasi_is_sync` = values(`usrasi_is_sync`), `usrasi_updated_at` = values(`usrasi_updated_at`))",
        "trace": "#0 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php(779): Illuminate\\Database\\Connection->runQueryCallback()\n#1 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php(584): Illuminate\\Database\\Connection->run()\n#2 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Query\/Builder.php(3917): Illuminate\\Database\\Connection->affectingStatement()\n#3 \/var\/www\/html\/lms_hocmai\/app\/Console\/Commands\/LmsDailySyncCommand.php(599): Illuminate\\Database\\Query\\Builder->upsert()\n#4 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Concerns\/BuildsQueries.php(59): App\\Console\\Commands\\LmsDailySyncCommand->App\\Console\\Commands\\{closure}()\n#5 \/var\/www\/html\/lms_hocmai\/app\/Console\/Commands\/LmsDailySyncCommand.php(589): Illuminate\\Database\\Query\\Builder->chunk()\n#6 \/var\/www\/html\/lms_hocmai\/app\/Console\/Commands\/LmsDailySyncCommand.php(125): App\\Console\\Commands\\LmsDailySyncCommand->mirrorToZeus()\n#7 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php(36): App\\Console\\Commands\\LmsDailySyncCommand->handle()\n#8 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#9 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php(95): Illuminate\\Container\\Util::unwrapIfClosure()\n#10 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod()\n#11 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Container.php(696): Illuminate\\Container\\BoundMethod::call()\n#12 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Console\/Command.php(213): Illuminate\\Container\\Container->call()\n#13 \/var\/www\/html\/lms_hocmai\/vendor\/symfony\/console\/Command\/Command.php(341): Illuminate\\Console\\Command->execute()\n#14 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Console\/Command.php(182): Symfony\\Component\\Console\\Command\\Command->run()\n#15 \/var\/www\/html\/lms_hocmai\/vendor\/symfony\/console\/Application.php(1117): Illuminate\\Console\\Command->run()\n#16 \/var\/www\/html\/lms_hocmai\/vendor\/symfony\/console\/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand()\n#17 \/var\/www\/html\/lms_hocmai\/vendor\/symfony\/console\/Application.php(195): Symfony\\Component\\Console\\Application->doRun()\n#18 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Console\/Kernel.php(198): Symfony\\Component\\Console\\Application->run()\n#19 \/var\/www\/html\/lms_hocmai\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle()\n#20 \/var\/www\/html\/lms_hocmai\/artisan(13): Illuminate\\Foundation\\Application->handleCommand()\n#21 {main}"
    }
}
{
    "timestamp": "2026-07-09 04:00:10",
    "level": "INFO",
    "message": "[mirrorToZeus] Xong tất cả. Tổng = 0"
}
{
    "timestamp": "2026-07-09 04:00:11",
    "level": "INFO",
    "message": "[LmsDailySync] Hoàn thành",
    "context": {
        "tenantCode": "ICC",
        "isSync": 115,
        "elapsed_s": -2.485618,
        "syncCourseTypes": {
            "synced": 0
        },
        "syncCourses": {
            "synced": 54
        },
        "syncStudents": {
            "synced": 2
        },
        "syncCourseStudents": {
            "synced": 2
        },
        "syncStudentScores": {
            "synced": 115
        },
        "syncUserAssignments": {
            "synced": 1
        },
        "mirrorToZeus": {
            "synced": 0,
            "error": "Mirror lcms_students lỗi: SQLSTATE[HY000] [1049] Unknown database 'ZEUS_speakup' (Connection: zeus, SQL: insert into `lcms_students` (`stu_created_at`, `stu_dob`, `stu_email`, `stu_gender`, `stu_id`, `stu_is_sync`, `stu_name`, `stu_phone`, `stu_updated_at`, `stu_user_id`, `stu_username`) values (2024-12-26 10:19:37, 2025-03-03, kienp2901@gmail.com, Female, 1, 115, Kiên Phạm, 0394859392, 2026-07-08 09:38:15, 485, SPW71652694), (2025-08-07 13:22:18, ?, z_thuantv@ican.vn, Male, 20, 115, Thuận Thiều, ?, 2026-07-08 08:50:05, 216, hihi.vt.thuantv) on duplicate key update `stu_name` = values(`stu_name`), `stu_email` = values(`stu_email`), `stu_username` = values(`stu_username`), `stu_user_id` = values(`stu_user_id`), `stu_phone` = values(`stu_phone`), `stu_dob` = values(`stu_dob`), `stu_gender` = values(`stu_gender`), `stu_is_sync` = values(`stu_is_sync`), `stu_updated_at` = values(`stu_updated_at`)) | Mirror lcms_courses lỗi: SQLSTATE[HY000] [1049] Unknown database 'ZEUS_speakup' (Connection: zeus, SQL: insert into `lcms_courses` (`cou_created_at`, `cou_id`, `cou_is_sync`, `cou_last_round`, `cou_moodle_id`, `cou_name`, `cou_parent_id`, `cou_quiz_setting_type`, `cou_section_type`, `cou_total_round`, `cou_type`, `cou_type_id`, `cou_updated_at`, `cou_visible`) values (2025-10-27 03:17:33, 567, 115, ?, 133, Home Work, 34, ?, ?, ?, course, 7, 2026-07-09 03:49:04, 1), (2026-07-07 07:31:12, 5098, 115, 11929, 5554, LOẠI F_  SpeakWell-Solutions-All, 4850, 36, ?, 5, quiz, ?, 2026-07-08 02:33:15, 1), (2026-07-08 07:56:24, 5100, 115, ?, 1859, Topic 11, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:24, 1), (2026-07-08 07:56:28, 5101, 115, ?, 1860, Topic 12, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:28, 1), (2026-07-08 07:56:29, 5102, 115, ?, 1861, Topic 13, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:29, 1), (2026-07-08 07:56:29, 5103, 115, ?, 1862, Topic 14, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:29, 1), (2026-07-08 07:56:29, 5104, 115, ?, 1863, Topic 15, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:29, 1), (2026-07-08 07:56:29, 5105, 115, ?, 1864, Topic 16, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:29, 1), (2026-07-08 07:56:30, 5106, 115, ?, 1865, Topic 17, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:30, 1), (2026-07-08 07:56:30, 5107, 115, ?, 1866, Topic 18, 5036, ?, 2, ?, section, ?, 2026-07-08 07:57:03, 1), (2026-07-08 07:56:30, 5108, 115, ?, 1867, Topic 19, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:30, 1), (2026-07-08 07:56:30, 5109, 115, ?, 1868, Topic 20, 5036, ?, 2, ?, section, ?, 2026-07-08 07:57:14, 1), (2026-07-08 07:56:31, 5110, 115, ?, 1869, Topic 21, 5036, ?, 2, ?, section, ?, 2026-07-08 07:57:29, 1), (2026-07-08 07:56:31, 5111, 115, ?, 1870, Topic 21, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:31, 1), (2026-07-08 07:56:31, 5112, 115, ?, 1871, Topic 22, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:31, 1), (2026-07-08 07:56:32, 5113, 115, ?, 1872, Topic 22, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:32, 1), (2026-07-08 07:56:32, 5114, 115, ?, 1873, Topic 23, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:32, 1), (2026-07-08 07:56:32, 5115, 115, ?, 1874, Topic 24, 5036, ?, 2, ?, section, ?, 2026-07-08 07:56:32, 1), (2026-07-08 07:57:44, 5116, 115, ?, 1875, Topic 27, 5036, ?, 2, ?, section, ?, 2026-07-08 07:57:44, 1), (2026-07-08 07:57:47, 5117, 115, ?, 1876, Topic 28, 5036, ?, 2, ?, section, ?, 2026-07-08 07:57:47, 1), (2026-07-08 07:57:51, 5118, 115, ?, 1877, Topic 29, 5036, ?, 2, ?, section, ?, 2026-07-08 07:57:51, 1), (2026-07-08 07:57:55, 5119, 115, ?, 1878, Topic 30, 5036, ?, 2, ?, section, ?, 2026-07-08 07:57:55, 1), (2026-07-08 07:58:00, 5120, 115, ?, 1879, Topic 31, 5036, ?, 2, ?, section, ?, 2026-07-08 07:58:00, 1), (2026-07-08 07:58:05, 5121, 115, ?, 1880, Topic 32, 5036, ?, 2, ?, section, ?, 2026-07-08 07:58:05, 1), (2026-07-08 07:58:09, 5122, 115, ?, 1881, Topic 33, 5036, ?, 2, ?, section, ?, 2026-07-08 07:58:09, 1), (2026-07-08 07:58:14, 5123, 115, ?, 1882, Topic 34, 5036, ?, 2, ?, section, ?, 2026-07-08 07:58:14, 1), (2026-07-08 07:58:19, 5124, 115, ?, 1883, Topic 35, 5036, ?, 2, ?, section, ?, 2026-07-08 07:58:19, 1), (2026-07-08 07:58:23, 5125, 115, ?, 1884, Topic 36, 5036, ?, 2, ?, section, ?, 2026-07-08 07:58:23, 1), (2026-07-08 07:59:31, 5126, 115, ?, 1885, Lesson 11 - Unit 3 - Reading, 5063, ?, 2, ?, section, ?, 2026-07-08 08:03:43, 1), (2026-07-08 07:59:33, 5127, 115, ?, 1886, Lesson 12 - Unit 3 - Listening, 5063, ?, 2, ?, section, ?, 2026-07-08 08:03:53, 1), (2026-07-08 07:59:36, 5128, 115, ?, 1887, Lesson 13 - Unit 3 - Writing, 5063, ?, 2, ?, section, ?, 2026-07-08 08:04:04, 1), (2026-07-08 07:59:39, 5129, 115, ?, 1888, Lesson 14 - Unit 3 - Speaking, 5063, ?, 2, ?, section, ?, 2026-07-08 08:04:13, 1), (2026-07-08 07:59:39, 5130, 115, ?, 1889, Lesson 15 - Unit 4 - Reading, 5063, ?, 2, ?, section, ?, 2026-07-08 08:04:23, 1), (2026-07-08 07:59:39, 5131, 115, ?, 1890, Lesson 16 - Unit 4 - Listening, 5063, ?, 2, ?, section, ?, 2026-07-08 08:04:35, 1), (2026-07-08 07:59:39, 5132, 115, ?, 1891, Lesson 17 - Unit 4 - Writing, 5063, ?, 2, ?, section, ?, 2026-07-08 08:04:44, 1), (2026-07-08 07:59:39, 5133, 115, ?, 1892, Lesson 18 - Unit 4 - Speaking, 5063, ?, 2, ?, section, ?, 2026-07-08 08:04:52, 1), (2026-07-08 07:59:40, 5134, 115, ?, 1893, Lesson 19 - Review 2 - Reading & Writing, 5063, ?, 2, ?, section, ?, 2026-07-08 08:05:04, 1), (2026-07-08 07:59:40, 5135, 115, ?, 1894, Lesson 20 - Review 2 - Listening & Speaking, 5063, ?, 2, ?, section, ?, 2026-07-08 08:05:15, 1), (2026-07-08 07:59:40, 5136, 115, ?, 1895, Lesson 21 - Unit 5 - Reading, 5063, ?, 2, ?, section, ?, 2026-07-08 08:05:24, 1), (2026-07-08 07:59:41, 5137, 115, ?, 1896, Lesson 22 - Unit 5 - Listening, 5063, ?, 2, ?, section, ?, 2026-07-08 08:05:35, 1), (2026-07-08 07:59:41, 5138, 115, ?, 1897, Lesson 23 - Unit 5 - Writing, 5063, ?, 2, ?, section, ?, 2026-07-08 08:05:44, 1), (2026-07-08 07:59:41, 5139, 115, ?, 1898, Lesson 24 - Unit 5 - Speaking, 5063, ?, 2, ?, section, ?, 2026-07-08 08:05:53, 1), (2026-07-08 07:59:41, 5140, 115, ?, 1899, Lesson 25 - Unit 6 - Reading, 5063, ?, 2, ?, section, ?, 2026-07-08 08:06:05, 1), (2026-07-08 07:59:42, 5141, 115, ?, 1900, Lesson 26 - Unit 6 - Listening, 5063, ?, 2, ?, section, ?, 2026-07-08 08:06:15, 1), (2026-07-08 07:59:42, 5142, 115, ?, 1901, Lesson 27 - Unit 6 - Writing, 5063, ?, 2, ?, section, ?, 2026-07-08 08:06:24, 1), (2026-07-08 07:59:42, 5143, 115, ?, 1902, Lesson 28 - Unit 6 - Speaking, 5063, ?, 2, ?, section, ?, 2026-07-08 08:06:33, 1), (2026-07-08 07:59:42, 5144, 115, ?, 1903, Lesson 29 - Review 3 - Reading & Writing, 5063, ?, 2, ?, section, ?, 2026-07-08 08:06:45, 1), (2026-07-08 07:59:43, 5145, 115, ?, 1904, Lesson 30 - Review 3 - Listening & Speaking, 5063, ?, 2, ?, section, ?, 2026-07-08 08:06:54, 1), (2026-07-08 07:59:43, 5146, 115, ?, 1905, Lesson 31 - Unit 7 - Reading, 5063, ?, 2, ?, section, ?, 2026-07-08 08:07:05, 1), (2026-07-08 07:59:43, 5147, 115, ?, 1906, Lesson 32 - Unit 7 - Listening, 5063, ?, 2, ?, section, ?, 2026-07-08 08:07:17, 1), (2026-07-08 07:59:43, 5148, 115, ?, 1907, Lesson 33 - Unit 7 - Writing, 5063, ?, 2, ?, section, ?, 2026-07-08 08:07:27, 1), (2026-07-08 07:59:43, 5149, 115, ?, 1908, Lesson 34 - Unit 7 - Speaking, 5063, ?, 2, ?, section, ?, 2026-07-08 08:07:36, 1), (2026-07-08 07:59:44, 5150, 115, ?, 1909, Lesson 35 - Review 4 - Reading & Writing, 5063, ?, 2, ?, section, ?, 2026-07-08 08:07:46, 1), (2026-07-08 07:59:44, 5151, 115, ?, 1910, Lesson 36 - Review 4 - Listening & Speaking, 5063, ?, 2, ?, section, ?, 2026-07-08 08:07:56, 1) on duplicate key update `cou_moodle_id` = values(`cou_moodle_id`), `cou_name` = values(`cou_name`), `cou_type` = values(`cou_type`), `cou_parent_id` = values(`cou_parent_id`), `cou_total_round` = values(`cou_total_round`), `cou_last_round` = values(`cou_last_round`), `cou_section_type` = values(`cou_section_type`), `cou_quiz_setting_type` = values(`cou_quiz_setting_type`), `cou_type_id` = values(`cou_type_id`), `cou_visible` = values(`cou_visible`), `cou_is_sync` = values(`cou_is_sync`), `cou_updated_at` = values(`cou_updated_at`)) | Mirror lcms_course_student lỗi: SQLSTATE[HY000] [1049] Unknown database 'ZEUS_speakup' (Connection: zeus, SQL: insert into `lcms_course_student` (`coustu_course_end`, `coustu_course_id`, `coustu_created_at`, `coustu_id`, `coustu_is_sync`, `coustu_student_id`, `coustu_updated_at`, `coustu_user_id`) values (2029-07-07 10:00:10, 887, 2026-07-07 10:00:10, 5377, 115, 3822, 2026-07-07 10:00:11, 534), (2030-07-08 08:50:04, 888, 2026-07-08 08:50:04, 5378, 115, 20, 2026-07-08 08:50:05, 216) on duplicate key update `coustu_student_id` = values(`coustu_student_id`), `coustu_user_id` = values(`coustu_user_id`), `coustu_course_id` = values(`coustu_course_id`), `coustu_course_end` = values(`coustu_course_end`), `coustu_is_sync` = values(`coustu_is_sync`), `coustu_updated_at` = values(`coustu_updated_at`)) | Mirror lcms_student_scores lỗi: SQLSTATE[HY000] [1049] Unknown database 'ZEUS_speakup' (Connection: zeus, SQL: insert into `lcms_student_scores` (`stusco_course_id`, `stusco_created_at`, `stusco_history_contest_id`, `stusco_id`, `stusco_is_sync`, `stusco_mock_contest_id`, `stusco_overall_score`, `stusco_score_status`, `stusco_student_id`, `stusco_updated_at`, `stusco_user_id`) values (420, 2025-09-05 08:56:21, 68ba4345054b849dc1c498e6, 569, 115, 708, -1, 0, 1, 2026-07-08 09:45:33, 485), (420, 2025-09-05 09:02:56, 68ba44d0054b849dc1c49a61, 570, 115, 708, -1, 0, 1, 2026-07-08 09:45:33, 485), (420, 2025-09-05 10:12:14, 68ba550e054b849dc1c49c12, 584, 115, 708, -1, 0, 1, 2026-07-08 09:45:33, 485), (443, 2025-09-05 10:31:09, 68ba597c0dd3d7c16cff1b58, 594, 115, 714, -1, 0, 1, 2026-07-08 09:45:29, 485), (443, 2025-09-05 15:02:53, 68ba992d0dd3d7c16cff1f29, 619, 115, 714, -1, 0, 1, 2026-07-08 09:45:29, 485), (443, 2025-09-05 15:03:35, 68ba99570dd3d7c16cff1f44, 620, 115, 714, -1, 0, 1, 2026-07-08 09:45:29, 485), (443, 2025-09-06 11:57:45, 68bbbf48b977f015cbc90510, 649, 115, 714, -1, 0, 1, 2026-07-08 09:45:29, 485), (443, 2025-09-08 14:50:35, 68be8acbb977f015cbc910a5, 670, 115, 714, -1, 0, 1, 2026-07-08 09:45:29, 485), (443, 2025-09-08 14:51:12, 68be8af0b977f015cbc910c0, 671, 115, 714, -1, 0, 1, 2026-07-08 09:45:29, 485), (104, 2025-09-29 08:39:18, 68d9e345611f49e7f9a40b77, 728, 115, 624, -1, 0, 1, 2026-07-08 07:36:56, 485), (104, 2025-09-29 09:47:23, 68d9f33b611f49e7f9a40b9b, 729, 115, 624, -1, 0, 1, 2026-07-08 07:39:11, 485), (104, 2025-09-29 11:41:05, 68da0dbb611f49e7f9a40bc0, 732, 115, 624, -1, 0, 1, 2026-07-08 08:12:26, 485), (104, 2025-10-03 15:39:25, 68df8bbd611f49e7f9a40d26, 737, 115, 624, -1, 0, 1, 2026-07-08 08:12:26, 485), (104, 2025-10-10 10:45:06, 68e88142611f49e7f9a40ecb, 749, 115, 624, -1, 0, 1, 2026-07-08 08:12:26, 485), (104, 2025-10-13 11:24:26, 68ec7ef9486882764426e960, 750, 115, 624, -1, 0, 1, 2026-07-08 08:12:26, 485), (104, 2025-10-16 15:17:36, 68f0aa1f486882764426ee5f, 774, 115, 624, -1, 0, 1, 2026-07-08 08:12:26, 485), (104, 2025-10-16 15:25:44, 68f0ac08486882764426ee87, 775, 115, 624, -1, 0, 1, 2026-07-08 08:12:26, 485), (104, 2025-10-17 11:34:19, 68f1c74ba8a00a7f9ce10b87, 776, 115, 624, -1, 0, 1, 2026-07-08 08:12:26, 485), (443, 2025-11-19 17:57:51, 691da2ae919d6cbb3dbfca9f, 1530, 115, 714, -1, 0, 1, 2026-07-08 09:45:29, 485), (443, 2025-11-21 09:17:24, 691fcbb4919d6cbb3dbfcb45, 1534, 115, 714, -1, 0, 1, 2026-07-08 09:45:29, 485), (443, 2025-11-24 21:41:55, 69246eb3919d6cbb3dbfdf2c, 1578, 115, 714, -1, 0, 1, 2026-07-08 09:45:29, 485), (571, 2025-12-03 12:12:40, 692fc6c8919d6cbb3dc079f9, 2003, 115, 714, -1, 0, 1, 2026-07-08 09:45:29, 485), (578, 2025-12-06 16:55:34, 6933fd96baa95893c495f29f, 2073, 115, 708, -1, 0, 1, 2026-07-08 09:45:33, 485), (578, 2025-12-08 20:18:01, 6936d008baa95893c495f341, 2086, 115, 708, -1, 0, 1, 2026-07-08 09:45:33, 485), (578, 2025-12-08 20:30:45, 6936d304baa95893c495f35b, 2087, 115, 708, -1, 0, 1, 2026-07-08 09:45:33, 485), (104, 2025-12-09 10:51:07, 69379caabaa95893c495f392, 2093, 115, 624, -1, 0, 22, 2026-07-08 07:01:03, 248), (578, 2025-12-30 14:27:53, 69537ef8baa95893c49606d0, 2290, 115, 708, -1, 0, 1, 2026-07-08 09:45:33, 485), (578, 2025-12-30 15:15:58, 69538a3ebaa95893c496077f, 2291, 115, 708, -1, 0, 1, 2026-07-08 09:45:33, 485), (104, 2026-01-16 10:25:32, 6969afac675ec4178d305a51, 2394, 115, 624, -1, 0, 22, 2026-07-08 08:11:00, 248), (732, 2026-01-22 15:14:21, 6971dc5d675ec4178d30882e, 2719, 115, 624, -1, 0, 22, 2026-07-08 08:11:00, 248), (104, 2026-03-03 09:55:30, 69a64da29a173b5417bc5bc9, 3443, 115, 624, 0.38, 0, 22, 2026-07-08 08:11:00, 248), (104, 2026-03-03 11:01:55, 69a65d339a173b5417bc5d02, 3444, 115, 624, 0.75, 0, 22, 2026-07-08 08:11:00, 248), (104, 2026-03-03 14:33:35, 69a68ecf9a173b5417bc5fa4, 3445, 115, 624, 3.25, 0, 22, 2026-07-08 08:11:00, 248), (104, 2026-03-05 09:47:51, 69a8eed69a173b5417bc6e9b, 3451, 115, 624, -1, 0, 22, 2026-07-08 08:11:00, 248), (104, 2026-03-09 17:13:38, 69ae9d522439c467a5e03425, 3499, 115, 624, 0.25, 0, 22, 2026-07-08 08:11:00, 248), (104, 2026-03-09 17:23:50, 69ae9fb62439c467a5e034de, 3500, 115, 624, -1, 0, 22, 2026-07-08 08:11:00, 248), (885, 2026-03-16 09:22:23, 69b7695e685c01e44111b0eb, 3596, 115, 715, 0, 1, 22, 2026-07-08 09:25:11, 248), (842, 2026-03-30 11:16:00, 69c9f9008a56d754fba5841b, 3677, 115, 715, -1, 0, 22, 2026-07-08 09:25:29, 248), (842, 2026-03-30 11:17:52, 69c9f96f8a56d754fba5843c, 3678, 115, 715, -1, 0, 22, 2026-07-08 09:25:29, 248), (842, 2026-03-30 11:22:28, 69c9fa848a56d754fba58474, 3679, 115, 715, -1, 0, 22, 2026-07-08 09:25:29, 248), (842, 2026-03-30 11:24:15, 69c9faef8a56d754fba584c4, 3680, 115, 715, -1, 0, 22, 2026-07-08 09:25:29, 248), (842, 2026-03-30 15:20:34, 69ca32528a56d754fba58860, 3689, 115, 715, -1, 0, 22, 2026-07-08 09:25:29, 248), (842, 2026-03-30 15:55:55, 69ca3a9a8a56d754fba5888c, 3690, 115, 715, -1, 0, 1, 2026-07-08 09:45:31, 485), (842, 2026-03-30 16:01:10, 69ca3bd68a56d754fba588e4, 3691, 115, 715, -1, 0, 1, 2026-07-08 09:45:31, 485), (842, 2026-03-30 16:08:28, 69ca3d8c8a56d754fba58999, 3692, 115, 715, -1, 0, 1, 2026-07-08 09:45:31, 485), (842, 2026-03-30 16:10:20, 69ca3dfb8a56d754fba58a43, 3693, 115, 715, -1, 0, 1, 2026-07-08 09:45:31, 485), (842, 2026-03-30 16:12:13, 69ca3e6d8a56d754fba58aab, 3694, 115, 715, -1, 0, 1, 2026-07-08 09:45:31, 485), (842, 2026-03-30 16:14:31, 69ca3ef68a56d754fba58b05, 3695, 115, 715, -1, 0, 1, 2026-07-08 09:45:31, 485), (842, 2026-03-30 16:19:33, 69ca40248a56d754fba58b39, 3696, 115, 715, -1, 0, 1, 2026-07-08 09:45:31, 485), (842, 2026-03-30 16:20:06, 69ca40458a56d754fba58b62, 3697, 115, 715, -1, 0, 1, 2026-07-08 09:45:31, 485), (842, 2026-03-30 16:28:33, 69ca42418a56d754fba58c54, 3698, 115, 715, -1, 0, 1, 2026-07-08 09:45:31, 485), (842, 2026-03-30 16:29:11, 69ca42678a56d754fba58c95, 3699, 115, 715, -1, 0, 1, 2026-07-08 09:45:31, 485), (979, 2026-04-03 10:10:52, 69cf2fbcc84b1f9d1392a042, 3716, 115, 774, 7.5, 1, 22, 2026-07-08 03:32:25, 248), (842, 2026-05-07 14:54:15, 69fc4527bc148329f36f733c, 3824, 115, 715, 0, 0, 22, 2026-07-08 09:25:29, 248), (4847, 2026-05-11 15:52:51, 6a0198e343a3e524ae9d2702, 3887, 115, 774, 0.5, 1, 22, 2026-07-08 03:32:25, 248), (841, 2026-05-12 11:50:56, 6a02b1b0622d75dd64ed19d4, 3899, 115, 712, -1, 0, 22, 2026-07-08 10:28:47, 248), (578, 2026-05-13 15:52:43, 6a043bdbcc050f18fdc9487e, 3906, 115, 708, -1, 0, 1, 2026-07-08 09:45:33, 485), (578, 2026-05-14 10:35:57, 6a05431dcc050f18fdc94ab0, 3908, 115, 708, -1, 0, 1, 2026-07-08 09:45:33, 485), (569, 2026-05-21 08:59:43, 6a0e670e0cb836333e77464b, 3950, 115, 712, 0.2, 1, 22, 2026-07-08 10:28:47, 248), (569, 2026-05-21 09:00:54, 6a0e67560cb836333e774b0c, 3951, 115, 712, 0.2, 1, 22, 2026-07-08 10:28:47, 248), (569, 2026-05-21 09:01:54, 6a0e67920cb836333e774d26, 3952, 115, 712, -1, 0, 22, 2026-07-08 10:28:47, 248), (569, 2026-05-21 09:12:12, 6a0e69fc0cb836333e774d68, 3953, 115, 712, 0.2, 1, 22, 2026-07-08 10:28:47, 248), (569, 2026-05-28 12:42:26, 6a17d5c20cb836333e77575e, 3969, 115, 712, 0.1, 1, 22, 2026-07-08 10:28:47, 248), (569, 2026-05-28 12:47:26, 6a17d6ed0cb836333e77589f, 3970, 115, 712, -1, 0, 22, 2026-07-08 10:28:47, 248), (569, 2026-05-29 09:13:11, 6a18f6360cb836333e775cea, 3982, 115, 712, -1, 0, 22, 2026-07-08 10:28:47, 248), (4938, 2026-06-12 09:51:28, 6a2b74300cb836333e7766dd, 4063, 115, 715, 0, 1, 22, 2026-07-08 09:25:29, 248), (4938, 2026-06-12 10:14:25, 6a2b79910cb836333e7768e8, 4067, 115, 715, 1, 1, 22, 2026-07-08 09:25:29, 248), (841, 2026-06-15 10:43:20, 6a2f74d70cb836333e776a5b, 4077, 115, 712, -1, 0, 22, 2026-07-08 10:28:47, 248), (841, 2026-06-15 10:49:30, 6a2f764a0cb836333e776a73, 4078, 115, 712, -1, 0, 22, 2026-07-08 10:28:47, 248), (4995, 2026-06-17 10:10:48, 6a3272a8762f13a1d09ca2fb, 4091, 115, 713, -1, 0, 1, 2026-07-08 09:45:27, 485), (4995, 2026-06-17 10:11:18, 6a3272c6762f13a1d09ca329, 4092, 115, 713, 0.3, 1, 1, 2026-07-08 10:33:59, 485), (4995, 2026-06-17 10:12:22, 6a327306762f13a1d09ca357, 4093, 115, 713, 0.6, 1, 1, 2026-07-08 10:33:59, 485), (4995, 2026-06-17 10:12:47, 6a32731e762f13a1d09ca3a8, 4094, 115, 713, 0.3, 1, 1, 2026-07-08 10:33:59, 485), (4904, 2026-06-23 04:52:49, 6a3a1121762f13a1d09ca5fe, 4097, 115, 713, -1, 0, 1, 2026-07-08 10:33:59, 485), (569, 2026-06-25 10:00:30, 6a3cfc3d762f13a1d09ca823, 4111, 115, 712, -1, 0, 1, 2026-07-08 09:53:03, 485), (569, 2026-06-25 10:31:55, 6a3d039a762f13a1d09ca872, 4112, 115, 712, -1, 0, 1, 2026-07-08 09:53:03, 485), (570, 2026-06-25 10:36:14, 6a3d049e762f13a1d09ca89e, 4113, 115, 713, -1, 0, 1, 2026-07-08 10:33:59, 485), (569, 2026-06-25 10:41:11, 6a3d05c7762f13a1d09ca8dd, 4114, 115, 712, -1, 0, 1, 2026-07-08 09:53:03, 485), (570, 2026-06-25 10:44:15, 6a3d067f762f13a1d09ca917, 4115, 115, 713, -1, 0, 1, 2026-07-08 10:33:59, 485), (569, 2026-06-25 10:45:30, 6a3d06bd762f13a1d09ca958, 4117, 115, 712, -1, 0, 1, 2026-07-08 09:53:03, 485), (5014, 2026-06-25 10:49:26, 6a3d07b6762f13a1d09ca9ab, 4118, 115, 712, -1, 0, 1, 2026-07-08 09:53:03, 485), (5014, 2026-06-25 10:51:15, 6a3d0823762f13a1d09ca9e6, 4119, 115, 712, -1, 0, 1, 2026-07-08 09:53:03, 485), (5015, 2026-06-25 10:53:42, 6a3d08b676ca4dcafe1041e1, 4122, 115, 803, -1, 0, 1, 2026-07-08 09:48:47, 485), (5015, 2026-06-25 10:53:50, 6a3d08be76ca4dcafe1041f8, 4123, 115, 803, -1, 0, 1, 2026-07-08 09:48:47, 485), (5014, 2026-06-25 10:53:59, 6a3d08c7762f13a1d09caa07, 4124, 115, 712, -1, 0, 1, 2026-07-08 09:53:03, 485), (5014, 2026-06-25 10:54:18, 6a3d08da762f13a1d09caa1e, 4125, 115, 712, 0.1, 1, 1, 2026-07-08 09:53:03, 485), (4959, 2026-06-26 04:49:52, 6a3e04f076ca4dcafe10422a, 4126, 115, 803, -1, 0, 1, 2026-07-08 09:48:47, 485), (4959, 2026-06-26 04:51:34, 6a3e055676ca4dcafe104259, 4127, 115, 803, -1, 0, 1, 2026-07-08 09:48:47, 485), (4904, 2026-06-26 06:55:02, 6a3e2246762f13a1d09cab92, 4128, 115, 713, -1, 0, 1, 2026-07-08 10:33:59, 485), (4904, 2026-06-26 07:31:33, 6a3e2ad5762f13a1d09cabac, 4129, 115, 713, -1, 0, 1, 2026-07-08 10:33:59, 485), (4959, 2026-06-27 01:34:41, 6a3f28b076ca4dcafe104419, 4132, 115, 803, -1, 0, 1, 2026-07-08 09:48:47, 485), (4962, 2026-06-27 10:32:05, 6a3fa6a576ca4dcafe10451c, 4133, 115, 803, -1, 0, 1, 2026-07-08 09:48:47, 485), (5026, 2026-07-02 04:16:51, 6a45e63376ca4dcafe105694, 4157, 115, 803, -1, 0, 1, 2026-07-08 09:48:47, 485), (5030, 2026-07-02 07:30:31, 6a4613974b4812c9117bc551, 4158, 115, 803, -1, 0, 1, 2026-07-08 09:48:47, 485), (5030, 2026-07-02 07:30:53, 6a4613ad4b4812c9117bc570, 4159, 115, 803, -1, 0, 1, 2026-07-08 09:48:47, 485), (979, 2026-07-02 08:39:02, 6a4623a5329132f350165bec, 4162, 115, 774, -1, 0, 22, 2026-07-08 03:32:25, 248), (979, 2026-07-02 08:39:20, 6a4623b7329132f350165c0b, 4163, 115, 774, 0.5, 0, 22, 2026-07-08 03:32:25, 248), (979, 2026-07-02 08:42:02, 6a46245a329132f350165cc2, 4164, 115, 774, 0.5, 0, 22, 2026-07-08 03:32:25, 248), (4904, 2026-07-02 09:45:39, 6a4633420402e7d001cd926b, 4169, 115, 713, 0.3, 1, 1, 2026-07-08 10:33:59, 485), (5033, 2026-07-03 04:07:53, 6a47359922728c6091718017, 4171, 115, 803, -1, 0, 1, 2026-07-08 09:48:47, 485), (569, 2026-07-03 10:12:15, 6a478aff0402e7d001cd935a, 4173, 115, 712, -1, 0, 1, 2026-07-08 09:53:03, 485), (569, 2026-07-03 10:16:12, 6a478bec0402e7d001cd939e, 4174, 115, 712, 1.5, 1, 1, 2026-07-08 09:53:03, 485), (979, 2026-07-06 08:53:59, 6a4b6d269e21417f40d7c6d0, 4176, 115, 774, 6.25, 1, 22, 2026-07-08 03:32:25, 248), (979, 2026-07-06 09:13:22, 6a4b71b29e21417f40d7c87c, 4177, 115, 774, 2.75, 0, 22, 2026-07-08 03:32:25, 248), (5092, 2026-07-07 09:03:33, 6a4cc0e59e21417f40d7cd2d, 4186, 115, 624, -1, 0, 22, 2026-07-08 08:11:00, 248), (5099, 2026-07-08 02:31:22, 6a4db67a729540c061b5b892, 4191, 115, 715, 2, 1, 22, 2026-07-08 09:25:29, 248), (979, 2026-07-08 03:07:23, 6a4dbeeab3e46676dd8b6142, 4193, 115, 774, 0.5, 0, 22, 2026-07-08 03:32:25, 248), (979, 2026-07-08 03:32:19, 6a4dc4c3b3e46676dd8b620e, 4194, 115, 774, -1, 0, 22, 2026-07-08 03:32:25, 248), (5092, 2026-07-08 07:01:22, 6a4df5c2b3e46676dd8b69cb, 4195, 115, 624, -1, 0, 22, 2026-07-08 08:11:00, 248), (5092, 2026-07-08 07:37:03, 6a4dfe1fb3e46676dd8b6b50, 4196, 115, 624, -1, 0, 1, 2026-07-08 08:12:26, 485), (5092, 2026-07-08 07:39:13, 6a4dfea1b3e46676dd8b6b7b, 4197, 115, 624, -1, 0, 1, 2026-07-08 08:12:26, 485), (5092, 2026-07-08 08:12:28, 6a4e066cb3e46676dd8b6ba2, 4198, 115, 624, -1, 0, 1, 2026-07-08 08:12:38, 485), (573, 2026-07-08 09:25:13, 6a4e1778729540c061b5b8eb, 4199, 115, 715, 1, 0, 22, 2026-07-08 09:25:29, 248), (4904, 2026-07-08 10:33:51, 6a4e278f729540c061b5ba16, 4200, 115, 713, 0.3, 1, 1, 2026-07-08 10:33:59, 485), (4962, 2026-07-08 10:34:24, 6a4e27b06146715219c0ffda, 4201, 115, 803, 1.5, 1, 1, 2026-07-08 10:34:57, 485) on duplicate key update `stusco_student_id` = values(`stusco_student_id`), `stusco_user_id` = values(`stusco_user_id`), `stusco_course_id` = values(`stusco_course_id`), `stusco_mock_contest_id` = values(`stusco_mock_contest_id`), `stusco_score_status` = values(`stusco_score_status`), `stusco_history_contest_id` = values(`stusco_history_contest_id`), `stusco_overall_score` = values(`stusco_overall_score`), `stusco_is_sync` = values(`stusco_is_sync`), `stusco_updated_at` = values(`stusco_updated_at`)) | Mirror lcms_user_assignments lỗi: SQLSTATE[HY000] [1049] Unknown database 'ZEUS_speakup' (Connection: zeus, SQL: insert into `lcms_user_assignments` (`usrasi_completion_state`, `usrasi_completion_time`, `usrasi_course_id`, `usrasi_created_at`, `usrasi_id`, `usrasi_is_cron`, `usrasi_is_sync`, `usrasi_payload_data`, `usrasi_response_data`, `usrasi_section_id`, `usrasi_student_id`, `usrasi_updated_at`, `usrasi_zeus_id`) values (0, 2026-07-07 23:00:17, 888, 2026-07-07 16:00:27, 145, 0, 115, {\"course_id\": \"170\", \"section_id\": \"940\", \"tenant_key\": \"VWvi4u56mb\", \"zeus_user_id\": 271, \"x_tenant_code\": \"ICC\", \"completion_time\": \"2026-07-07 23:00:17\"}, {\"course\": {\"id\": 170, \"name\": \"🏆Easy IELTS 25 - Foundation\"}, \"section\": {\"id\": 940, \"name\": \"Giữa kỳ lần 1\"}}, 899, 23, 2026-07-07 16:00:30, 271) on duplicate key update `usrasi_course_id` = values(`usrasi_course_id`), `usrasi_section_id` = values(`usrasi_section_id`), `usrasi_zeus_id` = values(`usrasi_zeus_id`), `usrasi_student_id` = values(`usrasi_student_id`), `usrasi_completion_time` = values(`usrasi_completion_time`), `usrasi_completion_state` = values(`usrasi_completion_state`), `usrasi_payload_data` = values(`usrasi_payload_data`), `usrasi_response_data` = values(`usrasi_response_data`), `usrasi_is_cron` = values(`usrasi_is_cron`), `usrasi_is_sync` = values(`usrasi_is_sync`), `usrasi_updated_at` = values(`usrasi_updated_at`))"
        }
    }
}
