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

rake neo4j:info failed #50

Open
zt2 opened this issue Aug 19, 2020 · 2 comments
Open

rake neo4j:info failed #50

zt2 opened this issue Aug 19, 2020 · 2 comments

Comments

@zt2
Copy link

zt2 commented Aug 19, 2020

An error occurs when running rake neo4j:info with neo4j community-4.0.7:

$ rake neo4j:info                                                                                                                                                      09:48:34
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
Getting Neo4j info for development...
Usage: neo4j { console | start | stop | restart | status | version }
rake aborted!
Unable to run: db/neo4j/development/bin/neo4j info
/home/neo/.rvm/gems/ruby-2.7.1/gems/neo4j-rake_tasks-0.7.19/lib/neo4j/rake_tasks/server_manager.rb:249:in `system_or_fail'
/home/neo/.rvm/gems/ruby-2.7.1/gems/neo4j-rake_tasks-0.7.19/lib/neo4j/rake_tasks/server_manager.rb:65:in `info'
/home/neo/.rvm/gems/ruby-2.7.1/gems/neo4j-rake_tasks-0.7.19/lib/neo4j/rake_tasks/neo4j_server.rake:123:in `block (2 levels) in <main>'
/home/neo/.rvm/gems/ruby-2.7.1/bin/ruby_executable_hooks:24:in `eval'
/home/neo/.rvm/gems/ruby-2.7.1/bin/ruby_executable_hooks:24:in `<main>'
Tasks: TOP => neo4j:info
(See full trace by running task with --trace)

The problem is neo4j doesn't support neo4j info sub-command from this rake task:

      def info
        validate_is_system_admin!

        system_or_fail(neo4j_command_path(:info))
      end

The command from this task is db/neo4j/development/bin/neo4j info but the usage said:

Usage: neo4j { console | start | stop | restart | status | version }

There is no info in usage.

Additional information which could be helpful if relevant to your issue:

Code example (inline, gist, or repo)

Runtime information:

Neo4j database version:community-4.0.7
neo4j gem version: neo4j-ruby-driver (1.7.0), neo4j-rake_tasks (0.7.19)
neo4j-core gem version:

@klobuczek klobuczek transferred this issue from neo4jrb/activegraph Aug 28, 2020
@klobuczek
Copy link
Member

@zt2 please feel free to create a PR. Might be as simple as removing the task or forwarding to neo4j-admin store-info. We are actually going away from neo4j-rake_tasks in favor of bolkit or direct shell.

@j1wilmot
Copy link

We are actually going away from neo4j-rake_tasks in favor of bolkit or direct shell.

@klobuczek Can you clarify the status of this gem moving forward. I don't see much movement in the last year here or with boltkit. Is it worth submitting PRs to this gem or is it going away? All the documentation references this gem as a top level project so want to make sure I understand the status of things moving forward. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants