Weekly Developer Update: January 29, 2025

I saw some weirdness this morning but as I am a little rusty I am blaming something with my setup until I have time to investigate.

antctl upgrade and antnode --version tells me that I am on latest, but I did not believe it and ntracking tells me that they are still .13

Did not have time to look into it though.

3 Likes

Actually, what is antctl?

1 Like

That is what you use to run multiple nodes via the CLI more easily than adding and starting them manually. Instead of using Launchpad.

1 Like

It is the case. 40% of the network has already upgraded.

It would actually have been useful if you didn’t intervene and we could have taken a look to see if something went wrong with your auto upgrade process. But the nodes we run ourselves are upgrading fine on their own, and the fact that 40% of the network has already upgraded is suggestive that in general, the feature is working OK.

If you use antctl or node-launchpad, you only really need that to initially set up a fleet of nodes which will then upgrade on their own. Do not use antctl upgrade any more. It really only exists now so that we can force upgrades in certain testing scenarios.

Edit: I should caveat this by saying that automatic upgrades are not supported on Windows yet. So if you are using antctl or node-launchpad on Windows, you do still need to use the manual upgrade procedure for now.

3 Likes

That’s cool.

I must have missed an release upgrade recently as mine were on 0.4.11 and so had not auto upgraded. I’ve set them upgrading now so fingers crossed for the next release.

4 Likes

Hmm, 0.4.11 should have had the auto upgrades feature. Would have been interesting there to see the logs.

4 Likes

I am running @aatonnomicc’s anm.sh so it might have been interfering.

6 Likes

Keep an eye on it for the next release, which will hopefully be next week.

If that doesn’t automatically upgrade I can give you some things to look for in the logs.

5 Likes

Yeah, the instructions for upgrading are a bit messy in my opinion. It would be more helpful if they could be a bit more verbose and say for example that ā€œnothing is required for updating if your current node version is X or higherā€. Also, updating nodes and / or other components could be more clearly separated.

1 Like

Could you point out specifically what the problem is please?

3 Likes

Sure!

First of all, I’m a bit less ā€œcomputer literateā€ than folks here on average, and haven’t run nodes for a few months. So I don’t know, or I have forgotten, many things that might be evident for others.

Anyway, I remember vaguely that node’s ability to upgrade should be self-contained, and not dependent on any other component. I remember vaguely, that upgrade may take a few days until all nodes are upgraded. They choose their upgrade time randomly within that window. So I think that my nodes, that I have started afresh at version 4.13 will upgrade themselves. Then I check the instructions, just to be sure.

The upgrade instructions are separate for Launchpad and antctl users. I don’t use any of those, I use Formicaio, so I immediately think that these instructions don’t apply to me, but might still contain something important. Because there are separate instructions saying for example…

:desktop: For MacOS/Linux Launchpad Users

… I start to doubt. Why is it necessary to open Launchpad? Maybe it just needs to be open for the nodes to upgrade? How does that relate to me who uses Formicaio?

Then the instructions say:

  • MacOS/Linux users will auto upgrade assuming you followed the steps in the previous release: Discord

I started afresh, so what ā€œstepsā€ might it mean, and how do they apply to my situation? I click the link, and I find a post in Discord, posted on 19th December:

OK, so to find out those steps, I am again instructed to click one more link, to even earlier post! I didn’t do that, seemed like a waste of time in my situation, because I am still thinking that it should happen by itself, and what does my fresh nodes have to do with stuff in December?

Then I wait for about 12 hours, but nothing has happened. I try to find information about what was the time period when the auto upgrade happens, but that was not on Autonomi readme in Github. I knew it was said somewhere in the Forum, but couldn’t be bothered to dig it out. At this point I am not sure if nodes are doing it independently or not.

Then, when checking Formicaio, I find out that it has auto upgrading disabled by default. That again is questionable in regards of nodes doing it by themselves. (paging @bochaco). Anyway I enable that, and then I soon see, that there is a clickable ā€œupgradeā€ -option by every node, and upgrade them manually.

To recap:

The instructions seems to assume that people:

  1. Have upgraded previously. I had just started afresh.
  2. Run nodes using Launchpad or antctl. I don’t.
  3. Create assumption, that nodes are not independent in their upgrade behaviour.
  4. Don’t provide any sort of description of the upgrade process, against which a user could gauge if everything is alright or not - and it is not easily available in the documentation either.

My proposal is to say something like this:

In all platforms, except windows, nodes of version xx.xx or higher upgrade themselves by date x.x. time xx.xx. UTC without any user actions. If your nodes haven’t upgraded by that time, please keep the logs and submit bug report in this thread.

Then there could be separate instructions for those who wish to upgrade Launchpad or antctl or any other component.

2 Likes

Thanks for the feedback.

I think we can take some of this into account.

One thing I will say: it’s reasonable for us to write documentation for the tools we officially support. We couldn’t possibly cover everything that’s in use by the community. I’ve never used Formicaio.

8 Likes

Mine are upgrading, on average I am only 25% upgraded as of now.

Odd because prior to Chris asking not to intervene I ran upgrade --interval 60000 :man_shrugging:

2 Likes