bluerobotics / BlueOS

The open source platform for ROV, USV, robotic system operation, development, and expansion.
https://blueos.cloud/docs/
Other
146 stars 72 forks source link

Manual update appears to be not working on beta 16 #1503

Closed patrickelectric closed 6 months ago

Williangalvani commented 1 year ago

I am unable to replicate. I tried both in master and beta.16. both worked as expected. bootstrap reported no downtime other than ~15 s for switching versions. version chooser also had no relevant output in the logs.

maybe this is related to boostrap version? I am on 1.0.1:

pi@blueos:~ $ docker image ls | grep bootstrap
bluerobotics/blueos-bootstrap          1.0.1           34887e76b5d5   10 months ago   86.6MB
joaoantoniocardoso commented 1 year ago

I am unable to replicate. I tried both in master and beta.16. both worked as expected. bootstrap reported no downtime other than ~15 s for switching versions. version chooser also had no relevant output in the logs.

maybe this is related to boostrap version? I am on 1.0.1:

pi@blueos:~ $ docker image ls | grep bootstrap
bluerobotics/blueos-bootstrap          1.0.1           34887e76b5d5   10 months ago   86.6MB

I'm also unable to replicate it, from what version you had experienced that @patrickelectric ? ok, from 16, duh. Yeah, I tested manual upload from master, not from beta 16.

patrickelectric commented 1 year ago

@ES-Alexander Can you provide more information ? We are unable to replicate your issue.

Williangalvani commented 1 year ago

it seems we are running out of memory when extracting on pi 3... we'll try increasing the available swap.

ES-Alexander commented 1 year ago

We tried updating to blueos-bootstrap:master, and increasing swap, which may have helped, but didn't fully resolve the issue.

Williangalvani commented 1 year ago

I still believe the issue is memory. I think we should switch https://aiodocker.readthedocs.io/en/latest/_modules/aiodocker/images.html#DockerImages.import_image for https://docker-py.readthedocs.io/en/1.5.0/api/#import_image_from_file Second one isn't async though. so maybe we use the api directly or something.