[16064] Ошибка формирования отчета

Версия ЛЭРС УЧЁТ: 3.61.4
Сервер БД: SQL Server

Обновились до 3.61.4
При попытке формирования отчетов стала возникать ошибка:

Ошибка выполнения запроса POST http://lers.xxx.ru/api/v0.1/Reporting/FastReport/Preview.
The type initializer for ‘FastReport.Report’ threw an exception. The type initializer for ‘Gdip’ threw an exception. Unable to load shared library ‘libgdiplus’ or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you’re using glibc, consider setting the LD_DEBUG environment variable:
/usr/LERS/Server/runtimes/linux-x64/native/libgdiplus.so: cannot open shared object file: No such file or directory
/usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.16/libgdiplus.so: cannot open shared object file: No such file or directory
/usr/LERS/Server/runtimes/unix/lib/netcoreapp3.0/libgdiplus.so: cannot open shared object file: No such file or directory
/usr/LERS/Server/runtimes/linux-x64/native/liblibgdiplus.so: cannot open shared object file: No such file or directory
/usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.16/liblibgdiplus.so: cannot open shared object file: No such file or directory
/usr/LERS/Server/runtimes/unix/lib/netcoreapp3.0/liblibgdiplus.so: cannot open shared object file: No such file or directory
/usr/LERS/Server/runtimes/linux-x64/native/libgdiplus: cannot open shared object file: No such file or directory
/usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.16/libgdiplus: cannot open shared object file: No such file or directory
/usr/LERS/Server/runtimes/unix/lib/netcoreapp3.0/libgdiplus: cannot open shared object file: No such file or directory
/usr/LERS/Server/runtimes/linux-x64/native/liblibgdiplus: cannot open shared object file: No such file or directory
/usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.16/liblibgdiplus: cannot open shared object file: No such file or directory
/usr/LERS/Server/runtimes/unix/lib/netcoreapp3.0/liblibgdiplus: cannot open shared object file: No such file or directory
Разработчикам отправлен отчёт об ошибке.

Для сервера используем image - lersamr/full-r:3.61.4

Проблема решается через Dockerfile:

FROM lersamr/full-r:3.61.4
RUN apt install -y libgdiplus; apt clean all

Спасибо за обращение! Мы поставили в план работ исправление данной ошибки. Как только она будет исправлена, обязательно сообщим в каком обновлении будет доступно исправление.

Если ситуацию необходимо обойти на уже развернутом контейнере, можно вышеописанную команду установки недостающей библиотеки “libgdiplus” запустить внутри запущенного контейнера. Для этого нужно выполнить команду запуска терминала внутри контейнера:

docker exec -it lers-lers-1 sh

где lers-lers-1 эти имя вашего контейнера сборки ЛЭРС-Р. После этого в запущенном терминале контейнера выполнить команду установки библиотеки:

Мы опубликовали docker-образ текущей версии 3.61.4 с необходимыми изменениями. Попробуйте обновиться.