Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to set absolute db path #627

Closed
aion-chris opened this issue Sep 6, 2018 · 3 comments
Closed

unable to set absolute db path #627

aion-chris opened this issue Sep 6, 2018 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@aion-chris
Copy link

Before filing a new issue, please provide the following information.

I'm running:

  • Which Aion version?: 0.3.1.8dc68705f4c5c52008ea8a09074480fd9ce35fe3
  • Which operating system?: Linux
  • Which distributor and version?: Ubuntu 16.04
  • How installed?: via from source
  • Are you fully synchronized?: no
  • Did you try to restart the node?: yes

Your issue description goes here below. Try to include actual vs. expected behavior and steps to reproduce the issue.
unable to absolute db path

config.xml

<path>/some_absolute_db_path</path>

src
modDbImpl/src/org/aion/db/impl/DatabaseFactory.java -> connectBasic -> info.getProperty(Props.DB_PATH)

output

18-09-06 17:35:38.123 DEBUG DB   [main]: db factory: /home/chris/aion/some_absolute_db_path
@qoire qoire added the bug Something isn't working label Sep 6, 2018
@AlexandraRoatis
Copy link
Contributor

AlexandraRoatis commented Sep 6, 2018

This is not a bug, but a new feature request. Check the documented behavior: https://github.com/aionnetwork/aion/wiki/Database#database-location

Until we can add this feature, you can create a symbolic link (ln -s) to the path you want.

@qoire qoire added enhancement New feature or request and removed bug Something isn't working labels Sep 7, 2018
@qoire
Copy link
Contributor

qoire commented Sep 7, 2018

@kzeine candidate for bounty

@AlexandraRoatis
Copy link
Contributor

solved in #650

@AlexandraRoatis AlexandraRoatis added this to the 0.3.2 milestone Nov 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants