Title
r

Raphaël

12/22/2022, 2:17 PM
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 ?
j

Jonathan Rosenberg

12/22/2022, 2:19 PM
Hi again, Do you try to run it using docker?
r

Raphaël

12/22/2022, 2:38 PM
Thanks for your answer. I try to run the same command as launching lakefs the first time but I've the same message error ...
j

Jonathan Rosenberg

12/22/2022, 2:41 PM
Just a sanity check, you have your Minio container running, and you run the following command to run lakeFS:
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?
r

Raphaël

12/22/2022, 2:45 PM
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 ?
j

Jonathan Rosenberg

12/22/2022, 3:00 PM
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?
r

Raphaël

12/22/2022, 4:15 PM
I don't have any other lakefs container running because I killed the first one, but is there any way to be sure ?
j

Jonathan Rosenberg

12/22/2022, 4:22 PM
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.
To find out if you have any running lakeFS containers you can run:
docker container ls --filter ancestor=treeverse/lakefs