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.
-
Install and update latest Fedora Workstation.
-
Install some Flatpaks and change some settings.
-
Backup home holder:
sudo cp -a "/home/<username>" "/run/media/<external_drive>/<username>"
-
Backup Flatpaks:
sudo cp -a "/var/lib/flatpak/" "/run/media/<external_drive>/flatpak"
-
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)
-
Log out and enter a TTY terminal.
-
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.
Describe the bug
If you use
cp -aorrsyncto 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.
Install and update latest Fedora Workstation.
Install some Flatpaks and change some settings.
Backup home holder:
sudo cp -a "/home/<username>" "/run/media/<external_drive>/<username>"Backup Flatpaks:
sudo cp -a "/var/lib/flatpak/" "/run/media/<external_drive>/flatpak"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)
Log out and enter a TTY terminal.
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"