Seahorse via Docker Compose


#1

Hi, I am installing Seahorse via Docker Compose. When running the containers toward the end I get a multitude of Permission Denied messages. I am running this as a root. Can anyone help?

org.h2.message.DbException: Log file error: “/opt/h2-data/schedulingmanager.trace.db”, cause: “java.io.FileNotFoundException: /opt/h2-data/schedulingmanager.trace.db (Permission denied)” [90034-192]

Caused by: java.lang.IllegalStateException: Could not open file nio:/opt/h2-data/datasourcemanager.mv.db [1.4.192/1]

etc., etc.


#2

I cannot reproduce that on newest 1.4.2.

Additional info: Docker by default creates folders with root as owner.

chown $USER for following directories might help fix your issue:
drwxr-xr-x 2 root root data
drwxr-xr-x 2 root root h2-data
drwxr-xr-x 2 root root library
drwxr-xr-x 2 root root R_Libs
drwxr-xr-x 2 root root spark_applications_logs

They are located in directory where you run docker-compose up