Changing Server's database directory

1,150 views
Skip to first unread message

Razor

unread,
Sep 26, 2013, 6:21:09 AM9/26/13
to orient-...@googlegroups.com
Hi,
I am using Ubuntu-12.04 and trying to change the database directory.

After reading here I have modified my /config/orientdb-server-config.xml file to:

  <properties>
        <entry value="1" name="db.pool.min"/>
        <entry value="20" name="db.pool.max"/>
        <entry value="false" name="cache.level1.enabled"/>
  
        // some other entries

        <entry value="/home/tigase515/programs/testdbs" name="server.database.path" />
    </properties>
</orient-server>

But still orientdb uses the default directory for creating new databases.

Is there something I am missing?

Thanks

Razor

unread,
Sep 27, 2013, 11:00:01 AM9/27/13
to orient-...@googlegroups.com
Any help?

Luca Garulli

unread,
Sep 27, 2013, 11:08:06 AM9/27/13
to orient-database
Hi Razor,
this could be a bug. But since you're on Linux/MacOSX/Unix like OS why don't you create a symbolic link?

> cd $ORIENTDB_HOME
> ln -s /home/tigase515/programs/testdbs databases

Lvc@



--
 
---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-databa...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Razor

unread,
Sep 29, 2013, 1:36:41 PM9/29/13
to orient-...@googlegroups.com
Thanks, 
Symbolic link worked.
And when will this bug be fixed?
Thanks again.


On Thursday, September 26, 2013 3:21:09 PM UTC+5, Razor wrote:

Erik Peterson

unread,
Mar 4, 2014, 10:45:52 PM3/4/14
to orient-...@googlegroups.com
This is still broken in 1.7RC1. 

Erik Peterson

unread,
Mar 4, 2014, 11:28:55 PM3/4/14
to orient-...@googlegroups.com
Opened Issue https://github.com/orientechnologies/orientdb/issues/2092

Note also that after creating a symbolic link as a temp work around, moving db files to the new directory, and trying to login to the db from the web console fails.

Ryan Conrad

unread,
May 15, 2014, 9:35:48 AM5/15/14
to orient-...@googlegroups.com
Was this fixed for RC2?  I am trying now and I dont believe it works.

Luca Garulli

unread,
May 15, 2014, 12:17:30 PM5/15/14
to orient-database
What kind of failure? Have you checked the permission to write?

Lvc@



--

Ryan Conrad

unread,
May 15, 2014, 12:46:29 PM5/15/14
to orient-...@googlegroups.com
Nevermind I got it working, I had it written in 2 places and forgot to change the path for actually creating the database!  Thanks for the response though
Reply all
Reply to author
Forward
0 new messages