bluerobotics / BlueOS

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

bug: Service logs are not persistent between docker boots #839

Closed rafaellehmkuhl closed 2 years ago

rafaellehmkuhl commented 2 years ago

Bug description

When docker restart, service logs are lost, probably because /root/.cache/ is not binded.

image

Steps to reproduce

  1. Look at your service logs. There's always just one file.

Primary pain point(s)

If one power down BlueOS, the logs are lost.

Prerequisites

rafaellehmkuhl commented 2 years ago

@Williangalvani for this one, should we add a bind to startup.json.default?

Williangalvani commented 2 years ago

yes

we also need a service/script that udaptes the user current settings.