Skip to content

Bazaar needs to be force quit to launch on systems that were restored from a Fedora Workstation backup to a fresh Bazzite or Bluefin install #1352

@TriVoxel

Description

@TriVoxel

Describe the bug

If you use cp -a or rsync to back up your home folder and /var/lib/flatpak/ folder, then install Bazzite or Bluefin with the same user with the same UID, then restore the home and flatpak folders, Bazaar will not open when you click the app icon. It will fail to launch until you pkill it and open it again.

Steps to reproduce:

NOTE: Make sure you use an external drive with enough free space to fit these directories, and ensure it is formatted with BTRFS or EXT4.

  1. Install and update latest Fedora Workstation.

  2. Install some Flatpaks and change some settings.

  3. Backup home holder:

    sudo cp -a "/home/<username>" "/run/media/<external_drive>/<username>"

  4. Backup Flatpaks:

    sudo cp -a "/var/lib/flatpak/" "/run/media/<external_drive>/flatpak"

  5. Install and update Bazzite or Bluefin (Bazzite has native version of Bazaar, Bluefin has Flatpak version)

    NOTE: Make sure you create a user with the same username and UID (usually 1000 by default)

  6. Log out and enter a TTY terminal.

  7. Restore files:

sudo rm -rf /var/home/ && sudo cp -a "/run/media/<external_drive>/" "/var/home/"
sudo rm -rf /var/lib/flatpak && sudo cp -a "/run/media/<external_drive>/flatpak" "/var/lib/flatpak"


8. Reboot
9. Log in and try to open Bazaar. This usually does not work.

### OS

Bazzite (GNOME) & Bluefin

### Version

All versions. System and Flatpak installs alike.

### Configured Flatpak Remotes

Flathub system

### Hardware

Multiple systems including DELL, Lenovo, and MacBook (~2013) laptops.

### Extra information or context

I have tried deleting `~/.local/share/flatpak` and ensuring SELinux policy is correct on folders and erasing Bazaar configs. Can't figure out why systems I transfer from Fedora Workstation to Bazzite or Bluefin have so many issues with Bazaar, but I think it may be a bug in Bazaar since everything seems perfectly fine on those systems. At most I need to re-add printers and remove Nautilus bookmarks and re-add them again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions