Migrating to Yggdrasil v0.5 on Windows

Hi everyone,

As of earlier this month, the ThreeFold Grid mainnet is now running on Yggdrasil v0.5. That means to connect to your VMs, you’ll also need to update, since this version is not backwards compatible with v0.4.

The TF Planetary Network Connector has not been and likely will not be updated from v0.4. We are shifting our efforts towards our own overlay network, Mycelium.

If you’ve been using the Connector app, you’ll need to switch to the regular Yggdrasil install method to continue using the network. The rest of this post will show the details of how to make the move on Windows. Should you be needing a similar guide for Linux or MacOS, please leave a note in the replies and I’ll add it.

Install Yggdrasil

The first step is to install Yggdrasil according to the official method for Windows, which is the MSI installer. Note that there’s no need to uninstall the Connector app first, though it doesn’t hurt.

To get the latest version of the Yggdrasill installer, navigate to the Github releases page. Most likely you’ll need the x64 version which is hidden in the default view. Click the show all assets link to see the full list:

Then click the appropriate link. For the majority of systems, it will be the one that looks like this (potentially with a newer version):

After the download is complete, run the installer.

If you happen to see an error regarding your processor type, you might have an ARM based processor and would then need the file ending in -arm.msi.

Configure Peers

The default installation configuration does not include any peers, and thus you won’t be able to connect to anything on the Yggdrasil network. In this step, we’ll edit the config file to add our ThreeFold peers list.

On Windows, the Yggdrasil installer creates a config file at C:\ProgramData\Yggdrasil\yggdrasil.conf. You can edit this file in any text editor. When using Notepad, you’ll need to select All Files:

The peers list in the default configuration will be empty. Replace the empty list with the list found in the manual.

When finished, it should look something like this (I’ve shortened the list to show how the end appears):

Save the file, and proceed on to the final step of restarting Yggdrasil.

Restart the Yggdrasil Service

For Yggdrasil to use the newly specified peers, we’ll need to restart it so that it reloads its configuration. There are a couple ways to do that—here I’ll show the Services manager tool.

To start the tool, open the start menu and type “services”. You should see this:

image

Click the entry or hit enter to start it. Now find the Yggdrasil service, select it, and hit Restart:

image

Once that is complete, you should be connected to the peers and able to use the Yggdrasil network.

To test your connectivity, you can try visiting a site hosted over Yggdrasil, like the node map.

1 Like

This does not appear to be working, for me at least… When I try to install the new version Yggdrasil it automatically uninstalls the Network Connector app from my machine. Then when I try to install the Network Connector app again it removes the Yggdrasil service from my machine lol. I have tried every different way to install but always one of the two gets removed for some reason. Have you had the chance to test this and has anyone else experienced this issue at all? I am unable to have both of these installed together and I did not have this issue with the previous version.

@sudo

Just use Yggrasil and not the network connector as explained in the guide.

Ok ok thanks for the help. I got it to work. I thought connector app and yddrassil both needed to be installed but I see they both have the yggdrassil config file so thats probably where the issue was. This is easier to use rather than connecting to the clumsy connector app. Is Mycelium going to be the new connector app??

The connector app and the vanilla Yggdrasil install are indeed mutually exclusive. I’ll update the original post to be more explicit about that.

At some point we’ll either update the connector app to use Mycelium or replace it with a new solution that uses Mycelium in place of Yggdrasil.

For now Mycelium is compatible with Linux and MacOS only.

1 Like