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

Console ignores arcadedb.server.databaseDirectory setting #752

Closed
lvca opened this issue Jan 9, 2023 Discussed in #161 · 3 comments
Closed

Console ignores arcadedb.server.databaseDirectory setting #752

lvca opened this issue Jan 9, 2023 Discussed in #161 · 3 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@lvca
Copy link
Contributor

lvca commented Jan 9, 2023

Discussed in #161

From @mik1234mc comment:

I still cannot make it running, could check what is wrong on my side?

m@deb:~/projects/arcadedb/package/target/arcadedb-22.12.1.dir/arcadedb-22.12.1$ ./bin/server.sh -Darcadedb.server.databaseDirectory=/home/m/projects/arcadedb/package/target/pokdb

then in ./bin/console.sh:

create database pok

Results: /home/m/projects/arcadedb/package/target/pokdb is empty and pok database is created in default location ~/projects/arcadedb/package/target/arcadedb-22.12.1.dir/arcadedb-22.12.1/databases

@lvca lvca added this to the 23.1.1 milestone Jan 9, 2023
@lvca lvca self-assigned this Jan 9, 2023
@lvca lvca added the bug Something isn't working label Jan 9, 2023
@lvca
Copy link
Contributor Author

lvca commented Jan 9, 2023

I think it would be reasonable to allow the console to use the arcadedb.server.databaseDirectory, so you can use the console to create the database, and then launch the server with the same directory path.

@gramian
Copy link
Collaborator

gramian commented Jan 9, 2023

This setting can and should only affect local databases, right?

lvca added a commit that referenced this issue Jan 9, 2023
@lvca
Copy link
Contributor Author

lvca commented Jan 9, 2023

Yes.

@lvca lvca closed this as completed Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants