Skip to content

Reinstall on Windows not working as expected. #3717

@Ivvvor

Description

@Ivvvor

I decided to test the windows install from the freenet.exe link on the quickstart page. To prepare for this I uninstalled the service, manually deleted all Freenet folders and checked the registry startup command was gone. Then I restarted Windows.

Downloaded freenet.exe and started it up after going through the security filtering. The first issue I noticed was the terminal window that comes up is in front on the actual installer window so it's not clear what to do next. When I tried the install option things start off OK, but I eventually I get to a red message in the installer, 'Service installation failed: Error: Cannot initialize node without gateways'. I close the installer. Looking around I see the downloaded freenet.exe and fdev.exe binaries in the 'Local/Freenet/bin' folder, but nothing else. In the 'Local/The Freenet Project Inc/Freenet' folder I see the data folder and content, but nothing else.

I've had this issue with the gateways file and fresh config not being correctly written when a fresh node in run before, but could never work out why. Restarting the system usually fixed it and starting the node again would write out the expected default files. I had put this down to a weird Windows quirk, but maybe there is something deeper going on.

As a side note, when using the freenet.exe installer from a downloads folder I note it creates a folder called 'freenet.exe.WebView2' and never cleans it up.

When I ran the freenet.exe again, installation still failed with the same error. Trying to run the node without the installation also just quietly failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-developer-xpArea: developer experienceP-mediumMedium priorityS-needs-reproductionStatus: Bug needs reproduction steps or confirmationT-bugType: Something is broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions