Update #7

Open
opened 2024-06-21 00:59:22 +02:00 by Benjamin_Loison · 19 comments

As https://overleaf.lemnoslife.com/project mentions © 2023 Powered by Overleaf.

As https://overleaf.lemnoslife.com/project mentions *© 2023 Powered by Overleaf*.
Author
Owner
./bin/upgrade

How to apply automatically new updates?

Unclear if ./bin/stop, then ./bin/start applied the update.

./bin/doctor
...
====== Configuration ======
- config/version
    - status: present
    - version: 5.0.6
...

seems to show that the update has been applied, see toolkit/blob/74de8d668682bbea0269622be15872da5b5e2d23/CHANGELOG.md.

Note that overleaf and overleaf/toolkit Releases and Tags, if any, are not interesting.

```bash ./bin/upgrade ``` How to apply automatically new updates? Unclear if `./bin/stop`, then `./bin/start` applied the update. ```bash ./bin/doctor ``` ``` ... ====== Configuration ====== - config/version - status: present - version: 5.0.6 ... ``` seems to show that the update has been applied, see [toolkit/blob/74de8d668682bbea0269622be15872da5b5e2d23/CHANGELOG.md](https://github.com/overleaf/toolkit/blob/74de8d668682bbea0269622be15872da5b5e2d23/CHANGELOG.md). Note that [overleaf](https://github.com/overleaf/overleaf) and [overleaf/toolkit](https://github.com/overleaf/toolkit) *Releases* and *Tags*, if any, are not interesting.
Author
Owner
git log
commit 74de8d668682bbea0269622be15872da5b5e2d23 (HEAD -> master, origin/master, origin/HEAD)
Merge: e1023d1 89ed7e2
Author: Jakob Ackermann <jakob.ackermann@overleaf.com>
Date:   Thu Jun 20 17:10:03 2024 +0200

    Merge pull request #264 from overleaf/jpa-5-0-6
    
    Release Server Pro 5.0.6
...
```bash git log ``` ``` commit 74de8d668682bbea0269622be15872da5b5e2d23 (HEAD -> master, origin/master, origin/HEAD) Merge: e1023d1 89ed7e2 Author: Jakob Ackermann <jakob.ackermann@overleaf.com> Date: Thu Jun 20 17:10:03 2024 +0200 Merge pull request #264 from overleaf/jpa-5-0-6 Release Server Pro 5.0.6 ... ```
Author
Owner
Related to [Benjamin_Loison/moby/issues/2](https://codeberg.org/Benjamin_Loison/moby/issues/2) and #22.
Author
Owner
./bin/upgrade
Output:
Checking for code update...
No code update available for download
New docker image version available (5.1.0)
Current image version is '5.0.6' (from config/version)
Upgrade image? [y/n] y
Upgrading config/version from 5.0.6 to 5.1.0
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.
docker services are up, stop them first?
Stop docker services? [y/n] y
Stopping docker services
-------------------  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
At this point, we recommend backing up your data before proceeding
!! WARNING: Only do this while the docker services are stopped!!
Proceed with the upgrade? [y/n] y
Backing up old version file to config/__old-version
Over-writing config/version with 5.1.0
Start docker services again? [y/n] y
Starting docker services
-------------------  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.
ERROR: no such image: sharelatex/sharelatex:with-texlive-full:5.1.0: invalid reference format
```bash ./bin/upgrade ``` <details> <summary>Output:</summary> ``` Checking for code update... No code update available for download New docker image version available (5.1.0) Current image version is '5.0.6' (from config/version) Upgrade image? [y/n] y Upgrading config/version from 5.0.6 to 5.1.0 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. docker services are up, stop them first? Stop docker services? [y/n] y Stopping docker services ------------------- 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 At this point, we recommend backing up your data before proceeding !! WARNING: Only do this while the docker services are stopped!! Proceed with the upgrade? [y/n] y Backing up old version file to config/__old-version Over-writing config/version with 5.1.0 Start docker services again? [y/n] y Starting docker services ------------------- 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. ERROR: no such image: sharelatex/sharelatex:with-texlive-full:5.1.0: invalid reference format ``` </details>
Author
Owner
docker image ls
REPOSITORY              TAG                 IMAGE ID       CREATED         SIZE
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
```bash docker image ls ``` ``` REPOSITORY TAG IMAGE ID CREATED SIZE 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 ```
Author
Owner
./bin/start
Output:
-------------------  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.
Starting redis      ... done
Starting mongo      ... done
Starting sharelatex ... done
```bash ./bin/start ``` <details> <summary>Output:</summary> ``` ------------------- 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. Starting redis ... done Starting mongo ... done Starting sharelatex ... done ``` </details>
Author
Owner
./bin/doctor
Output:
====== Overleaf Doctor ======
- Host Information
    - Linux
    - Output of 'lsb_release -a':
            Distributor ID:	Debian
            Description:	Debian GNU/Linux 12 (bookworm)
            Release:	12
            Codename:	bookworm
- Dependencies
    - bash
        - status: present
        - version info: 5.2.15(1)-release
    - docker
        - status: present
        - version info: Docker version 20.10.24+dfsg1, build 297e128
    - realpath
        - status: present
        - version info: realpath (GNU coreutils) 9.1
    - perl
        - status: present
        - version info: 5.036000
    - awk
        - status: present
        - version info: GNU Awk 5.2.1, API 3.2, PMA Avon 8-g1, (GNU MPFR 4.2.0, GNU MP 6.2.1)
    - openssl
        - status: present
        - version info: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024)
    - docker-compose
        - status: present
        - version info: docker-compose version 1.29.2, build unknown
- Docker Daemon
    - status: up
    - server version: 20.10.24+dfsg1
====== Configuration ======
- config/version
    - status: present
    - version: 5.1.0
- config/overleaf.rc
    - status: present
    - values
        - OVERLEAF_DATA_PATH: data/sharelatex
        - SERVER_PRO: false
        - OVERLEAF_LISTEN_IP: 127.0.0.1
        - OVERLEAF_PORT: 9986
        - MONGO_ENABLED: true
        - MONGO_IMAGE: mongo:4.4
        - MONGO_DATA_PATH: data/mongo
        - REDIS_ENABLED: true
        - REDIS_IMAGE: redis:6.2
        - REDIS_DATA_PATH: data/redis
        - NGINX_ENABLED: false
        - NGINX_CONFIG_PATH: config/nginx/nginx.conf
        - TLS_PRIVATE_KEY_PATH: config/nginx/certs/overleaf_key.pem
        - TLS_CERTIFICATE_PATH: config/nginx/certs/overleaf_certificate.pem
        - NGINX_HTTP_LISTEN_IP: 127.0.1.1
        - NGINX_HTTP_PORT: 80
        - NGINX_TLS_LISTEN_IP: 127.0.1.1
        - TLS_PORT: 443
        - GIT_BRIDGE_ENABLED: false
- config/variables.env
    - status: present
    - values
        - SHARELATEX_FILESTORE_BACKEND: fs
        - SHARELATEX_HISTORY_BACKEND: fs
        - OVERLEAF_FILESTORE_BACKEND: fs
        - OVERLEAF_HISTORY_BACKEND: fs
====== Warnings ======
! 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.
! Docker v20.10 has reached its End Of Life. We recommend upgrading to a supported version.
====== End ======

2024-07-17

Updated default version to 5.1.0.

Source: dc7c1559b2894ec9ff2df8120480141a24a16265/CHANGELOG.md#2024-07-17

So it seems up-to-date but I still notice the same copyright.

```bash ./bin/doctor ``` <details> <summary>Output:</summary> ``` ====== Overleaf Doctor ====== - Host Information - Linux - Output of 'lsb_release -a': Distributor ID: Debian Description: Debian GNU/Linux 12 (bookworm) Release: 12 Codename: bookworm - Dependencies - bash - status: present - version info: 5.2.15(1)-release - docker - status: present - version info: Docker version 20.10.24+dfsg1, build 297e128 - realpath - status: present - version info: realpath (GNU coreutils) 9.1 - perl - status: present - version info: 5.036000 - awk - status: present - version info: GNU Awk 5.2.1, API 3.2, PMA Avon 8-g1, (GNU MPFR 4.2.0, GNU MP 6.2.1) - openssl - status: present - version info: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) - docker-compose - status: present - version info: docker-compose version 1.29.2, build unknown - Docker Daemon - status: up - server version: 20.10.24+dfsg1 ====== Configuration ====== - config/version - status: present - version: 5.1.0 - config/overleaf.rc - status: present - values - OVERLEAF_DATA_PATH: data/sharelatex - SERVER_PRO: false - OVERLEAF_LISTEN_IP: 127.0.0.1 - OVERLEAF_PORT: 9986 - MONGO_ENABLED: true - MONGO_IMAGE: mongo:4.4 - MONGO_DATA_PATH: data/mongo - REDIS_ENABLED: true - REDIS_IMAGE: redis:6.2 - REDIS_DATA_PATH: data/redis - NGINX_ENABLED: false - NGINX_CONFIG_PATH: config/nginx/nginx.conf - TLS_PRIVATE_KEY_PATH: config/nginx/certs/overleaf_key.pem - TLS_CERTIFICATE_PATH: config/nginx/certs/overleaf_certificate.pem - NGINX_HTTP_LISTEN_IP: 127.0.1.1 - NGINX_HTTP_PORT: 80 - NGINX_TLS_LISTEN_IP: 127.0.1.1 - TLS_PORT: 443 - GIT_BRIDGE_ENABLED: false - config/variables.env - status: present - values - SHARELATEX_FILESTORE_BACKEND: fs - SHARELATEX_HISTORY_BACKEND: fs - OVERLEAF_FILESTORE_BACKEND: fs - OVERLEAF_HISTORY_BACKEND: fs ====== Warnings ====== ! 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. ! Docker v20.10 has reached its End Of Life. We recommend upgrading to a supported version. ====== End ====== ``` </details> > 2024-07-17 > Updated default [`version`](https://github.com/overleaf/toolkit/blob/master/lib/config-seed/version) to `5.1.0`. Source: [dc7c1559b2894ec9ff2df8120480141a24a16265/CHANGELOG.md#2024-07-17](https://github.com/overleaf/toolkit/blob/dc7c1559b2894ec9ff2df8120480141a24a16265/CHANGELOG.md#2024-07-17) So it seems up-to-date but I still notice the same copyright.
Author
Owner

The single occurrence of Powered by Overleaf, according to grep -r 'Powered by Overleaf', in both overleaf and overleaf/toolkit, is: overleaf/blob/710cacad2dc8921e1fcfd306c54843266226be89/services/web/app/views/layout/footer-marketing.pug#L11-L14.

Should maybe try installing an instance temporarily in a virtual machine to check that.

Related to OverClock3000/issues/1#issuecomment-2103769.

The single occurrence of *Powered by Overleaf*, according to `grep -r 'Powered by Overleaf'`, in both [overleaf](https://github.com/overleaf/overleaf) and [overleaf/toolkit](https://github.com/overleaf/toolkit), is: [overleaf/blob/710cacad2dc8921e1fcfd306c54843266226be89/services/web/app/views/layout/footer-marketing.pug#L11-L14](https://github.com/overleaf/overleaf/blob/710cacad2dc8921e1fcfd306c54843266226be89/services/web/app/views/layout/footer-marketing.pug#L11-L14). Should maybe try installing an instance temporarily in a virtual machine to check that. Related to [OverClock3000/issues/1#issuecomment-2103769](https://codeberg.org/Benjamin_Loison/OverClock3000/issues/1#issuecomment-2103769).
Author
Owner

overleaf/blob/710cacad2dc8921e1fcfd306c54843266226be89/README.md#keeping-up-to-date is a mailing list advertisement.

overleaf/blob/710cacad2dc8921e1fcfd306c54843266226be89/README.md#upgrading

overleaf/overleaf/blob/710cacad2dc8921e1fcfd306c54843266226be89/README.md#installation

overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/README.md#getting-started

git clone --depth 1 https://github.com/overleaf/toolkit.git overleaf-toolkit/
Output:
Cloning into './overleaf-toolkit'...
remote: Enumerating objects: 66, done.
remote: Counting objects: 100% (66/66), done.
remote: Compressing objects: 100% (57/57), done.
remote: Total 66 (delta 7), reused 22 (delta 4), pack-reused 0
Receiving objects: 100% (66/66), 422.99 KiB | 5.87 MiB/s, done.
Resolving deltas: 100% (7/7), done.

overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/doc/quick-start-guide.md

cd overleaf-toolkit/

Does not seem to mention then how to leverage following Docker images.

ls
CHANGELOG.md  LICENSE  README.md  bin  config  data  doc  lib
bin/init
Copying config files to 'config/'
ls config/
overleaf.rc  variables.env  version
bin/up
Initiating Mongo replica set...
ERROR: Could not find Docker Compose.
sudo apt install -y docker-compose
Output:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  python3-docker python3-dockerpty python3-docopt python3-dotenv python3-texttable python3-websocket
The following NEW packages will be installed:
  docker-compose python3-docker python3-dockerpty python3-docopt python3-dotenv python3-texttable python3-websocket
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 290 kB of archives.
After this operation, 1545 kB of additional disk space will be used.
Get:1 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 python3-websocket all 1.2.3-1 [34.7 kB]
Get:2 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 python3-docker all 5.0.3-1 [89.3 kB]
Get:3 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 python3-dockerpty all 0.4.1-2 [11.1 kB]
Get:4 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 python3-docopt all 0.6.2-4 [26.9 kB]
Get:5 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 python3-dotenv all 0.19.2-1 [20.5 kB]
Get:6 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 python3-texttable all 1.6.4-1 [11.4 kB]
Get:7 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 docker-compose all 1.29.2-1 [95.8 kB]
Fetched 290 kB in 0s (1827 kB/s)        
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package python3-websocket.
(Reading database ... 255985 files and directories currently installed.)
Preparing to unpack .../0-python3-websocket_1.2.3-1_all.deb ...
Unpacking python3-websocket (1.2.3-1) ...
Selecting previously unselected package python3-docker.
Preparing to unpack .../1-python3-docker_5.0.3-1_all.deb ...
Unpacking python3-docker (5.0.3-1) ...
Selecting previously unselected package python3-dockerpty.
Preparing to unpack .../2-python3-dockerpty_0.4.1-2_all.deb ...
Unpacking python3-dockerpty (0.4.1-2) ...
Selecting previously unselected package python3-docopt.
Preparing to unpack .../3-python3-docopt_0.6.2-4_all.deb ...
Unpacking python3-docopt (0.6.2-4) ...
Selecting previously unselected package python3-dotenv.
Preparing to unpack .../4-python3-dotenv_0.19.2-1_all.deb ...
Unpacking python3-dotenv (0.19.2-1) ...
Selecting previously unselected package python3-texttable.
Preparing to unpack .../5-python3-texttable_1.6.4-1_all.deb ...
Unpacking python3-texttable (1.6.4-1) ...
Selecting previously unselected package docker-compose.
Preparing to unpack .../6-docker-compose_1.29.2-1_all.deb ...
Unpacking docker-compose (1.29.2-1) ...
Setting up python3-dotenv (0.19.2-1) ...
Setting up python3-texttable (1.6.4-1) ...
Setting up python3-docopt (0.6.2-4) ...
Setting up python3-websocket (1.2.3-1) ...
Setting up python3-dockerpty (0.4.1-2) ...
Setting up python3-docker (5.0.3-1) ...
Setting up docker-compose (1.29.2-1) ...
Processing triggers for man-db (2.10.2-1) ...
Scanning processes...                                                                                                                      
Scanning linux images...                                                                                                                   

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
bin/up
Output:
Initiating Mongo replica set...
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.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 214, in _retrieve_server_version
    return self.version(api_version=False)["ApiVersion"]
  File "/usr/lib/python3/dist-packages/docker/api/daemon.py", line 181, in version
    return self._result(self._get(url), json=True)
  File "/usr/lib/python3/dist-packages/docker/utils/decorators.py", line 46, in inner
    return f(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 237, in _get
    return self.get(url, **self._set_request_timeout(kwargs))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/requests/sessions.py", line 602, in get
    return self.request("GET", url, **kwargs)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/requests/adapters.py", line 486, in send
    resp = conn.urlopen(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 790, in urlopen
    response = self._make_request(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 496, in _make_request
    conn.request(
TypeError: HTTPConnection.request() got an unexpected keyword argument 'chunked'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 33, in <module>
    sys.exit(load_entry_point('docker-compose==1.29.2', 'console_scripts', 'docker-compose')())
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 81, in main
    command_func()
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 200, in perform_command
    project = project_from_options('.', options)
  File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 60, in project_from_options
    return get_project(
  File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 152, in get_project
    client = get_client(
  File "/usr/lib/python3/dist-packages/compose/cli/docker_client.py", line 41, in get_client
    client = docker_client(
  File "/usr/lib/python3/dist-packages/compose/cli/docker_client.py", line 170, in docker_client
    client = APIClient(use_ssh_client=not use_paramiko_ssh, **kwargs)
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 197, in __init__
    self._version = self._retrieve_server_version()
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 221, in _retrieve_server_version
    raise DockerException(
docker.errors.DockerException: Error while fetching server API version: HTTPConnection.request() got an unexpected keyword argument 'chunked'

Same issue if run again the command.

Note docker-compose all 1.29.2-1 in the previous command output.

sudo apt purge -y docker-compose
Output:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python3-docker python3-dockerpty python3-docopt python3-dotenv python3-texttable python3-websocket
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, 510 kB disk space will be freed.
(Reading database ... 256244 files and directories currently installed.)
Removing docker-compose (1.29.2-1) ...
Processing triggers for man-db (2.10.2-1) ...
sudo apt autoremove -y

From July 2023 Compose V1 stopped receiving updates.

Source: https://docs.docker.com/compose/migrate/

https://docs.docker.com/compose/migrate/#how-do-i-switch-to-compose-v2

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

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

sudo apt install -y ca-certificates curl
Output:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ca-certificates is already the newest version (20230311ubuntu0.22.04.1).
curl is already the newest version (7.81.0-1ubuntu1.16).
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/ubuntu/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/ubuntu \
  $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update
Output:
Get:1 https://download.docker.com/linux/ubuntu jammy InRelease [48.8 kB]
Hit:2 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy InRelease                                                     
Hit:3 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease                                                   
Hit:4 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates InRelease                         
Hit:5 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-backports InRelease 
Get:6 https://download.docker.com/linux/ubuntu jammy/stable arm64 Packages [35.2 kB]
Hit:7 https://ppa.launchpadcontent.net/ondrej/apache2/ubuntu jammy InRelease                          
Hit:8 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease
Get:9 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security InRelease [7553 B]
Get:10 https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates InRelease [7456 B]
Get:11 https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease [7450 B]
Get:12 https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease [7449 B]
Fetched 114 kB in 6s (20.6 kB/s)    
Reading package lists... Done
sudo apt install docker-compose-plugin
Output:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  docker-compose-plugin
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.8 MB of archives.
After this operation, 61.4 MB of additional disk space will be used.
Get:1 https://download.docker.com/linux/ubuntu jammy/stable arm64 docker-compose-plugin arm64 2.28.1-1~ubuntu.22.04~jammy [10.8 MB]
Fetched 10.8 MB in 0s (50.2 MB/s)          
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package docker-compose-plugin.
(Reading database ... 255985 files and directories currently installed.)
Preparing to unpack .../docker-compose-plugin_2.28.1-1~ubuntu.22.04~jammy_arm64.deb ...
Unpacking docker-compose-plugin (2.28.1-1~ubuntu.22.04~jammy) ...
Setting up docker-compose-plugin (2.28.1-1~ubuntu.22.04~jammy) ...
Scanning processes...                                                                                                                      
Scanning linux images...                                                                                                                   

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
docker compose version
Docker Compose version v2.28.1
bin/up
Output:
Initiating Mongo replica set...
WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.base.yml: `version` is obsolete 
WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.vars.yml: `version` is obsolete 
WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.redis.yml: `version` is obsolete 
WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.mongo.yml: `version` is obsolete 
WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: `version` is obsolete 
[+] Running 9/9
 ✔ mongo Pulled                                                                                                                      10.8s 
   ✔ 4ce000a43472 Pull complete                                                                                                       2.8s 
   ✔ 31884fd206c8 Pull complete                                                                                                       2.9s 
   ✔ 85a322bad11a Pull complete                                                                                                       3.0s 
   ✔ bfd52020136a Pull complete                                                                                                       3.0s 
   ✔ feb892d238d4 Pull complete                                                                                                       3.1s 
   ✔ 89c63a911dca Pull complete                                                                                                       3.1s 
   ✔ 0e19bb752c22 Pull complete                                                                                                       9.1s 
   ✔ 6cb9eecfcb3f Pull complete                                                                                                       9.1s 
[+] Running 2/2
 ✔ Network overleaf_default  Created                                                                                                  0.1s 
 ✔ Container mongo           Started                                                                                                  5.8s 
MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017
Waiting for Mongo...

Please configure ALL_TEX_LIVE_DOCKER_IMAGES in /home/ubuntu/overleaf/overleaf-toolkit/config/variables.env

You can read more about configuring Sandboxed Compiles in our documentation:
  https://github.com/overleaf/overleaf/wiki/Server-Pro:-sandboxed-compiles#changing-the-texlive-image

Adding:

ALL_TEX_LIVE_DOCKER_IMAGES=quay.io/sharelatex/texlive-full:2023.1

to overleaf-toolkit/config/variables.env results in:

bin/up
Output:
Initiating Mongo replica set...
WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.base.yml: `version` is obsolete 
WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.vars.yml: `version` is obsolete 
WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.redis.yml: `version` is obsolete 
WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.mongo.yml: `version` is obsolete 
WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: `version` is obsolete 
[+] Running 1/0
 ✔ Container mongo  Running                                                                                                           0.0s 
Pulling TeX Live images...
  - quay.io/sharelatex/texlive-full:2023.1 download started (may take some time)
Error response from daemon: unauthorized: access to the requested resource is not authorized

Note that there is a Server Pro mention above ALL_TEX_LIVE_DOCKER_IMAGES.

DuckDuckGo and Google only returns overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/bin/up#L57 for "Please configure ALL_TEX_LIVE_DOCKER_IMAGES in"...

docker login quay.io
Username: benjamin_loison
Password: 
WARNING! Your password will be stored unencrypted in /home/ubuntu/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded

Source: https://quay.io/user/benjamin_loison/?tab=settings

bin/up
Initiating Mongo replica set...
WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.base.yml: `version` is obsolete 
WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.vars.yml: `version` is obsolete 
WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.redis.yml: `version` is obsolete 
WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.mongo.yml: `version` is obsolete 
WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: `version` is obsolete 
[+] Running 1/0
 ✔ Container mongo  Running                                                                                                           0.0s 
Pulling TeX Live images...
  - quay.io/sharelatex/texlive-full:2023.1 download started (may take some time)
Error response from daemon: unauthorized: access to the requested resource is not authorized

overleaf/blob/710cacad2dc8921e1fcfd306c54843266226be89/README.md#overleaf-docker-image

[overleaf/blob/710cacad2dc8921e1fcfd306c54843266226be89/README.md#keeping-up-to-date](https://github.com/overleaf/overleaf/blob/710cacad2dc8921e1fcfd306c54843266226be89/README.md#keeping-up-to-date) is a mailing list advertisement. [overleaf/blob/710cacad2dc8921e1fcfd306c54843266226be89/README.md#upgrading](https://github.com/overleaf/overleaf/blob/710cacad2dc8921e1fcfd306c54843266226be89/README.md#upgrading) [overleaf/overleaf/blob/710cacad2dc8921e1fcfd306c54843266226be89/README.md#installation](https://github.com/overleaf/overleaf/blob/710cacad2dc8921e1fcfd306c54843266226be89/README.md#installation) [overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/README.md#getting-started](https://github.com/overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/README.md#getting-started) ```bash git clone --depth 1 https://github.com/overleaf/toolkit.git overleaf-toolkit/ ``` <details> <summary>Output:</summary> ``` Cloning into './overleaf-toolkit'... remote: Enumerating objects: 66, done. remote: Counting objects: 100% (66/66), done. remote: Compressing objects: 100% (57/57), done. remote: Total 66 (delta 7), reused 22 (delta 4), pack-reused 0 Receiving objects: 100% (66/66), 422.99 KiB | 5.87 MiB/s, done. Resolving deltas: 100% (7/7), done. ``` </details> [overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/doc/quick-start-guide.md](https://github.com/overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/doc/quick-start-guide.md) ```bash cd overleaf-toolkit/ ``` Does not seem to mention then how to leverage following Docker images. ```bash ls ``` ``` CHANGELOG.md LICENSE README.md bin config data doc lib ``` ```bash bin/init ``` ``` Copying config files to 'config/' ``` ```bash ls config/ ``` ``` overleaf.rc variables.env version ``` ```bash bin/up ``` ``` Initiating Mongo replica set... ERROR: Could not find Docker Compose. ``` ```bash sudo apt install -y docker-compose ``` <details> <summary>Output:</summary> ``` Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: python3-docker python3-dockerpty python3-docopt python3-dotenv python3-texttable python3-websocket The following NEW packages will be installed: docker-compose python3-docker python3-dockerpty python3-docopt python3-dotenv python3-texttable python3-websocket 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 290 kB of archives. After this operation, 1545 kB of additional disk space will be used. Get:1 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 python3-websocket all 1.2.3-1 [34.7 kB] Get:2 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 python3-docker all 5.0.3-1 [89.3 kB] Get:3 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 python3-dockerpty all 0.4.1-2 [11.1 kB] Get:4 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 python3-docopt all 0.6.2-4 [26.9 kB] Get:5 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 python3-dotenv all 0.19.2-1 [20.5 kB] Get:6 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 python3-texttable all 1.6.4-1 [11.4 kB] Get:7 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 docker-compose all 1.29.2-1 [95.8 kB] Fetched 290 kB in 0s (1827 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package python3-websocket. (Reading database ... 255985 files and directories currently installed.) Preparing to unpack .../0-python3-websocket_1.2.3-1_all.deb ... Unpacking python3-websocket (1.2.3-1) ... Selecting previously unselected package python3-docker. Preparing to unpack .../1-python3-docker_5.0.3-1_all.deb ... Unpacking python3-docker (5.0.3-1) ... Selecting previously unselected package python3-dockerpty. Preparing to unpack .../2-python3-dockerpty_0.4.1-2_all.deb ... Unpacking python3-dockerpty (0.4.1-2) ... Selecting previously unselected package python3-docopt. Preparing to unpack .../3-python3-docopt_0.6.2-4_all.deb ... Unpacking python3-docopt (0.6.2-4) ... Selecting previously unselected package python3-dotenv. Preparing to unpack .../4-python3-dotenv_0.19.2-1_all.deb ... Unpacking python3-dotenv (0.19.2-1) ... Selecting previously unselected package python3-texttable. Preparing to unpack .../5-python3-texttable_1.6.4-1_all.deb ... Unpacking python3-texttable (1.6.4-1) ... Selecting previously unselected package docker-compose. Preparing to unpack .../6-docker-compose_1.29.2-1_all.deb ... Unpacking docker-compose (1.29.2-1) ... Setting up python3-dotenv (0.19.2-1) ... Setting up python3-texttable (1.6.4-1) ... Setting up python3-docopt (0.6.2-4) ... Setting up python3-websocket (1.2.3-1) ... Setting up python3-dockerpty (0.4.1-2) ... Setting up python3-docker (5.0.3-1) ... Setting up docker-compose (1.29.2-1) ... Processing triggers for man-db (2.10.2-1) ... Scanning processes... Scanning linux images... Running kernel seems to be up-to-date. No services need to be restarted. No containers need to be restarted. No user sessions are running outdated binaries. No VM guests are running outdated hypervisor (qemu) binaries on this host. ``` </details> ```bash bin/up ``` <details> <summary>Output:</summary> ``` Initiating Mongo replica set... 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. Traceback (most recent call last): File "/usr/lib/python3/dist-packages/docker/api/client.py", line 214, in _retrieve_server_version return self.version(api_version=False)["ApiVersion"] File "/usr/lib/python3/dist-packages/docker/api/daemon.py", line 181, in version return self._result(self._get(url), json=True) File "/usr/lib/python3/dist-packages/docker/utils/decorators.py", line 46, in inner return f(self, *args, **kwargs) File "/usr/lib/python3/dist-packages/docker/api/client.py", line 237, in _get return self.get(url, **self._set_request_timeout(kwargs)) File "/home/ubuntu/.local/lib/python3.10/site-packages/requests/sessions.py", line 602, in get return self.request("GET", url, **kwargs) File "/home/ubuntu/.local/lib/python3.10/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "/home/ubuntu/.local/lib/python3.10/site-packages/requests/sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "/home/ubuntu/.local/lib/python3.10/site-packages/requests/adapters.py", line 486, in send resp = conn.urlopen( File "/home/ubuntu/.local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 790, in urlopen response = self._make_request( File "/home/ubuntu/.local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 496, in _make_request conn.request( TypeError: HTTPConnection.request() got an unexpected keyword argument 'chunked' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/docker-compose", line 33, in <module> sys.exit(load_entry_point('docker-compose==1.29.2', 'console_scripts', 'docker-compose')()) File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 81, in main command_func() File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 200, in perform_command project = project_from_options('.', options) File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 60, in project_from_options return get_project( File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 152, in get_project client = get_client( File "/usr/lib/python3/dist-packages/compose/cli/docker_client.py", line 41, in get_client client = docker_client( File "/usr/lib/python3/dist-packages/compose/cli/docker_client.py", line 170, in docker_client client = APIClient(use_ssh_client=not use_paramiko_ssh, **kwargs) File "/usr/lib/python3/dist-packages/docker/api/client.py", line 197, in __init__ self._version = self._retrieve_server_version() File "/usr/lib/python3/dist-packages/docker/api/client.py", line 221, in _retrieve_server_version raise DockerException( docker.errors.DockerException: Error while fetching server API version: HTTPConnection.request() got an unexpected keyword argument 'chunked' ``` </details> Same issue if run again the command. Note `docker-compose all 1.29.2-1` in the previous command output. ```bash sudo apt purge -y docker-compose ``` <details> <summary>Output:</summary> ``` Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: python3-docker python3-dockerpty python3-docopt python3-dotenv python3-texttable python3-websocket 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, 510 kB disk space will be freed. (Reading database ... 256244 files and directories currently installed.) Removing docker-compose (1.29.2-1) ... Processing triggers for man-db (2.10.2-1) ... ``` </details> ```bash sudo apt autoremove -y ``` > From July 2023 Compose V1 stopped receiving updates. Source: https://docs.docker.com/compose/migrate/ https://docs.docker.com/compose/migrate/#how-do-i-switch-to-compose-v2 https://docs.docker.com/compose/install/linux/#install-using-the-repository https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository ```bash sudo apt install -y ca-certificates curl ``` <details> <summary>Output:</summary> ``` Reading package lists... Done Building dependency tree... Done Reading state information... Done ca-certificates is already the newest version (20230311ubuntu0.22.04.1). curl is already the newest version (7.81.0-1ubuntu1.16). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ``` </details> ```bash sudo install -m 0755 -d /etc/apt/keyrings sudo curl -fsSL https://download.docker.com/linux/ubuntu/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/ubuntu \ $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt update ``` <details> <summary>Output:</summary> ``` Get:1 https://download.docker.com/linux/ubuntu jammy InRelease [48.8 kB] Hit:2 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy InRelease Hit:3 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease Hit:4 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates InRelease Hit:5 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-backports InRelease Get:6 https://download.docker.com/linux/ubuntu jammy/stable arm64 Packages [35.2 kB] Hit:7 https://ppa.launchpadcontent.net/ondrej/apache2/ubuntu jammy InRelease Hit:8 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease Get:9 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security InRelease [7553 B] Get:10 https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates InRelease [7456 B] Get:11 https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease [7450 B] Get:12 https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease [7449 B] Fetched 114 kB in 6s (20.6 kB/s) Reading package lists... Done ``` </details> ```bash sudo apt install docker-compose-plugin ``` <details> <summary>Output:</summary> ``` Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: docker-compose-plugin 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 10.8 MB of archives. After this operation, 61.4 MB of additional disk space will be used. Get:1 https://download.docker.com/linux/ubuntu jammy/stable arm64 docker-compose-plugin arm64 2.28.1-1~ubuntu.22.04~jammy [10.8 MB] Fetched 10.8 MB in 0s (50.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package docker-compose-plugin. (Reading database ... 255985 files and directories currently installed.) Preparing to unpack .../docker-compose-plugin_2.28.1-1~ubuntu.22.04~jammy_arm64.deb ... Unpacking docker-compose-plugin (2.28.1-1~ubuntu.22.04~jammy) ... Setting up docker-compose-plugin (2.28.1-1~ubuntu.22.04~jammy) ... Scanning processes... Scanning linux images... Running kernel seems to be up-to-date. No services need to be restarted. No containers need to be restarted. No user sessions are running outdated binaries. No VM guests are running outdated hypervisor (qemu) binaries on this host. ``` </details> ```bash docker compose version ``` ``` Docker Compose version v2.28.1 ``` ```bash bin/up ``` <details> <summary>Output:</summary> ``` Initiating Mongo replica set... WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.base.yml: `version` is obsolete WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.vars.yml: `version` is obsolete WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.redis.yml: `version` is obsolete WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.mongo.yml: `version` is obsolete WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: `version` is obsolete [+] Running 9/9 ✔ mongo Pulled 10.8s ✔ 4ce000a43472 Pull complete 2.8s ✔ 31884fd206c8 Pull complete 2.9s ✔ 85a322bad11a Pull complete 3.0s ✔ bfd52020136a Pull complete 3.0s ✔ feb892d238d4 Pull complete 3.1s ✔ 89c63a911dca Pull complete 3.1s ✔ 0e19bb752c22 Pull complete 9.1s ✔ 6cb9eecfcb3f Pull complete 9.1s [+] Running 2/2 ✔ Network overleaf_default Created 0.1s ✔ Container mongo Started 5.8s MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017 Waiting for Mongo... Please configure ALL_TEX_LIVE_DOCKER_IMAGES in /home/ubuntu/overleaf/overleaf-toolkit/config/variables.env You can read more about configuring Sandboxed Compiles in our documentation: https://github.com/overleaf/overleaf/wiki/Server-Pro:-sandboxed-compiles#changing-the-texlive-image ``` </details> Adding: ``` ALL_TEX_LIVE_DOCKER_IMAGES=quay.io/sharelatex/texlive-full:2023.1 ``` to `overleaf-toolkit/config/variables.env` results in: ```bash bin/up ``` <details> <summary>Output:</summary> ``` Initiating Mongo replica set... WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.base.yml: `version` is obsolete WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.vars.yml: `version` is obsolete WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.redis.yml: `version` is obsolete WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.mongo.yml: `version` is obsolete WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: `version` is obsolete [+] Running 1/0 ✔ Container mongo Running 0.0s Pulling TeX Live images... - quay.io/sharelatex/texlive-full:2023.1 download started (may take some time) Error response from daemon: unauthorized: access to the requested resource is not authorized ``` </details> Note that there is a *Server Pro* mention above `ALL_TEX_LIVE_DOCKER_IMAGES`. DuckDuckGo and Google only returns [overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/bin/up#L57](https://github.com/overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/bin/up#L57) for `"Please configure ALL_TEX_LIVE_DOCKER_IMAGES in"`... ```bash docker login quay.io ``` ``` Username: benjamin_loison Password: WARNING! Your password will be stored unencrypted in /home/ubuntu/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded ``` Source: https://quay.io/user/benjamin_loison/?tab=settings ```bash bin/up ``` ``` Initiating Mongo replica set... WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.base.yml: `version` is obsolete WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.vars.yml: `version` is obsolete WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.redis.yml: `version` is obsolete WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.mongo.yml: `version` is obsolete WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: `version` is obsolete [+] Running 1/0 ✔ Container mongo Running 0.0s Pulling TeX Live images... - quay.io/sharelatex/texlive-full:2023.1 download started (may take some time) Error response from daemon: unauthorized: access to the requested resource is not authorized ``` [overleaf/blob/710cacad2dc8921e1fcfd306c54843266226be89/README.md#overleaf-docker-image](https://github.com/overleaf/overleaf/blob/710cacad2dc8921e1fcfd306c54843266226be89/README.md#overleaf-docker-image)
Author
Owner

On Oracle instance instance-20230827-2235 Ubuntu 22.04:

git clone --depth 1 https://github.com/overleaf/overleaf
Output:
Cloning into 'overleaf'...
remote: Enumerating objects: 6457, done.
remote: Counting objects: 100% (6457/6457), done.
remote: Compressing objects: 100% (5424/5424), done.
remote: Total 6457 (delta 721), reused 4396 (delta 577), pack-reused 0
Receiving objects: 100% (6457/6457), 44.90 MiB | 22.24 MiB/s, done.
Resolving deltas: 100% (721/721), done.
cd overleaf/server-ce/
make build-base
Output:
cp .dockerignore ../
docker build \
  --build-arg BUILDKIT_INLINE_CACHE=1 \
  --file Dockerfile-base \
  --pull \
  --cache-from sharelatex/sharelatex-base \
  --cache-from sharelatex/sharelatex-base:main \
  --tag sharelatex/sharelatex-base:main-710cacad2dc8921e1fcfd306c54843266226be89 \
  --tag sharelatex/sharelatex-base:main \
  ../
make: docker: No such file or directory
make: *** [Makefile:17: build-base] Error 127
sudo apt install -y docker.io
Output:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  bridge-utils containerd pigz runc ubuntu-fan
Suggested packages:
  ifupdown aufs-tools cgroupfs-mount | cgroup-lite debootstrap docker-doc rinse zfs-fuse | zfsutils
The following NEW packages will be installed:
  bridge-utils containerd docker.io pigz runc ubuntu-fan
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 56.2 MB of archives.
After this operation, 231 MB of additional disk space will be used.
Get:1 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 pigz arm64 2.6-1 [55.7 kB]
Get:2 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 bridge-utils arm64 1.7-1ubuntu3 [34.4 kB]
Get:3 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 runc arm64 1.1.12-0ubuntu2~22.04.1 [7816 kB]
Get:4 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 containerd arm64 1.7.12-0ubuntu2~22.04.1 [27.1 MB]
Get:5 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/universe arm64 docker.io arm64 24.0.7-0ubuntu2~22.04.1 [21.2 MB]
Get:6 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 ubuntu-fan all 0.12.16 [35.2 kB]               
Fetched 56.2 MB in 55s (1021 kB/s)                                                                                                        
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package pigz.
(Reading database ... 255649 files and directories currently installed.)
Preparing to unpack .../0-pigz_2.6-1_arm64.deb ...
Unpacking pigz (2.6-1) ...
Selecting previously unselected package bridge-utils.
Preparing to unpack .../1-bridge-utils_1.7-1ubuntu3_arm64.deb ...
Unpacking bridge-utils (1.7-1ubuntu3) ...
Selecting previously unselected package runc.
Preparing to unpack .../2-runc_1.1.12-0ubuntu2~22.04.1_arm64.deb ...
Unpacking runc (1.1.12-0ubuntu2~22.04.1) ...
Selecting previously unselected package containerd.
Preparing to unpack .../3-containerd_1.7.12-0ubuntu2~22.04.1_arm64.deb ...
Unpacking containerd (1.7.12-0ubuntu2~22.04.1) ...
Selecting previously unselected package docker.io.
Preparing to unpack .../4-docker.io_24.0.7-0ubuntu2~22.04.1_arm64.deb ...
Unpacking docker.io (24.0.7-0ubuntu2~22.04.1) ...
Selecting previously unselected package ubuntu-fan.
Preparing to unpack .../5-ubuntu-fan_0.12.16_all.deb ...
Unpacking ubuntu-fan (0.12.16) ...
Setting up runc (1.1.12-0ubuntu2~22.04.1) ...
Setting up bridge-utils (1.7-1ubuntu3) ...
Setting up pigz (2.6-1) ...
Setting up containerd (1.7.12-0ubuntu2~22.04.1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/containerd.service → /lib/systemd/system/containerd.service.
Setting up ubuntu-fan (0.12.16) ...
Created symlink /etc/systemd/system/multi-user.target.wants/ubuntu-fan.service → /lib/systemd/system/ubuntu-fan.service.
Setting up docker.io (24.0.7-0ubuntu2~22.04.1) ...
Adding group `docker' (GID 143) ...
Done.
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.service.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.
Processing triggers for man-db (2.10.2-1) ...
Scanning processes...                                                                                                                      
Scanning linux images...                                                                                                                   

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
make build-base
Output:
cp .dockerignore ../
docker build \
  --build-arg BUILDKIT_INLINE_CACHE=1 \
  --file Dockerfile-base \
  --pull \
  --cache-from sharelatex/sharelatex-base \
  --cache-from sharelatex/sharelatex-base:main \
  --tag sharelatex/sharelatex-base:main-710cacad2dc8921e1fcfd306c54843266226be89 \
  --tag sharelatex/sharelatex-base:main \
  ../
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/build?buildargs=%7B%22BUILDKIT_INLINE_CACHE%22%3A%221%22%7D&cachefrom=%5B%22sharelatex%2Fsharelatex-base%22%2C%22sharelatex%2Fsharelatex-base%3Amain%22%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=server-ce%2FDockerfile-base&labels=%7B%7D&memory=0&memswap=0&networkmode=default&pull=1&rm=1&shmsize=0&t=sharelatex%2Fsharelatex-base%3Amain-710cacad2dc8921e1fcfd306c54843266226be89&t=sharelatex%2Fsharelatex-base%3Amain&target=&ulimits=null&version=1": dial unix /var/run/docker.sock: connect: permission denied
make: *** [Makefile:17: build-base] Error 1
sudo usermod -aG docker $USER

Source: the Stack Overflow answer 48957722

still have the same error if execute make build-base.

newgrp docker

solves this issue:

make build

output.txt

make build-community

output.txt

docker image ls
REPOSITORY                   TAG                                             IMAGE ID       CREATED          SIZE
sharelatex/sharelatex        main                                            08175e420961   6 minutes ago    2GB
sharelatex/sharelatex        main-710cacad2dc8921e1fcfd306c54843266226be89   08175e420961   6 minutes ago    2GB
sharelatex/sharelatex-base   main                                            52529b41f760   15 minutes ago   1.49GB
sharelatex/sharelatex-base   main-710cacad2dc8921e1fcfd306c54843266226be89   52529b41f760   15 minutes ago   1.49GB
phusion/baseimage            jammy-1.0.4                                     2d89d47a9de6   3 months ago     228MB
docker container ls
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
On Oracle instance `instance-20230827-2235` Ubuntu 22.04: ```bash git clone --depth 1 https://github.com/overleaf/overleaf ``` <details> <summary>Output:</summary> ``` Cloning into 'overleaf'... remote: Enumerating objects: 6457, done. remote: Counting objects: 100% (6457/6457), done. remote: Compressing objects: 100% (5424/5424), done. remote: Total 6457 (delta 721), reused 4396 (delta 577), pack-reused 0 Receiving objects: 100% (6457/6457), 44.90 MiB | 22.24 MiB/s, done. Resolving deltas: 100% (721/721), done. ``` </details> ```bash cd overleaf/server-ce/ make build-base ``` <details> <summary>Output:</summary> ``` cp .dockerignore ../ docker build \ --build-arg BUILDKIT_INLINE_CACHE=1 \ --file Dockerfile-base \ --pull \ --cache-from sharelatex/sharelatex-base \ --cache-from sharelatex/sharelatex-base:main \ --tag sharelatex/sharelatex-base:main-710cacad2dc8921e1fcfd306c54843266226be89 \ --tag sharelatex/sharelatex-base:main \ ../ make: docker: No such file or directory make: *** [Makefile:17: build-base] Error 127 ``` </details> ```bash sudo apt install -y docker.io ``` <details> <summary>Output:</summary> ``` Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: bridge-utils containerd pigz runc ubuntu-fan Suggested packages: ifupdown aufs-tools cgroupfs-mount | cgroup-lite debootstrap docker-doc rinse zfs-fuse | zfsutils The following NEW packages will be installed: bridge-utils containerd docker.io pigz runc ubuntu-fan 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 56.2 MB of archives. After this operation, 231 MB of additional disk space will be used. Get:1 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 pigz arm64 2.6-1 [55.7 kB] Get:2 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/main arm64 bridge-utils arm64 1.7-1ubuntu3 [34.4 kB] Get:3 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 runc arm64 1.1.12-0ubuntu2~22.04.1 [7816 kB] Get:4 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 containerd arm64 1.7.12-0ubuntu2~22.04.1 [27.1 MB] Get:5 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/universe arm64 docker.io arm64 24.0.7-0ubuntu2~22.04.1 [21.2 MB] Get:6 http://eu-marseille-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 ubuntu-fan all 0.12.16 [35.2 kB] Fetched 56.2 MB in 55s (1021 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package pigz. (Reading database ... 255649 files and directories currently installed.) Preparing to unpack .../0-pigz_2.6-1_arm64.deb ... Unpacking pigz (2.6-1) ... Selecting previously unselected package bridge-utils. Preparing to unpack .../1-bridge-utils_1.7-1ubuntu3_arm64.deb ... Unpacking bridge-utils (1.7-1ubuntu3) ... Selecting previously unselected package runc. Preparing to unpack .../2-runc_1.1.12-0ubuntu2~22.04.1_arm64.deb ... Unpacking runc (1.1.12-0ubuntu2~22.04.1) ... Selecting previously unselected package containerd. Preparing to unpack .../3-containerd_1.7.12-0ubuntu2~22.04.1_arm64.deb ... Unpacking containerd (1.7.12-0ubuntu2~22.04.1) ... Selecting previously unselected package docker.io. Preparing to unpack .../4-docker.io_24.0.7-0ubuntu2~22.04.1_arm64.deb ... Unpacking docker.io (24.0.7-0ubuntu2~22.04.1) ... Selecting previously unselected package ubuntu-fan. Preparing to unpack .../5-ubuntu-fan_0.12.16_all.deb ... Unpacking ubuntu-fan (0.12.16) ... Setting up runc (1.1.12-0ubuntu2~22.04.1) ... Setting up bridge-utils (1.7-1ubuntu3) ... Setting up pigz (2.6-1) ... Setting up containerd (1.7.12-0ubuntu2~22.04.1) ... Created symlink /etc/systemd/system/multi-user.target.wants/containerd.service → /lib/systemd/system/containerd.service. Setting up ubuntu-fan (0.12.16) ... Created symlink /etc/systemd/system/multi-user.target.wants/ubuntu-fan.service → /lib/systemd/system/ubuntu-fan.service. Setting up docker.io (24.0.7-0ubuntu2~22.04.1) ... Adding group `docker' (GID 143) ... Done. Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.service. Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket. Processing triggers for man-db (2.10.2-1) ... Scanning processes... Scanning linux images... Running kernel seems to be up-to-date. No services need to be restarted. No containers need to be restarted. No user sessions are running outdated binaries. No VM guests are running outdated hypervisor (qemu) binaries on this host. ``` </details> ```bash make build-base ``` <details> <summary>Output:</summary> ``` cp .dockerignore ../ docker build \ --build-arg BUILDKIT_INLINE_CACHE=1 \ --file Dockerfile-base \ --pull \ --cache-from sharelatex/sharelatex-base \ --cache-from sharelatex/sharelatex-base:main \ --tag sharelatex/sharelatex-base:main-710cacad2dc8921e1fcfd306c54843266226be89 \ --tag sharelatex/sharelatex-base:main \ ../ DEPRECATED: The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/buildx/ permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/build?buildargs=%7B%22BUILDKIT_INLINE_CACHE%22%3A%221%22%7D&cachefrom=%5B%22sharelatex%2Fsharelatex-base%22%2C%22sharelatex%2Fsharelatex-base%3Amain%22%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=server-ce%2FDockerfile-base&labels=%7B%7D&memory=0&memswap=0&networkmode=default&pull=1&rm=1&shmsize=0&t=sharelatex%2Fsharelatex-base%3Amain-710cacad2dc8921e1fcfd306c54843266226be89&t=sharelatex%2Fsharelatex-base%3Amain&target=&ulimits=null&version=1": dial unix /var/run/docker.sock: connect: permission denied make: *** [Makefile:17: build-base] Error 1 ``` </details> ```bash sudo usermod -aG docker $USER ``` Source: [the Stack Overflow answer 48957722](https://stackoverflow.com/a/48957722) still have the same error if execute `make build-base`. ```bash newgrp docker ``` solves this issue: ```bash make build ``` [output.txt](https://gitea.lemnoslife.com/attachments/9a83acbc-c4f8-46b5-a9b2-b13a1ba5760f) ```bash make build-community ``` [output.txt](https://gitea.lemnoslife.com/attachments/16370977-bbe7-42ac-ad8c-7a2504e59646) ```bash docker image ls ``` ``` REPOSITORY TAG IMAGE ID CREATED SIZE sharelatex/sharelatex main 08175e420961 6 minutes ago 2GB sharelatex/sharelatex main-710cacad2dc8921e1fcfd306c54843266226be89 08175e420961 6 minutes ago 2GB sharelatex/sharelatex-base main 52529b41f760 15 minutes ago 1.49GB sharelatex/sharelatex-base main-710cacad2dc8921e1fcfd306c54843266226be89 52529b41f760 15 minutes ago 1.49GB phusion/baseimage jammy-1.0.4 2d89d47a9de6 3 months ago 228MB ``` ```bash docker container ls ``` ``` CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES ```
Author
Owner
docker run -i -t sharelatex/sharelatex:main /bin/bash
Output:
*** Running /etc/my_init.d/000_check_for_old_bind_mounts_5.sh...
*** Running /etc/my_init.d/000_check_for_old_env_vars_5.sh...
*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/my_init.d/100_generate_secrets.sh...
generating random secrets
*** Running /etc/my_init.d/100_make_overleaf_data_dirs.sh...
*** Running /etc/my_init.d/100_restore_site_status.sh...
*** Running /etc/my_init.d/100_set_docker_host_ipaddress.sh...
*** Running /etc/my_init.d/10_syslog-ng.init...
Jul 20 23:34:31 900b40a1ed89 syslog-ng[80]: syslog-ng starting up; version='3.35.1'
*** Running /etc/my_init.d/200_nginx_config_template.sh...
Nginx: generating config file from template
Checking Nginx config
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Nginx: reloading config
 * Reloading nginx configuration nginx                                                                                              [ OK ] 
*** Running /etc/my_init.d/300_delete_old_logs.sh...
*** Running /etc/my_init.d/500_check_db_access.sh...
Checking can connect to mongo and redis
Using default settings from /overleaf/services/web/config/settings.defaults.js
Using settings from /etc/overleaf/settings.js
Set UV_THREADPOOL_SIZE=16
Cannot connect to mongodb
MongooseServerSelectionError: connect ECONNREFUSED 172.17.0.1:27017
    at Connection.openUri (/overleaf/node_modules/mongoose/lib/connection.js:825:32)
    at /overleaf/node_modules/mongoose/lib/index.js:414:10
    at /overleaf/node_modules/mongoose/lib/helpers/promiseOrCallback.js:41:5
    at new Promise (<anonymous>)
    at promiseOrCallback (/overleaf/node_modules/mongoose/lib/helpers/promiseOrCallback.js:40:10)
    at Mongoose._promiseOrCallback (/overleaf/node_modules/mongoose/lib/index.js:1288:10)
    at Mongoose.connect (/overleaf/node_modules/mongoose/lib/index.js:413:20)
    at Object.<anonymous> (/overleaf/services/web/app/src/infrastructure/Mongoose.js:19:36)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10) {
  reason: TopologyDescription {
    type: 'Unknown',
    servers: Map(1) { 'dockerhost:27017' => [ServerDescription] },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: null,
    maxElectionId: null,
    maxSetVersion: null,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined
}
*** /etc/my_init.d/500_check_db_access.sh failed with status 1

*** Killing all processes...
Jul 20 23:35:33 900b40a1ed89 syslog-ng[80]: syslog-ng shutting down; version='3.35.1'

Source: the Stack Overflow answer 18498313

http://129.151.245.17

```bash docker run -i -t sharelatex/sharelatex:main /bin/bash ``` <details> <summary>Output:</summary> ``` *** Running /etc/my_init.d/000_check_for_old_bind_mounts_5.sh... *** Running /etc/my_init.d/000_check_for_old_env_vars_5.sh... *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh... *** Running /etc/my_init.d/100_generate_secrets.sh... generating random secrets *** Running /etc/my_init.d/100_make_overleaf_data_dirs.sh... *** Running /etc/my_init.d/100_restore_site_status.sh... *** Running /etc/my_init.d/100_set_docker_host_ipaddress.sh... *** Running /etc/my_init.d/10_syslog-ng.init... Jul 20 23:34:31 900b40a1ed89 syslog-ng[80]: syslog-ng starting up; version='3.35.1' *** Running /etc/my_init.d/200_nginx_config_template.sh... Nginx: generating config file from template Checking Nginx config nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful Nginx: reloading config * Reloading nginx configuration nginx [ OK ] *** Running /etc/my_init.d/300_delete_old_logs.sh... *** Running /etc/my_init.d/500_check_db_access.sh... Checking can connect to mongo and redis Using default settings from /overleaf/services/web/config/settings.defaults.js Using settings from /etc/overleaf/settings.js Set UV_THREADPOOL_SIZE=16 Cannot connect to mongodb MongooseServerSelectionError: connect ECONNREFUSED 172.17.0.1:27017 at Connection.openUri (/overleaf/node_modules/mongoose/lib/connection.js:825:32) at /overleaf/node_modules/mongoose/lib/index.js:414:10 at /overleaf/node_modules/mongoose/lib/helpers/promiseOrCallback.js:41:5 at new Promise (<anonymous>) at promiseOrCallback (/overleaf/node_modules/mongoose/lib/helpers/promiseOrCallback.js:40:10) at Mongoose._promiseOrCallback (/overleaf/node_modules/mongoose/lib/index.js:1288:10) at Mongoose.connect (/overleaf/node_modules/mongoose/lib/index.js:413:20) at Object.<anonymous> (/overleaf/services/web/app/src/infrastructure/Mongoose.js:19:36) at Module._compile (node:internal/modules/cjs/loader:1364:14) at Module._extensions..js (node:internal/modules/cjs/loader:1422:10) { reason: TopologyDescription { type: 'Unknown', servers: Map(1) { 'dockerhost:27017' => [ServerDescription] }, stale: false, compatible: true, heartbeatFrequencyMS: 10000, localThresholdMS: 15, setName: null, maxElectionId: null, maxSetVersion: null, commonWireVersion: 0, logicalSessionTimeoutMinutes: null }, code: undefined } *** /etc/my_init.d/500_check_db_access.sh failed with status 1 *** Killing all processes... Jul 20 23:35:33 900b40a1ed89 syslog-ng[80]: syslog-ng shutting down; version='3.35.1' ``` </details> Source: [the Stack Overflow answer 18498313](https://stackoverflow.com/a/18498313) http://129.151.245.17
Author
Owner
Searching *host own Overleaf instance* on DuckDuckGo and Google. https://blog.felixviola.de/overleaf-ce-self-host-your-own-latex-server-tutorial/ does not help. So should restrain search to recent results. https://ulysseszh.github.io/guide/2023/09/29/self-host-overleaf.html does not seem interesting too. I should investigate the wiki. [overleaf/wiki/Home/7ed4c29753eb6246369b5744a6618a5a05b09e9a#setup](https://github.com/overleaf/overleaf/wiki/Home/7ed4c29753eb6246369b5744a6618a5a05b09e9a#setup) [overleaf/wiki/Quick-Start-Guide/a0d217c13abc2db095f461927dd2ab9037bc5e11](https://github.com/overleaf/overleaf/wiki/Quick-Start-Guide/a0d217c13abc2db095f461927dd2ab9037bc5e11) [overleaf/wiki/Server-Pro:-Setup/744d82fa3be7b540798a11a64b0f9a0d84134558](https://github.com/overleaf/overleaf/wiki/Server-Pro:-Setup/744d82fa3be7b540798a11a64b0f9a0d84134558)
Author
Owner

Can try to install the Overleaf version that I used to install successfully.

Can try to install the Overleaf version that I used to install successfully.
Author
Owner

Maybe should consider last branch or tag for a community version?

Maybe should consider last branch or tag for a community version?
Author
Owner

overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/doc/upgrading.md

config/version:

5.1.0

overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/doc/ce-upgrading-texlive.md

bin/shell
-------------------  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  ----------------------
service "sharelatex" is not running
bin/start
-------------------  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  ----------------------
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 3/3
 ✔ Container redis       Started                                                                                                      0.5s 
 ✔ Container mongo       Healthy                                                                                                      0.5s 
 ✔ Container sharelatex  Started
bin/shell
-------------------  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  ----------------------
root@d4f2957ec807:/overleaf#
tlmgr --version
tlmgr revision 66798 (2023-04-08 02:15:21 +0200)
tlmgr using installation: /usr/local/texlive/2023
TeX Live (https://tug.org/texlive) version 2023
tlmgr install scheme-full
tlmgr: package repository https://mirror.ox.ac.uk/sites/ctan.org/systems/texlive/tlnet (not verified: valid signature with expired key)
tlmgr install: package already present: scheme-full
tlmgr path add
docker commit sharelatex sharelatex/sharelatex:5.1.0-with-texlive-full
sha256:ee4677bbd041878158227470f823b91979a46224d8242cd21a79d94f6e444d3d

Related to Benjamin_Loison/moby/issues/7.

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
echo 5.1.0-with-texlive-full > config/version
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-with-texlive-full': Error response from daemon: invalid reference format
[overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/doc/upgrading.md](https://github.com/overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/doc/upgrading.md) `config/version`: ``` 5.1.0 ``` [overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/doc/ce-upgrading-texlive.md](https://github.com/overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/doc/ce-upgrading-texlive.md) ```bash bin/shell ``` ``` ------------------- 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 ---------------------- service "sharelatex" is not running ``` ```bash bin/start ``` ``` ------------------- 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 ---------------------- 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 3/3 ✔ Container redis Started 0.5s ✔ Container mongo Healthy 0.5s ✔ Container sharelatex Started ``` ```bash bin/shell ``` ``` ------------------- 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 ---------------------- root@d4f2957ec807:/overleaf# ``` ```bash tlmgr --version ``` ``` tlmgr revision 66798 (2023-04-08 02:15:21 +0200) tlmgr using installation: /usr/local/texlive/2023 TeX Live (https://tug.org/texlive) version 2023 ``` ```bash tlmgr install scheme-full ``` ``` tlmgr: package repository https://mirror.ox.ac.uk/sites/ctan.org/systems/texlive/tlnet (not verified: valid signature with expired key) tlmgr install: package already present: scheme-full ``` ```bash tlmgr path add ``` ```bash docker commit sharelatex sharelatex/sharelatex:5.1.0-with-texlive-full ``` ``` sha256:ee4677bbd041878158227470f823b91979a46224d8242cd21a79d94f6e444d3d ``` Related to [Benjamin_Loison/moby/issues/7](https://codeberg.org/Benjamin_Loison/moby/issues/7). ```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 echo 5.1.0-with-texlive-full > config/version 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-with-texlive-full': Error response from daemon: invalid reference format ```
Author
Owner
grep -r 'with-texlive-full' --exclude-dir=backup --exclude={CHANGELOG.md,__old*} 2> /dev/null
lib/shared-functions.sh:  if [[ ! "$IMAGE_VERSION" =~ ^([0-9]+)\.([0-9]+)\.([0-9])+(-RC[0-9]*)?(-with-texlive-full)?$ ]]; then
doc/ce-upgrading-texlive.md:$ docker commit sharelatex sharelatex/sharelatex:5.0.3-with-texlive-full
doc/ce-upgrading-texlive.md:$ echo 5.0.3-with-texlive-full > config/version
config/overleaf.rc:OVERLEAF_IMAGE_NAME=sharelatex/sharelatex:with-texlive-full
config/version:5.1.0-with-texlive-full
bin/upgrade:  if [[ ! "$SEED_IMAGE_VERSION" =~ ^([0-9]+)\.([0-9]+)\.[0-9]+(-RC[0-9]*)?(-with-texlive-full)?$ ]]; then
bin/upgrade:        echo "* Remove the image: 'docker rm sharelatex/sharelatex:with-texlive-full'"

Replace in config/overleaf.rc:

OVERLEAF_IMAGE_NAME=sharelatex/sharelatex:with-texlive-full

with:

OVERLEAF_IMAGE_NAME=sharelatex/sharelatex
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 
[+] Running 3/3
 ✔ Container mongo       Running                                                                                                      0.0s 
 ✔ Container redis       Recreated                                                                                                    1.0s 
 ✔ Container sharelatex  Recreated                                                                                                   65.0s 
Attaching to mongo, redis, sharelatex
redis       | 1:C 22 Jul 2024 13:26:31.769 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
...

then https://overleaf.lemnoslife.com works back as usual.

```bash grep -r 'with-texlive-full' --exclude-dir=backup --exclude={CHANGELOG.md,__old*} 2> /dev/null ``` ``` lib/shared-functions.sh: if [[ ! "$IMAGE_VERSION" =~ ^([0-9]+)\.([0-9]+)\.([0-9])+(-RC[0-9]*)?(-with-texlive-full)?$ ]]; then doc/ce-upgrading-texlive.md:$ docker commit sharelatex sharelatex/sharelatex:5.0.3-with-texlive-full doc/ce-upgrading-texlive.md:$ echo 5.0.3-with-texlive-full > config/version config/overleaf.rc:OVERLEAF_IMAGE_NAME=sharelatex/sharelatex:with-texlive-full config/version:5.1.0-with-texlive-full bin/upgrade: if [[ ! "$SEED_IMAGE_VERSION" =~ ^([0-9]+)\.([0-9]+)\.[0-9]+(-RC[0-9]*)?(-with-texlive-full)?$ ]]; then bin/upgrade: echo "* Remove the image: 'docker rm sharelatex/sharelatex:with-texlive-full'" ``` Replace in `config/overleaf.rc`: ``` OVERLEAF_IMAGE_NAME=sharelatex/sharelatex:with-texlive-full ``` with: ``` OVERLEAF_IMAGE_NAME=sharelatex/sharelatex ``` ```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 [+] Running 3/3 ✔ Container mongo Running 0.0s ✔ Container redis Recreated 1.0s ✔ Container sharelatex Recreated 65.0s Attaching to mongo, redis, sharelatex redis | 1:C 22 Jul 2024 13:26:31.769 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo ... ``` then https://overleaf.lemnoslife.com works back as usual.
Author
Owner
bin/start
-------------------  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  ----------------------
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 3/3
 ✔ Container mongo       Healthy                                                                                                     10.9s 
 ✔ Container redis       Started                                                                                                      0.3s 
 ✔ Container sharelatex  Started

If replace in config/overleaf.rc:

MONGO_IMAGE=mongo:4.4

with

MONGO_IMAGE=mongo
MONGO_VERSION=4.4

then get:

bin/start
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 3/3
 ✔ Container mongo       Healthy                                                                                                     10.9s 
 ✔ Container redis       Started                                                                                                      0.4s 
 ✔ Container sharelatex  Started

and https://overleaf.lemnoslife.com works fine.

```bash bin/start ``` ``` ------------------- 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 ---------------------- 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 3/3 ✔ Container mongo Healthy 10.9s ✔ Container redis Started 0.3s ✔ Container sharelatex Started ``` If replace in `config/overleaf.rc`: ``` MONGO_IMAGE=mongo:4.4 ``` with ``` MONGO_IMAGE=mongo MONGO_VERSION=4.4 ``` then get: ```bash bin/start ``` ``` 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 3/3 ✔ Container mongo Healthy 10.9s ✔ Container redis Started 0.4s ✔ Container sharelatex Started ``` and https://overleaf.lemnoslife.com works fine.
Author
Owner

Note that still face 2023 copyright.

Note that still face 2023 copyright.
Author
Owner

Note that there is:

OVERLEAF_LEFT_FOOTER=[{"text":"Powered by Overleaf © 2021", "url": "https://www.overleaf.com"}, {"text": "Contact your support team", "url": "mailto:support@example.com"} ]

in config/variables.env.

Note that there is: ``` OVERLEAF_LEFT_FOOTER=[{"text":"Powered by Overleaf © 2021", "url": "https://www.overleaf.com"}, {"text": "Contact your support team", "url": "mailto:support@example.com"} ] ``` in `config/variables.env`.
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#7
No description provided.