OriginTrail / ot-node

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

Node runs out of space after failed repeated updates #3340

Open Valcyclovir opened 1 month ago

Valcyclovir commented 1 month ago

Issue description

The node would attempt update 8.0.3+beta.19 but constantly fails, and on each retry the 8.0.3+beta.19 folder size grows, until it occupies 100% of my server.

Expected behavior

Node to update normally with auto-update on

Actual behavior

Node attempts and fails update, but folder size keeps increasing until max server capacity

Steps to reproduce the problem

  1. Run a v8 testnet node
  2. Wait for auto-update
  3. Auto-update fails but keeps retrying until max server space capacity

Specifications

Contact details

Error logs

du -sh ~/ot-node 32G 8.0.3+beta.19 916M 8.1.0+beta.12

Fix

remove the 8.0.3+beta.19 folder, manually run npm i on ~/ot-node/current folder

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.