Community server container keep restarting

Hello, I’m trying to install workspace without mail server by following this guide.
What I do is:

wget https://download.onlyoffice.com/install/workspace-install.sh

and

bash workspace-install.sh -ims false

After installation, community server runs for a while and web can be accessed. But it keep restarting after that. I try to restart it by docker restart *ID*, it still keep restarting after running for a while.
My environment:
I install it in a virtual machine. Host: arch linux with Virtualbox 6.1.30
VM: Debian GNU/Linux 11 (bullseye) with 2 cores, 8192MB memory and 60GB disk
Community Server/Control Panel version: 11.5.4.1582/3.0.2.395(I learn that from docker ps)
Type of installation of Workspace: docker 20.10.11
Browser version: Firefox 95.0

Here’s my docker ps if it helps:

root@10:~# docker ps
CONTAINER ID   IMAGE                                    COMMAND                  CREATED          STATUS                          PORTS                 NAMES
15aec70856a0   onlyoffice/communityserver:11.5.4.1582   "/app/run-community-…"   41 minutes ago   Restarting (0) 12 seconds ago                         onlyoffice-community-server
cf102ad9788e   onlyoffice/controlpanel:3.0.2.395        "/var/www/onlyoffice…"   38 hours ago     Up About an hour                80/tcp, 443/tcp       onlyoffice-control-panel
b9ef7357febc   onlyoffice/documentserver:6.4.2.6        "/app/ds/run-documen…"   38 hours ago     Up About an hour                80/tcp, 443/tcp       onlyoffice-document-server
bf87e4278383   mysql:8.0                                "docker-entrypoint.s…"   39 hours ago     Up About an hour                3306/tcp, 33060/tcp   onlyoffice-mysql-server

Thanks for any help.

Hello @apl
Please provide us with additional information:

  1. Community server logs folder. It’s located here: /app/onlyoffice/CommunityServer/logs/
  2. Community server container logs. Please run docker logs container_ID and provide us with result.
  3. Go to the host and run df -h. Please show us the result.

Hello, @Alexandre

  1. Here’s my logs folder:
root@10:~# ls -al /app/onlyoffice/CommunityServer/logs/
total 12
drwxr-xr-x 3 messagebus      render          4096 Dec 10 21:46 .
drwxr-xr-x 5 root            root            4096 Dec 10 21:46 ..
drwxr-xr-x 2 systemd-resolve systemd-resolve 4096 Dec 10 21:46 Index
root@10:~# ls -al /app/onlyoffice/CommunityServer/logs/Index/
total 8
drwxr-xr-x 2 systemd-resolve systemd-resolve 4096 Dec 10 21:46 .
drwxr-xr-x 3 messagebus      render          4096 Dec 10 21:46 ..
  1. Container log is quite large, I post it here.

root@10:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            3.9G     0  3.9G   0% /dev
tmpfs           796M  784K  795M   1% /run
/dev/sda1        58G   17G   39G  30% /
tmpfs           3.9G     0  3.9G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
overlay          58G   17G   39G  30% /var/lib/docker/overlay2/e77351ca703d4fade3098f5b321b4fa1c105586d363d647283161a12d847c8db/merged
overlay          58G   17G   39G  30% /var/lib/docker/overlay2/5b4550956fcb54d72400ff93a0614daf726235b46c1c8bf6887b7f003572a004/merged
overlay          58G   17G   39G  30% /var/lib/docker/overlay2/8af7f60976d44630ad49c8734c2ff65b92d40afe091f72ff2638dfde9c712fec/merged
tmpfs           796M     0  796M   0% /run/user/0
overlay          58G   17G   39G  30% /var/lib/docker/overlay2/e8bcbd0f2089e4384f9043069a1dcf1c980c1e561e61d9d1f861dd705b78cc6a/merged

Hello apl.

Please clarify if no other apps are installed on the server. It’s necessary to avoid dependency and port conflict.

In the container logs I see such entries: System has not been booted with systemd as init system (PID 1). Can't operate.

It seems that something went wrong. Please try to reinstall the containers:

  1. Make a snapshot/backup of the whole server in its current state.

  2. Run docker rm -f $(docker ps -aq)

  3. Launch the installation script again bash workspace-install.sh -ims false

  4. Check if the portal is running and let us know the result.

Hello, @Alexandre
I started a brand new virtual machine for onlyoffice and there is no more softwares installed other than some basic services, say ssh, net-tools and docker, etc., thus it doesn’t seem to be the problem of port occupying. I’m not sure which ports onlyoffice needs, here is netstat -an. And docker ps after reinstallation:

root@10:~# docker ps
CONTAINER ID   IMAGE                                    COMMAND                  CREATED          STATUS                          PORTS                 NAMES
de6c0d816ee1   onlyoffice/communityserver:11.5.4.1582   "/app/run-community-…"   18 minutes ago   Restarting (0) 16 seconds ago                         onlyoffice-community-server
8124538d6cf6   onlyoffice/controlpanel:3.0.2.395        "/var/www/onlyoffice…"   21 minutes ago   Up 21 minutes                   80/tcp, 443/tcp       onlyoffice-control-panel
f158909b63ce   onlyoffice/documentserver:6.4.2.6        "/app/ds/run-documen…"   21 minutes ago   Up 21 minutes                   80/tcp, 443/tcp       onlyoffice-document-server
eb9f1622875d   mysql:8.0                                "docker-entrypoint.s…"   21 minutes ago   Up 21 minutes                   3306/tcp, 33060/tcp   onlyoffice-mysql-server

PS: Another small suggestion, the script complains there is no enough space when I reinstall workspace, but actually it doesn’t need to download the large images again.

We noticed that you are using Debian 11. I checked the information about Debian and unfortunately Debian 11 is not supported at the moment (internal bug number - 53124). The issue is mostly related to systemd which is not supported by the OS. So try to use Debian 10 which has been tested and works. We will add support for this operating system, but I cannot provide you with timeframes at the moment.

Alright. Hope it to be fixed soon. Thanks for help.

1 Like

We wait :slight_smile:

Добрый день!
Поздравляю с небольшим юбилеем - о проблеме известно 2 месяца!

Ребята, вы делаете офигенный продукт и прислушиваетесь к идеям и критике (знаю на опыте), - это круто!
Я разворачиваю вас на новом месте каждый раз при смене работы, в 2 из 4 случаев прошел переход на платную версию. Сейчас хочу развернуть вас на новом месте и буксую почти месяц. Весия хоста определена - Дебиан 11, другого не будет, но ОО не встает ни с Докером, ни без. Еще чуть-чуть и мне стукнут по рукам и скажут - пользуйся битриксом. Решите, пожалуйста, проблему!

@lordalexnight Package installation is fixed. Please check it out

Package installation on Debian 11 is fixed.
Thanks!

Now we are waiting for the docker :slight_smile:

As for docker (Workspace, Debian 11), we are planning to fix it with Community server v.12 release. It should be in April.

Update: We just fixed docker installation on Debian 11. Please check it out.

1 Like

Docker installation on Debian 11 is fixed.
Thanks!

1 Like

hi,@Alexandre ,how to restart document server with not docker container?

just only install by linux method.

Hello @votouch,
Please note that your request is not related to this thread theme. Please create a new topic next time instead.

On package installations of current Document Server versions services are restarted via systemctl restart ds-*

oh,i sorry for about not related to this thread theme,thank you very much to answer my question. :sweat_smile: