toolkit icon indicating copy to clipboard operation
toolkit copied to clipboard

After restarting Docker, the website shows that it is under maintenance

Open Baizx98 opened this issue 2 years ago • 1 comments

  1. After successfully running Docker according to the steps provided in the document, the Overleaf website can be used normally.
  2. However, when I press Ctrl+C to stop Docker and then execute bin/start to start the container, my website shows as under maintenance. 微信图片_20231213110221

I also executed bin/locator, and the output is as follows

====== 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 24.0.6, build ed223bc
    - 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 1.1.1t  7 Feb 2023
    - docker compose
        - status: present
        - version info: Docker Compose version v2.21.0
- Docker Daemon
    - status: up
====== Configuration ======
- config/version
    - status: present
    - version: 4.2.0
- config/overleaf.rc
    - status: present
    - values
        - SHARELATEX_DATA_PATH: data/sharelatex
        - SERVER_PRO: false
        - SHARELATEX_LISTEN_IP: xx.242.187.68
        - SHARELATEX_PORT: 5000
        - 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
====== Warnings ======
- None, all good
====== End ======

Baizx98 avatar Dec 13 '23 03:12 Baizx98

After using the sharelatex 3.4.0 image, the website returned to normal.

Baizx98 avatar Dec 14 '23 09:12 Baizx98