Skip to content

[bug] The openwisp-config UCI configuration should not be restored completely #195

@nemesifier

Description

@nemesifier

If a device is switched from one instance to another, it may happen that the agent stores a backup of the full /etc/config/openwisp file, which will contain URL, UUID, key and in some cases shared secret.
In some cases this causes the backup to be restored after registering to a different server, which basically causes a rollback and makes the device go back to the old server.

A possible solution could be to treat this file differently and avoid storing URL, UUID, key or shared secret but before proceeding with this we have to verify there's no other downsides to this approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Backlog

    Status

    To do (general)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions