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

Empty Response to ":sysinfo" in Browser #1100

Closed
ande8331 opened this issue May 15, 2020 · 3 comments · Fixed by #1208
Closed

Empty Response to ":sysinfo" in Browser #1100

ande8331 opened this issue May 15, 2020 · 3 comments · Fixed by #1208
Assignees

Comments

@ande8331
Copy link

To help us understand your issue, please specify important details, primarily:

  • Steps to reproduce. Not including reproduction steps will mean your bug will take considerably longer to investigate and fix. Please don't skip this.
    Start image: docker run --name testneo4j -p7474:7474 -p7687:7687 -d --env NEO4J_AUTH=neo4j/test neo4j:4.0.3
    Open web browser to localhost:7474, login
    Run ":sysinfo" command.
  • Expected behaviour
    Store Size is populated with a value, as are Id Allocation, Page Cache and Transactions lists.
  • Actual behaviour
    Item names are listed, but each item has a "-" for the value.
  • Neo4j image tag being used, eg neo4j:latest, neo4j:enterprise-3.5 etc
    latest
    4.0.4
    4.0.3
  • The output of the docker version command
    PS U:> docker version
    Client: Docker Engine - Community
    Version: 19.03.4
    API version: 1.40
    Go version: go1.12.10
    Git commit: 9013bf5
    Built: Thu Oct 17 23:44:48 2019
    OS/Arch: windows/amd64
    Experimental: false

Server: Docker Engine - Community
Engine:
Version: 19.03.4
API version: 1.40 (minimum version 1.12)
Go version: go1.12.10
Git commit: 9013bf5
Built: Thu Oct 17 23:50:38 2019
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.2.10
GitCommit: b34a5c8af56e510852c35414db4c1f4fa6172339
runc:
Version: 1.0.0-rc8+dev
GitCommit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
docker-init:
Version: 0.18.0
GitCommit: fec3683

  • Operating system: (for example Windows 95/Ubuntu 16.04)
    Windows 10 (also reproduced on MacOS 10.13.6)

Additionally, include (as appropriate) log-files, stacktraces, and other debug output.
Docker log (nothing out of the ordinary):
PS U:> docker logs testneo4j
Changed password for user 'neo4j'.
Directories in use:
home: /var/lib/neo4j
config: /var/lib/neo4j/conf
logs: /logs
plugins: /var/lib/neo4j/plugins
import: /var/lib/neo4j/import
data: /var/lib/neo4j/data
certificates: /var/lib/neo4j/certificates
run: /var/lib/neo4j/run
Starting Neo4j.
2020-05-15 15:02:44.754+0000 INFO ======== Neo4j 4.0.3 ========
2020-05-15 15:02:44.763+0000 INFO Starting...
2020-05-15 15:02:49.560+0000 INFO Bolt enabled on 0.0.0.0:7687.
2020-05-15 15:02:49.561+0000 INFO Started.
2020-05-15 15:02:51.039+0000 INFO Remote interface available at http://0.0.0.0:7474/
2020-05-15 15:06:58.516+0000 WARN The client is unauthorized due to authentication failure.
PS U:>

Also have tried running the query outlined here, get a blank result back:
https://neo4j.com/developer/kb/how-to-generate-sysinfo-output-from-cypher/?_ga=2.204988816.1280379950.1589317173-161711014.1573589649

@jennyowen jennyowen transferred this issue from neo4j/docker-neo4j May 18, 2020
@jennyowen jennyowen transferred this issue from neo4j/neo4j May 18, 2020
@oskarhane
Copy link
Member

oskarhane commented May 18, 2020

I think the underlying calls that are used to populate the UI are enterprise only nowadays.
Does it work if you try with an enterprise image @ande8331 ?

@jennyowen
Copy link
Member

@oskarhane I forgot to add! I was able to reproduce the problem from the instructions in the issue. I just tried it with 4.0.4 enterprise and the values do get populated as expected in enterprise mode.

Maybe the :sysinfo command should be disabled for community edition, or maybe produce a warning that it won't work?

@Dcanzano
Copy link
Collaborator

Dcanzano commented May 18, 2020

@oskarhane if :sysinfo only returns data if Enterprise only, then when run on Community rather than display data with - can we simply return output reporting :sysinfo is only appropriate in a Neo4j Enterprise editition

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

Successfully merging a pull request may close this issue.

5 participants