Previously working docker compose installation now failing for Onlyoffice-DS

Do you want to: Suggest a feature / Report a bug / Ask a how-to question
For feature suggestions, describe the result you would like to achieve in detail.
For bug reports, provide the steps to reproduce and if possible a minimal demo of the problem.
Document Server version: 7.2
Type of installation of the Document Server (docker, deb/rpm, exe) : Docker compose
OS: Ubuntu Desktop 22.04.1 and 22.10
Browser version: Mozilla Firefox (not relevant)

The installation using docker compose (from document page docker compose Help Center) was always working fine until a week ago (Jan 20 2023 onwards).

I have done this method of installation 20+ times and it was working previously all the time until this week). The installation using ‘docker compose up -d’ in a fully updated Ubuntu 22.04 and 22.10 always fails at this part

---- Begin —
#0 93.77 Some packages could not be installed. This may mean that you have
#0 93.77 requested an impossible situation or if you are using the unstable
#0 93.77 distribution that some required packages have not yet been created
#0 93.77 or been moved out of Incoming.
#0 93.77 The following information may help to resolve the situation:
#0 93.77
#0 93.77 The following packages have unmet dependencies:
#0 93.94 rabbitmq-server : Depends: erlang-base (>= 1:24.3.2) but it is not going to be installed or
#0 93.94 erlang-base-hipe (>= 1:24.3.2) but it is not installable or
#0 93.94 esl-erlang (>= 1:24.3.2) but it is not installable
#0 93.94 Depends: erlang-crypto (>= 1:24.3.2) but it is not going to be installed or
#0 93.94 esl-erlang (>= 1:24.3.2) but it is not installable
#0 93.94 Depends: erlang-eldap (>= 1:24.3.2) but it is not going to be installed or
#0 93.94 esl-erlang (>= 1:24.3.2) but it is not installable
#0 93.94 Depends: erlang-inets (>= 1:24.3.2) but it is not going to be installed or
#0 93.94 esl-erlang (>= 1:24.3.2) but it is not installable
#0 93.94 Depends: erlang-mnesia (>= 1:24.3.2) but it is not going to be installed or
#0 93.95 esl-erlang (>= 1:24.3.2) but it is not installable
#0 93.95 Depends: erlang-os-mon (>= 1:24.3.2) but it is not going to be installed or
#0 93.95 esl-erlang (>= 1:24.3.2) but it is not installable
#0 93.95 Depends: erlang-parsetools (>= 1:24.3.2) but it is not going to be installed or
#0 93.95 esl-erlang (>= 1:24.3.2) but it is not installable
#0 93.95 Depends: erlang-public-key (>= 1:24.3.2) but it is not going to be installed or
#0 93.95 esl-erlang (>= 1:24.3.2) but it is not installable
#0 93.95 Depends: erlang-runtime-tools (>= 1:24.3.2) but it is not going to be installed or
#0 93.95 esl-erlang (>= 1:24.3.2) but it is not installable
#0 93.95 Depends: erlang-ssl (>= 1:24.3.2) but it is not going to be installed or
#0 93.95 esl-erlang (>= 1:24.3.2) but it is not installable
#0 93.95 Depends: erlang-syntax-tools (>= 1:24.3.2) but it is not going to be installed or
#0 93.95 esl-erlang (>= 1:24.3.2) but it is not installable
#0 93.95 Depends: erlang-tools (>= 1:24.3.2) but it is not going to be installed or
#0 93.95 esl-erlang (>= 1:24.3.2) but it is not installable
#0 93.95 Depends: erlang-xmerl (>= 1:24.3.2) but it is not going to be installed or
#0 93.95 esl-erlang (>= 1:24.3.2) but it is not installable
#0 93.96 E: Unable to correct problems, you have held broken packages.

failed to solve: executor failed running [/bin/sh -c echo “#!/bin/sh\nexit 0” > /usr/sbin/policy-rc.d && apt-get -y update && apt-get -yq install wget apt-transport-https gnupg locales lsb-release && mkdir -p $HOME/.gnupg && gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/onlyoffice.gpg --keyserver keyserver.ubuntu.com --recv-keys 0x8320ca65cb2de8e5 && chmod 644 /etc/apt/trusted.gpg.d/onlyoffice.gpg && locale-gen en_US.UTF-8 && echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections && wget -O - https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-server/script.deb.sh | bash && if [ $(lsb_release -cs) = focal ]; then RABBITMQ_VERSION=3.8.11-1; else RABBITMQ_VERSION=3.10 ; fi && apt-get -yq install adduser apt-utils bomstrip certbot curl gconf-service htop libasound2 libboost-regex-dev libcairo2 libcurl3-gnutls libcurl4 libgtk-3-0 libnspr4 libnss3 libstdc++6 libxml2 libxss1 libxtst6 mysql-client nano net-tools netcat-openbsd nginx-extras postgresql postgresql-client pwgen rabbitmq-server=${RABBITMQ_VERSION}* redis-server software-properties-common sudo supervisor ttf-mscorefonts-installer xvfb zlib1g && if [ $(ls -l /usr/share/fonts/truetype/msttcorefonts | wc -l) -ne 61 ]; then echo ‘msttcorefonts failed to download’; exit 1; fi && echo “SERVER_ADDITIONAL_ERL_ARGS=”+S 1:1"" | tee -a /etc/rabbitmq/rabbitmq-env.conf && sed -i "s/bind ./bind 127.0.0.1/g" /etc/redis/redis.conf && sed 's|(application/zip.)|\1\n application/wasm wasm;|’ -i /etc/nginx/mime.types && pg_conftool $PG_VERSION main set listen_addresses ‘localhost’ && service postgresql restart && sudo -u postgres psql -c “CREATE DATABASE $ONLYOFFICE_VALUE;” && sudo -u postgres psql -c “CREATE USER $ONLYOFFICE_VALUE WITH password ‘$ONLYOFFICE_VALUE’;” && sudo -u postgres psql -c “GRANT ALL privileges ON DATABASE $ONLYOFFICE_VALUE TO $ONLYOFFICE_VALUE;” && service postgresql stop && service redis-server stop && service rabbitmq-server stop && service supervisor stop && service nginx stop && rm -rf /var/lib/apt/lists/*]: exit code: 100

— End —

I have tried installation latest version of Erlang and RabbitMQ-Server separately before I run ‘docker compose up -d’. There is no modification to the docker-compose.yml file after the git clone.

I can’t figure out what is wrong. Please provide help and guidance.

Thank you

2 Likes

Hello @cfheoh

Please share the output of the docker version from machine where you are trying to run Docker Compose.

I have addressed this issue to our dev team.

I can confirm that right now, due to particular changes in dependencies of RabbitMQ, it fails to install these dependencies and as a result an error of image build pops up making Docker Compose unable to start.

We are about to release version 7.3 of our editors so with this version Docker Compose will be functional again. We are very sorry for the inconvenience caused and thanks for pointing this issue to us.

As an alternative, you can install Document Server with Docker according to this guide:
https://helpcenter.onlyoffice.com/installation/docs-community-install-docker.aspx

The version is v2.15.1

Thank you very much for your kind update. This explains the errors.

I have tried the ‘docker run’ method. This is working fine.

1 Like

Hello @cfheoh

We have released version 7.3.0 of Document Server. Please try running the compose again to check the situation.

1 Like

Thank you. I will test it out on the weekend. Best regards

That didn’t work.

I did a fresh install of Ubuntu 22.04.1, latest Docker install and git cloned Docker-DocumentServer. I ran ‘docker compose -d’ and the same error came up

-------------- Begin -----------------------

#0 92.21 Some packages could not be installed. This may mean that you have
#0 92.21 requested an impossible situation or if you are using the unstable
#0 92.21 distribution that some required packages have not yet been created
#0 92.21 or been moved out of Incoming.
#0 92.21 The following information may help to resolve the situation:
#0 92.22
#0 92.22 The following packages have unmet dependencies:
#0 92.47 rabbitmq-server : Depends: erlang-base (>= 1:24.3.2) but it is not going to be installed or
#0 92.47 erlang-base-hipe (>= 1:24.3.2) but it is not installable or
#0 92.47 esl-erlang (>= 1:24.3.2) but it is not installable
#0 92.47 Depends: erlang-crypto (>= 1:24.3.2) but it is not going to be installed or
#0 92.47 esl-erlang (>= 1:24.3.2) but it is not installable
#0 92.47 Depends: erlang-eldap (>= 1:24.3.2) but it is not going to be installed or
#0 92.47 esl-erlang (>= 1:24.3.2) but it is not installable
#0 92.47 Depends: erlang-inets (>= 1:24.3.2) but it is not going to be installed or
#0 92.47 esl-erlang (>= 1:24.3.2) but it is not installable
#0 92.47 Depends: erlang-mnesia (>= 1:24.3.2) but it is not going to be installed or
#0 92.47 esl-erlang (>= 1:24.3.2) but it is not installable
#0 92.48 Depends: erlang-os-mon (>= 1:24.3.2) but it is not going to be installed or
#0 92.48 esl-erlang (>= 1:24.3.2) but it is not installable
#0 92.48 Depends: erlang-parsetools (>= 1:24.3.2) but it is not going to be installed or
#0 92.48 esl-erlang (>= 1:24.3.2) but it is not installable
#0 92.48 Depends: erlang-public-key (>= 1:24.3.2) but it is not going to be installed or
#0 92.48 esl-erlang (>= 1:24.3.2) but it is not installable
#0 92.48 Depends: erlang-runtime-tools (>= 1:24.3.2) but it is not going to be installed or
#0 92.48 esl-erlang (>= 1:24.3.2) but it is not installable
#0 92.48 Depends: erlang-ssl (>= 1:24.3.2) but it is not going to be installed or
#0 92.48 esl-erlang (>= 1:24.3.2) but it is not installable
#0 92.48 Depends: erlang-syntax-tools (>= 1:24.3.2) but it is not going to be installed or
#0 92.48 esl-erlang (>= 1:24.3.2) but it is not installable
#0 92.48 Depends: erlang-tools (>= 1:24.3.2) but it is not going to be installed or
#0 92.48 esl-erlang (>= 1:24.3.2) but it is not installable
#0 92.48 Depends: erlang-xmerl (>= 1:24.3.2) but it is not going to be installed or
#0 92.48 esl-erlang (>= 1:24.3.2) but it is not installable
#0 92.49 E: Unable to correct problems, you have held broken packages.

----------------- End ----------------------

What could be wrong? I am going to stick to the ‘docker run’ method for now. It’s more typing and I prefer editing the .yml file.

Looking for further assistance. Thanks

Hello again @cfheoh

We have tested it and unfortunately, there is a problem with access to the repository with the RabbitMQ dependency right now. We are working on it.
Sorry for the inconvenience.

Thank you for your prompt update. I look forward to the fix.

Best regards

1 Like

Hi I tried right now and I got the following error:

Warning: apt-key output should not be parsed (stdout is not a terminal)
Executing: /tmp/apt-key-gpghome.HC3V8rGYWw/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 0x8320ca65cb2de8e5
gpg: keyserver receive failed: No name

Any idea how to get rid off ?

Hi I have finally end up by removing the following line from Dockerfile file.
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8320ca65cb2de8e5 && \

Then got this new one:

error: <class ‘FileNotFoundError’>, [Errno 2] No such file or directory: file: /usr/lib/python3/dist-packages/supervisor/xmlrpc.py line: 560
dpkg: error processing package onlyoffice-documentserver (–configure):
installed onlyoffice-documentserver package post-installation script subprocess returned error exit status 1

Any ideas plz?

Hello @VOCALTEL

I’ve replied to you in other thread. Please continue communication there.