et-nik / gameap

Game Admin Panel (GameAP) is the opensource game servers control panel.
https://gameap.com
99 stars 22 forks source link

Задачи GameAP Daemon перестали запускаться. В GUI (popup) предупреждение о зависании + в самой задаче (тоже в GUI) пустая консоль с статусом waiting #85

Open Marcelas751 opened 2 years ago

Marcelas751 commented 2 years ago

В логах в свою очередь вижу следующее time="2022-07-10T20:09:19+03:00" level=error msg="parsing time \"2022-07-01T21:23:25.000000Z\" as \"2006-01-02 15:04:05\": cannot parse \"T21:23:25.000000Z\" as \" \"" gameServerID=2 service="servers loop"

Marcelas751 commented 2 years ago

Ubuntu 20.04(apache2+php)

Marcelas751 commented 2 years ago

Оставлю здесь. Вдруг поможет

/webpanel# grep -rnw "2006-01-02 15:04:05" ./*
./tests/Unit/Controllers/GdaemonAPI/ServersControllerTest.php:92:            'last_process_check' => '2006-01-02 15:04:05',
./tests/Unit/Controllers/GdaemonAPI/ServersControllerTest.php:102:            'last_process_check' => '2006-01-02 15:04:05'
./tests/Unit/Controllers/GdaemonAPI/ServersControllerTest.php:116:                'last_process_check' => '2006-01-02 15:04:05',
./tests/Unit/Controllers/GdaemonAPI/ServersControllerTest.php:127:            'last_process_check' => '2006-01-02 15:04:05'
Marcelas751 commented 2 years ago
time="2022-07-10T20:56:04+03:00" level=error msg="[repositories.GDTaskRepository] failed to join server to gameap daemon task: parsing time \"2022-07-01T21:23:25.000000Z\" as \"2006-01-02 15:04:05\": cannot parse \"T21:23:25.000000Z\" as \" \"" service="gdtask scheduler"
time="2022-07-10T20:56:05+03:00" level=debug msg="api request" requestURL="https://berkutbot.tk/gdaemon_api/tasks?append=status_num&filter%5Bstatus%5D=waiting" responseStatus=200 service="gdtask scheduler"
Marcelas751 commented 2 years ago

таблица servers. Поле last_process_check. Он сам вносит туда значение (демон) а потом не может распарсить

et-nik commented 1 year ago

Исправил в новой версии. Обнови панель и gameap-daemon