digital-promise / badge-engine

This repository is for code and documentation for Badge Engine, a Digital Promise technology
https://www.badgeengine.org
Apache License 2.0
6 stars 5 forks source link

Lando spin-up fails starting appserver (error 502) #6

Open sembrat opened 3 weeks ago

sembrat commented 3 weeks ago

Long time listener, first time caller. I'm attempting to spin up 1.0.0 and running into an issue where the main appserver doesn't appear to ever respond, reporting a 502.


 NAME      badgeengine                                     
 LOCATION  /Users/esembrat/Sites/badge-engine/badge-engine 
 SERVICES  appserver, mongodb, status                      
 URLS                                                      
  ❯ APPSERVER URLS
    ✖ socket hang up
    ⠇ https://localhost:49403
    ✖ Request failed with status code 502
    ✖ Request failed with status code 502
    ✔ http://prisma.badgeengine.lndo.site/ [200]
    ✔ https://prisma.badgeengine.lndo.site/ [200]
  ✔ STATUS URLS
    ↓ http://status.badgeengine.lndo.site/

At first glance, not seeing anything in the build process that concerns me, except for one warning I'm posting here:

Warning: Could not access file: EACCES: permission denied, mkdir '/data/db/.mongodb/mongosh'

Error: Could not open history file.
REPL session history will not be persisted.
127.0.0.1:27017

Local environment is running on OSX 14.7.

I've attempted to restart and rebuild via lando (lando rebuild and lando restart), restart Docker, but issue still remains.

sembrat commented 3 weeks ago

I suspect from the Quick Start that this stems from a default .env per the Quick Start instructions. What values do I need to populate in order to get a local instance up and running?