Giter Site home page Giter Site logo

Comments (9)

eccentricexit avatar eccentricexit commented on August 20, 2024

More potentially useful information:

apt update is not working:

update

from ethereumonarm.

eccentricexit avatar eccentricexit commented on August 20, 2024

I've installed Ubuntu 20.04 manually using Imager and saw similar messages when trying to apt update.

I managed to fix it by changing the clock to my local time following the steps here: https://www.how2shout.com/linux/fix-inrelease-is-not-valid-yet-invalid-for-another-h-min-s-updates-for-this-repository-will-not-be-applied/

  • I traveled with my raspberry and changed timezones before trying the image.
  • I also noticed when starting the image that the terminal output January 1st 1970

This might be the solution to the problem I faced with the ethonarm image. Perhaps we can let teh user select the timezone during setup?

from ethereumonarm.

diglos avatar diglos commented on August 20, 2024

Hi, never saw this before, we will take a look, sure. Thanks for reporting!!!

from ethereumonarm.

eccentricexit avatar eccentricexit commented on August 20, 2024

Thanks

I decided to give it a go again and I have more information.
I noticed the following:
The date is synced to some time in 2020
Screenshot from 2021-10-14 10-19-11

systemctl thinks its been running since the 70s
Screenshot from 2021-10-14 10-19-39

I went ahead and manually set the date using timedatectl set-time but it was moved back again after rebooting.

from ethereumonarm.

diglos avatar diglos commented on August 20, 2024

Hi,

Could you please run this command and paste here the output?:

timedatectl status

from ethereumonarm.

eccentricexit avatar eccentricexit commented on August 20, 2024

Yes:
Screenshot from 2021-10-14 11-35-22

After some tinkering I restarted the service and noticed a timeout on the log

Screenshot from 2021-10-14 11-33-25

Timed out waiting for reply from 200.160.7.193:123 (200.160.7.193).

That is a brazilian NTP server. Don't know why its timing out.

Anyway, I went ahead and changed the /etc/systemd/timesyncd.conf to use pool.ntp.org instead and it synced after restarting the service:

Screenshot from 2021-10-14 11-49-43

After a reboot it went to another incorrect date because I had not systemctl enable systemd-timesyncd. After doing that I get the correct time on boot.

apt update continues to not work and the setup did not finish (no geth.service)

Screenshot from 2021-10-14 11-58-55

from ethereumonarm.

diglos avatar diglos commented on August 20, 2024

Seems that only the Grafana repo is affected. Please try:

wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
apt update

Can you try this commands and paste the output:

dpkg -l | grep ethereum
dpkg -l | grep geth

from ethereumonarm.

eccentricexit avatar eccentricexit commented on August 20, 2024

Outputs:
Screenshot from 2021-10-14 15-24-56

Also, in an attempt at getting things to move I went ahead and went nuclear deleted /root/first-run.flag hoping that just running the script again would safely produce the output I wanted and now I have geth syncing in the background :)

Screenshot from 2021-10-14 15-26-03

from ethereumonarm.

diglos avatar diglos commented on August 20, 2024

Yeah, seems you ran into a problem with the NTP server. I'm closing the issue as it is not related with the image. Feel free to reopen if you think otherwise.

from ethereumonarm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.