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

docker-compose*.yml : bump versions of postgres and elasticsearch #4753

Closed
benosteen opened this issue Apr 8, 2019 · 12 comments
Closed

docker-compose*.yml : bump versions of postgres and elasticsearch #4753

benosteen opened this issue Apr 8, 2019 · 12 comments
Assignees

Comments

@benosteen
Copy link
Contributor

Describe the bug
docker-compose*.yml specifies old versions for postgres (9.6) and elasticsearch(5.2), which are out of sync with the master branch dependencies.

Expected behavior
docker-compose*.yml should reference:

  • elasticsearch:6.6.2 (rather than 5.2)
  • (Optionally) mdillon:postgis:11-alpine

Additional context
The docker-compose-test.yml stack is run when using the automated build system for Docker Hub (and potentially other build systems), so would be useful for this to be in line with master

@benosteen benosteen self-assigned this Apr 8, 2019
@benosteen
Copy link
Contributor Author

It may also require the Dockerfile to include updated client libraries too.

benosteen added a commit to benosteen/arches that referenced this issue Apr 8, 2019
@benosteen
Copy link
Contributor Author

Latest master has shifted to ES 6.7.1 as per #4757

@bptarpley
Copy link

i'm trying to deploy a new instance of arches (this is my first time) via docker. using the docker-compose.yml file in this repo, there's a problem when first setting up the database, ie running

python manage.py packages -o setup_db

specifically, the elasticsearch container throws this error:

elasticsearch.exceptions.RequestError: TransportError(400, u'illegal_argument_exception', u'Rejecting mapping update to [strings] as the final mapping would have more than 1 type: [concept, term]')

this seems like an incompatability with newer (> 6) version of elasticsearch. please advise.

@benosteen
Copy link
Contributor Author

benosteen commented Jul 3, 2019 via email

@bptarpley
Copy link

i'm using the version specified in the docker-compose file (archesproject/arches:latest).

@benosteen
Copy link
Contributor Author

benosteen commented Jul 3, 2019 via email

@bptarpley
Copy link

bptarpley commented Jul 3, 2019

ok. have now cloned the master branch of repo and am attempting to build the container. when it gets to line 133 of the Dockerfile, it fails to find package.json in the root of the repo.

@benosteen
Copy link
Contributor Author

benosteen commented Jul 3, 2019 via email

@benosteen
Copy link
Contributor Author

benosteen commented Jul 3, 2019 via email

@bptarpley
Copy link

thanks, ben! will check back next week to see if these issues are resolved :)

@bptarpley
Copy link

one last thing--it also seems that certain default databases need to be created for the CouchDB instance. when firing up the CouchDB container, it constantly complains, for instance, that there is no _users database.

@benosteen
Copy link
Contributor Author

benosteen commented Jul 3, 2019 via email

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

2 participants