pi-node / instructions

254 stars 154 forks source link

Reinstall Node container after clean install of Docker & Pi Network #93

Open njcroce opened 3 years ago

njcroce commented 3 years ago

Hello,

I recently did a fresh install of Docker and Pi Network, partially in order to upgrade to Docker RC on Mac M1.

Does anyone know of a method to reinstall the node container? I have been back on the Stellar node dummy for 24 hours. Couldn't find the node container in my Time Machine backup.

mowaxuk commented 3 years ago

I'm in the same boat and found this, Hope it helps and I've subscribed, see if we can get it working.

Keep running the node listener container until your availability stats are higher - this will take a while. Once you approach or exceed 90% availability, you are more likely to be selected to run the consensus container. Once selected, the consensus container will be auto-deployed to your node setup.

just leave it running - the bit where the status alternates between absent and error was added with 0.4.x at the end of last week. Once you're selected to be part of the node test, a consensus container will be sent down to you and you'll then see "Consensus container enabled: Yes" and the "Consensus container:" part will temporarily alternate between creating/absent and eventually settle on "Consensus container: running" (assuming of course that ports are correctly forwarded, etc.).

mowaxuk commented 3 years ago

15-04-2021 10-26-38

mowaxuk commented 3 years ago

This works mate, got my container back and super fast connection to the other nodes.

Don't worry about consensus, you will not lose the consensus container - 𝐃𝐎𝐍'𝐓 REMOVE PI NODE app, remove docker before any of this. restart your computer after you remove docker.

make sure windows is up to date.

Use first – powershell admin – command (just copy paste)-

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

Second - dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

𝐑𝐄𝐒𝐓𝐀𝐑𝐓 𝐏𝐂 - and 𝐌𝐀𝐍𝐔𝐀𝐋𝐋𝐘 𝐃𝐎𝗪𝐍𝐋𝐎𝐀𝐃 𝐀𝐍𝐃 𝐈𝐍𝐒𝐓𝐀𝐋𝐋 Download the Linux kernel update package

  1. Download the latest package: WSL2 Linux kernel update package for x64 machines

docs.microsoft.com/en-us/windows/wsl/wsl2-kernel#download-the-linux-kernel-update-package

After manually installation wsl2 - step - Open powersheel admin – last command - wsl --set-default-version 2

𝐃𝐎 𝐍𝐎𝐓 install any additional distributions (Ubuntu, kali .... or others)

when all is done, 𝐈𝐍𝐒𝐓𝐀𝐋𝐋 𝐃𝐎𝐂𝐊𝐄𝐑 desktop at the end, leave 𝐃𝐄𝐅𝐀𝐔𝐋𝐓 𝐒𝐄𝐓𝐓𝐈𝐍𝐆𝐒, 𝐃𝐎 𝐍𝐎𝐓 𝐂𝐇𝐀𝐍𝐆𝐄 𝐀𝐍𝐘𝐓𝐇𝐈𝐍𝐆…. Google - Docker release notes | Docker Documentation - Download Docker desktop for Windows or Mac skip tutorial - 𝐎𝐏𝐄𝐍 𝐏𝐈 𝐍𝐎𝐃𝐄 𝐀𝐏𝐏 check ports and you will get container

TelemanKAL commented 1 year ago

I have the same issue. https://pi-mods.de/nodeports/ shows all ports are open. Pi node app says ports are closed. When I turn on Pi test switch it makes docker exit code 137 but docker log says it is not out of memory. Docker reconnects when I turn test switch off again. Any suggestions?