Skip to content

Backup and restore section of settings is not clear enough #3778

Closed

Description

@B1BU

What happened?

I accidentally uploaded a presets file as a configuration file in the Security & Updates section of the settings menu and that reset my configuration. The two options look very similar and are very close together so this is a very easy mistake to make.

To Reproduce Bug

Upload a presets.json or any .json file in the "Restore configuration" option of the Security & Updates section of the settings menu.

Expected Behavior

One or more of the following:

  1. For the device to not accept the file.
  2. For the control panel to show a warning that the file is invalid.
  3. For the device to save a temporary backup of the settings before replacing the file and restore it if the uploaded file doesn't work, otherwise deleting the backup to free up storage.
  4. For the two options in the settings menu to look visually distinct.
  5. For the warning text to be at the top of the Backup & Restore section maybe?

Install Method

Binary from WLED.me

What version of WLED?

WLED 0.14.2-b1

Which microcontroller/board are you seeing the problem on?

ESP32

Relevant log/trace output

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. blazoncek commented on Feb 26, 2024

    @blazoncek
    Contributor

    That is the expected behaviour. Unfortunately.
    There is a warning saying so.
    Screenshot 2024-02-26 at 23 02 18

  2. B1BU commented on Feb 26, 2024

    @B1BU
    Author

    Yeah, but my issue is that it's still too easy to make the mistake. The options could at least be further apart or look more visually distinct. Maybe make the "Restore presets" and "Restore configuration" texts bigger.

  3. B1BU commented on Feb 26, 2024

    @B1BU
    Author

    Something like this so anyone can tell them apart at a glance
    image

  4. changed the title [-]"Restore configuration" accepts preset backup files, bricking the WLED device[/-] [+]"Restore configuration" accepts preset backup files, making WLED device unreachable[/+] on Feb 27, 2024
  5. changed the title [-]"Restore configuration" accepts preset backup files, making WLED device unreachable[/-] [+]"Restore configuration" accepts preset backup files[/+] on Feb 27, 2024
  6. changed the title [-]"Restore configuration" accepts preset backup files[/-] [+]"Restore configuration" accepts any json file[/+] on Feb 27, 2024
  7. changed the title [-]"Restore configuration" accepts any json file[/-] [+]Backup and restore section of settings is not clear enough[/+] on Feb 27, 2024
  8. added
    fixed in source
    on Feb 27, 2024
  9. added a commit that references this issue on Feb 28, 2024
    0ff5dec
  10. blazoncek commented on Mar 22, 2024

    @blazoncek
    Contributor

    Available in 0.15.0 beta 1.

  11. added a commit that references this issue on Aug 18, 2026
    0e53241
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixed in source

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions