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

bin/up / Quick start guide fails due to incorrect MONGO_VERSION parsing #287

Open
maxbeer99 opened this issue Aug 30, 2024 · 3 comments · May be fixed by #293
Open

bin/up / Quick start guide fails due to incorrect MONGO_VERSION parsing #287

maxbeer99 opened this issue Aug 30, 2024 · 3 comments · May be fixed by #293

Comments

@maxbeer99
Copy link

Steps to Reproduce

  1. Follow the Quick start guide
  2. Run bin/up

Expected Behaviour

Overleaf should start up

Observed Behaviour

$ bin/up
---------------------  ERROR  -----------------------
  Invalid MONGO_VERSION: MONGO_VERSION=6.0

  MONGO_VERSION must start with the actual major version of mongo, followed by a dot.
  Example: MONGO_IMAGE=my.dockerhub.com/custom-mongo
           MONGO_VERSION=6.0-custom
---------------------  ERROR  -----------------------

Context

Fatal error

Technical Info

  • Operating System and version (desktop or mobile): macOS 14.2.1 23C71 arm64
  • Shell: zsh

Analysis

Likely same origin as #282

@kenjiding
Copy link

I met the same question, it seems match a wrong value in this code:
image

@Stevetich
Copy link

I met the same problem.

@valentinkauf
Copy link

valentinkauf commented Sep 19, 2024

I met the same, read_configuration() seams to bring issue.
Work-around to be able to launch, is to hardcode mango version :

in lib/shared_function.sh

function read_mongo_version() {
  local mongo_image=mongo
  local mongo_version=6.0

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.

4 participants