[GNC] Lost all settings after Flatpak update

Geert Janssens geert.gnucash at kobaltwit.be
Sun Apr 4 16:25:20 EDT 2021


I have filed a bug against flatpak for this:
https://github.com/flatpak/flatpak/issues/4209[1] 

Op zondag 4 april 2021 21:56:20 CEST schreef Geert Janssens:
> From reading the reports here I believe the settings that got lost you are
> those stored in GSettings. Those are not in the configuration directories
> you  can symlink. On linux (and hence flatpak) GSettings uses dconf as its
> backend.
> 
> As John already suggested it looks like something has changed with the
> switch to the new 3.38 version of the gnome sdk our flatpak depends on. At
> this point it's not clear to me yet whether that's a bug or a deliberate
> change.
> 
> For the time being you can revert to version 4.4 of the gnucash flatpak by
> running (all in a single line)
> flatpak update --commit
> 298cf1b5b77a15d7afda8a58721b075ec8ec0c59f4b16e1e19db98e37c097b07
> org.gnucash.GnuCash
> 
> If you are on a system that automatically updates flatpaks, you'll also have
> to temporarily stop it from doing that. With flatpak (the tool) version 1.5
> you can run these commands: flatpak mask --user org.gnucash.GnuCash
> flatpak mask --system org.gnucash.GnuCash
> 
> When this issue will be fixed in the future the updates can be unblocked
> with flatpak mask --remove --user org.gnucash.GnuCash
> flatpak mask --remove --system org.gnucash.GnuCash
> 
> Regards,
> 
> Geert
> 
> Op zondag 4 april 2021 18:32:15 CEST schreef Tommy Trussell:
> > I should also say, I created symlinks so that my flatpak gnucash
> > installations on different systems share the same settings folder as a
> > distribution installed version, were I to revert to it. SO the flatpak
> > version is doing something completely different, or it blew away the old
> > settings or something, and I haven't dug around to find out what happened.
> > 
> > On Sun, Apr 4, 2021 at 11:29 AM Tommy Trussell <tommy.trussell at gmail.com>
> > 
> > wrote:
> > > And just to pile on, I noticed the same in Flatpak running on Ubuntu
> > > 20.04. This MAY have been after a "secondary" Flatpak update (?). It
> > > still
> > > says GnuCash 4.5 Flatpak inside the application but when you open a
> > > terminal and run flatpak list I believe it says GnuCash 4.5+.
> > > 
> > > I was quite surprised because I have run GnuCash for many years now and
> > > this may be the first time I have had to re-establish register settings
> > > for
> > > my older books. It's been long enough I did not recall what the defaults
> > > looked like. Apparently I made some choices years ago and haven't looked
> > > back in a long time.
> > > 
> > > On Thu, Apr 1, 2021 at 5:10 PM Guille Lopez <willelopz at gmail.com> wrote:
> > >> Hello,
> > >> 
> > >> I can confirm that I observed the same behavior, also with Flatpak in
> > >> Debian bullseye.
> > >> 
> > >> It did not mean a big deal for me because I could reapply my settings
> > >> quickly, but I confirm the issue.
> > >> 
> > >> Guille
> > >> 
> > >> On 01/04/2021 16:40, km22 wrote:
> > >> > Hi,
> > >> > 
> > >> > I am a Debian user and install Gnucash using Flatpak. I think Flatpak
> > >> > is
> > >> > setup to update automatically and the latest version of Gnucash seems
> > >> > to
> > >> > have been installed as of March 28th.
> > >> > 
> > >> > When I started Gnucash I was presented with the typical popup tips
> > >> > and
> > >> > dialogs to set up a new user file from scratch.  The system did not
> > >> > remember any of my recently used files.  When I opened a recent
> > >> > gnucash
> > >> > file it loaded but all my settings are gone. For instance my tabs are
> > >> > all horizontal at the top of the screen rather than vertically to the
> > >> > left.


More information about the gnucash-user mailing list