Hi everyone, I try to launch lakefs serveur again ...
# help
u
Hi everyone, I try to launch lakefs serveur again after kill it. For the instalaltion, I launched it locally with docker and --local-settings parameter at the end. So I try now : lakefs run --local-settings but i've the error below : "Tried to to get AWS account ID for BI" Does anyone have any idea to solve ?
u
Hi again, Do you try to run it using docker?
u
Thanks for your answer. I try to run the same command as launching lakefs the first time but I've the same message error ...
u
Just a sanity check, you have your Minio container running, and you run the following command to run lakeFS:
Copy code
docker run --pull always -p 8000:8000 \
   -e LAKEFS_BLOCKSTORE_TYPE='s3' \
   -e LAKEFS_BLOCKSTORE_S3_FORCE_PATH_STYLE='true' \
   -e LAKEFS_BLOCKSTORE_S3_ENDPOINT='http://<minio_endpoint>:9000' \
   -e LAKEFS_BLOCKSTORE_S3_DISCOVER_BUCKET_REGION='false' \
   -e LAKEFS_BLOCKSTORE_S3_CREDENTIALS_ACCESS_KEY_ID='<minio_access_key>' \
   -e LAKEFS_BLOCKSTORE_S3_CREDENTIALS_SECRET_ACCESS_KEY='<minio_secret_key>' \
   treeverse/lakefs run --local-settings
Correct?
u
Exactly (it works now !) but when I run this code i've a link to setup my account by filling my email... how to go directly to a auth page ?
u
so by running the above command you actually initialize a new lakeFS container. The
--local-settings
flag means (among other things) that the supporting key-value store (where your authentication details are stored) is local to the running container. Do you already have another lakeFS container running?
u
I don't have any other lakefs container running because I killed the first one, but is there any way to be sure ?
u
If you killed the first one then you’ll have to setup your lakeFS server again. If you don’t want to setup the lakeFS server each time you kill your container, you’ll have to use a real key-value backend such as DynamoDB or Postgres. To do that you can set the `database` configurations according to your choice of KV store.
u
To find out if you have any running lakeFS containers you can run:
docker container ls --filter ancestor=treeverse/lakefs