Nov 12 Network Upgrade

:loudspeaker: Announcement: Preparing for Todayโ€™s Network Upgrade :loudspeaker:

Please follow these instructions to upgrade your nodes to the newest version to ensure the best performance and stability for everyone! Although you donโ€™t need to upgrade to continue earning attos, I encourage you to do so. We need a majority of node owners to upgrade to the newest version for the webAppโ€ฆ also referred to as โ€œDaveโ€ to work properly.

For Node Launchpad Users:

  1. Open Node Launchpad v0.4.5
  2. Press O to access the Options screen.
  3. Then, press Ctrl + U, and hit Enter. This will upgrade your nodes. Upgrading can take several minutes for each node. Please donโ€™t close the app or stop your nodes during this process.
  4. Your nodes will now stop
  5. Press Ctrl + S to start your nodes again

For CLI Tool Users:
If youโ€™re using the CLI tool, please upgrade by running this command:
safenode-manager upgrade --interval 60000

For ALL Users:

  • Please start your nodes gradually โ€” especially if you plan on running multiple nodes.
  • Be conservative with CPU allocation to maintain stability

Binary Versions:

  • nat-detection: v0.2.11
  • node-launchpad: v0.4.5
  • autonomi: v0.1.5
  • safenode: v0.112.4
  • safenodemand: v0.11.3
  • safenode-manager: v0.11.3
9 Likes

Thanks @rusty.spork ,

Getting this on 3 different X64 machine (1 node) ? so will wait for more info - do i need complete reset ?

โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘   Upgrade Safenode Services   โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
Retrieving latest version of safenode...
Latest version is 0.112.4
Downloading safenode version 0.112.4...
Download completed: /home/user1/.local/share/safe/node/downloads/safenode
Refreshing the node registry...
Attempting to stop safenode1...
โœ“ Service safenode1 with PID 13959 was stopped
Attempting to start safenode1...
Upgrade summary:
โœ• safenode1 was upgraded from 0.112.3 to 0.112.4 but it did not start
Error:
   0: There was a problem upgrading one or more nodes

Location:
   /home/runner/work/safe_network/safe_network/sn_node_manager/src/cmd/node.rs:604
1 Like

I still launch safenode directly and Iโ€™m seeing this error with the latest version:

safe@Vader:~$ export RUST_BACKTRACE=1; /home/safe/.local/bin/safenode --port 45000 --root-dir /var/safe/safenode1 --log-output-dest /var/log/safe/safenode1 --rewards-address 0xDE2aA8E70bf792385b0223144B9407EBc85E7938 evm-arbitrum-sepolia
EVM network: ArbitrumSepolia
Logging to directory: "/var/log/safe/safenode1"
Error: 
   0: Could not parse the supplied multiaddr or socket address
   1: invalid multiaddr

Location:
   sn_node/src/bin/safenode/main.rs:274

  โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” BACKTRACE โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
                                โ‹ฎ 5 frames hidden โ‹ฎ                               
   6: <core::result::Result<T,F> as core::ops::try_trait::FromResidual<core::result::Result<core::convert::Infallible,E>>>::from_residual::h7458ee51f5ae5e2c
      at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/result.rs:1987
   7: safenode::main::h5c7acd6b1668c54f
      at /home/runner/work/safe_network/safe_network/sn_node/src/bin/safenode/main.rs:274
   8: core::ops::function::FnOnce::call_once::h29b7f28dc9cca8fa
      at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:250
   9: std::sys::backtrace::__rust_begin_short_backtrace::ha46545ab8063dc4e
      at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:154
                                โ‹ฎ 11 frames hidden โ‹ฎ 

Log entries are:

[2024-11-12T22:17:07.034031Z INFO sn_peers_acquisition] Trying to fetch the bootstrap peers from https://sn-testnet.s3.eu-west-2.amazonaws.com/network-contacts
[2024-11-12T22:17:07.145305Z DEBUG sn_peers_acquisition] Attempting to parse   /ip4/167.71.140.72/udp/37462/quic-v1/p2p/12D3KooWMrQ95QFLzKkyTc2X3aEFqGhH5cPmsf1QkCuAD4PWNqyW
2 Likes

Probably best to pull this update notice until the bug is fixed, as I suspect nodes will be dropping like flies.

2 Likes

Iโ€™m now getting this error whichever Launchpad connection mode I select. This may be helpful (Iโ€™ve never earned a single atto on this particular machine so maybe thereโ€™s a problem there), or it may be a bug. Will wait to see what others find. Linux Mint.

4 Likes

White space at the start of each line in https://sn-testnet.s3.eu-west-2.amazonaws.com/network-contacts ?

Looks wrong to me.

edit: confirmed - trimmed white space on local web server and it started up:

safe@Vader:~/tmp$ export RUST_BACKTRACE=1; /home/safe/.local/bin/safenode --port 45000 --root-dir /var/safe/safenode1 --log-output-dest /var/log/safe/safenode1 --rewards-address 0xDE2aA8E70bf792385b0223144B9407EBc85E7938 --network-contacts-url http://0.0.0.0:8081/network-contacts evm-arbitrum-sepolia
EVM network: ArbitrumSepolia
Logging to directory: "/var/log/safe/safenode1"


Node started
...
6 Likes

Same for me was running fine before

2 Likes

Its all better now guys!

10 Likes

What is the definitive way of checking your earnings?

The block explorer shows I have 7 attos, but is says also that the last transaction was 16 days ago. On the other hand Launchpad said I had earned 3 attos during the last week.

EDIT:

My mistake, I looked at the old token before launch.

2 Likes

Yes there should be 2 contracts when you pull up your ETH wallet address on ARB Sepolia scanner. For the time being please use the block explorer for the ultimate source of trust as we are using the blockchain to determine earnings/payouts.

1 Like

Did the network just lose a lot of nodes?
I was seeing 32-33k there for a good while, now its well down ~25k

EDIT: Ignore that, think its OOM probs here

1 Like

Who just took 10k nodes down. Dโ€ฆ looking your way :confused:

4 Likes

Just learning this @chriso. Apparently on Macs all you need is caffeinate -d in the terminal to keep the system awake. That might be helpful to have in future builds?

On second thought I may be misinterpreting some reddit posts. It may just keep the display on, though that should keep the system awake? Amphetamine allows system to stay awake but also allow display sleep. Dunno. Maybe something to look into.

3 Likes

yeah my puny 3 node setup on MSWIN11 stopped right around then, just noticed tonight and restarted about 30 minutes ago.

My 4 nodes on my old laptop soldiered through it. Like champs, system load remains low - hovering around 25% of capacity.

I was only running 2 nodes due to the demands, but doubled to 4. I may plug in external storage and add a few more at this rate.

Smooth sailing!

1 Like

Hey, what do you mean when you say it should be part of a build?

I think he was joking about giving his computer caffeine. I donโ€™t think thatโ€™s a serious build. But you never know!

1 Like

For devices like laptops that their systems sleep when you close them it disrupts the nodes. So I wondered if it could make sense to have such a command integrated into launcher or node software.

Just a brain dropping.

Ah ok. Iโ€™m not sure if it could possibly be part of the service manager. Is this a component that is always part of a macOS install or is it an optional installation?

To my knowledge itโ€™s just a Linux command to keep the display alive, I think.