Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

console and studio DB create commands don't honor server.database.path setting v1.3.0 #1235

Closed
8forty opened this Issue · 4 comments

3 participants

@8forty

I've confirmed in Studio that I have a server.database.path set to a good directory when running server.sh. But when I create a database (with studio or console "create database ..." command) it always appears in the orientdb-home/databases directory.

@kadeng

A short analysis of this problem, which I also noticed in 1.6.0 and 1.6.1-SNAPSHOT (as checked out today from 1.6.1-hotfix branch)

OServerConfiguration.getStoragePath(..) should honor the server.database.path setting. Instead, it returns null, which leads OBinaryNetworkProtocolAbstract.getDatabaseInstance(..) to set the default path (i.e. orientdb-home/databases).

@lvca lvca was assigned
@lvca
Owner

Thanks for the bug tracking, I moved it in 1.6.1.

@lvca lvca referenced this issue from a commit
@lvca lvca Fixed issue #1235 78634ad
@lvca lvca closed this
@kadeng

The fix works. At first It seemed not to, but that was due to a directory access rights issue.

@lvca
Owner

Great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.