Skip to content

Logout during backup process #68

@SG-fabian

Description

@SG-fabian

It's me again :)

I tested the latest version with our biggest project and the backup process works now. I can create a 2,77 GB backup file and upload it to the cloud. But form the user perspective the process is not very reliable, out of five times it only worked only once without an issue.

Most of the time this was my "user journey":

  • Press the "Create backup" button, there is no message that something is happening
  • In the console the "state" request changes to {"message":"Unauthenticated."} (sometimes that took a couple of seconds)
  • Toast message: "Something went wrong"
  • Indeed I'm logged out. So I log back in.
  • The "Create backup"-Button is inactive, the "state" is {"state":"backup_in_progress"}
  • After waiting a while the backup appears.

When I try to restore a backup file I also get logged out of Statamic and there is no kind of indication what is currently happening.

So I guess the automatic logout is a bug. But it would also be nice if there's some kind of indication that the backup is still running. Maybe the backup file should be visible in the list and marked as "Backup in Progress".

Setup: default settings with a cloud filesystem attached, Laravel 11

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions