Shutting down instance takes a while #24

Open
opened 2024-07-22 14:03:10 +02:00 by Benjamin_Loison · 14 comments

Maybe related to Benjamin_Loison/moby/issues/2.

On OverClock3000.

Should measure with time.

bin/stop
-------------------  WARNING  ----------------------
  Deprecation warning: the mongo image is now split between MONGO_IMAGE
  and MONGO_VERSION configurations. Please update your config/overleaf.rc as
  your current configuration may stop working in future versions of the toolkit.
  Example: MONGO_IMAGE=mongo
           MONGO_VERSION=6.0
-------------------  WARNING  ----------------------
WARNING: the value of REDIS_AOF_PERSISTENCE is not set in config/overleaf.rc
See https://github.com/overleaf/overleaf/wiki/Release-Notes-5.x.x#redis-aof-persistence-enabled-by-default
WARNING: docker-compose v1 has reached its End Of Life in July 2023 (https://docs.docker.com/compose/migrate/). Support for docker-compose v1 in the Overleaf Toolkit will be dropped with the release of Server Pro 5.2. We recommend upgrading to Docker Compose v2 before then.
Stopping sharelatex ... done
Stopping redis      ... done
Stopping mongo      ... done

Related to #7.

Maybe related to [Benjamin_Loison/moby/issues/2](https://codeberg.org/Benjamin_Loison/moby/issues/2). On OverClock3000. Should measure with `time`. ```bash bin/stop ``` ``` ------------------- WARNING ---------------------- Deprecation warning: the mongo image is now split between MONGO_IMAGE and MONGO_VERSION configurations. Please update your config/overleaf.rc as your current configuration may stop working in future versions of the toolkit. Example: MONGO_IMAGE=mongo MONGO_VERSION=6.0 ------------------- WARNING ---------------------- WARNING: the value of REDIS_AOF_PERSISTENCE is not set in config/overleaf.rc See https://github.com/overleaf/overleaf/wiki/Release-Notes-5.x.x#redis-aof-persistence-enabled-by-default WARNING: docker-compose v1 has reached its End Of Life in July 2023 (https://docs.docker.com/compose/migrate/). Support for docker-compose v1 in the Overleaf Toolkit will be dropped with the release of Server Pro 5.2. We recommend upgrading to Docker Compose v2 before then. Stopping sharelatex ... done Stopping redis ... done Stopping mongo ... done ``` Related to #7.
Author
Owner
bin/up
-------------------  WARNING  ----------------------
  Deprecation warning: the mongo image is now split between MONGO_IMAGE
  and MONGO_VERSION configurations. Please update your config/overleaf.rc as
  your current configuration may stop working in future versions of the toolkit.
  Example: MONGO_IMAGE=mongo
           MONGO_VERSION=6.0
-------------------  WARNING  ----------------------
Initiating Mongo replica set...
WARNING: the value of REDIS_AOF_PERSISTENCE is not set in config/overleaf.rc
See https://github.com/overleaf/overleaf/wiki/Release-Notes-5.x.x#redis-aof-persistence-enabled-by-default
WARNING: docker-compose v1 has reached its End Of Life in July 2023 (https://docs.docker.com/compose/migrate/). Support for docker-compose v1 in the Overleaf Toolkit will be dropped with the release of Server Pro 5.2. We recommend upgrading to Docker Compose v2 before then.
Starting mongo ... done
WARNING: the value of REDIS_AOF_PERSISTENCE is not set in config/overleaf.rc
See https://github.com/overleaf/overleaf/wiki/Release-Notes-5.x.x#redis-aof-persistence-enabled-by-default
WARNING: docker-compose v1 has reached its End Of Life in July 2023 (https://docs.docker.com/compose/migrate/). Support for docker-compose v1 in the Overleaf Toolkit will be dropped with the release of Server Pro 5.2. We recommend upgrading to Docker Compose v2 before then.
Waiting for Mongo...
WARNING: the value of REDIS_AOF_PERSISTENCE is not set in config/overleaf.rc
See https://github.com/overleaf/overleaf/wiki/Release-Notes-5.x.x#redis-aof-persistence-enabled-by-default
WARNING: docker-compose v1 has reached its End Of Life in July 2023 (https://docs.docker.com/compose/migrate/). Support for docker-compose v1 in the Overleaf Toolkit will be dropped with the release of Server Pro 5.2. We recommend upgrading to Docker Compose v2 before then.
ERROR: no such image: sharelatex/sharelatex:with-texlive-full:5.1.0: invalid reference format
```bash bin/up ``` ``` ------------------- WARNING ---------------------- Deprecation warning: the mongo image is now split between MONGO_IMAGE and MONGO_VERSION configurations. Please update your config/overleaf.rc as your current configuration may stop working in future versions of the toolkit. Example: MONGO_IMAGE=mongo MONGO_VERSION=6.0 ------------------- WARNING ---------------------- Initiating Mongo replica set... WARNING: the value of REDIS_AOF_PERSISTENCE is not set in config/overleaf.rc See https://github.com/overleaf/overleaf/wiki/Release-Notes-5.x.x#redis-aof-persistence-enabled-by-default WARNING: docker-compose v1 has reached its End Of Life in July 2023 (https://docs.docker.com/compose/migrate/). Support for docker-compose v1 in the Overleaf Toolkit will be dropped with the release of Server Pro 5.2. We recommend upgrading to Docker Compose v2 before then. Starting mongo ... done WARNING: the value of REDIS_AOF_PERSISTENCE is not set in config/overleaf.rc See https://github.com/overleaf/overleaf/wiki/Release-Notes-5.x.x#redis-aof-persistence-enabled-by-default WARNING: docker-compose v1 has reached its End Of Life in July 2023 (https://docs.docker.com/compose/migrate/). Support for docker-compose v1 in the Overleaf Toolkit will be dropped with the release of Server Pro 5.2. We recommend upgrading to Docker Compose v2 before then. Waiting for Mongo... WARNING: the value of REDIS_AOF_PERSISTENCE is not set in config/overleaf.rc See https://github.com/overleaf/overleaf/wiki/Release-Notes-5.x.x#redis-aof-persistence-enabled-by-default WARNING: docker-compose v1 has reached its End Of Life in July 2023 (https://docs.docker.com/compose/migrate/). Support for docker-compose v1 in the Overleaf Toolkit will be dropped with the release of Server Pro 5.2. We recommend upgrading to Docker Compose v2 before then. ERROR: no such image: sharelatex/sharelatex:with-texlive-full:5.1.0: invalid reference format ```
Author
Owner
sudo apt purge -y docker-compose
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  arch-test cgroupfs-mount containerd debootstrap docker.io libintl-perl libintl-xs-perl libmodule-find-perl libmodule-scandeps-perl
  libproc-processtable-perl libsort-naturally-perl needrestart python3-cached-property python3-docker python3-dockerpty python3-docopt
  python3-dotenv python3-json-pointer python3-jsonschema python3-pyrsistent python3-rfc3987 python3-texttable python3-uritemplate
  python3-webcolors python3-websocket runc tini
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  docker-compose*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 538 kB disk space will be freed.
(Reading database ... 569464 files and directories currently installed.)
Removing docker-compose (1.29.2-3) ...
Processing triggers for man-db (2.11.2-2) ...

https://docs.docker.com/compose/install/linux/#install-using-the-repository

https://docs.docker.com/engine/install/debian/#install-using-the-repository

sudo apt install -y ca-certificates curl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ca-certificates is already the newest version (20230311).
curl is already the newest version (7.88.1-10+deb12u6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc

# Add the repository to Apt sources:
echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
  $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
Hit:1 http://security.debian.org stable-security/updates InRelease
Hit:2 http://ftp.u-picardie.fr/debian stable InRelease                                                                                    
Get:3 https://download.docker.com/linux/debian bookworm InRelease [43.3 kB]                                                               
Get:4 https://deb.nodesource.com/node_14.x bookworm InRelease [4,586 B]                                                                   
Hit:5 https://packages.matrix.org/debian bookworm InRelease                                                                               
Get:8 https://download.docker.com/linux/debian bookworm/stable amd64 Packages [27.2 kB]
Get:9 https://download.docker.com/linux/debian bookworm/stable amd64 Contents (deb) [1,340 B]
Hit:6 https://packages.gitlab.com/gitlab/gitlab-ce/debian bookworm InRelease           
Hit:7 https://packages.gitlab.com/runner/gitlab-runner/debian bookworm InRelease
Fetched 76.5 kB in 1s (61.0 kB/s)
Reading package lists... Done
apt show docker-compose
Package: docker-compose
Version: 1.29.2-3
Priority: optional
Section: admin
Maintainer: Docker Compose Team <team+docker-compose@tracker.debian.org>
Installed-Size: 538 kB
Provides: python3-compose
Depends: python3-cached-property (>= 1.2.0) | python3 (>> 3.8), python3-distro (>= 1.5.0), python3-docker (>= 5), python3-dockerpty (>= 0.4.1), python3-docopt (>= 0.6.1), python3-dotenv (>= 0.13.0), python3-jsonschema, python3-requests (>= 2.20.0), python3-texttable (>= 0.9.0), python3-websocket (>= 0.32.0), python3-yaml (>= 3.10), python3:any, python3-distutils
Recommends: docker.io (>= 1.9.0)
Homepage: https://docs.docker.com/compose/
Download-Size: 123 kB
APT-Sources: http://ftp.u-picardie.fr/debian stable/main amd64 Packages
Description: define and run multi-container Docker applications with YAML
 docker-compose is a service management software built on top of docker. Define
 your services and their relationships in a simple YAML file, and let compose
 handle the rest.
apt install -y docker-ce
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  containerd.io docker-buildx-plugin docker-ce-cli docker-ce-rootless-extras docker-compose-plugin libslirp0 pigz slirp4netns
Suggested packages:
  aufs-tools cgroupfs-mount | cgroup-lite
The following NEW packages will be installed:
  containerd.io docker-buildx-plugin docker-ce docker-ce-cli docker-ce-rootless-extras docker-compose-plugin libslirp0 pigz slirp4netns
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 122 MB of archives.
After this operation, 436 MB of additional disk space will be used.
Get:1 https://download.docker.com/linux/debian bookworm/stable amd64 containerd.io amd64 1.7.19-1 [30.5 MB]
Get:2 http://ftp.u-picardie.fr/debian stable/main amd64 pigz amd64 2.6-1 [64.0 kB]
Get:3 http://ftp.u-picardie.fr/debian stable/main amd64 libslirp0 amd64 4.7.0-1 [63.0 kB]
Get:4 http://ftp.u-picardie.fr/debian stable/main amd64 slirp4netns amd64 1.2.0-1 [37.5 kB]
Get:5 https://download.docker.com/linux/debian bookworm/stable amd64 docker-buildx-plugin amd64 0.16.1-1~debian.12~bookworm [29.9 MB]
Get:6 https://download.docker.com/linux/debian bookworm/stable amd64 docker-ce-cli amd64 5:27.1.0-1~debian.12~bookworm [14.6 MB]
Get:7 https://download.docker.com/linux/debian bookworm/stable amd64 docker-ce amd64 5:27.1.0-1~debian.12~bookworm [25.2 MB]
Get:8 https://download.docker.com/linux/debian bookworm/stable amd64 docker-ce-rootless-extras amd64 5:27.1.0-1~debian.12~bookworm [9,317 kB]
Get:9 https://download.docker.com/linux/debian bookworm/stable amd64 docker-compose-plugin amd64 2.29.0-1~debian.12~bookworm [12.5 MB]
Fetched 122 MB in 3s (35.9 MB/s)                
Selecting previously unselected package pigz.
(Reading database ... 568173 files and directories currently installed.)
Preparing to unpack .../0-pigz_2.6-1_amd64.deb ...
Unpacking pigz (2.6-1) ...
Selecting previously unselected package containerd.io.
Preparing to unpack .../1-containerd.io_1.7.19-1_amd64.deb ...
Unpacking containerd.io (1.7.19-1) ...
Selecting previously unselected package docker-buildx-plugin.
Preparing to unpack .../2-docker-buildx-plugin_0.16.1-1~debian.12~bookworm_amd64.deb ...
Unpacking docker-buildx-plugin (0.16.1-1~debian.12~bookworm) ...
Selecting previously unselected package docker-ce-cli.
Preparing to unpack .../3-docker-ce-cli_5%3a27.1.0-1~debian.12~bookworm_amd64.deb ...
Unpacking docker-ce-cli (5:27.1.0-1~debian.12~bookworm) ...
Selecting previously unselected package docker-ce.
Preparing to unpack .../4-docker-ce_5%3a27.1.0-1~debian.12~bookworm_amd64.deb ...
Unpacking docker-ce (5:27.1.0-1~debian.12~bookworm) ...
Selecting previously unselected package docker-ce-rootless-extras.
Preparing to unpack .../5-docker-ce-rootless-extras_5%3a27.1.0-1~debian.12~bookworm_amd64.deb ...
Unpacking docker-ce-rootless-extras (5:27.1.0-1~debian.12~bookworm) ...
Selecting previously unselected package docker-compose-plugin.
Preparing to unpack .../6-docker-compose-plugin_2.29.0-1~debian.12~bookworm_amd64.deb ...
Unpacking docker-compose-plugin (2.29.0-1~debian.12~bookworm) ...
Selecting previously unselected package libslirp0:amd64.
Preparing to unpack .../7-libslirp0_4.7.0-1_amd64.deb ...
Unpacking libslirp0:amd64 (4.7.0-1) ...
Selecting previously unselected package slirp4netns.
Preparing to unpack .../8-slirp4netns_1.2.0-1_amd64.deb ...
Unpacking slirp4netns (1.2.0-1) ...
Setting up docker-buildx-plugin (0.16.1-1~debian.12~bookworm) ...
Setting up containerd.io (1.7.19-1) ...
Installing new version of config file /etc/containerd/config.toml ...
Setting up docker-compose-plugin (2.29.0-1~debian.12~bookworm) ...
Setting up docker-ce-cli (5:27.1.0-1~debian.12~bookworm) ...
Setting up libslirp0:amd64 (4.7.0-1) ...
Setting up pigz (2.6-1) ...
Setting up docker-ce-rootless-extras (5:27.1.0-1~debian.12~bookworm) ...
Setting up slirp4netns (1.2.0-1) ...
Setting up docker-ce (5:27.1.0-1~debian.12~bookworm) ...
Installing new version of config file /etc/default/docker ...
Installing new version of config file /etc/init.d/docker ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for libc-bin (2.36-9+deb12u7) ...
ldconfig: /lib/libSDL2-2.0.so.0 is not a symbolic link

ldconfig: /lib/libSDL2_image-2.0.so.0 is not a symbolic link

ldconfig: /lib/libSDL2_mixer-2.0.so.0 is not a symbolic link

ldconfig: /lib/libSDL2_ttf-2.0.so.0 is not a symbolic link
docker compose version
Docker Compose version v2.29.0
```bash sudo apt purge -y docker-compose ``` ``` Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: arch-test cgroupfs-mount containerd debootstrap docker.io libintl-perl libintl-xs-perl libmodule-find-perl libmodule-scandeps-perl libproc-processtable-perl libsort-naturally-perl needrestart python3-cached-property python3-docker python3-dockerpty python3-docopt python3-dotenv python3-json-pointer python3-jsonschema python3-pyrsistent python3-rfc3987 python3-texttable python3-uritemplate python3-webcolors python3-websocket runc tini Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: docker-compose* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 538 kB disk space will be freed. (Reading database ... 569464 files and directories currently installed.) Removing docker-compose (1.29.2-3) ... Processing triggers for man-db (2.11.2-2) ... ``` https://docs.docker.com/compose/install/linux/#install-using-the-repository https://docs.docker.com/engine/install/debian/#install-using-the-repository ```bash sudo apt install -y ca-certificates curl ``` ``` Reading package lists... Done Building dependency tree... Done Reading state information... Done ca-certificates is already the newest version (20230311). curl is already the newest version (7.88.1-10+deb12u6). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ``` ```bash sudo install -m 0755 -d /etc/apt/keyrings sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc sudo chmod a+r /etc/apt/keyrings/docker.asc # Add the repository to Apt sources: echo \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \ $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt-get update ``` ``` Hit:1 http://security.debian.org stable-security/updates InRelease Hit:2 http://ftp.u-picardie.fr/debian stable InRelease Get:3 https://download.docker.com/linux/debian bookworm InRelease [43.3 kB] Get:4 https://deb.nodesource.com/node_14.x bookworm InRelease [4,586 B] Hit:5 https://packages.matrix.org/debian bookworm InRelease Get:8 https://download.docker.com/linux/debian bookworm/stable amd64 Packages [27.2 kB] Get:9 https://download.docker.com/linux/debian bookworm/stable amd64 Contents (deb) [1,340 B] Hit:6 https://packages.gitlab.com/gitlab/gitlab-ce/debian bookworm InRelease Hit:7 https://packages.gitlab.com/runner/gitlab-runner/debian bookworm InRelease Fetched 76.5 kB in 1s (61.0 kB/s) Reading package lists... Done ``` ```bash apt show docker-compose ``` ``` Package: docker-compose Version: 1.29.2-3 Priority: optional Section: admin Maintainer: Docker Compose Team <team+docker-compose@tracker.debian.org> Installed-Size: 538 kB Provides: python3-compose Depends: python3-cached-property (>= 1.2.0) | python3 (>> 3.8), python3-distro (>= 1.5.0), python3-docker (>= 5), python3-dockerpty (>= 0.4.1), python3-docopt (>= 0.6.1), python3-dotenv (>= 0.13.0), python3-jsonschema, python3-requests (>= 2.20.0), python3-texttable (>= 0.9.0), python3-websocket (>= 0.32.0), python3-yaml (>= 3.10), python3:any, python3-distutils Recommends: docker.io (>= 1.9.0) Homepage: https://docs.docker.com/compose/ Download-Size: 123 kB APT-Sources: http://ftp.u-picardie.fr/debian stable/main amd64 Packages Description: define and run multi-container Docker applications with YAML docker-compose is a service management software built on top of docker. Define your services and their relationships in a simple YAML file, and let compose handle the rest. ``` ```bash apt install -y docker-ce ``` ``` Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: containerd.io docker-buildx-plugin docker-ce-cli docker-ce-rootless-extras docker-compose-plugin libslirp0 pigz slirp4netns Suggested packages: aufs-tools cgroupfs-mount | cgroup-lite The following NEW packages will be installed: containerd.io docker-buildx-plugin docker-ce docker-ce-cli docker-ce-rootless-extras docker-compose-plugin libslirp0 pigz slirp4netns 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 122 MB of archives. After this operation, 436 MB of additional disk space will be used. Get:1 https://download.docker.com/linux/debian bookworm/stable amd64 containerd.io amd64 1.7.19-1 [30.5 MB] Get:2 http://ftp.u-picardie.fr/debian stable/main amd64 pigz amd64 2.6-1 [64.0 kB] Get:3 http://ftp.u-picardie.fr/debian stable/main amd64 libslirp0 amd64 4.7.0-1 [63.0 kB] Get:4 http://ftp.u-picardie.fr/debian stable/main amd64 slirp4netns amd64 1.2.0-1 [37.5 kB] Get:5 https://download.docker.com/linux/debian bookworm/stable amd64 docker-buildx-plugin amd64 0.16.1-1~debian.12~bookworm [29.9 MB] Get:6 https://download.docker.com/linux/debian bookworm/stable amd64 docker-ce-cli amd64 5:27.1.0-1~debian.12~bookworm [14.6 MB] Get:7 https://download.docker.com/linux/debian bookworm/stable amd64 docker-ce amd64 5:27.1.0-1~debian.12~bookworm [25.2 MB] Get:8 https://download.docker.com/linux/debian bookworm/stable amd64 docker-ce-rootless-extras amd64 5:27.1.0-1~debian.12~bookworm [9,317 kB] Get:9 https://download.docker.com/linux/debian bookworm/stable amd64 docker-compose-plugin amd64 2.29.0-1~debian.12~bookworm [12.5 MB] Fetched 122 MB in 3s (35.9 MB/s) Selecting previously unselected package pigz. (Reading database ... 568173 files and directories currently installed.) Preparing to unpack .../0-pigz_2.6-1_amd64.deb ... Unpacking pigz (2.6-1) ... Selecting previously unselected package containerd.io. Preparing to unpack .../1-containerd.io_1.7.19-1_amd64.deb ... Unpacking containerd.io (1.7.19-1) ... Selecting previously unselected package docker-buildx-plugin. Preparing to unpack .../2-docker-buildx-plugin_0.16.1-1~debian.12~bookworm_amd64.deb ... Unpacking docker-buildx-plugin (0.16.1-1~debian.12~bookworm) ... Selecting previously unselected package docker-ce-cli. Preparing to unpack .../3-docker-ce-cli_5%3a27.1.0-1~debian.12~bookworm_amd64.deb ... Unpacking docker-ce-cli (5:27.1.0-1~debian.12~bookworm) ... Selecting previously unselected package docker-ce. Preparing to unpack .../4-docker-ce_5%3a27.1.0-1~debian.12~bookworm_amd64.deb ... Unpacking docker-ce (5:27.1.0-1~debian.12~bookworm) ... Selecting previously unselected package docker-ce-rootless-extras. Preparing to unpack .../5-docker-ce-rootless-extras_5%3a27.1.0-1~debian.12~bookworm_amd64.deb ... Unpacking docker-ce-rootless-extras (5:27.1.0-1~debian.12~bookworm) ... Selecting previously unselected package docker-compose-plugin. Preparing to unpack .../6-docker-compose-plugin_2.29.0-1~debian.12~bookworm_amd64.deb ... Unpacking docker-compose-plugin (2.29.0-1~debian.12~bookworm) ... Selecting previously unselected package libslirp0:amd64. Preparing to unpack .../7-libslirp0_4.7.0-1_amd64.deb ... Unpacking libslirp0:amd64 (4.7.0-1) ... Selecting previously unselected package slirp4netns. Preparing to unpack .../8-slirp4netns_1.2.0-1_amd64.deb ... Unpacking slirp4netns (1.2.0-1) ... Setting up docker-buildx-plugin (0.16.1-1~debian.12~bookworm) ... Setting up containerd.io (1.7.19-1) ... Installing new version of config file /etc/containerd/config.toml ... Setting up docker-compose-plugin (2.29.0-1~debian.12~bookworm) ... Setting up docker-ce-cli (5:27.1.0-1~debian.12~bookworm) ... Setting up libslirp0:amd64 (4.7.0-1) ... Setting up pigz (2.6-1) ... Setting up docker-ce-rootless-extras (5:27.1.0-1~debian.12~bookworm) ... Setting up slirp4netns (1.2.0-1) ... Setting up docker-ce (5:27.1.0-1~debian.12~bookworm) ... Installing new version of config file /etc/default/docker ... Installing new version of config file /etc/init.d/docker ... Processing triggers for man-db (2.11.2-2) ... Processing triggers for libc-bin (2.36-9+deb12u7) ... ldconfig: /lib/libSDL2-2.0.so.0 is not a symbolic link ldconfig: /lib/libSDL2_image-2.0.so.0 is not a symbolic link ldconfig: /lib/libSDL2_mixer-2.0.so.0 is not a symbolic link ldconfig: /lib/libSDL2_ttf-2.0.so.0 is not a symbolic link ``` ```bash docker compose version ``` ``` Docker Compose version v2.29.0 ```
Author
Owner
bin/up
-------------------  WARNING  ----------------------
  Deprecation warning: the mongo image is now split between MONGO_IMAGE
  and MONGO_VERSION configurations. Please update your config/overleaf.rc as
  your current configuration may stop working in future versions of the toolkit.
  Example: MONGO_IMAGE=mongo
           MONGO_VERSION=6.0
-------------------  WARNING  ----------------------
Initiating Mongo replica set...
WARNING: the value of REDIS_AOF_PERSISTENCE is not set in config/overleaf.rc
See https://github.com/overleaf/overleaf/wiki/Release-Notes-5.x.x#redis-aof-persistence-enabled-by-default
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Running 1/1
 ✔ Container mongo  Started                                                                                                           1.5s 
WARNING: the value of REDIS_AOF_PERSISTENCE is not set in config/overleaf.rc
See https://github.com/overleaf/overleaf/wiki/Release-Notes-5.x.x#redis-aof-persistence-enabled-by-default
Waiting for Mongo...
WARNING: the value of REDIS_AOF_PERSISTENCE is not set in config/overleaf.rc
See https://github.com/overleaf/overleaf/wiki/Release-Notes-5.x.x#redis-aof-persistence-enabled-by-default
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
unable to get image 'sharelatex/sharelatex:with-texlive-full:5.1.0': Error response from daemon: invalid reference format

After replacing in config/overleaf.rc:

MONGO_IMAGE=mongo:4.4

with:

MONGO_IMAGE=mongo
MONGO_VERSION=6.0
bin/up
Initiating Mongo replica set...
WARNING: the value of REDIS_AOF_PERSISTENCE is not set in config/overleaf.rc
See https://github.com/overleaf/overleaf/wiki/Release-Notes-5.x.x#redis-aof-persistence-enabled-by-default
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Running 9/9
 ✔ mongo Pulled                                                                                                                      14.3s 
   ✔ 3713021b0277 Pull complete                                                                                                       2.3s 
   ✔ d530feffd030 Pull complete                                                                                                       2.4s 
   ✔ 33eb4d8e3c2b Pull complete                                                                                                       2.6s 
   ✔ 5f6b6ddebd98 Pull complete                                                                                                       2.7s 
   ✔ bdf2f11848eb Pull complete                                                                                                       2.7s 
   ✔ 6c38c0548d3d Pull complete                                                                                                       2.8s 
   ✔ ad44eb05f95c Pull complete                                                                                                      12.7s 
   ✔ 8a906a03f233 Pull complete                                                                                                      12.7s 
[+] Running 1/1
 ✔ Container mongo  Started                                                                                                           1.3s 
WARNING: the value of REDIS_AOF_PERSISTENCE is not set in config/overleaf.rc
See https://github.com/overleaf/overleaf/wiki/Release-Notes-5.x.x#redis-aof-persistence-enabled-by-default
MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017
Waiting for Mongo...

overleaf/wiki/Release-Notes-5.x.x#redis-aof-persistence-enabled-by-default

overleaf/wiki/Data-and-Backups/#redis

https://redis.io/docs/latest/operate/oss_and_stack/management/persistence/#how-i-can-switch-to-aof-if-im-currently-using-dumprdb-snapshots

redis-cli --version
redis-cli 7.0.15
find / -name 'dump.rdb' 2> /dev/null
/var/lib/redis/dump.rdb
/var/opt/gitlab/redis/dump.rdb
/home/benjamin/overleaf-toolkit/data/redis/dump.rdb
mkdir backup/
sudo cp /var/lib/redis/dump.rdb backup/
sudo cp /home/benjamin/overleaf-toolkit/data/redis/dump.rdb backup/dump_bis.rdb
redis-cli config set appendonly yes
OK
```bash bin/up ``` ``` ------------------- WARNING ---------------------- Deprecation warning: the mongo image is now split between MONGO_IMAGE and MONGO_VERSION configurations. Please update your config/overleaf.rc as your current configuration may stop working in future versions of the toolkit. Example: MONGO_IMAGE=mongo MONGO_VERSION=6.0 ------------------- WARNING ---------------------- Initiating Mongo replica set... WARNING: the value of REDIS_AOF_PERSISTENCE is not set in config/overleaf.rc See https://github.com/overleaf/overleaf/wiki/Release-Notes-5.x.x#redis-aof-persistence-enabled-by-default WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Running 1/1 ✔ Container mongo Started 1.5s WARNING: the value of REDIS_AOF_PERSISTENCE is not set in config/overleaf.rc See https://github.com/overleaf/overleaf/wiki/Release-Notes-5.x.x#redis-aof-persistence-enabled-by-default Waiting for Mongo... WARNING: the value of REDIS_AOF_PERSISTENCE is not set in config/overleaf.rc See https://github.com/overleaf/overleaf/wiki/Release-Notes-5.x.x#redis-aof-persistence-enabled-by-default WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion unable to get image 'sharelatex/sharelatex:with-texlive-full:5.1.0': Error response from daemon: invalid reference format ``` After replacing in `config/overleaf.rc`: ``` MONGO_IMAGE=mongo:4.4 ``` with: ``` MONGO_IMAGE=mongo MONGO_VERSION=6.0 ``` ```bash bin/up ``` ``` Initiating Mongo replica set... WARNING: the value of REDIS_AOF_PERSISTENCE is not set in config/overleaf.rc See https://github.com/overleaf/overleaf/wiki/Release-Notes-5.x.x#redis-aof-persistence-enabled-by-default WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Running 9/9 ✔ mongo Pulled 14.3s ✔ 3713021b0277 Pull complete 2.3s ✔ d530feffd030 Pull complete 2.4s ✔ 33eb4d8e3c2b Pull complete 2.6s ✔ 5f6b6ddebd98 Pull complete 2.7s ✔ bdf2f11848eb Pull complete 2.7s ✔ 6c38c0548d3d Pull complete 2.8s ✔ ad44eb05f95c Pull complete 12.7s ✔ 8a906a03f233 Pull complete 12.7s [+] Running 1/1 ✔ Container mongo Started 1.3s WARNING: the value of REDIS_AOF_PERSISTENCE is not set in config/overleaf.rc See https://github.com/overleaf/overleaf/wiki/Release-Notes-5.x.x#redis-aof-persistence-enabled-by-default MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017 Waiting for Mongo... ``` [overleaf/wiki/Release-Notes-5.x.x#redis-aof-persistence-enabled-by-default](https://github.com/overleaf/overleaf/wiki/Release-Notes-5.x.x#redis-aof-persistence-enabled-by-default) [overleaf/wiki/Data-and-Backups/#redis](https://github.com/overleaf/overleaf/wiki/Data-and-Backups/#redis) https://redis.io/docs/latest/operate/oss_and_stack/management/persistence/#how-i-can-switch-to-aof-if-im-currently-using-dumprdb-snapshots ```bash redis-cli --version ``` ``` redis-cli 7.0.15 ``` ```bash find / -name 'dump.rdb' 2> /dev/null ``` ``` /var/lib/redis/dump.rdb /var/opt/gitlab/redis/dump.rdb /home/benjamin/overleaf-toolkit/data/redis/dump.rdb ``` ```bash mkdir backup/ sudo cp /var/lib/redis/dump.rdb backup/ sudo cp /home/benjamin/overleaf-toolkit/data/redis/dump.rdb backup/dump_bis.rdb ``` ```bash redis-cli config set appendonly yes ``` ``` OK ```
Author
Owner

After adding REDIS_AOF_PERSISTENCE=true to config/overleaf.rc:

bin/up
Initiating Mongo replica set...
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Running 1/0
 ✔ Container mongo  Started                                                                                                           0.0s 
Error response from daemon: Container d3f36c187abcd85375ed1bd9d6bf6fda7ac7f98da6444fd238397df56d2c8ab4 is restarting, wait until the container is running
After adding `REDIS_AOF_PERSISTENCE=true` to `config/overleaf.rc`: ```bash bin/up ``` ``` Initiating Mongo replica set... WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Running 1/0 ✔ Container mongo Started 0.0s Error response from daemon: Container d3f36c187abcd85375ed1bd9d6bf6fda7ac7f98da6444fd238397df56d2c8ab4 is restarting, wait until the container is running ```
Author
Owner

a61d9ebff5/lib/docker-compose.base.yml (L2)
a61d9ebff5/lib/docker-compose.vars.yml (L2)
a61d9ebff5/lib/docker-compose.redis.yml (L2)
a61d9ebff5/lib/docker-compose.mongo.yml (L2)

are the latest version and still mention version.

docker container ls
CONTAINER ID   IMAGE                         COMMAND                  CREATED          STATUS                           PORTS                    NAMES
d3f36c187abc   mongo:6.0                     "docker-entrypoint.s…"   33 minutes ago   Restarting (62) 36 seconds ago                            mongo
d4f2957ec807   sharelatex/sharelatex:4.0.1   "/sbin/my_init"          13 months ago    Up 36 minutes                    127.0.0.1:9986->80/tcp   sharelatex
9ca9bc0e06f2   redis:6.2                     "docker-entrypoint.s…"   13 months ago    Up 36 minutes                    6379/tcp                 redis
https://github.com/overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/lib/docker-compose.base.yml#L2 https://github.com/overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/lib/docker-compose.vars.yml#L2 https://github.com/overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/lib/docker-compose.redis.yml#L2 https://github.com/overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/lib/docker-compose.mongo.yml#L2 are the latest version and still mention `version`. ```bash docker container ls ``` ``` CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES d3f36c187abc mongo:6.0 "docker-entrypoint.s…" 33 minutes ago Restarting (62) 36 seconds ago mongo d4f2957ec807 sharelatex/sharelatex:4.0.1 "/sbin/my_init" 13 months ago Up 36 minutes 127.0.0.1:9986->80/tcp sharelatex 9ca9bc0e06f2 redis:6.2 "docker-entrypoint.s…" 13 months ago Up 36 minutes 6379/tcp redis ```
Author
Owner

https://www.overleaf.com and https://www.overleaf.com/login were responding but not logging in and https://www.overleaf.com/projects

bin/stop
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Stopping 3/3
 ✔ Container sharelatex  Stopped                                                                                                     60.4s 
 ✔ Container redis       Stopped                                                                                                      0.3s 
 ✔ Container mongo       Stopped                                                                                                      0.0s
bin/stop
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Stopping 3/0
 ✔ Container sharelatex  Stopped                                                                                                      0.0s 
 ✔ Container redis       Stopped                                                                                                      0.0s 
 ✔ Container mongo       Stopped                                                                                                      0.0s
bin/up
Initiating Mongo replica set...
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Running 1/1
 ✔ Container mongo  Started                                                                                                           0.3s 
MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017
Waiting for Mongo...
sudo netstat -tulpn | grep 27017

does not return anything.

https://www.overleaf.com and https://www.overleaf.com/login were responding but not logging in and https://www.overleaf.com/projects ```bash bin/stop ``` ``` WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Stopping 3/3 ✔ Container sharelatex Stopped 60.4s ✔ Container redis Stopped 0.3s ✔ Container mongo Stopped 0.0s ``` ```bash bin/stop ``` ``` WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Stopping 3/0 ✔ Container sharelatex Stopped 0.0s ✔ Container redis Stopped 0.0s ✔ Container mongo Stopped 0.0s ``` ```bash bin/up ``` ``` Initiating Mongo replica set... WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Running 1/1 ✔ Container mongo Started 0.3s MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017 Waiting for Mongo... ``` ```bash sudo netstat -tulpn | grep 27017 ``` does not return anything.
Author
Owner

Both overleaf/issues and overleaf/toolkit/issues do not return any issue for MongoNetworkError.

Maybe related to the Stack Overflow question 46523321.

Both [overleaf/issues](https://github.com/overleaf/overleaf/issues) and [overleaf/toolkit/issues](https://github.com/overleaf/toolkit/issues) do not return any issue for `MongoNetworkError`. Maybe related to [the Stack Overflow question 46523321](https://stackoverflow.com/q/46523321).
Author
Owner
docker image ls
REPOSITORY              TAG                 IMAGE ID       CREATED         SIZE
mongo                   6.0                 ba023ee7a779   3 weeks ago     729MB
sharelatex/sharelatex   with-texlive-full   e1076fe59920   13 months ago   6.39GB
sharelatex/sharelatex   4.0.1               26c75dfb6485   14 months ago   2.72GB
redis                   6.2                 f2ed029e761a   14 months ago   113MB
mongo                   4.4                 afef20758bd3   16 months ago   431MB
postgres                14                  75993dd36176   22 months ago   376MB
nginx                   1.19-alpine         a64a6e03b055   3 years ago     22.6MB
docker container ls
CONTAINER ID   IMAGE       COMMAND                  CREATED          STATUS                           PORTS     NAMES
d3f36c187abc   mongo:6.0   "docker-entrypoint.s…"   42 minutes ago   Restarting (62) 47 seconds ago             mongo
docker container rm d3f36c187abc
Error response from daemon: cannot remove container "/mongo": container is restarting: stop the container before removing or force remove
docker container rm -f d3f36c187abc
d3f36c187abc
docker container ls
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES

If replace:

MONGO_IMAGE=mongo
MONGO_VERSION=6.0

with:

MONGO_IMAGE=mongo:4.4

then get:

bin/up
-------------------  WARNING  ----------------------
  Deprecation warning: the mongo image is now split between MONGO_IMAGE
  and MONGO_VERSION configurations. Please update your config/overleaf.rc as
  your current configuration may stop working in future versions of the toolkit.
  Example: MONGO_IMAGE=mongo
           MONGO_VERSION=6.0
-------------------  WARNING  ----------------------
Initiating Mongo replica set...
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Running 1/1
 ✔ Container mongo  Started                                                                                                           0.4s 
Waiting for Mongo...
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
unable to get image 'sharelatex/sharelatex:with-texlive-full:5.1.0': Error response from daemon: invalid reference format
```bash docker image ls ``` ``` REPOSITORY TAG IMAGE ID CREATED SIZE mongo 6.0 ba023ee7a779 3 weeks ago 729MB sharelatex/sharelatex with-texlive-full e1076fe59920 13 months ago 6.39GB sharelatex/sharelatex 4.0.1 26c75dfb6485 14 months ago 2.72GB redis 6.2 f2ed029e761a 14 months ago 113MB mongo 4.4 afef20758bd3 16 months ago 431MB postgres 14 75993dd36176 22 months ago 376MB nginx 1.19-alpine a64a6e03b055 3 years ago 22.6MB ``` ```bash docker container ls ``` ``` CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES d3f36c187abc mongo:6.0 "docker-entrypoint.s…" 42 minutes ago Restarting (62) 47 seconds ago mongo ``` ```bash docker container rm d3f36c187abc ``` ``` Error response from daemon: cannot remove container "/mongo": container is restarting: stop the container before removing or force remove ``` ```bash docker container rm -f d3f36c187abc ``` ``` d3f36c187abc ``` ```bash docker container ls ``` ``` CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES ``` If replace: ``` MONGO_IMAGE=mongo MONGO_VERSION=6.0 ``` with: ``` MONGO_IMAGE=mongo:4.4 ``` then get: ```bash bin/up ``` ``` ------------------- WARNING ---------------------- Deprecation warning: the mongo image is now split between MONGO_IMAGE and MONGO_VERSION configurations. Please update your config/overleaf.rc as your current configuration may stop working in future versions of the toolkit. Example: MONGO_IMAGE=mongo MONGO_VERSION=6.0 ------------------- WARNING ---------------------- Initiating Mongo replica set... WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Running 1/1 ✔ Container mongo Started 0.4s Waiting for Mongo... WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion unable to get image 'sharelatex/sharelatex:with-texlive-full:5.1.0': Error response from daemon: invalid reference format ```
Author
Owner
docker pull sharelatex/sharelatex:with-texlive-full:5.1.0
invalid reference format
docker pull sharelatex/sharelatex:with-texlive-full
Error response from daemon: manifest for sharelatex/sharelatex:with-texlive-full not found: manifest unknown: manifest unknown
docker image pull [OPTIONS] NAME[:TAG|@DIGEST]

Source: https://docs.docker.com/reference/cli/docker/image/pull/

docker pull sharelatex/sharelatex:5.1.0
5.1.0: Pulling from sharelatex/sharelatex
7021d1b70935: Pull complete 
467e34e18282: Pull complete 
6db07a32b0d2: Pull complete 
ffa8453078b5: Pull complete 
333cd123c46f: Pull complete 
152610ff4f2d: Pull complete 
03bead01b2c4: Pull complete 
c129587caee5: Pull complete 
3f27657f5e57: Pull complete 
1e4118e24567: Pull complete 
1b9728c32a20: Pull complete 
999a880f498b: Pull complete 
c6d1cd8ba636: Pull complete 
384c4f4749fb: Pull complete 
9795cb718c39: Pull complete 
c5370cb3b493: Pull complete 
35b2bb5040e5: Pull complete 
113ab03b0d35: Pull complete 
0435a1430da5: Pull complete 
96b96f87bb7d: Pull complete 
b59c7e031077: Pull complete 
9e4dd20a818a: Pull complete 
9a37a58b373d: Pull complete 
9bcc70a1a2b0: Pull complete 
2265658b41cf: Pull complete 
2083690e762b: Pull complete 
c5d7a182cedc: Pull complete 
de7cb47d2a6c: Pull complete 
aad0b9663b66: Pull complete 
cf266f65cf2f: Pull complete 
2f5e5beee699: Pull complete 
771718dcc04c: Pull complete 
2ec448626ef7: Pull complete 
7810574b420c: Pull complete 
75dad03a77cd: Pull complete 
e44d1b4bbcc3: Pull complete 
b4b98855d9b5: Pull complete 
Digest: sha256:790b655a04ecdc07ea53276d6e3c0e5bb8cd016676402c71ea73007d2f801015
Status: Downloaded newer image for sharelatex/sharelatex:5.1.0
docker.io/sharelatex/sharelatex:5.1.0
bin/up
-------------------  WARNING  ----------------------
  Deprecation warning: the mongo image is now split between MONGO_IMAGE
  and MONGO_VERSION configurations. Please update your config/overleaf.rc as
  your current configuration may stop working in future versions of the toolkit.
  Example: MONGO_IMAGE=mongo
           MONGO_VERSION=6.0
-------------------  WARNING  ----------------------
Initiating Mongo replica set...
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Running 1/0
 ✔ Container mongo  Running                                                                                                           0.0s 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
unable to get image 'sharelatex/sharelatex:with-texlive-full:5.1.0': Error response from daemon: invalid reference format
history | grep texlive

does not return anything interesting.

```bash docker pull sharelatex/sharelatex:with-texlive-full:5.1.0 ``` ``` invalid reference format ``` ```bash docker pull sharelatex/sharelatex:with-texlive-full ``` ``` Error response from daemon: manifest for sharelatex/sharelatex:with-texlive-full not found: manifest unknown: manifest unknown ``` > ```bash > docker image pull [OPTIONS] NAME[:TAG|@DIGEST] > ``` Source: https://docs.docker.com/reference/cli/docker/image/pull/ ```bash docker pull sharelatex/sharelatex:5.1.0 ``` ``` 5.1.0: Pulling from sharelatex/sharelatex 7021d1b70935: Pull complete 467e34e18282: Pull complete 6db07a32b0d2: Pull complete ffa8453078b5: Pull complete 333cd123c46f: Pull complete 152610ff4f2d: Pull complete 03bead01b2c4: Pull complete c129587caee5: Pull complete 3f27657f5e57: Pull complete 1e4118e24567: Pull complete 1b9728c32a20: Pull complete 999a880f498b: Pull complete c6d1cd8ba636: Pull complete 384c4f4749fb: Pull complete 9795cb718c39: Pull complete c5370cb3b493: Pull complete 35b2bb5040e5: Pull complete 113ab03b0d35: Pull complete 0435a1430da5: Pull complete 96b96f87bb7d: Pull complete b59c7e031077: Pull complete 9e4dd20a818a: Pull complete 9a37a58b373d: Pull complete 9bcc70a1a2b0: Pull complete 2265658b41cf: Pull complete 2083690e762b: Pull complete c5d7a182cedc: Pull complete de7cb47d2a6c: Pull complete aad0b9663b66: Pull complete cf266f65cf2f: Pull complete 2f5e5beee699: Pull complete 771718dcc04c: Pull complete 2ec448626ef7: Pull complete 7810574b420c: Pull complete 75dad03a77cd: Pull complete e44d1b4bbcc3: Pull complete b4b98855d9b5: Pull complete Digest: sha256:790b655a04ecdc07ea53276d6e3c0e5bb8cd016676402c71ea73007d2f801015 Status: Downloaded newer image for sharelatex/sharelatex:5.1.0 docker.io/sharelatex/sharelatex:5.1.0 ``` ```bash bin/up ``` ``` ------------------- WARNING ---------------------- Deprecation warning: the mongo image is now split between MONGO_IMAGE and MONGO_VERSION configurations. Please update your config/overleaf.rc as your current configuration may stop working in future versions of the toolkit. Example: MONGO_IMAGE=mongo MONGO_VERSION=6.0 ------------------- WARNING ---------------------- Initiating Mongo replica set... WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Running 1/0 ✔ Container mongo Running 0.0s WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion unable to get image 'sharelatex/sharelatex:with-texlive-full:5.1.0': Error response from daemon: invalid reference format ``` ```bash history | grep texlive ``` does not return anything interesting.
Author
Owner

https://hub.docker.com/r/sharelatex/sharelatex

https://hub.docker.com/r/sharelatex/sharelatex/tags

https://hub.docker.com/u/sharelatex does not showcase any other interesting docker image.

docker image ls
REPOSITORY              TAG                 IMAGE ID       CREATED         SIZE
sharelatex/sharelatex   5.1.0               41a77f59f69e   7 days ago      2.07GB
mongo                   6.0                 ba023ee7a779   3 weeks ago     729MB
sharelatex/sharelatex   with-texlive-full   e1076fe59920   13 months ago   6.39GB
sharelatex/sharelatex   4.0.1               26c75dfb6485   14 months ago   2.72GB
redis                   6.2                 f2ed029e761a   14 months ago   113MB
mongo                   4.4                 afef20758bd3   16 months ago   431MB
postgres                14                  75993dd36176   22 months ago   376MB
nginx                   1.19-alpine         a64a6e03b055   3 years ago     22.6MB
https://hub.docker.com/r/sharelatex/sharelatex https://hub.docker.com/r/sharelatex/sharelatex/tags https://hub.docker.com/u/sharelatex does not showcase any other interesting docker image. ```bash docker image ls ``` ``` REPOSITORY TAG IMAGE ID CREATED SIZE sharelatex/sharelatex 5.1.0 41a77f59f69e 7 days ago 2.07GB mongo 6.0 ba023ee7a779 3 weeks ago 729MB sharelatex/sharelatex with-texlive-full e1076fe59920 13 months ago 6.39GB sharelatex/sharelatex 4.0.1 26c75dfb6485 14 months ago 2.72GB redis 6.2 f2ed029e761a 14 months ago 113MB mongo 4.4 afef20758bd3 16 months ago 431MB postgres 14 75993dd36176 22 months ago 376MB nginx 1.19-alpine a64a6e03b055 3 years ago 22.6MB ```
Author
Owner
mongo       | {"t":{"$date":"2024-07-22T13:27:09.982+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn252","msg":"Connection ended","attr":{"remote":"127.0.0.1:50008","connectionId":252,"connectionCount":33}}
^CGracefully stopping... (press Ctrl+C again to force)
[+] Stopping 3/3
 ✔ Container sharelatex  Stopped                                                                                                     60.4s 
 ✔ Container mongo       Stopped                                                                                                      1.5s 
 ✔ Container redis       Stopped                                                                                                      0.4s 
canceled

Maybe it is a one minute timer to prevent users that the instance will shut down?

minute does not seem to return any interesting issue in both overleaf/issues and overleaf/toolkit/issues.

env | grep -iE 'second|60|minute'

does not return anything.

``` mongo | {"t":{"$date":"2024-07-22T13:27:09.982+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn252","msg":"Connection ended","attr":{"remote":"127.0.0.1:50008","connectionId":252,"connectionCount":33}} ^CGracefully stopping... (press Ctrl+C again to force) [+] Stopping 3/3 ✔ Container sharelatex Stopped 60.4s ✔ Container mongo Stopped 1.5s ✔ Container redis Stopped 0.4s canceled ``` Maybe it is a one minute timer to prevent users that the instance will shut down? *minute* does not seem to return any interesting issue in both [overleaf/issues](https://github.com/overleaf/overleaf/issues) and [overleaf/toolkit/issues](https://github.com/overleaf/toolkit/issues). ```bash env | grep -iE 'second|60|minute' ``` does not return anything.
Author
Owner

Following Benjamin_Loison/overleaf/issues/25#issuecomment-2112:

mongo       | {"t":{"$date":"2024-07-22T15:19:01.342+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn511","msg":"Connection ended","attr":{"remote":"127.0.0.1:54844","uuid":"430ad1e0-7abc-453f-a525-92be28f9e317","connectionId":511,"connectionCount":51}}
^CGracefully stopping... (press Ctrl+C again to force)
[+] Stopping 3/3
 ✔ Container sharelatex  Stopped                                                                                                     60.4s 
 ✔ Container mongo       Stopped                                                                                                      0.9s 
 ✔ Container redis       Stopped                                                                                                      0.3s 
canceled
Following [Benjamin_Loison/overleaf/issues/25#issuecomment-2112](https://gitea.lemnoslife.com/Benjamin_Loison/overleaf/issues/25#issuecomment-2112): ``` mongo | {"t":{"$date":"2024-07-22T15:19:01.342+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn511","msg":"Connection ended","attr":{"remote":"127.0.0.1:54844","uuid":"430ad1e0-7abc-453f-a525-92be28f9e317","connectionId":511,"connectionCount":51}} ^CGracefully stopping... (press Ctrl+C again to force) [+] Stopping 3/3 ✔ Container sharelatex Stopped 60.4s ✔ Container mongo Stopped 0.9s ✔ Container redis Stopped 0.3s canceled ```
Author
Owner

Maybe there is not this delay if there is nobody using the instance.

Maybe there is not this delay if there is nobody using the instance.
Author
Owner

So bin/up can be instantly stopped thanks to ctrl + c while it does not seem possible with bin/start or bin/up -d.

So `bin/up` can be instantly stopped thanks to <kbd>ctrl</kbd> + <kbd>c</kbd> while it does not seem possible with `bin/start` or `bin/up -d`.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
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: Benjamin_Loison/overleaf#24
No description provided.