FIS GIA · админ‑панель

Задача ee8350f09ee217ef

Организация (college_code)
PK11
Код приёмной кампании
2026
Команда
import_applications
Загрузить заявления из Профтеха (cron :00)
Контур
PROD
Год приёмной кампании
2026
Дата приказов
2026-07-07
Статус
error
PID
2096990
Создана
2026-07-07T14:01:33+00:00
Старт
2026-07-07T14:01:33+00:00
Финиш
2026-07-07T14:01:34+00:00
Скрипт завершился с кодом 1

Лог

2026-07-07 14:01:33 [job_runner] Starting script: /var/www/obg54.ru/FIS/legacy/import_app.php
2026-07-07 14:01:33 [job_runner] Script exists: YES
2026-07-07 14:01:33 [job_runner] Script is readable: YES
2026-07-07 14:01:33 [job_runner] Args: ["PK11","2026"]
2026-07-07 14:01:33 [job_runner] Log file: /var/www/obg54.ru/FIS/src/../var/logs/job_ee8350f09ee217ef.log
2026-07-07 14:01:33 [job_runner] Log dir writable: YES
2026-07-07 14:01:33 [job_runner] PHP binary: /usr/bin/php8.5
2026-07-07 14:01:33 [job_runner] Working dir: /var/www/obg54.ru/FIS
2026-07-07 14:01:33 [job_runner] Project root: /var/www/obg54.ru/FIS
2026-07-07 14:01:33 [job_runner] Script absolute path: /var/www/obg54.ru/FIS/legacy/import_app.php
2026-07-07 14:01:33 [job_runner] Executing via proc_open
2026-07-07 14:01:33 [job_runner] Cmd args: ["\/usr\/bin\/php8.5","\/var\/www\/obg54.ru\/FIS\/legacy\/import_app.php","PK11","2026"]
2026-07-07 14:01:33 [job_runner] Current working dir: /var/www/obg54.ru/FIS
2026-07-07 14:01:33 [job_runner] Log file absolute: /var/www/obg54.ru/FIS/var/logs/job_ee8350f09ee217ef.log
=== Запуск import_app.php для college_code=PK11 ===
[INFO] campaign_year=2026
[INFO] existing fast-path: статус из /search; детали API только при изменении
[OK] Подключено к БД
[OK] organization_id=6
[INFO] Используем learningYearId=1002678188
[OK] API token загружен
[OK] Загрузка конкурсного маппинга за 2026 закончена (30 кодов специальностей)
[OK] Загрузка маппинга стран из таблицы country_mapping закончена
[OK] Подготовлены upsert-запросы для applications, application_achievements и application_exam_results
[OK] Подготовлено обновление новых полей applications: applicant_id, application_status_code, application_status_label, status_change_date, type_code, type_label, source_code, source_label, registration_datetime, original_document, average_mark, entrance_exam, archiving_reason, doc_education_is_in_moscow, is_possible_archive, registration_place, contact_phone, contact_email, interagency_status_id, interagency_status_label, interagency_status_name, rkl_check_status_code, rkl_check_status_label, doc_education_issue, gia_sum_score, gia_average_mark, gia_type, gia_count, priority, category, reason, service_number, student_status_code, order_id, order_number, order_date, order_status, order_type, interagency_check_stage_code, interagency_check_stage_label, priority_benefit_code, priority_benefit_label, has_guardian, note, note_mcrpo, data_modified_status, application_priority, learning_year_id, graduation_year, stud_profession_id
[OK] Подготовлено частичное обновление существующих заявлений: status_fis, application_status_code, application_status_label, status_change_date, student_status_code, order_id, order_number, order_date, order_status, order_type
[OK] Подготовлена повторная постановка в очередь выгрузки в ФИС (fis_gia_* = 'new')

-- Запрос страницы 0 заявок …
[ERROR] Профтех API POST /search: HTTP 401, некорректный JSON (Syntax error)
[IMPORT_ERROR] {"college_code":"PK11","organization_name":"Колледж предпринимательства","campaign_year":2026,"message":"Профтех API POST /search: HTTP 401, некорректный JSON (Syntax error)","http_code":401}
2026-07-07 14:01:34 [job_runner] Command executed, exit code: 1
2026-07-07 14:01:34 [job_runner] Log file size after execution: 3583 bytes
2026-07-07 14:01:34 [job_runner] Script finished with exit code: 1
2026-07-07 14:01:34 [job_runner] Max оповещение об ошибке импорта отправлено