I tried upgrading to latest v3.4.2 but when i make my compose up i get the below logs and node keeps on restarting
algo8887 | Telemetry configured from '/var/lib/algorand/data/logging.config'
algo8887 | Logging to: /var/lib/algorand/data/node.log
algo8887 | Initialize() IncomingConnectionsLimit -1 must be non-negative
Below is the dockerfile used to build image and use in docker-compose
FROM debian:stable
RUN apt-get update
RUN apt-get install -y gnupg2 curl software-properties-common
RUN curl -O https://releases.algorand.com/key.pub
RUN apt-key add key.pub
RUN add-apt-repository "deb https://releases.algorand.com/deb/ stable main"
RUN apt-get update
RUN apt-get install -y algorand
VOLUME ["/var/lib/algorand"]
EXPOSE 8887 8886 4160
ENTRYPOINT ["algod"]
Definitely the issue is that v2.9.1 does not work with the new consensus.
Nowadays, the best way to be kept up to date with new releases if to follow the category:
It is usually best to systematically update even if it’s not a consensus upgrade.
Your Docker looks ok.
My guess is that your config.json file is incorrect.
Can you show the config.json file in the mounted volume /var/lib/algorand?
Can you remove any lines that you did not customize?
PS: I’ve reformated your post to write code between triple backquotes for improved readability ```