I have just run the docker image of metabase on ubuntu and tried to add sqlite database. But it keeps saying the No such file or directory, but file was clearly in the directory. Anyone knows why?
2021-09-03 06:46:57,846 DEBUG middleware.log :: POST /api/database 400 4.1 ms (0 DB calls)
:dbname "/home/ph/temp/ftl1.sqlite (No such file or directory)",
:message "/home/ph/temp/ftl1.sqlite (No such file or directory)"}
Remember that Docker is just like having a separate server, so that path does not exist in the container unless you create a volume parameter.
I would highly recommend that you use the JAR if you are not familiar with Docker.
@flamber thanks for your help, does that mean I need to build new docker image?
@petehe No, you still use the same Docker image, but you need to change the container settings or create a new container.
I would like to repeat what I just wrote. Please don't use Docker, please use JAR instead.