ONLYOFFICE / Docker-Docs

ONLYOFFICE Docs is an online office suite comprising viewers and editors for texts, spreadsheets and presentations and enabling collaborative editing in real time. The suite provides maximum compatibility with Office Open XML formats: .docx, .xlsx, .pptx.
GNU Affero General Public License v3.0
14 stars 17 forks source link

Build of converter image failed #74

Closed ydelattre closed 1 year ago

ydelattre commented 1 year ago

Hi,

I followed the instruction on the README but the attempt to build converter image failed :

[+] Building 272.0s (10/23)
[+] Building 383.8s (21/23)
 => [internal] load build definition from Dockerfile                                                                                                                                                                                   0.0s
 => => transferring dockerfile: 32B                                                                                                                                                                                                    0.0s
 => [internal] load .dockerignore                                                                                                                                                                                                      0.0s
 => => transferring context: 2B                                                                                                                                                                                                        0.0s
 => [internal] load metadata for docker.io/library/amazonlinux:2                                                                                                                                                                     122.1s
 => [internal] load build context                                                                                                                                                                                                      0.0s
 => => transferring context: 3.44kB                                                                                                                                                                                                    0.0s
 => [ds-base 1/2] FROM docker.io/library/amazonlinux:2@sha256:66d22a2b8749283aa0764e6983fbb8bf8c143511cf16c9773598acca2a1cd6d2                                                                                                         0.0s
 => CACHED [ds-base 2/2] RUN yum install sudo -y &&     yum install shadow-utils -y &&     amazon-linux-extras install epel -y &&     yum install procps-ng tar -y &&     groupadd --system --gid 101 ds &&     useradd --system -g d  0.0s
 => CACHED [ds-service 1/5] RUN useradd --no-create-home --shell /sbin/nologin nginx &&     yum -y updateinfo &&     yum -y install cabextract fontconfig xorg-x11-font-utils xorg-x11-server-utils &&     rpm -i https://downloads.s  0.0s
 => CACHED [ds-service 2/5] COPY --chown=ds:ds     config/nginx/includes/http-common.conf     config/nginx/includes/http-upstream.conf     /etc/onlyoffice/documentserver/nginx/includes/                                              0.0s
 => CACHED [ds-service 3/5] COPY --chown=ds:ds     fonts/     /var/www/onlyoffice/documentserver/core-fonts/custom/                                                                                                                    0.0s
 => CACHED [ds-service 4/5] COPY --chown=ds:ds     plugins/     /var/www/onlyoffice/documentserver/sdkjs-plugins/                                                                                                                      0.0s
 => [ds-service 5/5] RUN documentserver-generate-allfonts.sh true                                                                                                                                                                    253.3s
 => CACHED [converter  1/12] COPY --from=ds-service     /etc/onlyoffice/documentserver/default.json     /etc/onlyoffice/documentserver/production-linux.json     /etc/onlyoffice/documentserver/                                       0.0s
 => CACHED [converter  2/12] COPY --from=ds-service --chown=ds:ds     /etc/onlyoffice/documentserver/log4js/production.json     /etc/onlyoffice/documentserver/log4js/                                                                 0.0s
 => CACHED [converter  3/12] COPY --from=ds-service     /var/www/onlyoffice/documentserver/core-fonts     /var/www/onlyoffice/documentserver/core-fonts                                                                                0.0s
 => CACHED [converter  4/12] COPY --from=ds-service     /var/www/onlyoffice/documentserver/fonts     /var/www/onlyoffice/documentserver/fonts                                                                                          0.0s
 => CACHED [converter  5/12] COPY --from=ds-service     /usr/share/fonts     /usr/share/fonts                                                                                                                                          0.0s
 => CACHED [converter  6/12] COPY --from=ds-service     /var/www/onlyoffice/documentserver/sdkjs     /var/www/onlyoffice/documentserver/sdkjs                                                                                          0.0s
 => CACHED [converter  7/12] COPY --from=ds-service     /var/www/onlyoffice/documentserver/server/FileConverter     /var/www/onlyoffice/documentserver/server/FileConverter                                                            0.0s
 => CACHED [converter  8/12] COPY --from=ds-service     /var/www/onlyoffice/documentserver/web-apps     /var/www/onlyoffice/documentserver/web-apps                                                                                    0.0s
 => CACHED [converter  9/12] COPY --from=ds-service     /var/www/onlyoffice/documentserver/document-templates/new     /var/www/onlyoffice/documentserver/document-templates/new                                                        0.0s
 => ERROR [converter 10/12] COPY --from=ds-service     /usr/lib64/libgraphics.so     /usr/lib64/libdoctrenderer.so     /usr/lib64/libkernel.so     /usr/lib64/libkernel_network.so     /usr/lib64/libicudata.so.58     /usr/lib64/lib  0.0s
------
 > [converter 10/12] COPY --from=ds-service     /usr/lib64/libgraphics.so     /usr/lib64/libdoctrenderer.so     /usr/lib64/libkernel.so     /usr/lib64/libkernel_network.so     /usr/lib64/libicudata.so.58     /usr/lib64/libicuuc.so.58     /usr/lib64/libDjVuFile.so     /usr/lib64/libEpubFile.so     /usr/lib64/libFb2File.so     /usr/lib64/libPdfReader.so     /usr/lib64/libPdfWriter.so     /usr/lib64/libHtmlFile2.so     /usr/lib64/libHtmlRenderer.so     /usr/lib64/libUnicodeConverter.so     /usr/lib64/libXpsFile.so     /usr/lib64/libDocxRenderer.so     /usr/lib64/:
------
failed to solve: failed to compute cache key: "/usr/lib64/libPdfReader.so" not found: not found

Docker version : 20.10.21

Thanks for your help. Yoann.

GeorgeONLYOFFICE commented 1 year ago

Hello, please don't use 7.3.0 version for now, as there are currently issues which we are aware of. We will fix all issues with the upcoming release of version 7.3.2. For now, please specify the build version 7.2.2.

ydelattre commented 1 year ago

Hello,

In deed, i tried 7.2.2 version and build is successful. Thanks !

Regards. Yoann.