toolkit icon indicating copy to clipboard operation
toolkit copied to clipboard

realpath: No such file or directory

Open minsusun opened this issue 1 year ago • 0 comments

Related to previous comments

Steps to Reproduce

  1. Follow Quick Start Guide
  2. Stuck on Starting Up

Expected Behaviour

It should properly start the containers using docker-compose

Observed Behaviour

Initiating Mongo replica set...
realpath: data/overleaf: No such file or directory

# after creating data/overleaf
Initiating Mongo replica set...
realpath: data/mongo: No such file or directory

# after creating data/mongo
Initiating Mongo replica set...
realpath: data/redis: No such file or directory

# after creating data/redis
Initiating Mongo replica set...
realpath: data/git-bridge: No such file or directory

Context

Trying to start up overleaf on local machine.

Applied this like below since the PR hasn't been approved yet.

--- a/lib/shared-functions.sh
+++ b/lib/shared-functions.sh
@@ -20,8 +20,10 @@ function read_image_version() {
 }
 
 function read_mongo_version() {
-  local mongo_image=$(read_configuration "MONGO_IMAGE")
-  local mongo_version=$(read_configuration "MONGO_VERSION")
+  #local mongo_image=$(read_configuration "MONGO_IMAGE")
+  #local mongo_version=$(read_configuration "MONGO_VERSION")
+  local mongo_image=mongo
+  local mongo_version=6.0
   if [ -z "${mongo_version}" ]; then

Technical Info

  • URL: x
  • Browser Name and version: Chrome 130.0.6723.70 (Official Build) (arm64)
  • Operating System and version (desktop or mobile): MacOSX 15.0.1
  • Signed in as: x
  • Project and/or file: x

Analysis

Making directories data/overleaf, data/redis, data/mongo, data/git-bridge solved problems

Result of bin/doctor

====== Overleaf Doctor ======
- Host Information
    - Not Linux !
    - lsb_release not found !
- Dependencies
    - bash
        - status: present
        - version info: 3.2.57(1)-release
    - docker
        - status: present
        - version info: Docker version 27.2.0, build 3ab4256
    - realpath
        - status: present
realpath: illegal option -- -

minsusun avatar Oct 31 '24 06:10 minsusun