Skip to content

Error toasts disappear and the error log can't be found in the Backrest web UI #763

Open
@tredondo

Description

@tredondo

Describe the bug
I'm struggling to set up a B2/S3-compatible repository, and the "Test configuration" and "Setup" buttons take longer than a minute. In the meantime, I switch to another tab/application. When I come back to the Backtrest tab, I see that an error toast was displayed, but had just disappeared, and I can't see what the error was.

To Reproduce
Steps to reproduce the behavior:

  1. Go to http://localhost:9898/#/getting-started
  2. Click on Add Repo
  3. Wrestle with restic not found and not downloaded from GitHub; doc mismatches error #762
  4. Click "Test Configuration"
  5. Switch to another browser tab
  6. Wait 5 minutes, switch back to the Backrest tab

Expected behavior
Any errors should be persistently displayed, instead of being ephemeral toasts. This is especially the case if the tab is inactive.

Screenshots

I clicked "Submit" after I saw the errors from "Test configuration" disappear, but it's been 3+ minutes and Submit is still showing the spinner. Cancel is disabled (while also showing the spinner). Then I clicked Test Configuration again and now there are three spinners:

Image

I give up.

Platform Info

  • Linux x64
  • Backrest Version 1.8.0

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions