Replies: 1 comment
-
The database location in H2 database is based on the Line 1474 in 41b227e the And then used in the h2 configuration You can override the default value by setting an environment variable GEONETWORK_DB_NAME equal to the location you want to store it. This is how I normally do it. But it may also be possible to set the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear Geonetwork team,
We are currently upgrading a Geonetwork to 4.2, with a start from scratch (publishing back all metadata using the API) with no DB recovery. We would like to stick (for now) with the H2 database. However we struggle to configure the H2 settings.
We could configure well the data sdirectory location with
JAVA_OPTS
, but the setting below for H2 has no effect:The default H2 database keep getting stored to home directory
/home/<user>
, and thegn.mv.db
is used by default.Could you please advise how to solve this?
Beta Was this translation helpful? Give feedback.
All reactions