Skip to content

Unable to delete backups #5092

@Zellick

Description

@Zellick

Please confirm the following.

Is this an issue in the control panel or with the Minecraft server itself?

Control panel (on Modrinth.com)

What browsers are you seeing the problem on? (if a panel issue)

Safari

Describe the bug

So, in my server called Survival World, if I go to the Backups page, I can create new backups fine, but I cannot delete older ones. If I make a new backup now, I can delete it, but older ones I cannot. Error deleting backup
error code: [database] sqlx/postgresql error: error returned from database: update or delete on table "backup_view" violates foreign key constraint "backup_restore_backup_view_id_fkey" on table "backup_restore"
server id c2f6208d-2597-41ce-92e2-6aa3fd2be079

Image

Steps to reproduce

To reproduce the problem on my server called Survival World, go to the Backups page, and then on the right side of the Backups, click on the three dots, then click on the red delete, and then click on delete Backup, and then you'll get the error.

Expected behavior

After you attempt to delete the backup, it will just give you an error.
[database] sqlx/postgresql error: error returned from database: update or delete on table "backup_view" violates foreign key constraint "backup_restore_backup_view_id_fkey" on table "backup_restore"

Additional context

did notice this happened after I upgraded my server to the high plan

Metadata

Metadata

Assignees

No one assigned

    Labels

    serversRelates to the Modrinth Servers product

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions