-
Notifications
You must be signed in to change notification settings - Fork 360
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 fails setup #913
Comments
Thanks @maartenbreddels - Could attach the output of |
That's what I was thinking as well, also, changing the username for instance didn't matter.
|
That's weird indeed. For some reason I can't seem to reproduce. |
[
{
"Id": "sha256:17c6872cd6c08693ff02f925c23dc5168d61381c967c035744cf6bc6c8f34988",
"RepoTags": [
"treeverse/lakefs:0.16.0",
"treeverse/lakefs:latest"
],
"RepoDigests": [
"treeverse/lakefs@sha256:48c9975c4702a0534580eb4f48c1296cff8acc553009e506a2addc9adf6a2880"
],
"Parent": "",
"Comment": "",
"Created": "2020-11-12T11:33:16.096172922Z",
"Container": "48dd32fed5f430c6de6fa2abe9aec64bf4760766749657229767fbdb2c9b0568",
"ContainerConfig": {
"Hostname": "48dd32fed5f4",
"Domainname": "",
"User": "lakefs",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"8000/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/app:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"Cmd": [
"/bin/sh",
"-c",
"#(nop) ",
"CMD [\"run\"]"
],
"Image": "sha256:95683398f8d146c28fea62d47ef5ad51bdefe57d4da2e2ac5de8eadaafee533b",
"Volumes": {
"/etc/lakefs.yaml": {}
},
"WorkingDir": "/home/lakefs",
"Entrypoint": [
"/app/lakefs"
],
"OnBuild": null,
"Labels": {}
},
"DockerVersion": "19.03.13+azure",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "lakefs",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"8000/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/app:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"Cmd": [
"run"
],
"Image": "sha256:95683398f8d146c28fea62d47ef5ad51bdefe57d4da2e2ac5de8eadaafee533b",
"Volumes": {
"/etc/lakefs.yaml": {}
},
"WorkingDir": "/home/lakefs",
"Entrypoint": [
"/app/lakefs"
],
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 100187796,
"VirtualSize": 100187796,
"GraphDriver": {
"Data": {
"LowerDir": "/mnt/vaex/docker/overlay2/9149a9e86cb75cfe1b05ad9095d1e3d0ad6ea0b16e512a46415485a564a27445/diff:/mnt/vaex/docker/overlay2/489a02420de6cd61f0951de767029b8a724977cbd9113d96317c5462aa9b9ccd/diff:/mnt/vaex/docker/overlay2/a85e18b228300e6748b39b872953d09e819b5e48b7df591d9d47577f38ae0ca3/diff:/mnt/vaex/docker/overlay2/dfc401d33d695ee972838fde4beeacbd2d7aff2f02ff56b14bb5c389e753d365/diff:/mnt/vaex/docker/overlay2/2247b30404b14ddfe374be18f24810082d60034c15f31bc3bbc9a5463e42fe9d/diff",
"MergedDir": "/mnt/vaex/docker/overlay2/97f89c18a5b5dd30270056580162eda91e8cec93ca4debe996fb4e38922737eb/merged",
"UpperDir": "/mnt/vaex/docker/overlay2/97f89c18a5b5dd30270056580162eda91e8cec93ca4debe996fb4e38922737eb/diff",
"WorkDir": "/mnt/vaex/docker/overlay2/97f89c18a5b5dd30270056580162eda91e8cec93ca4debe996fb4e38922737eb/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:50644c29ef5a27c9a40c393a73ece2479de78325cae7d762ef3cdc19bf42dd0a",
"sha256:1e7b0cc662fe2c249bc5374b15844fc68c4b60f3db40c75b074c5c46f5908694",
"sha256:086870432ef5891570ad7d07b12373021f17910a7449342ce3b17a50d2450f07",
"sha256:17eedd6cb70a1e4e1f9c94eb5d7f7786f44cc82b503e47370500277483e047a5",
"sha256:dbcab38404a3b6e8f75e52c8495a88734c78d5d252b4ae06962c853d2a33f2bc",
"sha256:379c691a197cb900ad9d7c6f52081076e44853e4234156f655f768b744cddb44"
]
},
"Metadata": {
"LastTagTime": "0001-01-01T00:00:00Z"
}
}
] version: '3'
services:
lakefs:
image: "treeverse/lakefs:${VERSION:-latest}"
ports:
- "8000:8000"
depends_on:
- "postgres"
environment:
- LAKEFS_AUTH_ENCRYPT_SECRET_KEY=${LAKEFS_AUTH_ENCRYPT_SECRET_KEY:-some random secret string}
- LAKEFS_DATABASE_CONNECTION_STRING=${LAKEFS_DATABASE_CONNECTION_STRING:-postgres://lakefs:lakefs@postgres/postgres?sslmode=disable}
- LAKEFS_BLOCKSTORE_TYPE=${LAKEFS_BLOCKSTORE_TYPE:-local}
- LAKEFS_BLOCKSTORE_LOCAL_PATH=${LAKEFS_BLOCKSTORE_LOCAL_PATH:-/home/lakefs}
- LAKEFS_GATEWAYS_S3_DOMAIN_NAME=${LAKEFS_GATEWAYS_S3_DOMAIN_NAME:-s3.local.lakefs.io:8000}
- LAKEFS_BLOCKSTORE_S3_CREDENTIALS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID:-}
- LAKEFS_BLOCKSTORE_S3_CREDENTIALS_ACCESS_SECRET_KEY=${AWS_SECRET_ACCESS_KEY:-}
- LAKEFS_LOGGING_LEVEL=${LAKEFS_LOGGING_LEVEL:-INFO}
- LAKEFS_STATS_ENABLED
entrypoint: ["/app/wait-for", "postgres:5432", "--", "/app/lakefs", "run"]
postgres:
image: "postgres:${PG_VERSION:-11}"
command: "-c log_min_messages=FATAL"
environment:
POSTGRES_USER: lakefs
POSTGRES_PASSWORD: lakefs
logging:
driver: none |
I'm using an identical setup and cannot reproduce :( What browser are you using? |
just to make sure - are you deleting the previous containers between attempts? (i.e. |
Got it! the docker rm did the trick. Do you know what was happening? I've never experience something like this with docker. Also, |
Happy it works for you now! Haven't seen such a behavior before. Haven't given up quite yet on trying to recreate it on my environment - any other information you think is relevant regarding the initial setup that failed or about your environment that might help? |
I think, in the beginning, the setup page might have been opened twice (I clicked the link in the terminal, and I manually went to localhost:8000 or something). Thanks for you help! |
|
Ah! thanks @mariobuikhuizen - that explains it |
Hi,
I follow the quickstart, by downloading the docker-compose.yml, running
docker-compose up
, then I go tohttp://127.0.0.1:8000/setup
, enter a username 'maarten' and get:Am I doing something wrong, or is the docker image broken?
cheers,
Maarten
The text was updated successfully, but these errors were encountered: