Run error metabase-clickhouse-driver

when I collect the container with the plugin
And trying to run it, I get an error

root@debian:~# docker run --rm -d=false -p 3000:3000 --name metabase foo/metabase-with-clickhouse
Using these JAVA_OPTS:  -XX:+IgnoreUnrecognizedVMOptions -Djava.awt.headless=true -Dfile.encoding=UTF-8 --add-modules=java.xml.bind
Error occurred during initialization of boot layer
java.lang.module.FindException: Module java.xml.bind not found

Hi @viktordemo
Did you build your own version with docker build?
Post all your commands.

 root@debian:~# cat Dockerfile-clickhouse
FROM metabase/metabase-head:latest
ADD /app/plugins/

root@debian:~# docker build -f Dockerfile-clickhouse -t foo/metabase-with-clickhouse .

You might want to update parts of that command. The driver is now at version 0.4
If you need more help, it might be better to ask in the repo:

@viktordemo the error message is due to some inconsistent JVM options. Please make sure you are using the most recent version of Metabase from Dockerhub. I just tried to rebuild the image and run it, all is fine. As @flamber suggested, please also use the most recent driver version; it is necessary to make the database work with the date filters. Have a great day! Best regards, enqueue.

1 Like

@viktordemo I actually think the error you were seeing was fixed 4 days ago in PR 10521, so if you pull the latest master, then you should be up and running.