[Solved] Custom path for install not working

Beta release announcements and discussion around them
Post Reply
silversword
Posts: 24
Joined: Sat Aug 27, 2016 8:53 pm

Mon Aug 29, 2016 1:26 pm

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
User avatar
Tomas
Posts: 1206
Joined: Sat Jun 25, 2016 12:33 pm

Mon Aug 29, 2016 1:29 pm

Is the path to the DB which you configured during the config wizard saved properly to the 'unimus.properties' config file at all?
silversword
Posts: 24
Joined: Sat Aug 27, 2016 8:53 pm

Mon Aug 29, 2016 9:24 pm

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
User avatar
Tomas
Posts: 1206
Joined: Sat Jun 25, 2016 12:33 pm

Mon Aug 29, 2016 10:15 pm

EDIT: see the next post.
User avatar
Tomas
Posts: 1206
Joined: Sat Jun 25, 2016 12:33 pm

Mon Aug 29, 2016 10:31 pm

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.
silversword
Posts: 24
Joined: Sat Aug 27, 2016 8:53 pm

Mon Aug 29, 2016 11:00 pm

Tried to apply a little logic and just manually change settings.....didn't work. Just setup again fresh and it looks good now :)

Thx!
Post Reply