Application won't update, thinks it's running and needs to be deployed?

support
raspberrypi3

#1

Hello,

I have a device that somehow has the container in a frozen state stuck at an old commit, that when in the original project seems to function fine. I have tried moving it between projects and enabling the lock override and nothing seems to work. Seems like something is wrong with the application locking…

HOST OS VERSION
Resin OS 2.13.6+rev1

In the working project: Occasionally displaying: Service is already running ‘main sha256:8fb2fef60f519d4a1ea5165a72bf5f4cc88acd11fb27b365e6b979d80bace058’

If I move to another project and try to restart, I get this message: Request error: Cannot read property ‘services’ of undefined

Container area in the dashboard is now just blank, but again, the container works fine (in any project)…

Any ideas?

Thanks,
Kevin


#4

Thanks to support, determined NTP was not working, indeed the date was days out of sync. Manually setting the correct date in the Host OS caused everything to work again.


#8

Hi Kevin,

Would it be possible for you to run chronyc sources and check the output of that command in the Host OS

That will help us trace why NTP wasn’t sync-ing. Once a device is connected to the internet, NTP should sync unless a firewall is blocking it.

Regards
ZubairLK


#11

Thank you, this might indeed the culprit. Here is the output:
root@ac6920d:~# chronyc sources
506 Cannot talk to daemon


#13

Hi Kevin,
I see. We have just merged a few chrony fixes in meta-resin that will trickle through to devices in a while. They should help.

PR #1126: Fixes for ntp scripts and resin-ntp-config by ZubairLK in resin-os/meta-resin on GitHub

On the board that you see 506 Cannot talk to daemon, can you please run
systemctl status chronyd on the host os and share the output of that. Just to narrow down if its the same issue fixed by the PR above or if it is something else.

And to fix the root cause, you might have to run systemctl restart chronyd. But please run the status command first and share the output.

Thanks

Regards
ZubairLK