Open victormotaferreira opened 3 years ago
I had the same problem, but was manifesting on Windows server. After i went with Windows 10 Pro everything worked. Follow these instructions " https://github.com/pi-node/instructions/wiki/(EN)-New-instructions-for-docker-desktop-with-wsl2-(windows-2004) " or check the following
Hi nicolae, thanks for the help: 1- updated Docker 2 - Pi Node is the official site version 3 - Gave permissions to everyone 4 - Ports where opened and checked (everything green in the tech setup) 5 - Deleted the container, removed the imge in docker and restarted Pi Node to make sure i had the last image downloaded. The problem persists! (waiting for postgres to be available) :-(
Are you using Hyper-V ?
With your help I Solved it: the problem was between the keyboard and the chair :-) I completed all the steps in the web link, and finnaly i understood i missed a check box! I had to turn on the WSL2 integration button, in the docker desktop "general" settings!! Sometimes you just have to follow the flight checklist twice hehe. Cheers!
:) cheers. I am glad that you solved it. Ports open in windows firewall are not necessary as docker does a NAT between your computer network interface and the virtual one. In Win firewall docker already has permissions for tcp and udp. I just checked the connection with telnet and disabled the manual rules i have set for the Pi ports. It was redundant without a need to be !
Hey guys, I'm running the container on Hyper-V and I've been having the same trouble as describe in the original post. I've been able to circumvent the issue by manually restarting postgresql within the container. For anybody else that might be having this problem, you temporarily fix it like this:
service postgresql restart
postgresql entered FATAL state, too many start retries too quickly
I have Windows 10 Pro. Everything is working and consensus starts to run but is stuck at postgres check:
pi-consensus container log: pinetwork/pi-node-docker:latest
everything ok, until:
init-postgres:ok waiting for postgres to be available waiting for postgres to be available
I already tested cleaning the blockchain data, and deleting the container, but it restarts and repeats the same error. Some problem with docker? Some way to fix this manually? Thanks in advance four any sugestions!