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

Autoupdate to v8 not working, wants me to update manually #3646

Open
haroldboom opened this issue Dec 27, 2024 · 1 comment
Open

Autoupdate to v8 not working, wants me to update manually #3646

haroldboom opened this issue Dec 27, 2024 · 1 comment

Comments

@haroldboom
Copy link
Contributor

Issue description

v6.5.1 hot fix 2 won't automatically update to v8 hot fix 3. The node tells me to run the update manually but there are no instructions for this

Expected behavior

Auto updates as normal

Actual behavior

Doesn't update:
INFO: New major update available. Please run update to version 8.0.0+hotfix.3 manually.

Steps to reproduce the problem

  1. Update config to enable autoupdate
  2. reboot node

Specifications

  • Node version: 6.5.1 hot fix 2
  • Platform: Ubuntu Server

Error logs

Dec 27 21:36:09 event-horizon-1 systemd[1]: otnode.service: Consumed 7.042s CPU time.
Dec 27 21:36:09 event-horizon-1 systemd[1]: Started OriginTrail V6 Node.
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] USERLVL: level-change
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] WARN: ======================================================
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] WARN: Using node.js version: 16.20.1
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] WARN: ======================================================
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] INFO: Checking for new updates...
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] DEBUG: AutoUpdater - Comparing versions...
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] DEBUG: AutoUpdater - Reading app version from /root/ot-node/6.5.1+hotfix.2/package.json
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] DEBUG: AutoUpdater - Reading remote version from https://raw.githubusercontent.com/OriginTrail/ot-node/v6/release/mainnet/package.json
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] DEBUG: AutoUpdater - Sending request to https://raw.githubusercontent.com/OriginTrail/ot-node/v6/release/mainnet/package.json
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] DEBUG: AutoUpdater - Current version: 6.5.1+hotfix.2
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] DEBUG: AutoUpdater - Remote Version: 8.0.0+hotfix.3
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] INFO: New major update available. Please run update to version 8.0.0+hotfix.3 manually.
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] TRACE: Removing file at path: /root/ot-node/data/UPDATED
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] DEBUG: File not found at path: /root/ot-node/data/UPDATED
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] INFO: ██████╗ ████████╗███╗ ██╗ ██████╗ ██████╗ ███████╗
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] INFO: ██╔═══██╗╚══██╔══╝████╗ ██║██╔═══██╗██╔══██╗██╔════╝
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] INFO: ██║ ██║ ██║ ██╔██╗ ██║██║ ██║██║ ██║█████╗
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] INFO: ██║ ██║ ██║ ██║╚██╗██║██║ ██║██║ ██║██╔══╝
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] INFO: ╚██████╔╝ ██║ ██║ ╚████║╚██████╔╝██████╔╝███████╗
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] INFO: ╚═════╝ ╚═╝ ╚═╝ ╚═══╝ ╚═════╝ ╚═════╝ ╚══════╝
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] INFO: ======================================================
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] INFO: OriginTrail Node v6.5.1+hotfix.2
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] INFO: ======================================================
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] INFO: Node is running in mainnet environment
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] INFO: Dependency injection module is initialized
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] INFO: Event emitter initialized
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] INFO: autoUpdater module initialized with implementation: ot-auto-updater
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] INFO: validation module initialized with implementation: merkle-validation
Dec 27 21:36:10 event-horizon-1 node[373438]: [2024-12-27 21:36:10] INFO: telemetry module initialized with implementation: ot-telemetry
Dec 27 21:36:11 event-horizon-1 node[373438]: [2024-12-27 21:36:11] INFO: network module initialized with implementation: libp2p-service
Dec 27 21:36:12 event-horizon-1 node[373438]: [2024-12-27 21:36:12] INFO: httpClient module initialized with implementation: express-http-client
Dec 27 21:36:12 event-horizon-1 node[373438]: [2024-12-27 21:36:12] INFO: tripleStore module initialized with implementation: ot-blazegraph

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 [email protected].

@Mihajlo-Pavlovic
Copy link
Collaborator

The fastest solution is to remove code that prevents this update.

You can look at this PR how we did it in version you missed. #3618

Look at changes in src/commands/common/otnode-update-command.js

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

2 participants