Hello everyone,
I was wondering about the update of the raspberry with gladys v4.
Since v4 will be based on docker, which relies on the host kernel, upgrading the components in the docker will be quite simple. However, what is planned for the raspberry itself?
If the « raspberry version » will be distributed via an image, this can be integrated into it without much thought for the moment, a script for update/upgrade launched by a cron.
Personally, I’m not a big fan of the automatic method, you’re never safe from a problem during an upgrade. And if this happens to a user who is not familiar with the command line, they would only see a raspberry (gladys) that no longer works without knowing why, and will probably have to start over with a new installation, losing their data and configuration.
I know LXC much better than Docker; but in logic, a CT runs on the host and should not communicate with it. I’m not sure if it’s possible at the level of gladys to plan an upgrade of the raspberry with an ssh key between the docker and the raspberry to launch remote commands or if this would not be possible with a node module?
The ssh key also raises another problem if it is generated directly in the image. Suppose we have a gladys at home, and we find another instance of gladys open on the internet, with the ssh key that would be generated in the image, we could connect to the other instance open on the internet… which would be bad.
In continuation of an upgrade problem and the user loses their data and configuration, is there a module planned that allows exporting gladys data/configuration to an external media?