config/variables.env changes are not taken into account #25

Closed
opened 2024-07-22 15:51:30 +02:00 by Benjamin_Loison · 13 comments

For instance I set:

OVERLEAF_APP_NAME="Our Overleaf Instance Test"
OVERLEAF_SITE_URL=https://overleaf.lemnoslife.com
OVERLEAF_ADMIN_EMAIL=benjamin.loison@censored.com
OVERLEAF_ALLOW_PUBLIC_ACCESS=true
OVERLEAF_ALLOW_ANONYMOUS_READ_AND_WRITE_SHARING=true

but still notice Our Overleaf Instance despite ctrl + shift + r.

Related to #21, #8 and #20.

For instance I set: ``` OVERLEAF_APP_NAME="Our Overleaf Instance Test" OVERLEAF_SITE_URL=https://overleaf.lemnoslife.com OVERLEAF_ADMIN_EMAIL=benjamin.loison@censored.com OVERLEAF_ALLOW_PUBLIC_ACCESS=true OVERLEAF_ALLOW_ANONYMOUS_READ_AND_WRITE_SHARING=true ``` but still notice *Our Overleaf Instance* despite <kbd>ctrl</kbd> + <kbd>shift</kbd> + <kbd>r</kbd>. Related to #21, #8 and #20.
Author
Owner

Could search on DuckDuckGo and Google Overleaf config/variables.env changes not taken into account.

Could search on DuckDuckGo and Google *Overleaf config/variables.env changes not taken into account*.
Author
Owner
Related to [overleaf/toolkit/issues/20](https://github.com/overleaf/toolkit/issues/20).
Author
Owner
ls
cron          libraries     outline_doc_icon.patch  package-lock.json       services
genScript.js  node_modules  package.json            pr_13229_ce_only.patch  services.js
ls /
bd_build  bin  boot  dev  etc  home  lib  lib32  lib64  libx32  media  mnt  opt  overleaf  proc  root  run  sbin  srv  sys  tmp  usr  var
```bash ls ``` ``` cron libraries outline_doc_icon.patch package-lock.json services genScript.js node_modules package.json pr_13229_ce_only.patch services.js ``` ```bash ls / ``` ``` bd_build bin boot dev etc home lib lib32 lib64 libx32 media mnt opt overleaf proc root run sbin srv sys tmp usr var ```
Author
Owner
env
GIT_BRIDGE_ENABLED=false
OVERLEAF_REDIS_HOST=redis
LOG_LEVEL=info
HOSTNAME=9674c498b97d
LANGUAGE=en_US:en
TEXMFVAR=/var/lib/sharelatex/tmp/texmf-var
REDIS_HOST=redis
SHARELATEX_BEHIND_PROXY=true
OVERLEAF_ADMIN_EMAIL=benjamin.loison@censored.com
ENABLED_LINKED_FILE_TYPES=project_file,project_output_file
OVERLEAF_ALLOW_PUBLIC_ACCESS=true
SHARELATEX_APP_NAME=Our Overleaf Instance
PWD=/overleaf
SHARELATEX_CONFIG=/etc/sharelatex/settings.js
EXTERNAL_AUTH=none
NODE_ENV=production
HOME=/root
LANG=en_US.UTF-8
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
OPTIMISE_PDF=true
OVERLEAF_RESTRICT_INVITES_TO_EXISTING_ACCOUNTS=false
CYPRESS_INSTALL_BINARY=0
KILL_PROCESS_TIMEOUT=55
V1_HISTORY_URL=http://sharelatex:3100/api
SHARELATEX_MONGO_URL=mongodb://mongo/sharelatex
OVERLEAF_BEHIND_PROXY=true
LESSCLOSE=/usr/bin/lesspipe %s %s
GIT_BRIDGE_HOST=git-bridge
ENABLE_CONVERSIONS=true
TERM=xterm
KILL_ALL_PROCESSES_TIMEOUT=55
LESSOPEN=| /usr/bin/lesspipe %s
OVERLEAF_SITE_URL=https://overleaf.lemnoslife.com
SHARELATEX_FPH_INITIALIZE_NEW_PROJECTS=true
SHARELATEX_REDIS_HOST=redis
SHLVL=1
EMAIL_CONFIRMATION_DISABLED=true
OVERLEAF_APP_NAME=Our Overleaf Instance Test
REDIS_PORT=6379
REBUILT_AFTER=2023-03-13
GIT_BRIDGE_PORT=8000
WEB_API_USER=sharelatex
SITE_MAINTENANCE_FILE=/etc/sharelatex/site_status
LC_ALL=en_US.UTF-8
OVERLEAF_ALLOW_ANONYMOUS_READ_AND_WRITE_SHARING=true
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ADMIN_PRIVILEGE_AVAILABLE=true
SHARELATEX_FPH_DISPLAY_NEW_PROJECTS=true
DEBIAN_FRONTEND=teletype
OVERLEAF_MONGO_URL=mongodb://mongo/sharelatex
_=/usr/bin/env
```bash env ``` ``` GIT_BRIDGE_ENABLED=false OVERLEAF_REDIS_HOST=redis LOG_LEVEL=info HOSTNAME=9674c498b97d LANGUAGE=en_US:en TEXMFVAR=/var/lib/sharelatex/tmp/texmf-var REDIS_HOST=redis SHARELATEX_BEHIND_PROXY=true OVERLEAF_ADMIN_EMAIL=benjamin.loison@censored.com ENABLED_LINKED_FILE_TYPES=project_file,project_output_file OVERLEAF_ALLOW_PUBLIC_ACCESS=true SHARELATEX_APP_NAME=Our Overleaf Instance PWD=/overleaf SHARELATEX_CONFIG=/etc/sharelatex/settings.js EXTERNAL_AUTH=none NODE_ENV=production HOME=/root LANG=en_US.UTF-8 LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36: OPTIMISE_PDF=true OVERLEAF_RESTRICT_INVITES_TO_EXISTING_ACCOUNTS=false CYPRESS_INSTALL_BINARY=0 KILL_PROCESS_TIMEOUT=55 V1_HISTORY_URL=http://sharelatex:3100/api SHARELATEX_MONGO_URL=mongodb://mongo/sharelatex OVERLEAF_BEHIND_PROXY=true LESSCLOSE=/usr/bin/lesspipe %s %s GIT_BRIDGE_HOST=git-bridge ENABLE_CONVERSIONS=true TERM=xterm KILL_ALL_PROCESSES_TIMEOUT=55 LESSOPEN=| /usr/bin/lesspipe %s OVERLEAF_SITE_URL=https://overleaf.lemnoslife.com SHARELATEX_FPH_INITIALIZE_NEW_PROJECTS=true SHARELATEX_REDIS_HOST=redis SHLVL=1 EMAIL_CONFIRMATION_DISABLED=true OVERLEAF_APP_NAME=Our Overleaf Instance Test REDIS_PORT=6379 REBUILT_AFTER=2023-03-13 GIT_BRIDGE_PORT=8000 WEB_API_USER=sharelatex SITE_MAINTENANCE_FILE=/etc/sharelatex/site_status LC_ALL=en_US.UTF-8 OVERLEAF_ALLOW_ANONYMOUS_READ_AND_WRITE_SHARING=true PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ADMIN_PRIVILEGE_AVAILABLE=true SHARELATEX_FPH_DISPLAY_NEW_PROJECTS=true DEBIAN_FRONTEND=teletype OVERLEAF_MONGO_URL=mongodb://mongo/sharelatex _=/usr/bin/env ```
Author
Owner

Adding SHARELATEX_APP_NAME="Our Overleaf Instance Bis" to config/variables.env results in:

bin/up -d
Initiating Mongo replica set...
Rebranding from ShareLaTeX to Overleaf
  Starting with Overleaf CE and Server Pro version 5.0.0 the environment variables will use the Overleaf brand.
  Previous versions used the ShareLaTeX brand for environment variables.
  Your config/variables.env has 1 entries matching 'SHARELATEX_', expected prefix 'OVERLEAF_'.
  Please align your config/version with the naming scheme of variables in config/variables.env.
  You can migrate your config/variables.env to use the Overleaf brand by running:

    toolkit$ bin/rename-env-vars-5-0
Adding `SHARELATEX_APP_NAME="Our Overleaf Instance Bis"` to `config/variables.env` results in: ```bash bin/up -d ``` ``` Initiating Mongo replica set... Rebranding from ShareLaTeX to Overleaf Starting with Overleaf CE and Server Pro version 5.0.0 the environment variables will use the Overleaf brand. Previous versions used the ShareLaTeX brand for environment variables. Your config/variables.env has 1 entries matching 'SHARELATEX_', expected prefix 'OVERLEAF_'. Please align your config/version with the naming scheme of variables in config/variables.env. You can migrate your config/variables.env to use the Overleaf brand by running: toolkit$ bin/rename-env-vars-5-0 ```
Author
Owner

Let us get back to Oracle VPS:

docker image ls
REPOSITORY                   TAG                                             IMAGE ID       CREATED        SIZE
sharelatex/sharelatex        main                                            08175e420961   39 hours ago   2GB
sharelatex/sharelatex        main-710cacad2dc8921e1fcfd306c54843266226be89   08175e420961   39 hours ago   2GB
sharelatex/sharelatex-base   main                                            52529b41f760   39 hours ago   1.49GB
sharelatex/sharelatex-base   main-710cacad2dc8921e1fcfd306c54843266226be89   52529b41f760   39 hours ago   1.49GB
mongo                        6.0                                             f792762236dc   3 weeks ago    700MB
phusion/baseimage            jammy-1.0.4                                     2d89d47a9de6   3 months ago   228MB
bin/up
Initiating Mongo replica set...
WARN[0000] /home/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.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 
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

Uncommeting # OVERLEAF_IMAGE_NAME=sharelatex/sharelatex in config/overleaf.rc.

bin/up
Initiating Mongo replica set...
WARN[0000] /home/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.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 
Pulling TeX Live images...
  - quay.io/sharelatex/texlive-full:2023.1 download started (may take some time)

Commenting ALL_TEX_LIVE_DOCKER_IMAGES in config/variables.env.

bin/up
Initiating Mongo replica set...
WARN[0000] /home/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.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 

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
ls data/
mongo

Replacing ALL_TEX_LIVE_DOCKER_IMAGES=quay.io/sharelatex/texlive-full:2023.1 in config/overleaf.rc with ALL_TEX_LIVE_DOCKER_IMAGES=sharelatex/sharelatex.

bin/up
bin/up
Initiating Mongo replica set...
WARN[0000] /home/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.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 
Pulling TeX Live images...
  - sharelatex/sharelatex download started (may take some time)
Using default tag: latest
latest: Pulling from sharelatex/sharelatex
7021d1b70935: Pull complete 
467e34e18282: Pull complete 
6db07a32b0d2: Pull complete 
ffa8453078b5: Pull complete 
333cd123c46f: Pull complete 
152610ff4f2d: Pull complete 
03bead01b2c4: Pull complete 
c129587caee5: Pull complete 
3f27657f5e57: Pull complete 
1e4118e24567: Pull complete 
1b9728c32a20: Pull complete 
999a880f498b: Pull complete 
c6d1cd8ba636: Pull complete 
384c4f4749fb: Pull complete 
9795cb718c39: Pull complete 
c5370cb3b493: Pull complete 
35b2bb5040e5: Pull complete 
113ab03b0d35: Pull complete 
0435a1430da5: Pull complete 
96b96f87bb7d: Pull complete 
b59c7e031077: Pull complete 
9e4dd20a818a: Pull complete 
9a37a58b373d: Pull complete 
9bcc70a1a2b0: Pull complete 
2265658b41cf: Pull complete 
2083690e762b: Pull complete 
c5d7a182cedc: Pull complete 
de7cb47d2a6c: Pull complete 
aad0b9663b66: Pull complete 
cf266f65cf2f: Pull complete 
2f5e5beee699: Pull complete 
771718dcc04c: Pull complete 
2ec448626ef7: Pull complete 
7810574b420c: Pull complete 
75dad03a77cd: Pull complete 
e44d1b4bbcc3: Pull complete 
b4b98855d9b5: Pull complete 
Digest: sha256:790b655a04ecdc07ea53276d6e3c0e5bb8cd016676402c71ea73007d2f801015
Status: Downloaded newer image for sharelatex/sharelatex:latest
docker.io/sharelatex/sharelatex:latest
  - sharelatex/sharelatex download finished
WARN[0000] /home/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Running 10/10
 ✔ redis Pulled                                                                                                                       5.3s 
   ✔ ea235d1ccf77 Pull complete                                                                                                       3.1s 
   ✔ 3a5d33b42624 Pull complete                                                                                                       3.1s 
   ✔ 96f81c67cf4d Pull complete                                                                                                       3.1s 
   ✔ 03537f43b715 Pull complete                                                                                                       3.2s 
   ✔ 7c21e09a6ceb Pull complete                                                                                                       3.6s 
   ✔ bd4c5df2b3e8 Pull complete                                                                                                       3.6s 
   ✔ 4f4fb700ef54 Pull complete                                                                                                       3.7s 
   ✔ 7daf46f60dbf Pull complete                                                                                                       3.7s 
 ✔ sharelatex Pulled                                                                                                                  1.0s 
[+] Running 4/3
 ✔ Container redis                                                                                                                                           Created0.4s ng                                                                                                      0.0s 
 ✔ Container mongo                                                                                                                                           Running0.0s 
 ✔ Container sharelatex                                                                                                                                      Created0.1s 
 ! sharelatex The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s 
Attaching to mongo, redis, sharelatex
redis       | 1:C 22 Jul 2024 14:18:23.551 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis       | 1:C 22 Jul 2024 14:18:23.551 # Redis version=6.2.14, bits=64, commit=00000000, modified=0, pid=1, just started
redis       | 1:C 22 Jul 2024 14:18:23.551 # Configuration loaded
redis       | 1:M 22 Jul 2024 14:18:23.552 * monotonic clock: POSIX clock_gettime
redis       | 1:M 22 Jul 2024 14:18:23.557 * Running mode=standalone, port=6379.
redis       | 1:M 22 Jul 2024 14:18:23.557 # Server initialized
redis       | 1:M 22 Jul 2024 14:18:23.557 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
redis       | 1:M 22 Jul 2024 14:18:23.563 * Ready to accept connections
mongo       | {"t":{"$date":"2024-07-22T14:18:23.610+00:00"},"s":"I",  "c":"WTCHKPT",  "id":22430,   "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":{"ts_sec":1721657903,"ts_usec":610405,"thread":"1:0xebaaecbfebc0","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":6,"verbose_level":"DEBUG","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 34839, snapshot max: 34839 snapshot count: 0, oldest timestamp: (1721657594, 1) , meta checkpoint timestamp: (1721657894, 1) base write gen: 1"}}}
Error response from daemon: driver failed programming external connectivity on endpoint sharelatex (b7ea32074743650bbea541e88b20098132944678d7582c3769155b16d4628401): Error starting userland proxy: listen tcp4 127.0.0.1:80: bind: address already in use

Replacing OVERLEAF_PORT=80 in config/overleaf.rc with OVERLEAF_PORT=8080.

bin/up
Initiating Mongo replica set...
WARN[0000] /home/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.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 
Pulling TeX Live images...
  - sharelatex/sharelatex download started (may take some time)
Using default tag: latest
latest: Pulling from sharelatex/sharelatex
Digest: sha256:790b655a04ecdc07ea53276d6e3c0e5bb8cd016676402c71ea73007d2f801015
Status: Image is up to date for sharelatex/sharelatex:latest
docker.io/sharelatex/sharelatex:latest
  - sharelatex/sharelatex download finished
WARN[0000] /home/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Running 4/0
 ✔ Container redis                                                                                                                                           Running0.0s 
 ✔ Container mongo                                                                                                                                           Running0.0s 
 ✔ Container sharelatex                                                                                                                                      Recreated0.1s 
 ! sharelatex The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s 
Attaching to mongo, redis, sharelatex
sharelatex  | exec /sbin/my_init: exec format error
sharelatex exited with code 0
sharelatex  | exec /sbin/my_init: exec format error
sharelatex  | exec /sbin/my_init: exec format error
sharelatex  | exec /sbin/my_init: exec format error
sharelatex exited with code 1
sharelatex  | exec /sbin/my_init: exec format error
...
bin/up -d
Initiating Mongo replica set...
WARN[0000] /home/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Running 1/1
 ✔ Container mongo  Started                                                                                                           0.4s 
MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017
Waiting for Mongo...
Pulling TeX Live images...
  - sharelatex/sharelatex download started (may take some time)
Using default tag: latest
latest: Pulling from sharelatex/sharelatex
Digest: sha256:790b655a04ecdc07ea53276d6e3c0e5bb8cd016676402c71ea73007d2f801015
Status: Image is up to date for sharelatex/sharelatex:latest
docker.io/sharelatex/sharelatex:latest
  - sharelatex/sharelatex download finished
WARN[0000] /home/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Running 3/3
 ✔ Container mongo       Healthy                                                                                                      7.3s 
 ✔ Container redis       Started                                                                                                      0.3s 
 ✔ Container sharelatex  Started

Maybe reinstalling a fresh new Overleaf instance if the Oracle one works fine may make sense.

Maybe need to open the port 8080 for this setup, as http://129.151.245.17:8080 and http://yt.lemnoslife.com:8080 do not work.

Let us get back to Oracle VPS: ```bash docker image ls ``` ``` REPOSITORY TAG IMAGE ID CREATED SIZE sharelatex/sharelatex main 08175e420961 39 hours ago 2GB sharelatex/sharelatex main-710cacad2dc8921e1fcfd306c54843266226be89 08175e420961 39 hours ago 2GB sharelatex/sharelatex-base main 52529b41f760 39 hours ago 1.49GB sharelatex/sharelatex-base main-710cacad2dc8921e1fcfd306c54843266226be89 52529b41f760 39 hours ago 1.49GB mongo 6.0 f792762236dc 3 weeks ago 700MB phusion/baseimage jammy-1.0.4 2d89d47a9de6 3 months ago 228MB ``` ```bash bin/up ``` ``` Initiating Mongo replica set... WARN[0000] /home/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.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 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 ``` Uncommeting `# OVERLEAF_IMAGE_NAME=sharelatex/sharelatex` in `config/overleaf.rc`. ```bash bin/up ``` ``` Initiating Mongo replica set... WARN[0000] /home/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.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 Pulling TeX Live images... - quay.io/sharelatex/texlive-full:2023.1 download started (may take some time) ``` Commenting `ALL_TEX_LIVE_DOCKER_IMAGES` in `config/variables.env`. ```bash bin/up ``` ``` Initiating Mongo replica set... WARN[0000] /home/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.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 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 ``` ```bash ls data/ ``` ``` mongo ``` Replacing `ALL_TEX_LIVE_DOCKER_IMAGES=quay.io/sharelatex/texlive-full:2023.1` in `config/overleaf.rc` with `ALL_TEX_LIVE_DOCKER_IMAGES=sharelatex/sharelatex`. ```bash bin/up ``` ``` bin/up Initiating Mongo replica set... WARN[0000] /home/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.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 Pulling TeX Live images... - sharelatex/sharelatex download started (may take some time) Using default tag: latest latest: Pulling from sharelatex/sharelatex 7021d1b70935: Pull complete 467e34e18282: Pull complete 6db07a32b0d2: Pull complete ffa8453078b5: Pull complete 333cd123c46f: Pull complete 152610ff4f2d: Pull complete 03bead01b2c4: Pull complete c129587caee5: Pull complete 3f27657f5e57: Pull complete 1e4118e24567: Pull complete 1b9728c32a20: Pull complete 999a880f498b: Pull complete c6d1cd8ba636: Pull complete 384c4f4749fb: Pull complete 9795cb718c39: Pull complete c5370cb3b493: Pull complete 35b2bb5040e5: Pull complete 113ab03b0d35: Pull complete 0435a1430da5: Pull complete 96b96f87bb7d: Pull complete b59c7e031077: Pull complete 9e4dd20a818a: Pull complete 9a37a58b373d: Pull complete 9bcc70a1a2b0: Pull complete 2265658b41cf: Pull complete 2083690e762b: Pull complete c5d7a182cedc: Pull complete de7cb47d2a6c: Pull complete aad0b9663b66: Pull complete cf266f65cf2f: Pull complete 2f5e5beee699: Pull complete 771718dcc04c: Pull complete 2ec448626ef7: Pull complete 7810574b420c: Pull complete 75dad03a77cd: Pull complete e44d1b4bbcc3: Pull complete b4b98855d9b5: Pull complete Digest: sha256:790b655a04ecdc07ea53276d6e3c0e5bb8cd016676402c71ea73007d2f801015 Status: Downloaded newer image for sharelatex/sharelatex:latest docker.io/sharelatex/sharelatex:latest - sharelatex/sharelatex download finished WARN[0000] /home/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Running 10/10 ✔ redis Pulled 5.3s ✔ ea235d1ccf77 Pull complete 3.1s ✔ 3a5d33b42624 Pull complete 3.1s ✔ 96f81c67cf4d Pull complete 3.1s ✔ 03537f43b715 Pull complete 3.2s ✔ 7c21e09a6ceb Pull complete 3.6s ✔ bd4c5df2b3e8 Pull complete 3.6s ✔ 4f4fb700ef54 Pull complete 3.7s ✔ 7daf46f60dbf Pull complete 3.7s ✔ sharelatex Pulled 1.0s [+] Running 4/3 ✔ Container redis Created0.4s ng 0.0s ✔ Container mongo Running0.0s ✔ Container sharelatex Created0.1s ! sharelatex The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s Attaching to mongo, redis, sharelatex redis | 1:C 22 Jul 2024 14:18:23.551 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo redis | 1:C 22 Jul 2024 14:18:23.551 # Redis version=6.2.14, bits=64, commit=00000000, modified=0, pid=1, just started redis | 1:C 22 Jul 2024 14:18:23.551 # Configuration loaded redis | 1:M 22 Jul 2024 14:18:23.552 * monotonic clock: POSIX clock_gettime redis | 1:M 22 Jul 2024 14:18:23.557 * Running mode=standalone, port=6379. redis | 1:M 22 Jul 2024 14:18:23.557 # Server initialized redis | 1:M 22 Jul 2024 14:18:23.557 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. redis | 1:M 22 Jul 2024 14:18:23.563 * Ready to accept connections mongo | {"t":{"$date":"2024-07-22T14:18:23.610+00:00"},"s":"I", "c":"WTCHKPT", "id":22430, "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":{"ts_sec":1721657903,"ts_usec":610405,"thread":"1:0xebaaecbfebc0","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":6,"verbose_level":"DEBUG","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 34839, snapshot max: 34839 snapshot count: 0, oldest timestamp: (1721657594, 1) , meta checkpoint timestamp: (1721657894, 1) base write gen: 1"}}} Error response from daemon: driver failed programming external connectivity on endpoint sharelatex (b7ea32074743650bbea541e88b20098132944678d7582c3769155b16d4628401): Error starting userland proxy: listen tcp4 127.0.0.1:80: bind: address already in use ``` Replacing `OVERLEAF_PORT=80` in `config/overleaf.rc` with `OVERLEAF_PORT=8080`. ```bash bin/up ``` ``` Initiating Mongo replica set... WARN[0000] /home/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.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 Pulling TeX Live images... - sharelatex/sharelatex download started (may take some time) Using default tag: latest latest: Pulling from sharelatex/sharelatex Digest: sha256:790b655a04ecdc07ea53276d6e3c0e5bb8cd016676402c71ea73007d2f801015 Status: Image is up to date for sharelatex/sharelatex:latest docker.io/sharelatex/sharelatex:latest - sharelatex/sharelatex download finished WARN[0000] /home/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Running 4/0 ✔ Container redis Running0.0s ✔ Container mongo Running0.0s ✔ Container sharelatex Recreated0.1s ! sharelatex The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s Attaching to mongo, redis, sharelatex sharelatex | exec /sbin/my_init: exec format error sharelatex exited with code 0 sharelatex | exec /sbin/my_init: exec format error sharelatex | exec /sbin/my_init: exec format error sharelatex | exec /sbin/my_init: exec format error sharelatex exited with code 1 sharelatex | exec /sbin/my_init: exec format error ... ``` ```bash bin/up -d ``` ``` Initiating Mongo replica set... WARN[0000] /home/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Running 1/1 ✔ Container mongo Started 0.4s MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017 Waiting for Mongo... Pulling TeX Live images... - sharelatex/sharelatex download started (may take some time) Using default tag: latest latest: Pulling from sharelatex/sharelatex Digest: sha256:790b655a04ecdc07ea53276d6e3c0e5bb8cd016676402c71ea73007d2f801015 Status: Image is up to date for sharelatex/sharelatex:latest docker.io/sharelatex/sharelatex:latest - sharelatex/sharelatex download finished WARN[0000] /home/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/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/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/ubuntu/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Running 3/3 ✔ Container mongo Healthy 7.3s ✔ Container redis Started 0.3s ✔ Container sharelatex Started ``` Maybe reinstalling a fresh new Overleaf instance if the Oracle one works fine may make sense. Maybe need to open the port 8080 for this setup, as http://129.151.245.17:8080 and http://yt.lemnoslife.com:8080 do not work.
Author
Owner

Let us reinstall on OverClock 3000 a new Overleaf instance as I backed up (.zip and screenshot of almost single entry history) the 3 projects there were on my Linux Mint 21.3 Cinnamon Framework 13 at /home/benjamin/Desktop/bens_folder/devices/oc3k/overleaf/.

bin/stop
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Stopping 3/3
 ✔ Container sharelatex  Stopped                                                                                                     60.4s 
 ✔ Container redis       Stopped                                                                                                      0.3s 
 ✔ Container mongo       Stopped
docker container ls
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
docker image ls
REPOSITORY              TAG                       IMAGE ID       CREATED             SIZE
sharelatex/sharelatex   5.1.0-with-texlive-full   ee4677bbd041   About an hour ago   6.42GB
sharelatex/sharelatex   5.1.0                     41a77f59f69e   7 days ago          2.07GB
mongo                   6.0                       ba023ee7a779   3 weeks ago         729MB
sharelatex/sharelatex   with-texlive-full         e1076fe59920   13 months ago       6.39GB
sharelatex/sharelatex   4.0.1                     26c75dfb6485   14 months ago       2.72GB
redis                   6.2                       f2ed029e761a   14 months ago       113MB
mongo                   4.4                       afef20758bd3   16 months ago       431MB
postgres                14                        75993dd36176   22 months ago       376MB
nginx                   1.19-alpine               a64a6e03b055   3 years ago         22.6MB
docker rmi -f $(docker images -aq)
Untagged: sharelatex/sharelatex:5.1.0-with-texlive-full
Deleted: sha256:ee4677bbd041878158227470f823b91979a46224d8242cd21a79d94f6e444d3d
Untagged: sharelatex/sharelatex:5.1.0
Untagged: sharelatex/sharelatex@sha256:790b655a04ecdc07ea53276d6e3c0e5bb8cd016676402c71ea73007d2f801015
Deleted: sha256:41a77f59f69e5292e56692b880596dbf19398a184a11197c118c7cf29baf6f74
Deleted: sha256:3fb70ae493680eb621cb968f0422af02689d6914570cd6f9cf0dbcc9f722a706
Deleted: sha256:f1d0d8473896857eee857ff1cdd9c4e16d2999a9620ca691e9d8bc089d53a9bb
Deleted: sha256:bd4355868d310ebc8f40c87daf6a18098dd5f5f4bf23716d741a7277d914d96b
Deleted: sha256:bd3eda4af61674c6fe8ef8eab1d3331768393c90db366a72ea925f46b4d04a26
Deleted: sha256:0666bc0b06ae8eb2000ee2fc2c1d321828f27cdf13ee4b7a74ed90801eece741
Deleted: sha256:90aa7bc93e744cc518e0f47344de2a7c246b3d5cd5ffb51cdd9c0f57253ed1f9
Deleted: sha256:dfcebe8c1bb494c1d4835d38859ded76e12091f0c8a89005e9c200956d831cf2
Deleted: sha256:a62c1db8ec4be3c5a362fb48dd60a240aa5866dac393ff18142aba62c2344a69
Deleted: sha256:6be01932dcca75fbe36b33f74517466755dfd047db40533b29e4b939759b2ff3
Deleted: sha256:a5b8b196343c49bdd1a262bc54978d00b67154a213028459a7516185b1c04da6
Deleted: sha256:8591e15bb670f1c7bd310899d5f723f9c0dee1148ba5dbd2413167af01ed908c
Deleted: sha256:66787927a15057b7fa182232262930ed65c54ea6eba84b574d5894162eac5c40
Deleted: sha256:78242b47bfcd6691671a3d22bf2a13d474e709993b5df00e7000b0771a22d0a6
Deleted: sha256:779ca2fac7cb342cdfc70b3afaab9a0a2113a3fd29beac6b14d6cc0d40ae59e6
Deleted: sha256:0dc49eadc7c66f9634949c92c83b7862d39ac39be07868e3335a821fc92ebb14
Deleted: sha256:2091a8b82d56bca354ac0a90c96586128b98865a32fc450cf6a2253c5fbee4e1
Deleted: sha256:e8ce08d043266230225e9a1918a645139c1f925ccdc4e907602fa088c635eda7
Deleted: sha256:21a0f381096b2d27f2043df3c01f6743ec8f3e0c2785c1a86f1dcd13bb1284d6
Deleted: sha256:c29ef255008099e5e72672c1c80bf0cec5e9f984fac1662e438682c9b293261c
Deleted: sha256:3051bf97a153afb14fb898d6cfd13896398e1c8abb002e88a841853043ab4858
Deleted: sha256:878858a3c057fcacc169c87f85725a484c9019985356e4994c0ee8d52a0a12d3
Deleted: sha256:3b1c97289dd123e85543dca824d617619d297c3a633d768bf0ebd941610a6832
Deleted: sha256:ffdc3390368be89a4d21fdfdc5f1465c4c66c8fd9c0eab81b399442363941914
Deleted: sha256:051e2f64bcf8abeaecaf8aaf2dce934d35848bccd7cdc3ab51c5099195a15545
Deleted: sha256:8963e7687fb1bbe5994daadb5a621905f908f95022429d761fdcacf73ff82902
Deleted: sha256:07504e382c23a5db234d4c8df614f034ca3730b04c1a61a9eefffdd0148a78ef
Deleted: sha256:cd7db724158349a520b12818f449ec1c1a6da62ed449f8a2c59f04c6b4a96856
Deleted: sha256:6fb79357a32d274ea379a88d272c3129fe2c2d5cd168fe7109fa16b61bf5acbd
Deleted: sha256:50567d54a62e218b9852270bec838ebdd988293f618c5fe3bfa53220e6d53c4b
Deleted: sha256:edd288c93aceaae331ea407e73839bc7a347316db095daaa2bee89acc3e8d391
Deleted: sha256:374b3a621c0031cb94cd4dda69d106b8ec6bdcad9b33d410c200ac006c477c4f
Deleted: sha256:df9bedd43b5118ad43126d0ce9344175b63a353b93539f84ce867edbd1f951d6
Deleted: sha256:1e2bc3a27de9b3ee459973c42368e64ae988c22bc587180eb01a2c922d464941
Deleted: sha256:8f5f31e8b24dacfcb17eed741d35e77e230f0631236a5a320464bd648f96780d
Deleted: sha256:fc41b85a153b1b09089162f6c0fd03537689de712b0898675a6a19d8a98e0cea
Deleted: sha256:c89b58ff824e160bc069bb27cf92f7fa75a72133c6b5b2fe0a018f7c4ac29679
Deleted: sha256:672b94c857860eb3be3566b6c499b8059b2344f40d7956dcfb45a139cf5175f3
Deleted: sha256:73890e5005fc6992b0d53f8677809d7d4ab1bf510771973e2129e2c7748d717f
Deleted: sha256:6d7ce269ea78749109e85f4e3331896925f71574f7d64ceae91ad01c3bfb4b4e
Deleted: sha256:e0a9f5911802534ba097660206feabeb0247a81e409029167b30e2e1f2803b57
Untagged: mongo:6.0
Untagged: mongo@sha256:3d670c6a59ff208c55fcbec99cf8a65be87cd25554bd2553053aa6e3a026982f
Deleted: sha256:ba023ee7a779a92149f5817cbe47239eab8e78ce2a941644e3736ae6e814a903
Deleted: sha256:c4868bbd0d75e8f5b2a146051c54460abe5bd6bf63a4e34ee77c33c7af3ffeac
Deleted: sha256:6304a735e118f681358ecd51dadc9213aefca6d796f3be8b443a0d14581b7cf8
Deleted: sha256:7535a309ad6edb7541c2746ff4ddd191fbf5a89622acc9560283cdd7889778ca
Deleted: sha256:da56be09bfa96a6c9adcce515d6844315e4131fe8745e8b1374300a5268add00
Deleted: sha256:27feef75b699d6f37bdb9897c5ae864aad92d8dae936b0b97618106a3ef291ff
Deleted: sha256:942bcee4005c131d160b45d9e8a21a4a994cb8e44307cad560faad7715476e31
Deleted: sha256:dc4a1575e13218e0f8be61333c1bc8c446a330b92a1b7a47b14584b2b833970e
Deleted: sha256:931b7ff0cb6f494b27d31a4cbec3efe62ac54676add9c7469560302f1541ecaf
Untagged: sharelatex/sharelatex:with-texlive-full
Deleted: sha256:e1076fe59920a30086151b238f19804365d6bcb4809bcba3749ff89cdab10389
Deleted: sha256:d3bed2bde326dda17240176cff9c9bbcc83a60f16bb692054d30a630af05bb2c
Untagged: sharelatex/sharelatex:4.0.1
Untagged: sharelatex/sharelatex@sha256:7b428f302aef96effd460bfb85c6599c8b88fd188b0ad2e827447488b029109e
Deleted: sha256:26c75dfb6485ab83597f40d1ee3adbae30927140751f2101e0d27bd23510a908
Untagged: redis:6.2
Untagged: redis@sha256:423276a3cea98336607ec04db7cf69ed2b7a27d8d306ec37074956f058da79bc
Deleted: sha256:f2ed029e761ae6f61dc0ab5eb2f1a8e6e90e26c6cbc22ab850c0a9205f4f02be
Untagged: mongo:4.4
Untagged: mongo@sha256:7fb082eda5d1096c7749bd3890f0e23ad99fc5059902b5e47df8873d059c749a
Deleted: sha256:afef20758bd3d32ba19f0c36cabe79973a98279ca35a1d7e2260cbca1e5ba395
Untagged: postgres:14
Untagged: postgres@sha256:b0ee049a2e347f5ec8c64ad225c7edbc88510a9e34450f23c4079a489ce16268
Deleted: sha256:75993dd36176c7d4be8c1e6d88a115f1fb35a85451088699dbdc80659ad688ed
Untagged: nginx:1.19-alpine
Untagged: nginx@sha256:07ab71a2c8e4ecb19a5a5abcfb3a4f175946c001c8af288b1aa766d67b0d05d2
Deleted: sha256:a64a6e03b0551e1cefa94db6cc6677fb1efed3c557d173f79584ff4ec474b5ae
Deleted: sha256:d950b497e5a0787af1b4a04e0298b693501d756b610b09e5501bc0d1feb02465
Deleted: sha256:01270ad0039edf3793b69b5374505aad02fc2e4464f460215a803fa728eaef8c
Deleted: sha256:ac0a87a7573b9beacc5b597fdf1165de47504fd447b5cb7ee4e97a433f8e7895
Deleted: sha256:163a1da5e695d11c7f885e360da692ad126f51e9456d1b0b91266773e6c732b4
Deleted: sha256:d3658096dce40fe9c464f3d02006e3945545827c8581212c1e274da7dc033cbc
Deleted: sha256:b2d5eeeaba3a22b9b8aa97261957974a6bd65274ebd43e1d81d0a7b8b752b116

Source: the Stack Overflow answer 44785784

docker image ls
REPOSITORY   TAG       IMAGE ID   CREATED   SIZE
Let us reinstall on OverClock 3000 a new Overleaf instance as I backed up (`.zip` and screenshot of almost single entry history) the 3 projects there were on my Linux Mint 21.3 Cinnamon Framework 13 at `/home/benjamin/Desktop/bens_folder/devices/oc3k/overleaf/`. ```bash bin/stop ``` ``` WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.base.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.vars.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.redis.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Stopping 3/3 ✔ Container sharelatex Stopped 60.4s ✔ Container redis Stopped 0.3s ✔ Container mongo Stopped ``` ```bash docker container ls ``` ``` CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES ``` ```bash docker image ls ``` ``` REPOSITORY TAG IMAGE ID CREATED SIZE sharelatex/sharelatex 5.1.0-with-texlive-full ee4677bbd041 About an hour ago 6.42GB sharelatex/sharelatex 5.1.0 41a77f59f69e 7 days ago 2.07GB mongo 6.0 ba023ee7a779 3 weeks ago 729MB sharelatex/sharelatex with-texlive-full e1076fe59920 13 months ago 6.39GB sharelatex/sharelatex 4.0.1 26c75dfb6485 14 months ago 2.72GB redis 6.2 f2ed029e761a 14 months ago 113MB mongo 4.4 afef20758bd3 16 months ago 431MB postgres 14 75993dd36176 22 months ago 376MB nginx 1.19-alpine a64a6e03b055 3 years ago 22.6MB ``` ```bash docker rmi -f $(docker images -aq) ``` ``` Untagged: sharelatex/sharelatex:5.1.0-with-texlive-full Deleted: sha256:ee4677bbd041878158227470f823b91979a46224d8242cd21a79d94f6e444d3d Untagged: sharelatex/sharelatex:5.1.0 Untagged: sharelatex/sharelatex@sha256:790b655a04ecdc07ea53276d6e3c0e5bb8cd016676402c71ea73007d2f801015 Deleted: sha256:41a77f59f69e5292e56692b880596dbf19398a184a11197c118c7cf29baf6f74 Deleted: sha256:3fb70ae493680eb621cb968f0422af02689d6914570cd6f9cf0dbcc9f722a706 Deleted: sha256:f1d0d8473896857eee857ff1cdd9c4e16d2999a9620ca691e9d8bc089d53a9bb Deleted: sha256:bd4355868d310ebc8f40c87daf6a18098dd5f5f4bf23716d741a7277d914d96b Deleted: sha256:bd3eda4af61674c6fe8ef8eab1d3331768393c90db366a72ea925f46b4d04a26 Deleted: sha256:0666bc0b06ae8eb2000ee2fc2c1d321828f27cdf13ee4b7a74ed90801eece741 Deleted: sha256:90aa7bc93e744cc518e0f47344de2a7c246b3d5cd5ffb51cdd9c0f57253ed1f9 Deleted: sha256:dfcebe8c1bb494c1d4835d38859ded76e12091f0c8a89005e9c200956d831cf2 Deleted: sha256:a62c1db8ec4be3c5a362fb48dd60a240aa5866dac393ff18142aba62c2344a69 Deleted: sha256:6be01932dcca75fbe36b33f74517466755dfd047db40533b29e4b939759b2ff3 Deleted: sha256:a5b8b196343c49bdd1a262bc54978d00b67154a213028459a7516185b1c04da6 Deleted: sha256:8591e15bb670f1c7bd310899d5f723f9c0dee1148ba5dbd2413167af01ed908c Deleted: sha256:66787927a15057b7fa182232262930ed65c54ea6eba84b574d5894162eac5c40 Deleted: sha256:78242b47bfcd6691671a3d22bf2a13d474e709993b5df00e7000b0771a22d0a6 Deleted: sha256:779ca2fac7cb342cdfc70b3afaab9a0a2113a3fd29beac6b14d6cc0d40ae59e6 Deleted: sha256:0dc49eadc7c66f9634949c92c83b7862d39ac39be07868e3335a821fc92ebb14 Deleted: sha256:2091a8b82d56bca354ac0a90c96586128b98865a32fc450cf6a2253c5fbee4e1 Deleted: sha256:e8ce08d043266230225e9a1918a645139c1f925ccdc4e907602fa088c635eda7 Deleted: sha256:21a0f381096b2d27f2043df3c01f6743ec8f3e0c2785c1a86f1dcd13bb1284d6 Deleted: sha256:c29ef255008099e5e72672c1c80bf0cec5e9f984fac1662e438682c9b293261c Deleted: sha256:3051bf97a153afb14fb898d6cfd13896398e1c8abb002e88a841853043ab4858 Deleted: sha256:878858a3c057fcacc169c87f85725a484c9019985356e4994c0ee8d52a0a12d3 Deleted: sha256:3b1c97289dd123e85543dca824d617619d297c3a633d768bf0ebd941610a6832 Deleted: sha256:ffdc3390368be89a4d21fdfdc5f1465c4c66c8fd9c0eab81b399442363941914 Deleted: sha256:051e2f64bcf8abeaecaf8aaf2dce934d35848bccd7cdc3ab51c5099195a15545 Deleted: sha256:8963e7687fb1bbe5994daadb5a621905f908f95022429d761fdcacf73ff82902 Deleted: sha256:07504e382c23a5db234d4c8df614f034ca3730b04c1a61a9eefffdd0148a78ef Deleted: sha256:cd7db724158349a520b12818f449ec1c1a6da62ed449f8a2c59f04c6b4a96856 Deleted: sha256:6fb79357a32d274ea379a88d272c3129fe2c2d5cd168fe7109fa16b61bf5acbd Deleted: sha256:50567d54a62e218b9852270bec838ebdd988293f618c5fe3bfa53220e6d53c4b Deleted: sha256:edd288c93aceaae331ea407e73839bc7a347316db095daaa2bee89acc3e8d391 Deleted: sha256:374b3a621c0031cb94cd4dda69d106b8ec6bdcad9b33d410c200ac006c477c4f Deleted: sha256:df9bedd43b5118ad43126d0ce9344175b63a353b93539f84ce867edbd1f951d6 Deleted: sha256:1e2bc3a27de9b3ee459973c42368e64ae988c22bc587180eb01a2c922d464941 Deleted: sha256:8f5f31e8b24dacfcb17eed741d35e77e230f0631236a5a320464bd648f96780d Deleted: sha256:fc41b85a153b1b09089162f6c0fd03537689de712b0898675a6a19d8a98e0cea Deleted: sha256:c89b58ff824e160bc069bb27cf92f7fa75a72133c6b5b2fe0a018f7c4ac29679 Deleted: sha256:672b94c857860eb3be3566b6c499b8059b2344f40d7956dcfb45a139cf5175f3 Deleted: sha256:73890e5005fc6992b0d53f8677809d7d4ab1bf510771973e2129e2c7748d717f Deleted: sha256:6d7ce269ea78749109e85f4e3331896925f71574f7d64ceae91ad01c3bfb4b4e Deleted: sha256:e0a9f5911802534ba097660206feabeb0247a81e409029167b30e2e1f2803b57 Untagged: mongo:6.0 Untagged: mongo@sha256:3d670c6a59ff208c55fcbec99cf8a65be87cd25554bd2553053aa6e3a026982f Deleted: sha256:ba023ee7a779a92149f5817cbe47239eab8e78ce2a941644e3736ae6e814a903 Deleted: sha256:c4868bbd0d75e8f5b2a146051c54460abe5bd6bf63a4e34ee77c33c7af3ffeac Deleted: sha256:6304a735e118f681358ecd51dadc9213aefca6d796f3be8b443a0d14581b7cf8 Deleted: sha256:7535a309ad6edb7541c2746ff4ddd191fbf5a89622acc9560283cdd7889778ca Deleted: sha256:da56be09bfa96a6c9adcce515d6844315e4131fe8745e8b1374300a5268add00 Deleted: sha256:27feef75b699d6f37bdb9897c5ae864aad92d8dae936b0b97618106a3ef291ff Deleted: sha256:942bcee4005c131d160b45d9e8a21a4a994cb8e44307cad560faad7715476e31 Deleted: sha256:dc4a1575e13218e0f8be61333c1bc8c446a330b92a1b7a47b14584b2b833970e Deleted: sha256:931b7ff0cb6f494b27d31a4cbec3efe62ac54676add9c7469560302f1541ecaf Untagged: sharelatex/sharelatex:with-texlive-full Deleted: sha256:e1076fe59920a30086151b238f19804365d6bcb4809bcba3749ff89cdab10389 Deleted: sha256:d3bed2bde326dda17240176cff9c9bbcc83a60f16bb692054d30a630af05bb2c Untagged: sharelatex/sharelatex:4.0.1 Untagged: sharelatex/sharelatex@sha256:7b428f302aef96effd460bfb85c6599c8b88fd188b0ad2e827447488b029109e Deleted: sha256:26c75dfb6485ab83597f40d1ee3adbae30927140751f2101e0d27bd23510a908 Untagged: redis:6.2 Untagged: redis@sha256:423276a3cea98336607ec04db7cf69ed2b7a27d8d306ec37074956f058da79bc Deleted: sha256:f2ed029e761ae6f61dc0ab5eb2f1a8e6e90e26c6cbc22ab850c0a9205f4f02be Untagged: mongo:4.4 Untagged: mongo@sha256:7fb082eda5d1096c7749bd3890f0e23ad99fc5059902b5e47df8873d059c749a Deleted: sha256:afef20758bd3d32ba19f0c36cabe79973a98279ca35a1d7e2260cbca1e5ba395 Untagged: postgres:14 Untagged: postgres@sha256:b0ee049a2e347f5ec8c64ad225c7edbc88510a9e34450f23c4079a489ce16268 Deleted: sha256:75993dd36176c7d4be8c1e6d88a115f1fb35a85451088699dbdc80659ad688ed Untagged: nginx:1.19-alpine Untagged: nginx@sha256:07ab71a2c8e4ecb19a5a5abcfb3a4f175946c001c8af288b1aa766d67b0d05d2 Deleted: sha256:a64a6e03b0551e1cefa94db6cc6677fb1efed3c557d173f79584ff4ec474b5ae Deleted: sha256:d950b497e5a0787af1b4a04e0298b693501d756b610b09e5501bc0d1feb02465 Deleted: sha256:01270ad0039edf3793b69b5374505aad02fc2e4464f460215a803fa728eaef8c Deleted: sha256:ac0a87a7573b9beacc5b597fdf1165de47504fd447b5cb7ee4e97a433f8e7895 Deleted: sha256:163a1da5e695d11c7f885e360da692ad126f51e9456d1b0b91266773e6c732b4 Deleted: sha256:d3658096dce40fe9c464f3d02006e3945545827c8581212c1e274da7dc033cbc Deleted: sha256:b2d5eeeaba3a22b9b8aa97261957974a6bd65274ebd43e1d81d0a7b8b752b116 ``` Source: [the Stack Overflow answer 44785784](https://stackoverflow.com/a/44785784) ```bash docker image ls ``` ``` REPOSITORY TAG IMAGE ID CREATED SIZE ```
Author
Owner

overleaf/blob/01b7541483c738613d2dad3f96b498a70569265c/README.md#installation

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

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

git clone --depth 1 https://github.com/overleaf/toolkit.git overleaf-toolkit/
cd overleaf-toolkit/
ls -l
total 76
drwxr-xr-x 3 benjamin benjamin  4096 Jul 22 17:00 bin
-rw-r--r-- 1 benjamin benjamin 13988 Jul 22 17:00 CHANGELOG.md
drwxr-xr-x 2 benjamin benjamin  4096 Jul 22 17:00 config
drwxr-xr-x 2 benjamin benjamin  4096 Jul 22 17:00 data
drwxr-xr-x 3 benjamin benjamin  4096 Jul 22 17:00 doc
drwxr-xr-x 3 benjamin benjamin  4096 Jul 22 17:00 lib
-rw-r--r-- 1 benjamin benjamin 34520 Jul 22 17:00 LICENSE
-rw-r--r-- 1 benjamin benjamin  1178 Jul 22 17:00 README.md
bin/init
Copying config files to 'config/'
ls config/
overleaf.rc  variables.env  version
bin/up
Initiating Mongo replica set...
WARN[0000] /home/benjamin/overleaf/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/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/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/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Running 9/9
 ✔ mongo Pulled                                                                                                                      15.2s 
   ✔ 3713021b0277 Pull complete                                                                                                       2.2s 
   ✔ d530feffd030 Pull complete                                                                                                       2.3s 
   ✔ 33eb4d8e3c2b Pull complete                                                                                                       2.4s 
   ✔ 5f6b6ddebd98 Pull complete                                                                                                       2.5s 
   ✔ bdf2f11848eb Pull complete                                                                                                       2.5s 
   ✔ 6c38c0548d3d Pull complete                                                                                                       2.8s 
   ✔ ad44eb05f95c Pull complete                                                                                                      13.5s 
   ✔ 8a906a03f233 Pull complete                                                                                                      13.6s 
[+] Running 1/1
 ✔ Container mongo  Started                                                                                                           1.1s 
MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017
Waiting for Mongo...
MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017
Waiting for Mongo...

Please configure ALL_TEX_LIVE_DOCKER_IMAGES in /home/benjamin/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=sharelatex/texlive-full to config/variables.env:

bin/up
Initiating Mongo replica set...
WARN[0000] /home/benjamin/overleaf/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/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/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/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.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 
Pulling TeX Live images...
  - sharelatex/texlive-full download started (may take some time)
Using default tag: latest
Error response from daemon: pull access denied for sharelatex/texlive-full, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

Use instead sharelatex/sharelatex.

bin/up
bin/up
Initiating Mongo replica set...
WARN[0000] /home/benjamin/overleaf/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/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/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/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.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 
Pulling TeX Live images...
  - sharelatex/sharelatex download started (may take some time)
Using default tag: latest
latest: Pulling from sharelatex/sharelatex
7021d1b70935: Pull complete 
467e34e18282: Pull complete 
6db07a32b0d2: Pull complete 
ffa8453078b5: Pull complete 
333cd123c46f: Pull complete 
152610ff4f2d: Pull complete 
03bead01b2c4: Pull complete 
c129587caee5: Pull complete 
3f27657f5e57: Pull complete 
1e4118e24567: Pull complete 
1b9728c32a20: Pull complete 
999a880f498b: Pull complete 
c6d1cd8ba636: Pull complete 
384c4f4749fb: Pull complete 
9795cb718c39: Pull complete 
c5370cb3b493: Pull complete 
35b2bb5040e5: Pull complete 
113ab03b0d35: Pull complete 
0435a1430da5: Pull complete 
96b96f87bb7d: Pull complete 
b59c7e031077: Pull complete 
9e4dd20a818a: Pull complete 
9a37a58b373d: Pull complete 
9bcc70a1a2b0: Pull complete 
2265658b41cf: Pull complete 
2083690e762b: Pull complete 
c5d7a182cedc: Pull complete 
de7cb47d2a6c: Pull complete 
aad0b9663b66: Pull complete 
cf266f65cf2f: Pull complete 
2f5e5beee699: Pull complete 
771718dcc04c: Pull complete 
2ec448626ef7: Pull complete 
7810574b420c: Pull complete 
75dad03a77cd: Pull complete 
e44d1b4bbcc3: Pull complete 
b4b98855d9b5: Pull complete 
Digest: sha256:790b655a04ecdc07ea53276d6e3c0e5bb8cd016676402c71ea73007d2f801015
Status: Downloaded newer image for sharelatex/sharelatex:latest
docker.io/sharelatex/sharelatex:latest
  - sharelatex/sharelatex download finished
WARN[0000] /home/benjamin/overleaf/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/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/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/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Running 10/10
 ✔ redis Pulled                                                                                                                       4.8s 
   ✔ f11c1adaa26e Pull complete                                                                                                       2.5s 
   ✔ 6b7dc767bec7 Pull complete                                                                                                       2.6s 
   ✔ 5746835ae8a7 Pull complete                                                                                                       2.8s 
   ✔ 53cda9b9405b Pull complete                                                                                                       2.8s 
   ✔ 99e5718ff4cb Pull complete                                                                                                       3.0s 
   ✔ c028a8b357c5 Pull complete                                                                                                       3.1s 
   ✔ 4f4fb700ef54 Pull complete                                                                                                       3.1s 
   ✔ 8a725563189e Pull complete                                                                                                       3.2s 
 ✔ sharelatex Pulled                                                                                                                  1.0s 
[+] Running 3/3
 ✔ Container mongo       Running                                                                                                      0.0s 
 ✔ Container redis       Recreated                                                                                                    0.8s 
 ✔ Container sharelatex  Recreated                                                                                                   16.9s 
Attaching to mongo, redis, sharelatex
redis       | 1:C 22 Jul 2024 15:05:38.453 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis       | 1:C 22 Jul 2024 15:05:38.453 # Redis version=6.2.14, bits=64, commit=00000000, modified=0, pid=1, just started
redis       | 1:C 22 Jul 2024 15:05:38.453 # Configuration loaded
redis       | 1:M 22 Jul 2024 15:05:38.454 * monotonic clock: POSIX clock_gettime
redis       | 1:M 22 Jul 2024 15:05:38.454 * Running mode=standalone, port=6379.
redis       | 1:M 22 Jul 2024 15:05:38.454 # Server initialized
redis       | 1:M 22 Jul 2024 15:05:38.454 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
redis       | 1:M 22 Jul 2024 15:05:38.455 * Ready to accept connections
Gracefully stopping... (press Ctrl+C again to force)
Error response from daemon: driver failed programming external connectivity on endpoint sharelatex (3723878d08cf64d53684209dc8c87f4f35c54951a26f577d66380643e544f999): failed to bind port 127.0.0.1:80/tcp: Error starting userland proxy: listen tcp4 127.0.0.1:80: bind: address already in use

Replace OVERLEAF_PORT=80 in config/overleaf.rc with OVERLEAF_PORT=9986.

bin/up
Initiating Mongo replica set...
WARN[0000] /home/benjamin/overleaf/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/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/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/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.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 
Pulling TeX Live images...
  - sharelatex/sharelatex download started (may take some time)
Using default tag: latest
latest: Pulling from sharelatex/sharelatex
Digest: sha256:790b655a04ecdc07ea53276d6e3c0e5bb8cd016676402c71ea73007d2f801015
Status: Image is up to date for sharelatex/sharelatex:latest
docker.io/sharelatex/sharelatex:latest
  - sharelatex/sharelatex download finished
WARN[0000] /home/benjamin/overleaf/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/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/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/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.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       Running                                                                                                      0.0s 
 ✔ Container sharelatex  Recreated                                                                                                    0.1s 
Attaching to mongo, redis, sharelatex
...

The copyright is now the correct year...

image

Previous credentials do not work.

https://overleaf.lemnoslife.com/launchpad

Start Using Our Overleaf Instance

image

Other logs and files is not clickable

image

image

MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017 is maybe the issue.

Modifying OVERLEAF_APP_NAME is correctly taken into account after ctrl + c and bin/up. OVERLEAF_SITE_URL and OVERLEAF_ADMIN_EMAIL work well too.

Even after ctrl + shift + r, I confirm that there is no additional button when switch to true GIT_BRIDGE_ENABLED in config/overleaf.rc and restart as for correctly taking into account OVERLEAF_APP_NAME.

[overleaf/blob/01b7541483c738613d2dad3f96b498a70569265c/README.md#installation](https://github.com/overleaf/overleaf/blob/01b7541483c738613d2dad3f96b498a70569265c/README.md#installation) [overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/README.md#getting-started](https://github.com/overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/README.md#getting-started) [overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/doc/quick-start-guide.md](https://github.com/overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/doc/quick-start-guide.md) ```bash git clone --depth 1 https://github.com/overleaf/toolkit.git overleaf-toolkit/ ``` ```bash cd overleaf-toolkit/ ``` ```bash ls -l ``` ``` total 76 drwxr-xr-x 3 benjamin benjamin 4096 Jul 22 17:00 bin -rw-r--r-- 1 benjamin benjamin 13988 Jul 22 17:00 CHANGELOG.md drwxr-xr-x 2 benjamin benjamin 4096 Jul 22 17:00 config drwxr-xr-x 2 benjamin benjamin 4096 Jul 22 17:00 data drwxr-xr-x 3 benjamin benjamin 4096 Jul 22 17:00 doc drwxr-xr-x 3 benjamin benjamin 4096 Jul 22 17:00 lib -rw-r--r-- 1 benjamin benjamin 34520 Jul 22 17:00 LICENSE -rw-r--r-- 1 benjamin benjamin 1178 Jul 22 17:00 README.md ``` ```bash bin/init ``` ``` Copying config files to 'config/' ``` ```bash ls config/ ``` ``` overleaf.rc variables.env version ``` ```bash bin/up ``` ``` Initiating Mongo replica set... WARN[0000] /home/benjamin/overleaf/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/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/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/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Running 9/9 ✔ mongo Pulled 15.2s ✔ 3713021b0277 Pull complete 2.2s ✔ d530feffd030 Pull complete 2.3s ✔ 33eb4d8e3c2b Pull complete 2.4s ✔ 5f6b6ddebd98 Pull complete 2.5s ✔ bdf2f11848eb Pull complete 2.5s ✔ 6c38c0548d3d Pull complete 2.8s ✔ ad44eb05f95c Pull complete 13.5s ✔ 8a906a03f233 Pull complete 13.6s [+] Running 1/1 ✔ Container mongo Started 1.1s MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017 Waiting for Mongo... MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017 Waiting for Mongo... Please configure ALL_TEX_LIVE_DOCKER_IMAGES in /home/benjamin/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=sharelatex/texlive-full` to `config/variables.env`: ```bash bin/up ``` ``` Initiating Mongo replica set... WARN[0000] /home/benjamin/overleaf/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/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/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/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.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 Pulling TeX Live images... - sharelatex/texlive-full download started (may take some time) Using default tag: latest Error response from daemon: pull access denied for sharelatex/texlive-full, repository does not exist or may require 'docker login': denied: requested access to the resource is denied ``` Use instead `sharelatex/sharelatex`. ```bash bin/up ``` ``` bin/up Initiating Mongo replica set... WARN[0000] /home/benjamin/overleaf/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/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/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/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.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 Pulling TeX Live images... - sharelatex/sharelatex download started (may take some time) Using default tag: latest latest: Pulling from sharelatex/sharelatex 7021d1b70935: Pull complete 467e34e18282: Pull complete 6db07a32b0d2: Pull complete ffa8453078b5: Pull complete 333cd123c46f: Pull complete 152610ff4f2d: Pull complete 03bead01b2c4: Pull complete c129587caee5: Pull complete 3f27657f5e57: Pull complete 1e4118e24567: Pull complete 1b9728c32a20: Pull complete 999a880f498b: Pull complete c6d1cd8ba636: Pull complete 384c4f4749fb: Pull complete 9795cb718c39: Pull complete c5370cb3b493: Pull complete 35b2bb5040e5: Pull complete 113ab03b0d35: Pull complete 0435a1430da5: Pull complete 96b96f87bb7d: Pull complete b59c7e031077: Pull complete 9e4dd20a818a: Pull complete 9a37a58b373d: Pull complete 9bcc70a1a2b0: Pull complete 2265658b41cf: Pull complete 2083690e762b: Pull complete c5d7a182cedc: Pull complete de7cb47d2a6c: Pull complete aad0b9663b66: Pull complete cf266f65cf2f: Pull complete 2f5e5beee699: Pull complete 771718dcc04c: Pull complete 2ec448626ef7: Pull complete 7810574b420c: Pull complete 75dad03a77cd: Pull complete e44d1b4bbcc3: Pull complete b4b98855d9b5: Pull complete Digest: sha256:790b655a04ecdc07ea53276d6e3c0e5bb8cd016676402c71ea73007d2f801015 Status: Downloaded newer image for sharelatex/sharelatex:latest docker.io/sharelatex/sharelatex:latest - sharelatex/sharelatex download finished WARN[0000] /home/benjamin/overleaf/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/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/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/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Running 10/10 ✔ redis Pulled 4.8s ✔ f11c1adaa26e Pull complete 2.5s ✔ 6b7dc767bec7 Pull complete 2.6s ✔ 5746835ae8a7 Pull complete 2.8s ✔ 53cda9b9405b Pull complete 2.8s ✔ 99e5718ff4cb Pull complete 3.0s ✔ c028a8b357c5 Pull complete 3.1s ✔ 4f4fb700ef54 Pull complete 3.1s ✔ 8a725563189e Pull complete 3.2s ✔ sharelatex Pulled 1.0s [+] Running 3/3 ✔ Container mongo Running 0.0s ✔ Container redis Recreated 0.8s ✔ Container sharelatex Recreated 16.9s Attaching to mongo, redis, sharelatex redis | 1:C 22 Jul 2024 15:05:38.453 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo redis | 1:C 22 Jul 2024 15:05:38.453 # Redis version=6.2.14, bits=64, commit=00000000, modified=0, pid=1, just started redis | 1:C 22 Jul 2024 15:05:38.453 # Configuration loaded redis | 1:M 22 Jul 2024 15:05:38.454 * monotonic clock: POSIX clock_gettime redis | 1:M 22 Jul 2024 15:05:38.454 * Running mode=standalone, port=6379. redis | 1:M 22 Jul 2024 15:05:38.454 # Server initialized redis | 1:M 22 Jul 2024 15:05:38.454 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. redis | 1:M 22 Jul 2024 15:05:38.455 * Ready to accept connections Gracefully stopping... (press Ctrl+C again to force) Error response from daemon: driver failed programming external connectivity on endpoint sharelatex (3723878d08cf64d53684209dc8c87f4f35c54951a26f577d66380643e544f999): failed to bind port 127.0.0.1:80/tcp: Error starting userland proxy: listen tcp4 127.0.0.1:80: bind: address already in use ``` Replace `OVERLEAF_PORT=80` in `config/overleaf.rc` with `OVERLEAF_PORT=9986`. ```bash bin/up ``` ``` Initiating Mongo replica set... WARN[0000] /home/benjamin/overleaf/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/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/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/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.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 Pulling TeX Live images... - sharelatex/sharelatex download started (may take some time) Using default tag: latest latest: Pulling from sharelatex/sharelatex Digest: sha256:790b655a04ecdc07ea53276d6e3c0e5bb8cd016676402c71ea73007d2f801015 Status: Image is up to date for sharelatex/sharelatex:latest docker.io/sharelatex/sharelatex:latest - sharelatex/sharelatex download finished WARN[0000] /home/benjamin/overleaf/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/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/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/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.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 Running 0.0s ✔ Container sharelatex Recreated 0.1s Attaching to mongo, redis, sharelatex ... ``` The copyright is now the correct year... ![image](/attachments/9e557ccd-9a88-41b1-9670-32dfc8abb94b) Previous credentials do not work. https://overleaf.lemnoslife.com/launchpad *Start Using Our Overleaf Instance* ![image](/attachments/218aa269-9814-4005-8b06-d8a198873243) *Other logs and files* is not clickable ![image](/attachments/79b8f988-d542-479a-8d12-d0860ea8861b) ![image](/attachments/b2b94768-7e10-4929-834b-28c7f528813d) `MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017` is maybe the issue. Modifying `OVERLEAF_APP_NAME` is correctly taken into account after <kbd>ctrl</kbd> + <kbd>c</kbd> and `bin/up`. `OVERLEAF_SITE_URL` and `OVERLEAF_ADMIN_EMAIL` work well too. Even after <kbd>ctrl</kbd> + <kbd>shift</kbd> + <kbd>r</kbd>, I confirm that there is no additional button when switch to `true` `GIT_BRIDGE_ENABLED` in `config/overleaf.rc` and restart as for correctly taking into account `OVERLEAF_APP_NAME`.
Author
Owner
https://hub.docker.com/_/mongo
Author
Owner
docker container ls
CONTAINER ID   IMAGE       COMMAND                  CREATED              STATUS                          PORTS     NAMES
8c96d3bd2526   mongo:4.4   "docker-entrypoint.s…"   About a minute ago   Restarting (4) 50 seconds ago             mongo
docker container ls
CONTAINER ID   IMAGE       COMMAND                  CREATED              STATUS                          PORTS     NAMES
8c96d3bd2526   mongo:4.4   "docker-entrypoint.s…"   About a minute ago   Restarting (4) 51 seconds ago             mongo
docker container ls
CONTAINER ID   IMAGE       COMMAND                  CREATED              STATUS                                     PORTS       NAMES
8c96d3bd2526   mongo:4.4   "docker-entrypoint.s…"   About a minute ago   Up Less than a second (health: starting)   27017/tcp   mongo
docker container ls
CONTAINER ID   IMAGE       COMMAND                  CREATED              STATUS                                  PORTS     NAMES
8c96d3bd2526   mongo:4.4   "docker-entrypoint.s…"   About a minute ago   Restarting (4) Less than a second ago             mongo
docker container ls
CONTAINER ID   IMAGE       COMMAND                  CREATED         STATUS                         PORTS     NAMES
8c96d3bd2526   mongo:4.4   "docker-entrypoint.s…"   2 minutes ago   Restarting (4) 2 seconds ago             mongo
bin/stop
WARN[0000] /home/benjamin/overleaf/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/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/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/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Stopping 3/0
 ✔ Container sharelatex  Stopped                                                                                                      0.0s 
 ✔ Container redis       Stopped                                                                                                      0.0s 
 ✔ Container mongo       Stopped
docker container ls
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
bin/up
Initiating Mongo replica set...
WARN[0000] /home/benjamin/overleaf/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/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/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/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Running 1/1
 ✔ Container mongo  Started                                                                                                           0.2s 
Waiting for Mongo...
docker container ls
CONTAINER ID   IMAGE       COMMAND                  CREATED         STATUS                                     PORTS       NAMES
8c96d3bd2526   mongo:4.4   "docker-entrypoint.s…"   4 minutes ago   Up Less than a second (health: starting)   27017/tcp   mongo
docker image ls
REPOSITORY              TAG       IMAGE ID       CREATED        SIZE
sharelatex/sharelatex   5.1.0     41a77f59f69e   7 days ago     2.07GB
sharelatex/sharelatex   latest    41a77f59f69e   7 days ago     2.07GB
mongo                   6.0       ba023ee7a779   3 weeks ago    729MB
redis                   6.2       895b6824ecff   2 months ago   106MB
mongo                   4.4       d896c071ac69   4 months ago   427MB
docker image rmi mongo:4.4
Error response from daemon: conflict: unable to remove repository reference "mongo:4.4" (must force) - container 8c96d3bd2526 is using its referenced image d896c071ac69
docker image rmi -f mongo:4.4
Untagged: mongo:4.4
Untagged: mongo@sha256:52c42cbab240b3c5b1748582cc13ef46d521ddacae002bbbda645cebed270ec0
docker image ls
REPOSITORY              TAG       IMAGE ID       CREATED        SIZE
sharelatex/sharelatex   5.1.0     41a77f59f69e   7 days ago     2.07GB
sharelatex/sharelatex   latest    41a77f59f69e   7 days ago     2.07GB
mongo                   6.0       ba023ee7a779   3 weeks ago    729MB
redis                   6.2       895b6824ecff   2 months ago   106MB
<none>                  <none>    d896c071ac69   4 months ago   427MB
docker rmi image d896c071ac69
Error response from daemon: No such image: image:latest
Error response from daemon: conflict: unable to delete d896c071ac69 (cannot be forced) - image is being used by running container 8c96d3bd2526
bin/stop
WARN[0000] /home/benjamin/overleaf/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/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/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/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Stopping 3/0
 ✔ Container sharelatex  Stopped                                                                                                      0.0s 
 ✔ Container redis       Stopped                                                                                                      0.0s 
 ✔ Container mongo       Stopped
docker container ls
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
docker image rmi d896c071ac69
Error response from daemon: conflict: unable to delete d896c071ac69 (must be forced) - image is being used by stopped container 8c96d3bd2526
docker image rmi -f d896c071ac69
Deleted: sha256:d896c071ac6936bcb205f35c17a556b9cabf54733c4e1f4d68cda1348424d65d

Replace MONGO_VERSION=4.4 in config/overleaf.rc with MONGO_VERSION=6.0:

bin/up
Initiating Mongo replica set...
WARN[0000] /home/benjamin/overleaf/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/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/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/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Running 1/1
 ✔ Container mongo  Started                                                                                                           0.6s 
MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017
Waiting for Mongo...
Pulling TeX Live images...
  - sharelatex/sharelatex download started (may take some time)
Using default tag: latest
latest: Pulling from sharelatex/sharelatex
Digest: sha256:790b655a04ecdc07ea53276d6e3c0e5bb8cd016676402c71ea73007d2f801015
Status: Image is up to date for sharelatex/sharelatex:latest
docker.io/sharelatex/sharelatex:latest
  - sharelatex/sharelatex download finished
WARN[0000] /home/benjamin/overleaf/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/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/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/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] /home/benjamin/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Running 3/0
 ✔ Container mongo       Running                                                                                                      0.0s 
 ✔ Container redis       Created                                                                                                      0.0s 
 ✔ Container sharelatex  Created                                                                                                      0.0s 
Attaching to mongo, redis, sharelatex
redis       | 1:C 22 Jul 2024 15:42:57.803 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis       | 1:C 22 Jul 2024 15:42:57.803 # Redis version=6.2.14, bits=64, commit=00000000, modified=0, pid=1, just started
redis       | 1:C 22 Jul 2024 15:42:57.803 # Configuration loaded
redis       | 1:M 22 Jul 2024 15:42:57.804 * monotonic clock: POSIX clock_gettime
redis       | 1:M 22 Jul 2024 15:42:57.805 * Running mode=standalone, port=6379.
redis       | 1:M 22 Jul 2024 15:42:57.805 # Server initialized
redis       | 1:M 22 Jul 2024 15:42:57.805 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
redis       | 1:M 22 Jul 2024 15:42:57.807 * DB loaded from append only file: 0.002 seconds
redis       | 1:M 22 Jul 2024 15:42:57.807 * Ready to accept connections
docker container ls
CONTAINER ID   IMAGE                         COMMAND                  CREATED          STATUS                    PORTS                    NAMES
7417a021ef6f   mongo:6.0                     "docker-entrypoint.s…"   35 seconds ago   Up 34 seconds (healthy)   27017/tcp                mongo
0163668d818e   sharelatex/sharelatex:5.1.0   "/sbin/my_init"          15 minutes ago   Up 23 seconds             127.0.0.1:9986->80/tcp   sharelatex
59edbd0aee21   redis:6.2                     "docker-entrypoint.s…"   38 minutes ago   Up 31 seconds             6379/tcp                 redis
```bash docker container ls ``` ``` CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 8c96d3bd2526 mongo:4.4 "docker-entrypoint.s…" About a minute ago Restarting (4) 50 seconds ago mongo ``` ```bash docker container ls ``` ``` CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 8c96d3bd2526 mongo:4.4 "docker-entrypoint.s…" About a minute ago Restarting (4) 51 seconds ago mongo ``` ```bash docker container ls ``` ``` CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 8c96d3bd2526 mongo:4.4 "docker-entrypoint.s…" About a minute ago Up Less than a second (health: starting) 27017/tcp mongo ``` ```bash docker container ls ``` ``` CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 8c96d3bd2526 mongo:4.4 "docker-entrypoint.s…" About a minute ago Restarting (4) Less than a second ago mongo ``` ```bash docker container ls ``` ``` CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 8c96d3bd2526 mongo:4.4 "docker-entrypoint.s…" 2 minutes ago Restarting (4) 2 seconds ago mongo ``` ```bash bin/stop ``` ``` WARN[0000] /home/benjamin/overleaf/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/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/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/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Stopping 3/0 ✔ Container sharelatex Stopped 0.0s ✔ Container redis Stopped 0.0s ✔ Container mongo Stopped ``` ```bash docker container ls ``` ``` CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES ``` ```bash bin/up ``` ``` Initiating Mongo replica set... WARN[0000] /home/benjamin/overleaf/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/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/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/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Running 1/1 ✔ Container mongo Started 0.2s Waiting for Mongo... ``` ```bash docker container ls ``` ``` CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 8c96d3bd2526 mongo:4.4 "docker-entrypoint.s…" 4 minutes ago Up Less than a second (health: starting) 27017/tcp mongo ``` ```bash docker image ls ``` ``` REPOSITORY TAG IMAGE ID CREATED SIZE sharelatex/sharelatex 5.1.0 41a77f59f69e 7 days ago 2.07GB sharelatex/sharelatex latest 41a77f59f69e 7 days ago 2.07GB mongo 6.0 ba023ee7a779 3 weeks ago 729MB redis 6.2 895b6824ecff 2 months ago 106MB mongo 4.4 d896c071ac69 4 months ago 427MB ``` ```bash docker image rmi mongo:4.4 ``` ``` Error response from daemon: conflict: unable to remove repository reference "mongo:4.4" (must force) - container 8c96d3bd2526 is using its referenced image d896c071ac69 ``` ```bash docker image rmi -f mongo:4.4 ``` ``` Untagged: mongo:4.4 Untagged: mongo@sha256:52c42cbab240b3c5b1748582cc13ef46d521ddacae002bbbda645cebed270ec0 ``` ```bash docker image ls ``` ``` REPOSITORY TAG IMAGE ID CREATED SIZE sharelatex/sharelatex 5.1.0 41a77f59f69e 7 days ago 2.07GB sharelatex/sharelatex latest 41a77f59f69e 7 days ago 2.07GB mongo 6.0 ba023ee7a779 3 weeks ago 729MB redis 6.2 895b6824ecff 2 months ago 106MB <none> <none> d896c071ac69 4 months ago 427MB ``` ```bash docker rmi image d896c071ac69 ``` ``` Error response from daemon: No such image: image:latest Error response from daemon: conflict: unable to delete d896c071ac69 (cannot be forced) - image is being used by running container 8c96d3bd2526 ``` ```bash bin/stop ``` ``` WARN[0000] /home/benjamin/overleaf/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/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/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/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Stopping 3/0 ✔ Container sharelatex Stopped 0.0s ✔ Container redis Stopped 0.0s ✔ Container mongo Stopped ``` ```bash docker container ls ``` ``` CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES ``` ```bash docker image rmi d896c071ac69 ``` ``` Error response from daemon: conflict: unable to delete d896c071ac69 (must be forced) - image is being used by stopped container 8c96d3bd2526 ``` ```bash docker image rmi -f d896c071ac69 ``` ``` Deleted: sha256:d896c071ac6936bcb205f35c17a556b9cabf54733c4e1f4d68cda1348424d65d ``` Replace `MONGO_VERSION=4.4` in `config/overleaf.rc` with `MONGO_VERSION=6.0`: ```bash bin/up ``` ``` Initiating Mongo replica set... WARN[0000] /home/benjamin/overleaf/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/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/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/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Running 1/1 ✔ Container mongo Started 0.6s MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017 Waiting for Mongo... Pulling TeX Live images... - sharelatex/sharelatex download started (may take some time) Using default tag: latest latest: Pulling from sharelatex/sharelatex Digest: sha256:790b655a04ecdc07ea53276d6e3c0e5bb8cd016676402c71ea73007d2f801015 Status: Image is up to date for sharelatex/sharelatex:latest docker.io/sharelatex/sharelatex:latest - sharelatex/sharelatex download finished WARN[0000] /home/benjamin/overleaf/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/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/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/overleaf-toolkit/lib/docker-compose.mongo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion WARN[0000] /home/benjamin/overleaf/overleaf-toolkit/lib/docker-compose.sibling-containers.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Running 3/0 ✔ Container mongo Running 0.0s ✔ Container redis Created 0.0s ✔ Container sharelatex Created 0.0s Attaching to mongo, redis, sharelatex redis | 1:C 22 Jul 2024 15:42:57.803 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo redis | 1:C 22 Jul 2024 15:42:57.803 # Redis version=6.2.14, bits=64, commit=00000000, modified=0, pid=1, just started redis | 1:C 22 Jul 2024 15:42:57.803 # Configuration loaded redis | 1:M 22 Jul 2024 15:42:57.804 * monotonic clock: POSIX clock_gettime redis | 1:M 22 Jul 2024 15:42:57.805 * Running mode=standalone, port=6379. redis | 1:M 22 Jul 2024 15:42:57.805 # Server initialized redis | 1:M 22 Jul 2024 15:42:57.805 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. redis | 1:M 22 Jul 2024 15:42:57.807 * DB loaded from append only file: 0.002 seconds redis | 1:M 22 Jul 2024 15:42:57.807 * Ready to accept connections ``` ```bash docker container ls ``` ``` CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 7417a021ef6f mongo:6.0 "docker-entrypoint.s…" 35 seconds ago Up 34 seconds (healthy) 27017/tcp mongo 0163668d818e sharelatex/sharelatex:5.1.0 "/sbin/my_init" 15 minutes ago Up 23 seconds 127.0.0.1:9986->80/tcp sharelatex 59edbd0aee21 redis:6.2 "docker-entrypoint.s…" 38 minutes ago Up 31 seconds 6379/tcp redis ```
Author
Owner

Could search with DuckDuckGo and Google "Docker" "MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017". Maybe it is a temporary error.

bin/doctor
====== 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 27.1.0, build 6312585
    - 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 v2.29.0
- Docker Daemon
    - status: up
    - server version: 27.1.0
====== Configuration ======
- config/version
    - status: present
    - version: 5.1.0
- config/overleaf.rc
    - status: present
    - values
        - OVERLEAF_DATA_PATH: data/overleaf
        - SERVER_PRO: false
        - OVERLEAF_LISTEN_IP: 127.0.0.1
        - OVERLEAF_PORT: 9986
        - MONGO_ENABLED: true
        - MONGO_IMAGE: mongo
        - MONGO_DATA_PATH: data/mongo
        - REDIS_ENABLED: true
        - REDIS_IMAGE: redis:6.2
        - REDIS_AOF_PERSISTENCE: true
        - 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 ======
- None, all good
====== End ======
bin/logs -f filestore docstore web clsi
clsi          | {"name":"clsi","hostname":"0163668d818e","pid":168,"level":50,"err":{"message":"(HTTP code 404) no such container - No such image: quay.io/sharelatex/texlive-full:2017.1 ","name":"Error","stack":"Error: (HTTP code 404) no such container - No such image: quay.io/sharelatex/texlive-full:2017.1 \n    at /overleaf/node_modules/docker-modem/lib/modem.js:324:17\n    at getCause (/overleaf/node_modules/docker-modem/lib/modem.js:354:7)\n    at Modem.buildPayload (/overleaf/node_modules/docker-modem/lib/modem.js:323:5)\n    at IncomingMessage.<anonymous> (/overleaf/node_modules/docker-modem/lib/modem.js:295:14)\n    at IncomingMessage.emit (node:events:529:35)\n    at endReadableNT (node:internal/streams/readable:1400:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","info":{}},"projectId":"669e77d73e3be5739bba12a3","msg":"error running compile","time":"2024-07-22T16:25:26.808Z","v":0}
web           | {"name":"web","hostname":"0163668d818e","pid":163,"level":50,"err":{"message":"CLSI returned non-success code: 500","name":"OError","stack":"OError: CLSI returned non-success code: 500\n    at _postToClsi (/overleaf/services/web/app/src/Features/Compile/ClsiManager.js:481:15)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async _sendBuiltRequest (/overleaf/services/web/app/src/Features/Compile/ClsiManager.js:178:38)\n    at async sendRequestOnce (/overleaf/services/web/app/src/Features/Compile/ClsiManager.js:89:10)\n    at async Object.sendRequest (/overleaf/services/web/app/src/Features/Compile/ClsiManager.js:55:16)\n    at async compile (/overleaf/services/web/app/src/Features/Compile/CompileManager.js:81:7)\n    at async Object.<anonymous> (/overleaf/services/web/app/src/Features/Compile/CompileManager.js:21:14)","info":{"projectId":"669e77d73e3be5739bba12a3","userId":"669e77923e3be5739bba1288","compileOptions":{"compiler":"pdflatex","timeout":180,"draft":false,"stopOnFirstError":false,"check":"silent","syncType":"incremental","syncState":"6f23145b1b97a272eac59c45d3a086b8254d06e7","compileGroup":"standard","enablePdfCaching":false,"metricsMethod":"standard"},"rootResourcePath":"main.tex","clsiResponse":"{\"compile\":{\"status\":\"error\",\"error\":\"(HTTP code 404) no such container - No such image: quay.io/sharelatex/texlive-full:2017.1 \",\"buildId\":\"190db431c17-5550ffd86a984a74\",\"outputUrlPrefix\":\"\",\"outputFiles\":[]}}","statusCode":500}},"responseTimeMs":37,"req":{"method":"POST","url":"/project/669e77d73e3be5739bba12a3/compile?","remoteAddress":"127.0.0.1","headers":{"referer":"https://overleaf.lemnoslife.com/project/669e77d73e3be5739bba12a3","user-agent":"Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0","content-length":"109"}},"res":{"statusCode":500,"headers":{"content-length":"806"}},"msg":"POST /project/669e77d73e3be5739bba12a3/compile?","time":"2024-07-22T16:25:26.811Z","v":0}

Source: overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/doc/quick-start-guide.md#optional-check-the-logs

when click on Recompile.

Uncomment #OVERLEAF_IMAGE_NAME=sharelatex/sharelatex in config/overleaf.rc.

Could search with DuckDuckGo and Google `"Docker" "MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017"`. Maybe it is a temporary error. ```bash bin/doctor ``` ``` ====== 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 27.1.0, build 6312585 - 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 v2.29.0 - Docker Daemon - status: up - server version: 27.1.0 ====== Configuration ====== - config/version - status: present - version: 5.1.0 - config/overleaf.rc - status: present - values - OVERLEAF_DATA_PATH: data/overleaf - SERVER_PRO: false - OVERLEAF_LISTEN_IP: 127.0.0.1 - OVERLEAF_PORT: 9986 - MONGO_ENABLED: true - MONGO_IMAGE: mongo - MONGO_DATA_PATH: data/mongo - REDIS_ENABLED: true - REDIS_IMAGE: redis:6.2 - REDIS_AOF_PERSISTENCE: true - 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 ====== - None, all good ====== End ====== ``` ```bash bin/logs -f filestore docstore web clsi ``` ``` clsi | {"name":"clsi","hostname":"0163668d818e","pid":168,"level":50,"err":{"message":"(HTTP code 404) no such container - No such image: quay.io/sharelatex/texlive-full:2017.1 ","name":"Error","stack":"Error: (HTTP code 404) no such container - No such image: quay.io/sharelatex/texlive-full:2017.1 \n at /overleaf/node_modules/docker-modem/lib/modem.js:324:17\n at getCause (/overleaf/node_modules/docker-modem/lib/modem.js:354:7)\n at Modem.buildPayload (/overleaf/node_modules/docker-modem/lib/modem.js:323:5)\n at IncomingMessage.<anonymous> (/overleaf/node_modules/docker-modem/lib/modem.js:295:14)\n at IncomingMessage.emit (node:events:529:35)\n at endReadableNT (node:internal/streams/readable:1400:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","info":{}},"projectId":"669e77d73e3be5739bba12a3","msg":"error running compile","time":"2024-07-22T16:25:26.808Z","v":0} web | {"name":"web","hostname":"0163668d818e","pid":163,"level":50,"err":{"message":"CLSI returned non-success code: 500","name":"OError","stack":"OError: CLSI returned non-success code: 500\n at _postToClsi (/overleaf/services/web/app/src/Features/Compile/ClsiManager.js:481:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async _sendBuiltRequest (/overleaf/services/web/app/src/Features/Compile/ClsiManager.js:178:38)\n at async sendRequestOnce (/overleaf/services/web/app/src/Features/Compile/ClsiManager.js:89:10)\n at async Object.sendRequest (/overleaf/services/web/app/src/Features/Compile/ClsiManager.js:55:16)\n at async compile (/overleaf/services/web/app/src/Features/Compile/CompileManager.js:81:7)\n at async Object.<anonymous> (/overleaf/services/web/app/src/Features/Compile/CompileManager.js:21:14)","info":{"projectId":"669e77d73e3be5739bba12a3","userId":"669e77923e3be5739bba1288","compileOptions":{"compiler":"pdflatex","timeout":180,"draft":false,"stopOnFirstError":false,"check":"silent","syncType":"incremental","syncState":"6f23145b1b97a272eac59c45d3a086b8254d06e7","compileGroup":"standard","enablePdfCaching":false,"metricsMethod":"standard"},"rootResourcePath":"main.tex","clsiResponse":"{\"compile\":{\"status\":\"error\",\"error\":\"(HTTP code 404) no such container - No such image: quay.io/sharelatex/texlive-full:2017.1 \",\"buildId\":\"190db431c17-5550ffd86a984a74\",\"outputUrlPrefix\":\"\",\"outputFiles\":[]}}","statusCode":500}},"responseTimeMs":37,"req":{"method":"POST","url":"/project/669e77d73e3be5739bba12a3/compile?","remoteAddress":"127.0.0.1","headers":{"referer":"https://overleaf.lemnoslife.com/project/669e77d73e3be5739bba12a3","user-agent":"Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0","content-length":"109"}},"res":{"statusCode":500,"headers":{"content-length":"806"}},"msg":"POST /project/669e77d73e3be5739bba12a3/compile?","time":"2024-07-22T16:25:26.811Z","v":0} ``` Source: [overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/doc/quick-start-guide.md#optional-check-the-logs](https://github.com/overleaf/toolkit/blob/a61d9ebff51e3d2acddc75c00cde48a02b4fd496/doc/quick-start-guide.md#optional-check-the-logs) when click on *Recompile*. Uncomment `#OVERLEAF_IMAGE_NAME=sharelatex/sharelatex` in `config/overleaf.rc`.
Author
Owner

If comment ALL_TEX_LIVE_DOCKER_IMAGES in config/variables.env.

The only DuckDuckGo and Google result for "No such image: quay.io/sharelatex/texlive-full:2017.1" is overleaf/issues/983.

If comment `ALL_TEX_LIVE_DOCKER_IMAGES` in `config/variables.env`. The only DuckDuckGo and Google result for `"No such image: quay.io/sharelatex/texlive-full:2017.1"` is [overleaf/issues/983](https://github.com/overleaf/overleaf/issues/983).
Author
Owner
diff {../backup/overleaf-toolkit,.}/config/variables.env
1c1
< OVERLEAF_APP_NAME="Our Overleaf Instance Test"
---
> OVERLEAF_APP_NAME="Our Overleaf Instance"
11,13d10
< # temporary fix for LuaLaTex compiles
< # see https://github.com/overleaf/overleaf/issues/695
< 
19,21c16,17
< OVERLEAF_BEHIND_PROXY=true
< # Why unable to login on Pegasus Firefox with below on `true`?
< #OVERLEAF_SECURE_COOKIE=true
---
> # OVERLEAF_BEHIND_PROXY=true
> # OVERLEAF_SECURE_COOKIE=true
32,33c28,29
< # OVERLEAF_LEFT_FOOTER=[{"text":"Powered by Overleaf © 2021", "url": "https://www.overleaf.com"}, {"text": "Contact your support team", "url": "mailto:support@example.com"} ]
< # OVERLEAF_RIGHT_FOOTER=[{"text":"Hello I am on the Right"}]
---
> # OVERLEAF_LEFT_FOOTER='[{"text": "Contact your support team", "url": "mailto:support@example.com"}]'
> # OVERLEAF_RIGHT_FOOTER='[{"text": "Hello, I am on the Right"}]'
70a67
> #ALL_TEX_LIVE_DOCKER_IMAGES=sharelatex/sharelatex
diff {../backup/overleaf-toolkit,.}/config/overleaf.rc
8c8
< OVERLEAF_DATA_PATH=data/sharelatex
---
> OVERLEAF_DATA_PATH=data/overleaf
14c14
< SIBLING_CONTAINERS_ENABLED=false
---
> SIBLING_CONTAINERS_ENABLED=true
21,22c21
< # latest seem to be 6.0
< MONGO_VERSION=4.4
---
> MONGO_VERSION=6.0
31c30
< GIT_BRIDGE_ENABLED=true
---
> GIT_BRIDGE_ENABLED=false

Setting SIBLING_CONTAINERS_ENABLED to false instead of true in config/overleaf.rc solved the compilation issue:

image

```bash diff {../backup/overleaf-toolkit,.}/config/variables.env ``` ```diff 1c1 < OVERLEAF_APP_NAME="Our Overleaf Instance Test" --- > OVERLEAF_APP_NAME="Our Overleaf Instance" 11,13d10 < # temporary fix for LuaLaTex compiles < # see https://github.com/overleaf/overleaf/issues/695 < 19,21c16,17 < OVERLEAF_BEHIND_PROXY=true < # Why unable to login on Pegasus Firefox with below on `true`? < #OVERLEAF_SECURE_COOKIE=true --- > # OVERLEAF_BEHIND_PROXY=true > # OVERLEAF_SECURE_COOKIE=true 32,33c28,29 < # OVERLEAF_LEFT_FOOTER=[{"text":"Powered by Overleaf © 2021", "url": "https://www.overleaf.com"}, {"text": "Contact your support team", "url": "mailto:support@example.com"} ] < # OVERLEAF_RIGHT_FOOTER=[{"text":"Hello I am on the Right"}] --- > # OVERLEAF_LEFT_FOOTER='[{"text": "Contact your support team", "url": "mailto:support@example.com"}]' > # OVERLEAF_RIGHT_FOOTER='[{"text": "Hello, I am on the Right"}]' 70a67 > #ALL_TEX_LIVE_DOCKER_IMAGES=sharelatex/sharelatex ``` ```bash diff {../backup/overleaf-toolkit,.}/config/overleaf.rc ``` ```diff 8c8 < OVERLEAF_DATA_PATH=data/sharelatex --- > OVERLEAF_DATA_PATH=data/overleaf 14c14 < SIBLING_CONTAINERS_ENABLED=false --- > SIBLING_CONTAINERS_ENABLED=true 21,22c21 < # latest seem to be 6.0 < MONGO_VERSION=4.4 --- > MONGO_VERSION=6.0 31c30 < GIT_BRIDGE_ENABLED=true --- > GIT_BRIDGE_ENABLED=false ``` Setting `SIBLING_CONTAINERS_ENABLED` to `false` instead of `true` in `config/overleaf.rc` solved the compilation issue: ![image](/attachments/caa03bcd-8d8f-4215-b62f-3c3e3af2bda0)
258 KiB
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#25
No description provided.