[GH-ISSUE #799] Unable to docker compose #373

Closed
opened 2026-02-26 10:32:13 +03:00 by kerem · 9 comments
Owner

Originally created by @RampantDespair on GitHub (Mar 23, 2025).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/799

Originally assigned to: @igwyd on GitHub.

Hey there,

After cloning this repository and running docker compose up -d, I get the following error:

env: ‘/etc/init.d/supervisor’: No such file or directory

However the file does exist in the project itself:
https://github.com/ONLYOFFICE/Docker-DocumentServer/blob/master/config/supervisor/supervisor

And the file does seem to be copied:
github.com/ONLYOFFICE/Docker-DocumentServer@9c2012b534/Dockerfile (L98)

Has anyone faced this problem before?

Originally created by @RampantDespair on GitHub (Mar 23, 2025). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/799 Originally assigned to: @igwyd on GitHub. Hey there, After cloning this repository and running `docker compose up -d`, I get the following error: ``` env: ‘/etc/init.d/supervisor’: No such file or directory ``` However the file does exist in the project itself: https://github.com/ONLYOFFICE/Docker-DocumentServer/blob/master/config/supervisor/supervisor And the file does seem to be copied: https://github.com/ONLYOFFICE/Docker-DocumentServer/blob/9c2012b5347e86b0be53c1bf01763dc01735a582/Dockerfile#L98 Has anyone faced this problem before?
kerem closed this issue 2026-02-26 10:32:13 +03:00
Author
Owner

@igwyd commented on GitHub (Mar 24, 2025):

Hello @RampantDespair, maybe it's because of your environment, on my test Ubunutu 22.04 and docker from official guide no issues.

<!-- gh-comment-id:2747815191 --> @igwyd commented on GitHub (Mar 24, 2025): Hello @RampantDespair, maybe it's because of your environment, on my test Ubunutu 22.04 and docker from [official guide](https://docs.docker.com/engine/install/ubuntu/) no issues.
Author
Owner

@madukan commented on GitHub (Mar 30, 2025):

Same with MacOS, unable to get it to run with the supplied docker-compose for some reason.

Server looks like is happy and running, but not accessible via the http://localhost:80 nor https://localhost:443.

Couldn't find obvious issues. I tried both individual server run and also with docker-compose. Attached is a Zip file containing both configurations. I also tried just cloning this repo and running docker-compose from there. Looks successful, but inaccessible (followed the OnlyOffice Docker documentation).

ComposeAndSelfRunShell.zip

<!-- gh-comment-id:2764381025 --> @madukan commented on GitHub (Mar 30, 2025): Same with MacOS, unable to get it to run with the supplied docker-compose for some reason. Server looks like is happy and running, but not accessible via the http://localhost:80 nor https://localhost:443. Couldn't find obvious issues. I tried both individual server run and also with docker-compose. Attached is a Zip file containing both configurations. I also tried just cloning this repo and running docker-compose from there. Looks successful, but inaccessible (followed the OnlyOffice Docker documentation). [ComposeAndSelfRunShell.zip](https://github.com/user-attachments/files/19524231/ComposeAndSelfRunShell.zip)
Author
Owner

@RampantDespair commented on GitHub (Mar 30, 2025):

@igwyd
Completely forgot to answer this, but when you say environment do you mean the actual host and not the container?

<!-- gh-comment-id:2764642441 --> @RampantDespair commented on GitHub (Mar 30, 2025): @igwyd Completely forgot to answer this, but when you say environment do you mean the actual host and not the container?
Author
Owner

@erenirmak commented on GitHub (Apr 12, 2025):

I received the same error. Here is the full message:

  • [onlyoffice-documentserver 2/7] RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && apt-get -y update && apt-get -yq i 422.4s
  • [onlyoffice-documentserver 3/7] COPY config/supervisor/supervisor /etc/init.d/ 0.1s
  • [onlyoffice-documentserver 4/7] COPY config/supervisor/ds/*.conf /etc/supervisor/conf.d/ 0.0s
  • [onlyoffice-documentserver 5/7] COPY run-document-server.sh /app/ds/run-document-server.sh 0.0s
  • [onlyoffice-documentserver 6/7] COPY oracle/sqlplus /usr/bin/sqlplus 0.0s
  • ERROR [onlyoffice-documentserver 7/7] RUN PACKAGE_FILE="onlyoffice-documentserver_amd64.deb" && wget -q -P /tmp "http://downlo 516.0s

  • [onlyoffice-documentserver 7/7] RUN PACKAGE_FILE="onlyoffice-documentserver_amd64.deb" && wget -q -P /tmp "http://download.onlyoffice.com/install/documentserver/linux/$PACKAGE_FILE" && apt-get -y update && service postgresql start && apt-get -yq install /tmp/$PACKAGE_FILE && service postgresql stop && chmod 755 /etc/init.d/supervisor && sed "s/COMPANY_NAME/onlyoffice/g" -i /etc/supervisor/conf.d/.conf && service supervisor stop && chmod 755 /app/ds/.sh && printf "\nGO" >> "/var/www/onlyoffice/documentserver/server/schema/mssql/createdb.sql" && printf "\nGO" >> "/var/www/onlyoffice/documentserver/server/schema/mssql/removetbl.sql" && printf "\nexit" >> "/var/www/onlyoffice/documentserver/server/schema/oracle/createdb.sql" && printf "\nexit" >> "/var/www/onlyoffice/documentserver/server/schema/oracle/removetbl.sql" && rm -f /tmp/$PACKAGE_FILE && rm -rf /var/log/onlyoffice && rm -rf /var/lib/apt/lists/*:
    413.8 Get:1 http://archive.ubuntu.com/ubuntu noble InRelease [256 kB]
    414.3 Get:2 https://packages.microsoft.com/ubuntu/24.04/prod noble InRelease [3,600 B]
    414.4 Get:3 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 Packages [27.2 kB]
    414.4 Get:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
    414.5 Get:5 https://packages.microsoft.com/ubuntu/24.04/prod noble/main armhf Packages [7,913 B]
    414.5 Get:6 https://packages.microsoft.com/ubuntu/24.04/prod noble/main arm64 Packages [17.1 kB]
    414.5 Get:7 https://packages.microsoft.com/ubuntu/24.04/prod noble/main all Packages [576 B]
    414.5 Get:8 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
    414.6 Get:9 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
    414.7 Get:10 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages [331 kB]
    414.8 Get:11 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages [1,808 kB]
    416.1 Get:12 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages [19.3 MB]
    417.0 Get:13 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1,071 kB]
    419.1 Get:14 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [21.9 kB]
    419.1 Get:15 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [934 kB]
    421.1 Get:16 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [1,088 kB]
    431.0 Get:17 http://archive.ubuntu.com/ubuntu noble/restricted amd64 Packages [117 kB]
    431.3 Get:18 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1,366 kB]
    431.7 Get:19 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1,258 kB]
    432.3 Get:20 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [26.4 kB]
    432.3 Get:21 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [1,132 kB]
    433.2 Get:22 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [48.0 kB]
    433.2 Get:23 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [30.9 kB]
    436.9 Fetched 29.2 MB in 20s (1,481 kB/s)
    436.9 Reading package lists...
    438.1 * Starting PostgreSQL 16 database server
    440.4 ...done.
    440.4 Reading package lists...
    441.6 Building dependency tree...
    441.8 Reading state information...
    442.2 The following NEW packages will be installed:
    442.2 onlyoffice-documentserver
    447.7 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    447.7 Need to get 0 B/627 MB of archives.
    447.7 After this operation, 1,795 MB of additional disk space will be used.
    447.7 Get:1 /tmp/onlyoffice-documentserver_amd64.deb onlyoffice-documentserver amd64 8.3.2-19 [627 MB]
    449.0 Preconfiguring packages ...
    449.1 Selecting previously unselected package onlyoffice-documentserver.
    (Reading database ... 58259 files and directories currently installed.)
    449.1 Preparing to unpack .../onlyoffice-documentserver_amd64.deb ...
    449.1 Unpacking onlyoffice-documentserver (8.3.2-19) ...
    508.4 Setting up onlyoffice-documentserver (8.3.2-19) ...
    508.7 warn: The home directory /var/www/onlyoffice/documentserver' already exists. Not touching this directory. 508.7 warn: Warning: The home directory /var/www/onlyoffice/documentserver' does not belong to the user you are currently creating.
    511.6 error: <class 'FileNotFoundError'>, [Errno 2] No such file or directory: file: /usr/lib/python3/dist-packages/supervisor/xmlrpc.py line:
    557
    511.6 Congratulations, the ONLYOFFICE documentserver has been installed successfully!
    511.6 JWT is enabled by default. A random secret is generated automatically. Run the command '# documentserver-jwt-status.sh' to get information about JWT.
    511.6 Processing triggers for libc-bin (2.39-0ubuntu8.4) ...
    515.2 * Stopping PostgreSQL 16 database server
    515.3 ...done.
    515.3 env: ‘/etc/init.d/supervisor’: No such file or directory

failed to solve: process "/bin/sh -c PACKAGE_FILE="${COMPANY_NAME}-${PRODUCT_NAME}${PRODUCT_EDITION}${PACKAGE_VERSION:+$PACKAGE_VERSION}${TARGETARCH:-$(dpkg --print-architecture)}.deb" && wget -q -P /tmp "$PACKAGE_BASEURL/$PACKAGE_FILE" && apt-get -y update && service postgresql start && apt-get -yq install /tmp/$PACKAGE_FILE && service postgresql stop && chmod 755 /etc/init.d/supervisor && sed "s/COMPANY_NAME/${COMPANY_NAME}/g" -i /etc/supervisor/conf.d/.conf && service supervisor stop && chmod 755 /app/ds/.sh && printf "\nGO" >> "/var/www/$COMPANY_NAME/documentserver/server/schema/mssql/createdb.sql" && printf "\nGO" >> "/var/www/$COMPANY_NAME/documentserver/server/schema/mssql/removetbl.sql" && printf "\nexit" >> "/var/www/$COMPANY_NAME/documentserver/server/schema/oracle/createdb.sql" && printf "\nexit" >> "/var/www/$COMPANY_NAME/documentserver/server/schema/oracle/removetbl.sql" && rm -f /tmp/$PACKAGE_FILE && rm -rf /var/log/$COMPANY_NAME && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 127

<!-- gh-comment-id:2799014591 --> @erenirmak commented on GitHub (Apr 12, 2025): I received the same error. Here is the full message: - [onlyoffice-documentserver 2/7] RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && apt-get -y update && apt-get -yq i 422.4s - [onlyoffice-documentserver 3/7] COPY config/supervisor/supervisor /etc/init.d/ 0.1s - [onlyoffice-documentserver 4/7] COPY config/supervisor/ds/*.conf /etc/supervisor/conf.d/ 0.0s - [onlyoffice-documentserver 5/7] COPY run-document-server.sh /app/ds/run-document-server.sh 0.0s - [onlyoffice-documentserver 6/7] COPY oracle/sqlplus /usr/bin/sqlplus 0.0s - ERROR [onlyoffice-documentserver 7/7] RUN PACKAGE_FILE="onlyoffice-documentserver_amd64.deb" && wget -q -P /tmp "http://downlo 516.0s ------ - [onlyoffice-documentserver 7/7] RUN PACKAGE_FILE="onlyoffice-documentserver_amd64.deb" && wget -q -P /tmp "http://download.onlyoffice.com/install/documentserver/linux/$PACKAGE_FILE" && apt-get -y update && service postgresql start && apt-get -yq install /tmp/$PACKAGE_FILE && service postgresql stop && chmod 755 /etc/init.d/supervisor && sed "s/COMPANY_NAME/onlyoffice/g" -i /etc/supervisor/conf.d/*.conf && service supervisor stop && chmod 755 /app/ds/*.sh && printf "\nGO" >> "/var/www/onlyoffice/documentserver/server/schema/mssql/createdb.sql" && printf "\nGO" >> "/var/www/onlyoffice/documentserver/server/schema/mssql/removetbl.sql" && printf "\nexit" >> "/var/www/onlyoffice/documentserver/server/schema/oracle/createdb.sql" && printf "\nexit" >> "/var/www/onlyoffice/documentserver/server/schema/oracle/removetbl.sql" && rm -f /tmp/$PACKAGE_FILE && rm -rf /var/log/onlyoffice && rm -rf /var/lib/apt/lists/*: 413.8 Get:1 http://archive.ubuntu.com/ubuntu noble InRelease [256 kB] 414.3 Get:2 https://packages.microsoft.com/ubuntu/24.04/prod noble InRelease [3,600 B] 414.4 Get:3 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 Packages [27.2 kB] 414.4 Get:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB] 414.5 Get:5 https://packages.microsoft.com/ubuntu/24.04/prod noble/main armhf Packages [7,913 B] 414.5 Get:6 https://packages.microsoft.com/ubuntu/24.04/prod noble/main arm64 Packages [17.1 kB] 414.5 Get:7 https://packages.microsoft.com/ubuntu/24.04/prod noble/main all Packages [576 B] 414.5 Get:8 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB] 414.6 Get:9 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB] 414.7 Get:10 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages [331 kB] 414.8 Get:11 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages [1,808 kB] 416.1 Get:12 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages [19.3 MB] 417.0 Get:13 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1,071 kB] 419.1 Get:14 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [21.9 kB] 419.1 Get:15 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [934 kB] 421.1 Get:16 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [1,088 kB] 431.0 Get:17 http://archive.ubuntu.com/ubuntu noble/restricted amd64 Packages [117 kB] 431.3 Get:18 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1,366 kB] 431.7 Get:19 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1,258 kB] 432.3 Get:20 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [26.4 kB] 432.3 Get:21 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [1,132 kB] 433.2 Get:22 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [48.0 kB] 433.2 Get:23 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [30.9 kB] 436.9 Fetched 29.2 MB in 20s (1,481 kB/s) 436.9 Reading package lists... 438.1 * Starting PostgreSQL 16 database server 440.4 ...done. 440.4 Reading package lists... 441.6 Building dependency tree... 441.8 Reading state information... 442.2 The following NEW packages will be installed: 442.2 onlyoffice-documentserver 447.7 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 447.7 Need to get 0 B/627 MB of archives. 447.7 After this operation, 1,795 MB of additional disk space will be used. 447.7 Get:1 /tmp/onlyoffice-documentserver_amd64.deb onlyoffice-documentserver amd64 8.3.2-19 [627 MB] 449.0 Preconfiguring packages ... 449.1 Selecting previously unselected package onlyoffice-documentserver. (Reading database ... 58259 files and directories currently installed.) 449.1 Preparing to unpack .../onlyoffice-documentserver_amd64.deb ... 449.1 Unpacking onlyoffice-documentserver (8.3.2-19) ... 508.4 Setting up onlyoffice-documentserver (8.3.2-19) ... 508.7 warn: The home directory `/var/www/onlyoffice/documentserver' already exists. Not touching this directory. 508.7 warn: Warning: The home directory `/var/www/onlyoffice/documentserver' does not belong to the user you are currently creating. 511.6 error: <class 'FileNotFoundError'>, [Errno 2] No such file or directory: file: /usr/lib/python3/dist-packages/supervisor/xmlrpc.py line: 557 511.6 Congratulations, the ONLYOFFICE documentserver has been installed successfully! 511.6 JWT is enabled by default. A random secret is generated automatically. Run the command '# documentserver-jwt-status.sh' to get information about JWT. 511.6 Processing triggers for libc-bin (2.39-0ubuntu8.4) ... 515.2 * Stopping PostgreSQL 16 database server 515.3 ...done. **515.3 env: ‘/etc/init.d/supervisor’: No such file or directory** ------ failed to solve: process "/bin/sh -c PACKAGE_FILE=\"${COMPANY_NAME}-${PRODUCT_NAME}${PRODUCT_EDITION}${PACKAGE_VERSION:+_$PACKAGE_VERSION}_${TARGETARCH:-$(dpkg --print-architecture)}.deb\" && wget -q -P /tmp \"$PACKAGE_BASEURL/$PACKAGE_FILE\" && apt-get -y update && service postgresql start && apt-get -yq install /tmp/$PACKAGE_FILE && service postgresql stop && chmod 755 /etc/init.d/supervisor && sed \"s/COMPANY_NAME/${COMPANY_NAME}/g\" -i /etc/supervisor/conf.d/*.conf && service supervisor stop && chmod 755 /app/ds/*.sh && printf \"\\nGO\" >> \"/var/www/$COMPANY_NAME/documentserver/server/schema/mssql/createdb.sql\" && printf \"\\nGO\" >> \"/var/www/$COMPANY_NAME/documentserver/server/schema/mssql/removetbl.sql\" && printf \"\\nexit\" >> \"/var/www/$COMPANY_NAME/documentserver/server/schema/oracle/createdb.sql\" && printf \"\\nexit\" >> \"/var/www/$COMPANY_NAME/documentserver/server/schema/oracle/removetbl.sql\" && rm -f /tmp/$PACKAGE_FILE && rm -rf /var/log/$COMPANY_NAME && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 127
Author
Owner

@igwyd commented on GitHub (Apr 14, 2025):

@madukan Do not use localhost or 127.0.0.1 instead of IP address of your computer, because these addresses do not resolve from the docker containers. Use your network address.
@erenirmak most likely it is because of the environment. Please provide steps to reproduce and a description of your environment.

<!-- gh-comment-id:2800659728 --> @igwyd commented on GitHub (Apr 14, 2025): @madukan Do not use localhost or 127.0.0.1 instead of IP address of your computer, because these addresses do not resolve from the docker containers. Use your network address. @erenirmak most likely it is because of the environment. Please provide steps to reproduce and a description of your environment.
Author
Owner

@igwyd commented on GitHub (Apr 14, 2025):

@RampantDespair sorry I didn't notice your message, yes I mean host-server.

<!-- gh-comment-id:2802110144 --> @igwyd commented on GitHub (Apr 14, 2025): @RampantDespair sorry I didn't notice your message, yes I mean `host-server`.
Author
Owner

@LennyLip commented on GitHub (Apr 22, 2025):

Same thing.

357.0 Selecting previously unselected package onlyoffice-documentserver.
(Reading database ... 58259 files and directories currently installed.)
357.0 Preparing to unpack .../onlyoffice-documentserver_amd64.deb ...
357.0 Unpacking onlyoffice-documentserver (8.3.3-18) ...
384.6 Setting up onlyoffice-documentserver (8.3.3-18) ...
384.8 warn: The home directory `/var/www/onlyoffice/documentserver' already exists.  Not touching this directory.
384.8 warn: Warning: The home directory `/var/www/onlyoffice/documentserver' does not belong to the user you are currently creating.
386.2 error: <class 'FileNotFoundError'>, [Errno 2] No such file or directory: file: /usr/lib/python3/dist-packages/supervisor/xmlrpc.py line: 557
386.2 Congratulations, the ONLYOFFICE documentserver has been installed successfully!
386.2 JWT is enabled by default. A random secret is generated automatically. Run the command '# documentserver-jwt-status.sh' to get information about JWT.
386.3 Processing triggers for libc-bin (2.39-0ubuntu8.4) ...
387.9  * Stopping PostgreSQL 16 database server
388.0    ...done.
388.0 env: ‘/etc/init.d/supervisor’: No such file or directory
------
failed to solve: process "/bin/sh -c PACKAGE_FILE=\"${COMPANY_NAME}-${PRODUCT_NAME}${PRODUCT_EDITION}${PACKAGE_VERSION:+_$PACKAGE_VERSION}_${TARGETARCH:-$(dpkg --print-architecture)}.deb\" &&     wget -q -P /tmp \"$PACKAGE_BASEURL/$PACKAGE_FILE\" &&     apt-get -y update &&     service postgresql start &&     apt-get -yq install /tmp/$PACKAGE_FILE &&     service postgresql stop &&     chmod 755 /etc/init.d/supervisor &&     sed \"s/COMPANY_NAME/${COMPANY_NAME}/g\" -i /etc/supervisor/conf.d/*.conf &&     service supervisor stop &&     chmod 755 /app/ds/*.sh &&     printf \"\\nGO\" >> \"/var/www/$COMPANY_NAME/documentserver/server/schema/mssql/createdb.sql\" &&     printf \"\\nGO\" >> \"/var/www/$COMPANY_NAME/documentserver/server/schema/mssql/removetbl.sql\" &&     printf \"\\nexit\" >> \"/var/www/$COMPANY_NAME/documentserver/server/schema/oracle/createdb.sql\" &&     printf \"\\nexit\" >> \"/var/www/$COMPANY_NAME/documentserver/server/schema/oracle/removetbl.sql\" &&     rm -f /tmp/$PACKAGE_FILE &&     rm -rf /var/log/$COMPANY_NAME &&     rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 127
<!-- gh-comment-id:2820128521 --> @LennyLip commented on GitHub (Apr 22, 2025): Same thing. ``` 357.0 Selecting previously unselected package onlyoffice-documentserver. (Reading database ... 58259 files and directories currently installed.) 357.0 Preparing to unpack .../onlyoffice-documentserver_amd64.deb ... 357.0 Unpacking onlyoffice-documentserver (8.3.3-18) ... 384.6 Setting up onlyoffice-documentserver (8.3.3-18) ... 384.8 warn: The home directory `/var/www/onlyoffice/documentserver' already exists. Not touching this directory. 384.8 warn: Warning: The home directory `/var/www/onlyoffice/documentserver' does not belong to the user you are currently creating. 386.2 error: <class 'FileNotFoundError'>, [Errno 2] No such file or directory: file: /usr/lib/python3/dist-packages/supervisor/xmlrpc.py line: 557 386.2 Congratulations, the ONLYOFFICE documentserver has been installed successfully! 386.2 JWT is enabled by default. A random secret is generated automatically. Run the command '# documentserver-jwt-status.sh' to get information about JWT. 386.3 Processing triggers for libc-bin (2.39-0ubuntu8.4) ... 387.9 * Stopping PostgreSQL 16 database server 388.0 ...done. 388.0 env: ‘/etc/init.d/supervisor’: No such file or directory ------ failed to solve: process "/bin/sh -c PACKAGE_FILE=\"${COMPANY_NAME}-${PRODUCT_NAME}${PRODUCT_EDITION}${PACKAGE_VERSION:+_$PACKAGE_VERSION}_${TARGETARCH:-$(dpkg --print-architecture)}.deb\" && wget -q -P /tmp \"$PACKAGE_BASEURL/$PACKAGE_FILE\" && apt-get -y update && service postgresql start && apt-get -yq install /tmp/$PACKAGE_FILE && service postgresql stop && chmod 755 /etc/init.d/supervisor && sed \"s/COMPANY_NAME/${COMPANY_NAME}/g\" -i /etc/supervisor/conf.d/*.conf && service supervisor stop && chmod 755 /app/ds/*.sh && printf \"\\nGO\" >> \"/var/www/$COMPANY_NAME/documentserver/server/schema/mssql/createdb.sql\" && printf \"\\nGO\" >> \"/var/www/$COMPANY_NAME/documentserver/server/schema/mssql/removetbl.sql\" && printf \"\\nexit\" >> \"/var/www/$COMPANY_NAME/documentserver/server/schema/oracle/createdb.sql\" && printf \"\\nexit\" >> \"/var/www/$COMPANY_NAME/documentserver/server/schema/oracle/removetbl.sql\" && rm -f /tmp/$PACKAGE_FILE && rm -rf /var/log/$COMPANY_NAME && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 127 ```
Author
Owner

@LennyLip commented on GitHub (Apr 22, 2025):

fixed up with convert end of lines from CRLF to LF in

  1. run-document-server.sh
  2. all files in /config/

main reason - supervisord not start with incorrect configs files.

btw, it was Windows installation (wsl+Docker desktop)

<!-- gh-comment-id:2820633295 --> @LennyLip commented on GitHub (Apr 22, 2025): fixed up with convert end of lines from CRLF to LF in 1) run-document-server.sh 2) all files in /config/ main reason - supervisord not start with incorrect configs files. btw, it was Windows installation (wsl+Docker desktop)
Author
Owner

@Rita-Bubnova commented on GitHub (Jul 30, 2025):

This issue was closed due to no response.

<!-- gh-comment-id:3135810424 --> @Rita-Bubnova commented on GitHub (Jul 30, 2025): This issue was closed due to no response.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-DocumentServer-ONLYOFFICE#373
No description provided.