Page 1 of 1

[Solved] Custom path for install not working

Posted: Mon Aug 29, 2016 1:26 pm
by silversword
On windows, trying to initialize the database in a custom path it doesn't retain settings (and can't even find the database file). See

Image

Thx,
David

Re: Custom path for install not working

Posted: Mon Aug 29, 2016 1:29 pm
by Tomas
Is the path to the DB which you configured during the config wizard saved properly to the 'unimus.properties' config file at all?

Re: Custom path for install not working

Posted: Mon Aug 29, 2016 9:24 pm
by silversword
Yes, this is what's in the unimus.properties file:

database.path = C:\\dave\\UTILS\\Unimus
database.type = hsql
encryption.key = #U<snip>
license.key = L-<snip>

But I don't see any files in the path (see previous pic)
David

Re: Custom path for install not working

Posted: Mon Aug 29, 2016 10:15 pm
by Tomas
EDIT: see the next post.

Re: Custom path for install not working

Posted: Mon Aug 29, 2016 10:31 pm
by Tomas
So a slight update...

What actually happens in your case is that the DB path is "C:\\dave\\UTILS\\Unimus".
This will create the database in "C:\dave\UTILS", with name "Unimus".
It will NOT create the database in "C:\dave\UTILS\Unimus\" (the trailing "\" is important).

For the behaviour you expect, enter the path as for example "C:\dave\UTILS\Unimus\db" in the wizard :)
Or "C:\dave\UTILS\Unimus\", which will create a no-name database inside that folder.

Re: Custom path for install not working

Posted: Mon Aug 29, 2016 11:00 pm
by silversword
Tried to apply a little logic and just manually change settings.....didn't work. Just setup again fresh and it looks good now :)

Thx!