Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

realpath: No such file or directory #305

Open
minsusun opened this issue Oct 31, 2024 · 0 comments · May be fixed by #306
Open

realpath: No such file or directory #305

minsusun opened this issue Oct 31, 2024 · 0 comments · May be fixed by #306

Comments

@minsusun
Copy link

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 minsusun linked a pull request Oct 31, 2024 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant