Device not downloading latest release


#1

Hello, I pushed a change (14d6c19) to my application an hour ago but my device (cf766b6) shows no indication of downloading the change and remains on the previous release.

I’ve confirmed that my device is online (and I tried a device reboot) and tested that another device in a different Resin.io application updates just fine on the same network. My device runs Resin OS 2.12.3+rev1 (prod) with Supervisor 7.1.14.

Is there a way to force the device (say, via the Host OS) to check for an update? Thanks in advance!


#5

Hey, a device reboot should have had the supervisor check for an update when it came back, my expectation is that your device is probably experiencing an issue as I know that there are some in 2.12.3 which were fixed in 2.12.5 - if you grant support access I can check it out for you


#6

Thanks a lot! I’ve granted support access. I’d love to help in any way that I can.


#7

It looks like the problem was that there was a leftover migration lock in the supervisor that was causing it to fail to start, I’ve triggered a supervisor update for you to the latest released supervisor of v7.1.20 which includes a fix for this: https://github.com/resin-io/resin-supervisor/blob/v7.1.20/CHANGELOG.md


#8

Thank you very much.


#11

@_Page

I’ve got a similar problem, but on a newer version.
We have a device running 2.12.7rev1 (supervisor 7.4.3) which did not updated itself to the latest commit (other devices on the same application have).
Also, despite the fact service MAIN is running (the application itself is responding), I cannot restart or log into it over terminal, because the dashboard states the MAIN service is not running.
Login over terminal to the device is working fine.
Also, in the dashboard, there is a blue exclamation mark next to “Downloaded” on the main service.
I’ve granted support access to the device (will PM you the ID) if you would like to take a look.


#13

hi, can you private message me with he dashboard link to this device please?


#14

Just did. Let me know if you need something else.

Thanks!


#17

has this device been renamed since it’s been provisioned?


#18

@floion
It was only renamed once (from the default name that resin generates) to the current name.
That happened seconds after the device popped up on the dashboard for the first time.
No renames after that.


#19

can we try to rename it to something without hyphens and then reboot the device?


#20

Sure. You can keep the name, just drop the hyphens.
On the other hand, all of our devices have hyphens on their names and we never had a problem before. But you may go ahead if you think that will make a difference.

FYI: This specific device had a problem in the past (not occurring anymore), which is referenced here:


#24

Hi @floion
Should we rename it, or will you do it?
Did you found anything else wrong? Device is still parked at the old commit.
Thanks!


#25

Hi, we have found the problem and Cameron is working on it. You can see the progress here: https://github.com/resin-io/resin-supervisor/pull/665


#26

Excellent, thanks.
Is there any chance we can apply a workaround in order for the device to update, even without the patch?
Or should we wait so the fix can be tested?


#27

I think it would be best to wait for a new supervisor release and then you can update the supervisor on your board.


#35

Hi,
We updated the supervisor on the aforementioned device and your device is now running the latest release of your application.
As a side note, could you remove the newline character from the device name?

Kind regards,
Thodoris


#37

Hi @thgreasi
Actually, the device is down since yesterday. Did it came back up after the update?


#38

Hi @ymaia ,
Yes the device did come up online and was sending logs properly. I monitored the device for about 15 minutes after the update and everything seemed fine.

The last connectivity event from the device was approximately 4 hours and 40 minutes after my previous response.
Any chance this is related with a network or power issue? Can someone check the device?