OriginTrail / ot-node

OriginTrail Decentralized Knowledge Graph network node
https://origintrail.io
Apache License 2.0
204 stars 74 forks source link

@comunica/query-sparql #1946

Closed iWhyDuck closed 2 years ago

iWhyDuck commented 2 years ago

Issue description

Unable to start node because of : Error occurred while starting new version, error message: Error: Cannot find module '@comunica/query-sparql'

Expected behavior

Node starting without error.

Actual behavior

Node is not starting

Steps to reproduce the problem

  1. Git pull newest version

Specifications

Contact details

Disclaimer

Please be aware that the issue reported on a public repository allows everyone to see your node logs, node details, and contact details. If you have any sensitive information, feel free to share it by sending an email to tech@origin-trail.com.

zeroxbt commented 2 years ago

Error: Cannot find module '@comunica/query-sparql' appears because you didn't install dependencies after pulling the latest update. You can run npm install --omit=dev to solve that issue.

sqlMessage: "Access denied for user 'root'@'localhost'" happened because mysql automatically updated a few days ago and the authentication plugin was changed. You can solve that error by running : mysql -u root -e "update mysql.user set plugin = 'mysql_native_password' where User='root';flush privileges;" && systemctl restart otnode.service