Приложение Protect на моём UDM Pro не запускается. Использую актуальные версии прошивки и прочего.
Версия UniFi OS 1.10.4.
Похоже, что оно застряло в цикле перезапуска. Вот что выдаёт команда journalctl -u unifi-protect.service — это повторяется снова и снова:
Oct 24 09:42:57 ubnt systemd[1]: Не удалось запустить UniFi Protect.
Oct 24 09:43:02 ubnt systemd[1]: unifi-protect.service: истёк интервал RestartSec=5s, планируется перезапуск.
Oct 24 09:43:02 ubnt systemd[1]: unifi-protect.service: Запланирована задача перезапуска, счётчик попыток: 2.
Oct 24 09:43:02 ubnt systemd[1]: Остановлен UniFi Protect.
Oct 24 09:43:02 ubnt systemd[1]: Запуск UniFi Protect...
Oct 24 09:43:02 ubnt pre-start[3631]: su: Ошибка аутентификации
Oct 24 09:43:02 ubnt pre-start[3631]: (Игнорируется)
Oct 24 09:43:02 ubnt su[3632]: Успешный su для postgres от root
Oct 24 09:43:02 ubnt su[3632]: + ??? root:postgres
Oct 24 09:43:02 ubnt su[3632]: pam_unix(su:session): сессия открыта для пользователя postgres от (uid=0)
Oct 24 09:43:02 ubnt pre-start[3631]: createuser: создание новой роли не удалось: ОШИБКА: роль "unifi-protect" уже существует
Oct 24 09:43:02 ubnt su[3632]: pam_unix(su:session): сессия закрыта для пользователя postgres
Oct 24 09:43:08 ubnt node[3657]: ЗАГРУЖЕНА КОНФИГУРАЦИЯ: /usr/share/unifi-protect/app/config/config.json
Oct 24 09:43:08 ubnt node[3657]: Используется сертификат unifi core
Oct 24 09:43:08 ubnt node[3657]: { crt: '/data/unifi-core/config/unifi-core.crt',
Oct 24 09:43:08 ubnt node[3657]: key: '/data/unifi-core/config/unifi-core.key',
Oct 24 09:43:08 ubnt node[3657]: deviceCrt: '/srv/unifi-protect/data/devices.crt',
Oct 24 09:43:08 ubnt node[3657]: deviceKey: '/srv/unifi-protect/data/devices.key' }
Oct 24 09:43:12 ubnt node[3657]: Sat, 23 Oct 2021 22:43:12 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at at app/node_modules/sequelize/lib/sequelize.js:245:13
Oct 24 09:43:18 ubnt systemd[1]: unifi-protect.service: Основной процесс завершился с кодом выхода 1/ОШИБКА
Oct 24 09:43:19 ubnt systemd[1]: unifi-protect.service: Завершился с результатом 'exit-code'.
Oct 24 09:43:19 ubnt systemd[1]: Не удалось запустить UniFi Protect.
Пробовал перезапускать и прочее — без толку.
Версия UniFi OS 1.10.4.
Похоже, что оно застряло в цикле перезапуска. Вот что выдаёт команда journalctl -u unifi-protect.service — это повторяется снова и снова:
Oct 24 09:42:57 ubnt systemd[1]: Не удалось запустить UniFi Protect.
Oct 24 09:43:02 ubnt systemd[1]: unifi-protect.service: истёк интервал RestartSec=5s, планируется перезапуск.
Oct 24 09:43:02 ubnt systemd[1]: unifi-protect.service: Запланирована задача перезапуска, счётчик попыток: 2.
Oct 24 09:43:02 ubnt systemd[1]: Остановлен UniFi Protect.
Oct 24 09:43:02 ubnt systemd[1]: Запуск UniFi Protect...
Oct 24 09:43:02 ubnt pre-start[3631]: su: Ошибка аутентификации
Oct 24 09:43:02 ubnt pre-start[3631]: (Игнорируется)
Oct 24 09:43:02 ubnt su[3632]: Успешный su для postgres от root
Oct 24 09:43:02 ubnt su[3632]: + ??? root:postgres
Oct 24 09:43:02 ubnt su[3632]: pam_unix(su:session): сессия открыта для пользователя postgres от (uid=0)
Oct 24 09:43:02 ubnt pre-start[3631]: createuser: создание новой роли не удалось: ОШИБКА: роль "unifi-protect" уже существует
Oct 24 09:43:02 ubnt su[3632]: pam_unix(su:session): сессия закрыта для пользователя postgres
Oct 24 09:43:08 ubnt node[3657]: ЗАГРУЖЕНА КОНФИГУРАЦИЯ: /usr/share/unifi-protect/app/config/config.json
Oct 24 09:43:08 ubnt node[3657]: Используется сертификат unifi core
Oct 24 09:43:08 ubnt node[3657]: { crt: '/data/unifi-core/config/unifi-core.crt',
Oct 24 09:43:08 ubnt node[3657]: key: '/data/unifi-core/config/unifi-core.key',
Oct 24 09:43:08 ubnt node[3657]: deviceCrt: '/srv/unifi-protect/data/devices.crt',
Oct 24 09:43:08 ubnt node[3657]: deviceKey: '/srv/unifi-protect/data/devices.key' }
Oct 24 09:43:12 ubnt node[3657]: Sat, 23 Oct 2021 22:43:12 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at at app/node_modules/sequelize/lib/sequelize.js:245:13
Oct 24 09:43:18 ubnt systemd[1]: unifi-protect.service: Основной процесс завершился с кодом выхода 1/ОШИБКА
Oct 24 09:43:19 ubnt systemd[1]: unifi-protect.service: Завершился с результатом 'exit-code'.
Oct 24 09:43:19 ubnt systemd[1]: Не удалось запустить UniFi Protect.
Пробовал перезапускать и прочее — без толку.
