Closed ghost closed 6 years ago
This is a general issue with startup, you need to set the home directory to prevent it to error on starutp. the {{run_user_home}}
can be set as an overlay.
Thanks @Licenser - that can be any directory to which the process has the right to write, is that correct ? It's not the data directory as that's already specified with platform_data_dir.
yes it can be pretty much whatever directory you want, it's not even used for anything as far as I know, setup just insists on checking for it.
Thanks - fixed it in my vars.config file with the following -
{run_user_home, "$HOME"}.
Oh that's a really neat trick! I got to remember that :) thanks!
https://github.com/Kyorai/riak_core/blob/c8ebdb0c2bb8fde01196f0dc63615f70e480a8d9/priv/riak_core.schema#L654-L658
I'm getting startup error in Tanodb relating to the above code ^
It was failing with just the exception but I modified setup.erl (from https://github.com/uwiger/setup/ ) to print the variable it was configured for. In this case, I'm trying to run it as a devrel