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)
{:valid false,
:dbname "/home/ph/temp/ftl1.sqlite (No such file or directory)",
:message "/home/ph/temp/ftl1.sqlite (No such file or directory)"}
Hi @petehe
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. https://docs.docker.com/storage/volumes/
@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.