Geert ~

   I discovered that the environment variables GNC_DATA_HOME and
   GNC_CONFIG_HOME were not defined. They are now defined as
   $HOME/.local/share/gnucash and $HOME/.config/gnucash respectively as
   indicated at
   [1]https://wiki.gnucash.org/wiki/Configuration_Diagrams_-_Linux. Both
   directories were already present;  $HOME/.local/share/gnucash was
   populated, $HOME/.config/gnucash was empty.

   I moved my data and log files from DOT_GNUCASH_DIR to
   $HOME/Documents/gnucash. DOT_GNUCASH_DIR is now empty, so apparently
   the update did in fact migrate the other files to
   $HOME/.local/share/gnucash in spite of the missing GNC_DATA_HOME
   definition.

   As you suggested, I moved GNC_DATA_HOME "out of the way" by renaming
   $HOME/.local/share/gnucash, and then ran gnucash. As expected, a new
   $HOME/.local/share/gnucash was created and populated. The only
   difference I see is in the size of the .gcm file in the books
   subdirectory -- the original file is much larger than the new one,
   clearly due to the months of activity represented by the older file.

   A critical problem remains: scheduled transactions are not being
   entered as they come due. The Scheduled Transaction Editor page
   contains all of the expected entries, and none of the "Next Occur"
   dates are older than the day that the version update took place. And
   it's not just a problem with entries that were there prior to the
   update; yesterday I created a new entry scheduled for today, and the
   transaction did not get created.

   What else can I look at to diagnose this problem?

   ~ Phil

   On 9/6/22 05:20, Geert Janssens wrote:

   Op maandag 5 september 2022 22:38:55 CEST schreef Phil Wolff via
   gnucash-user:

   >    David ~

   >

   >
   [1][2]https://wiki.gnucash.org/wiki/Configuration_Locations#DOT_GNUCASH
   _DI

   >    R: "When moving from GnuCash 2.6 to 3.x or above, GnuCash will

   >    automatically try to migrate all data from DOT_GNUCASH_DIR to
   their

   >    respective new locations. After mitgration, GnuCash 3.0 or above
   should

   >    never use DOT_GNUCASH_DIR again."

   >    For my Linux system, DOT_GNUCASH_DIR is $HOME/.gnucash, and my
   data

   >    file and all associated *.log files are there. Since my previous

   >    GnuCash version was 1.something, is it reasonable to assume that
   this

   >    migration was not even attempted?

   >

   I didn't want to bring this up earlier. However $HOME/.gnucash has
   never been the place to store your data files, though older versions of
   gnucash didn't prevent you from doing so or even suggested that
   directory by default unfortunately. The DOT_GNUCASH_DIR is meant to be
   used by gnucash to store internal state, not your accounting data.

   Having said all that, you can probably continue to work like this
   though I would recommend to move your actual data files to a more
   traditional location like $HOME/Documents/gnucash (replace gnucash with
   anything you like - I have only added it because gnucash creates a lot
   of log and backup files next to your actual data file and you may want
   to keep those from cluttering your Documents directory).

   Now back to your question: gnucash will also attempt to migrate state
   information for older gnucash books (that information is actually not
   stored in the book files themselves). It will however only attempt to
   do so if special directory GNC_DATA_HOME doesn't exist yet. If there
   was a failure to run the migration that should have been logged in the
   gnucash trace file that was generated during the first run of the newer
   gnucash. You can always try to reproduce this by temporarily moving
   GNC_DATA_HOME out of the way, and run gnucash.

   Another sidenote (though perhaps that has been the topic of another
   thread), we generally don't support an upgrade from gnucash 1.something
   to 4.x. We do support upgrades from
   1.6.x->1.8.x->2.0.x->2.2.x->2.4.x->2.6.x->3.x->4.x

   If you skip all the steps in between, you may have some odd issues
   during upgrade, though I think your data itself should be fine.

   Regards,

   Geert

   >    ~ Phil

   >

   >    On 9/3/22 15:14, David Cousens wrote:

   >

   > Phil,

   >

   > The installation of the GnuCash help and Tutorial and concepts guide
   is a

   > separate download and installation from the installation of the
   program and

   > is available under a separate link in the panels on the left on the
   GNuCash

   > webpage i.e. [2][3]https://gnucash.org/docs.phtml .  They should also
   be able

   > to be install ed

   > from Ubuntu's package manager. Not sure about the scheduled
   transactions - I

   > would expect them to be stored in the book but they may be stored in
   the

   > user preference information. This wiki

   > page [3][4]https://wiki.gnucash.org/wiki/Configuration_Locations has

   > information on where they are stored and you may need to copy them
   from a

   > backup of your old system.

   >

   > David Cousens

   >

   > References

   >

   >    1.
   [5]https://wiki.gnucash.org/wiki/Configuration_Locations#DOT_GNUCASH_DI
   R

   >    2. [6]https://gnucash.org/docs.phtml

   >    3. [7]https://wiki.gnucash.org/wiki/Configuration_Locations

   > _______________________________________________

   > gnucash-user mailing list

   > [8]gnucash-user@gnucash.org

   > To update your subscription preferences or to unsubscribe:

   > [9]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.

References

   1. https://wiki.gnucash.org/wiki/Configuration_Diagrams_-_Linux
   2. https://wiki.gnucash.org/wiki/Configuration_Locations#DOT_GNUCASH_DI
   3. https://gnucash.org/docs.phtml
   4. https://wiki.gnucash.org/wiki/Configuration_Locations
   5. https://wiki.gnucash.org/wiki/Configuration_Locations#DOT_GNUCASH_DIR
   6. https://gnucash.org/docs.phtml
   7. https://wiki.gnucash.org/wiki/Configuration_Locations
   8. mailto:gnucash-user@gnucash.org
   9. https://lists.gnucash.org/mailman/listinfo/gnucash-user
_______________________________________________
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.

Reply via email to