TL;DR version: Thanks, Adrien, for your detailed response. With your help all of the problems that I mentioned are now resolved. Of my two data files, one has been through 3.11 Check and Repair and the other is going through it now.
Stan Brown Tehachapi, CA, USA https://BrownMath.com On 2023-08-04 09:24, Adrien Monteleone wrote: > On 8/4/23 10:49 AM, Stan Brown (using GC 2.6.21) wrote: >> When I ran GC 3.11 it opened the last-used file, but: >> * There's only an Accounts tab, not any of the other tabs I previously >> had open. >> * The Accounts tab has forgotten my chosen columns. >> * The accounts tree is collapsed to Assets, Expenses, Income, >> Liabilities, Net Worth, though the accounts are there if I click the >> triangles. > > I vaguely recall seeing a thread or two on -user about this. I don't > think anything is wrong, you just have to reset your columns and reset > your expanded accounts. See below about file migrations. Your hint (below) about saved reports motivated me to try copying my .gcm files from the old 2.x %USERPROFILE%\.gnucash\books folder to the new 3.x %APPDATA%\GnuCash\books folder. Those files contain customizations of the Accounts tab and various account registers. Sure enough, when I closed GC 3.11, copied the .gcm folders for my two files, and reopened 3.1, all three of the above troubles were fixed. So it looks like the 3.11 bug in migrating settings extends beyond reports to the above customizations. I'll try to remember that for when someone eve slower than I at upgrading posts that they're experiencing this problem. >> * All of my saved report configurations are gone. > 3.x changed the file name of the saved reports. I thought the migration > had been fixed as of 3.11, but some folks did have some issues. > > If I recall correctly, find the file in your GNC_DATA_HOME directory > labeled saved-reports-2.6 and rename it to saved-reports-2.8 (this was > supposed to be the next major version after 2.6 before the version > scheme was changed, and the devs have left the 'saved-reports-x.y' file > at 2.8 ever since.) The old ones were saved-reports-2.4 and saved-reports-2.4.backup. I copied both and renamed them from 2.4 to 2.8; that brought back my saved reports. > Since you are embarking on a migration of several versions, it would be > a good idea to familiarize yourself with the following Wiki on file > locations: > > https://wiki.gnucash.org/wiki/Configuration_Locations > > and this handy diagram: > > https://wiki.gnucash.org/wiki/Configuration_Diagrams_-_Windows > > and note the differences between 2.6.x and 3.x+ I was aware of the first of those two, and wrote a batch file that uses it to synch settings and reports between my desktop and laptop. But I was unaware of the second one. It's certainly easier to read! But it omits HKCU\Software\Gsettings in the System Registry, where GC stores user preferences and positions of GC's many popup windows. I got this from a posting by Geert from 2021-04-07 called "Re: [GNC] Migrating and updating version 2 to 4". But it's also in the first of your two wiki links above, and it's part of my synch batch file. > After migrating the relevant files from the 2.6.x locations to the new > locations and names that didn't get migrated automatically, you may find > everything is as you expect. >> I did check, and there was no %APPDATA%\GnuCash folder on the 2.6.21 >> machine before I cloned it. The 3.11 installer, or the application, >> created %APPDATA%\GnuCash containing: >> subfolder books (containing a 2 KB .gcm file) >> subfolder checks (empty) >> subfolder translog (empty) >> accelerator-map, 20 KB >> expressions-2.0, 0 bytes >> stylesheets-2.0, 2 KB > > There *should* have been an %APPDATA%/GnuCash folder. > > From your list, it is not surprising that saved reports are missing, as > the file is as well, even with the old name. > > If that 2.6.21 VM never had it, you should be able to copy it from > whatever other working 2.6.x version you have. The 2.6.21 VM didn't have %APPDATA%\GnuCash, because that's a 3.x-and-above folder. In 2.6 the folder is %USERPROFILE%\.GnuCash (note the period) according to the Diagrams wiki page you cited.. I checked on my real machine, still running 2.6.19, and there was no %APPDATA%\GnuCash. So I think this too was part of 3.11's problem in migrating. The 2.6.21 Check & Repair All was pretty fast, and displayed helpful status messages at the lower right corner of the GC window. The 3.11 Check & Repair All is sssssllllllooooowwwwwww -- 2 hours for each of my two data files, which are each about 860 KB (compressed) -- and it displays _nothing_, not even a success message when it finishes. I have to run Task Manager to see that GC is doing anything. It was especially painful because I discovered I had hidden some accounts that I shouldn't have, and rather than make the changes separately in my production files plus two VMs I elected to start over. But I shouldn't ever need to use 3.11 again after today, and I remember reading in the 5.x release notes that C&RA has been made much faster. BTW, after a 2.6.21 Check & Repair All, the Save button is active, so I clicked it. C&RA must have done _something, but I have no idea what, because I had no orphans and no imbalances in my data file when I started. By contrast, after a 3.11 C&RA the Save button is still grayed out. Stan Brown Tehachapi, CA, USA https://BrownMath.com/ _______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.