ERROR: .jar file corrupted. Service start fail when graph-algorithms-algo-3.4.7.0.jar is placed in plugins folder


(Scott) #1

The problem I am having is: Using neo4j 3.4.8, I have it installed and running fine. I have added this file: graph-algorithms-algo-3.4.8.0.jar from this location: https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.8.0/graph-algorithms-algo-3.4.8.0.jar. I put this jar into the plugin folder of my neo4j install and restart the service. The log then shows an error about the jar file being corrupt and stops the service. I have re-downloaded the file a couple of times with same results. I have also tried to open up permissions and change the owner of the .jar to neo4j user and group, but still no joy. I am installing on Redhat 7.5. Any ideas what might be going on here?
Thanks
Scott


(Michael Hunger) #2

How did you download it? Your command has to follow redirects.

E.g.

curl -OL https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.4.8.0/graph-algorithms-algo-3.4.8.0.jar


(Scott) #3

Michael, Thanks for the advice, It was a redirect issue from Github. The -L worked perfect.