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

Install of Voyager returns errors #3

Closed
jbresner opened this issue Nov 7, 2019 · 2 comments
Closed

Install of Voyager returns errors #3

jbresner opened this issue Nov 7, 2019 · 2 comments
Assignees

Comments

@jbresner
Copy link

jbresner commented Nov 7, 2019

We've recently tried installing the latest Voyager commit following the instructions on the getting-started page and with the latest release, we've run into some problems:

  1. After running the git clone command (git clone --recurse-submodules https://github.com/smithsonian/dpo-voyager .), the services directory does not contain a secrets.template.env file (I think the config.env file was also missing).
  2. We tried copying/pasting those files from another instance of voyager on a different computer but then ended up with these errors after npm run up:
> [email protected] up /Users/jbresner/Library/Mobile Documents/com~apple~CloudDocs/Projects/voyager2
> docker-compose up -d; docker-compose logs -f

WARNING: The VOYAGER_SERVER_PORT variable is not set. Defaulting to a blank string.
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.server.ports is invalid: Invalid port ":", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
WARNING: The VOYAGER_SERVER_PORT variable is not set. Defaulting to a blank string.
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.server.ports is invalid: Invalid port ":", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] up: `docker-compose up -d; docker-compose logs -f`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] up script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/jbresner/.npm/_logs/2019-11-07T14_22_25_989Z-debug.log

We've since got back and checked out commit ac70f89, which is what we last used successfully.

@vincerossi
Copy link
Collaborator

looking into this now and should have an answer soon

@framefactory
Copy link
Contributor

There is a discrepancy between documentation and a recent update. The config.env and secrets.env files in /services no longer exist. They have been replaced by a single .env file in the project root.

After cloning the repository, make a copy of the template configuration as follows:

cp .env.template .env

Then, edit the parameters in the .env file (most notably the VOYAGER_SERVER_PORT setting).

Apologies for the confusion. I will update the documentation shortly.

@framefactory framefactory self-assigned this Nov 18, 2019
sdumetz added a commit to Holusion/dpo-voyager that referenced this issue Aug 1, 2024
sdumetz added a commit to Holusion/dpo-voyager that referenced this issue Aug 1, 2024
sdumetz added a commit to Holusion/dpo-voyager that referenced this issue Sep 3, 2024
sdumetz added a commit to Holusion/dpo-voyager that referenced this issue Sep 6, 2024
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

No branches or pull requests

3 participants