Re: [GNC] How to transfer all my accounts etc. to new computer. Linux version
On Sun, 13 Aug 2023 16:50:26 +0200 "Frank H. Ellenberger" wrote: > Updated. BTW the FAQ is a terrible place because it is hard to > maintain. In most cases wiki's search offers more recent topics. I deliberately chose the FAQ because it was recommended to the Windows user changing computers. It's far too long and contains a lot of information. I can understand that it is hard to maintain. Liz ___ 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.
Re: [GNC] How to transfer all my accounts etc. to new computer. Linux version
Hi Liz, Am 13.08.23 um 02:40 schrieb Liz: What does the FAQ say? https://wiki.gnucash.org/wiki/FAQ#Q:_I_moved.2Frenamed_my_data_file_and_my_reports_disappeared._How_do_I_get_them_back.3F "Reports are stored in a separate file in the ~/.gnucash/books directory." Nope, no such directory $ ls ~/.gnucash/books ls: cannot access '/home/liz/.gnucash/books': No such file or directory Updated. BTW the FAQ is a terrible place because it is hard to maintain. In most cases wiki's search offers more recent topics. Regards Frank ___ 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.
Re: [GNC] How to transfer all my accounts etc. to new computer. Linux version
On Sunday, 13 August 2023 01:40:15 BST Liz wrote: > Gnucash opens, but a lot of my preferences are gone, and even which is > my next invoice number. > Hi Liz. I'm reasonably certain (but have not checked), that the "counters" for the next invoice number etc are stored within the datafile itself. Maybe you've uncovered a bug related to the version change? 0.02 Maf. ___ 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.
Re: [GNC] How to transfer all my accounts etc. to new computer. Linux version
On Sun, 13 Aug 2023 09:46:14 +0200 Geert Janssens wrote: > That data is managed via GSettings, which on Linux uses dconf as > back-end. I have no idea how dconf manages its internal database > unfortunately. It's tied into dbus but that's a black box for me. > > You can dump the the contents via dconf or GSettings tools and then > import this on the new machine. As I'm not near a computer right now, > I can't offer much more than a pointer in the right direction. > Old machine $ dconf dump /org/gnucash/ > /home/liz/gnucash-dconf $ scp /home/liz/gnucash-dconf l...@192.168.xxx.xxx:/home/liz/gnucash-dconf New machine $ dconf load /org/gnucash/ < gnucash-dconf The last matter of the date settings was that when the locale was set in Debian the default went to "none" instead of en_AU. Running "dpkg-reconfigure locales", not adding any and setting the default locale was necessary to fix that. Liz ___ 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.
Re: [GNC] How to transfer all my accounts etc. to new computer. Linux version
On Sun, 13 Aug 2023 09:46:14 +0200 Geert Janssens wrote: > That data is managed via GSettings, which on Linux uses dconf as > back-end. I have no idea how dconf manages its internal database > unfortunately. It's tied into dbus but that's a black box for me. > > You can dump the the contents via dconf or GSettings tools and then > import this on the new machine. As I'm not near a computer right now, > I can't offer much more than a pointer in the right direction. > Someone on reddit has supplied some answers here https://www.reddit.com/r/linuxquestions/comments/oqbyqr/how_to_copy_dconf_settings_from_dead_machine/ and I'll report on success or failure, as I can ssh into the old machine. Liz ___ 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.
Re: [GNC] How to transfer all my accounts etc. to new computer. Linux version
That data is managed via GSettings, which on Linux uses dconf as back-end. I have no idea how dconf manages its internal database unfortunately. It's tied into dbus but that's a black box for me. You can dump the the contents via dconf or GSettings tools and then import this on the new machine. As I'm not near a computer right now, I can't offer much more than a pointer in the right direction. Liz schreef op 13 augustus 2023 04:50:34 CEST: >On Sun, 13 Aug 2023 11:15:52 +1000 >David Cousens wrote: > >> The saved reports are in >> /home/liz/.local/share/gnucash/saved_reports2.8. GNC_USERDATA_DIR is >> the location for the user preferences data > >all very well, but that file >~/.local/share/gnucash/books/*.gcm contains the data for the registry >displays but where is the date format, the last invoice number, >accounting period and so on? > >Liz >___ >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. -- Verzonden van mijn Android telefoon met K-9 Mail. Sent from my smartphone. Please excuse my brevity. ___ 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.
Re: [GNC] How to transfer all my accounts etc. to new computer. Linux version
On Sun, 13 Aug 2023 14:08:49 +1000 David Cousens wrote: > I have to confess I don't know where that info is hiding. I tried > changing the format from the default locale for the date but couldn't > see anything changing in the .gcm file. Same for invoice number. > John may be able to tell us where the various bits of info go. I used > "find - mmin -120" to try and locate any files which had changed in > the last 120 min with no luck. if we can get the info then I can try > updating the wiki and work longer term perhaps on getting that info > into the documentation. > > David I just don't know, and having used rsync -av to move everything, I am not sure what has been missed. If the data has moved in the upgrade I can understand that my method may have not been a sure method of data transfer when changing computers. Certainly once we have the data we can update the documentation. Liz ___ 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.
Re: [GNC] How to transfer all my accounts etc. to new computer. Linux version
I have to confess I don't know where that info is hiding. I tried changing the format from the default locale for the date but couldn't see anything changing in the .gcm file. Same for invoice number. John may be able to tell us where the various bits of info go. I used "find - mmin -120" to try and locate any files which had changed in the last 120 min with no luck. if we can get the info then I can try updating the wiki and work longer term perhaps on getting that info into the documentation. David On Sun, 2023-08-13 at 12:50 +1000, Liz wrote: > On Sun, 13 Aug 2023 11:15:52 +1000 > David Cousens wrote: > > > The saved reports are in > > /home/liz/.local/share/gnucash/saved_reports2.8. GNC_USERDATA_DIR is > > the location for the user preferences data > > all very well, but that file > ~/.local/share/gnucash/books/*.gcm contains the data for the registry > displays but where is the date format, the last invoice number, > accounting period and so on? > > Liz > ___ > 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. ___ 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.
Re: [GNC] How to transfer all my accounts etc. to new computer. Linux version
On Sun, 13 Aug 2023 11:15:52 +1000 David Cousens wrote: > The saved reports are in > /home/liz/.local/share/gnucash/saved_reports2.8. GNC_USERDATA_DIR is > the location for the user preferences data all very well, but that file ~/.local/share/gnucash/books/*.gcm contains the data for the registry displays but where is the date format, the last invoice number, accounting period and so on? Liz ___ 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.
Re: [GNC] How to transfer all my accounts etc. to new computer. Linux version
Liz, The saved reports are in /home/liz/.local/share/gnucash/saved_reports2.8. GNC_USERDATA_DIR is the location for the user preferences data and does not refer to the users gnucash data files which are always stored in a location of choice under the users's home directory , i.e. it is not specified by GnuCash but by the users. Part of the confusion for new users is that there is no one location in the documentation which discusses the location of the book data files and the user preference files. The most complete info is in the wiki, but new users are not going to necessarily go there. It is further complicated by having had to shift with upgrades to the various libraries used by GnuCash which forces change in the locations between differnt GnuCash Versions. Add to that that the three OS's all store such data differently. Maybe the wiki contents are sufficiently mature to be put in the main documentation. David Cousens On Sun, 2023-08-13 at 10:40 +1000, Liz wrote: > On Fri, 11 Aug 2023 17:00:35 +0300 > Shevach Pepper wrote: > > > I’m sure this is really simple but I’m not successful. > > > > I installed gnucash on new computer but I can’t find an option to > > import all my old accounts from old computer. I’m sure this has > > been asked before, but I can’t find any instructions on how to do it. > > > > > > I've just had to do this because I dropped my laptop. > I've gone from 4.14 to 5.1 in the same move. > > I've transferred my ~/ (home directory) from one computer to the new > one. > Gnucash opens, but a lot of my preferences are gone, and even which is > my next invoice number. > I open Gnucash > Help > About, and attach the screenshot. > > This tells me where to look for my preferences, data etc. > GNC_USERDATA_DIR is /home/liz/.local/share/gnucash > Nope, my data files are in subdirectories of > /home/liz/Nextcloud/gnucash/ > My *.gcm files are under books in ~/.local/share/gnucash/ > > $ ls /home/liz/.local/share/gnucash > accelerator-map deviceidhashsalts qif-accounts-map storage > books expressions-2.0 saved-reports-2.8 > stylesheets-2.0 checks hsts-storage.sqlite > saved-reports-2.8-backup translog > > > GNC_USERCONFIG_DIR is /home/liz/.config/gnucash > Nope, this directory is empty (and I checked two other computers that > have shared this data and all are empty directories here) > > > What does the FAQ say? > https://wiki.gnucash.org/wiki/FAQ#Q:_I_moved.2Frenamed_my_data_file_and_my_reports_disappeared._How_do_I_get_them_back.3F > > "Reports are stored in a separate file in the ~/.gnucash/books > directory." > > Nope, no such directory > $ ls ~/.gnucash/books > ls: cannot access '/home/liz/.gnucash/books': No such file or directory > > > OK, I am supposed to know what I am doing, and I can't this time, > having advanced from 4.14 to 5.1, find where to put my preferences > file(s). > > There is a serious disconnect between the documentation and the new > version here. > I can understand that a person less familiar with Gnucash could have a > lot of difficulty moving to a new computer. > > And by the way, where does the new version expect to find my *.gcm > files?? > > Liz > ___ > 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. ___ 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.
Re: [GNC] How to transfer all my accounts etc. to new computer. Linux version
On Fri, 11 Aug 2023 17:00:35 +0300 Shevach Pepper wrote: >I’m sure this is really simple but I’m not successful. > >I installed gnucash on new computer but I can’t find an option to >import all my old accounts from old computer. I’m sure this has > been asked before, but I can’t find any instructions on how to do it. > > I've just had to do this because I dropped my laptop. I've gone from 4.14 to 5.1 in the same move. I've transferred my ~/ (home directory) from one computer to the new one. Gnucash opens, but a lot of my preferences are gone, and even which is my next invoice number. I open Gnucash > Help > About, and attach the screenshot. This tells me where to look for my preferences, data etc. GNC_USERDATA_DIR is /home/liz/.local/share/gnucash Nope, my data files are in subdirectories of /home/liz/Nextcloud/gnucash/ My *.gcm files are under books in ~/.local/share/gnucash/ $ ls /home/liz/.local/share/gnucash accelerator-map deviceidhashsaltsqif-accounts-map storage booksexpressions-2.0 saved-reports-2.8 stylesheets-2.0 checks hsts-storage.sqlite saved-reports-2.8-backup translog GNC_USERCONFIG_DIR is /home/liz/.config/gnucash Nope, this directory is empty (and I checked two other computers that have shared this data and all are empty directories here) What does the FAQ say? https://wiki.gnucash.org/wiki/FAQ#Q:_I_moved.2Frenamed_my_data_file_and_my_reports_disappeared._How_do_I_get_them_back.3F "Reports are stored in a separate file in the ~/.gnucash/books directory." Nope, no such directory $ ls ~/.gnucash/books ls: cannot access '/home/liz/.gnucash/books': No such file or directory OK, I am supposed to know what I am doing, and I can't this time, having advanced from 4.14 to 5.1, find where to put my preferences file(s). There is a serious disconnect between the documentation and the new version here. I can understand that a person less familiar with Gnucash could have a lot of difficulty moving to a new computer. And by the way, where does the new version expect to find my *.gcm files?? Liz ___ 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.
Re: [GNC] How to transfer all my accounts etc. to new computer.
On 2023-08-12 10:50, Michael or Penny Novack wrote: > Suppose you asked us "I used a word processor to create a document. How > do I move THIS document to another computer?" > > You would expect us to say something like "Well what did you name that > document and into what directory (file folder) did you place it?". And > if to that question you answered "I don't know." what would you expect > us to tell you? You perhaps have hundreds of documents ending with the > file extension usual for that word processor. > > Luckily you are unlikely to have many files created by gnucash as the > "data file" (the books themselves). Should have the file extension .gnucash Don't forget, the great majority of files ending .gnucash will most likely not be the data file but backups of it at various stages. The OP wants to look for a file whose name does _not_ include a 14-digit number, which is the timestamp for when that particular backup file was made. An additional complication is that by default Windows hides file extensions, so the OP may or may not see ".gnucash" at the end of a data file's name. What the OP should do, in my opinion, is 1. Open GnuCash on the old computer. 2. Let it open the most recently used file (as it does automatically). 3. Click File, and look at the list just under the word Properties in the menu. 4. Hover the mouse over the first of those, without clicking it. The full path and file name should appear in the status line or in a popup "tool tip", depending on GnuCash version. 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.
Re: [GNC] How to transfer all my accounts etc. to new computer.
I’m sure this is really simple but I’m not successful. I installed gnucash on new computer but I can’t find an option to import all my old accounts from old computer. I’m sure this has been asked before, but I can’t find any instructions on how to do it. On my old computer in the AppData>Roaming>GnuCash>books folder I found a file with end in gnucash.gcm. Can I just copy that file and put into the new computer in the same place and I’ll get back old of the old info? Suppose you asked us "I used a word processor to create a document. How do I move THIS document to another computer?" You would expect us to say something like "Well what did you name that document and into what directory (file folder) did you place it?". And if to that question you answered "I don't know." what would you expect us to tell you? You perhaps have hundreds of documents ending with the file extension usual for that word processor. Luckily you are unlikely to have many files created by gnucash as the "data file" (the books themselves). Should have the file extension .gnucash Able to find it now? Or if more than one, can you tell after trying to open them? NEXT TIME (once you have managed to find the right file) give it a name that will be meaningful to you. Michael D Novack ___ 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.
Re: [GNC] How to transfer all my accounts etc. to new computer.
On Sat, Aug 12, 2023 at 4:48 AM Shevach Pepper wrote: >I’m sure this is really simple but I’m not successful. > >I installed gnucash on new computer but I can’t find an option to >import all my old accounts from old computer. I’m sure this has been >asked before, but I can’t find any instructions on how to do it. > >On my old computer in the AppData>Roaming>GnuCash>books folder I found >a file with end in gnucash.gcm. Can I just copy that file and put into >the new computer in the same place and I’ll get back old of the old >info? > >Tried that but it didn’t work. > >Can someone help me and tell me what to do? > >Thank you very much > > > >Sent from [1]Mail for Windows > > References > >1. https://go.microsoft.com/fwlink/?LinkId=550986 > ___ > 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. > ___ 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.
Re: [GNC] How to transfer all my accounts etc. to new computer.
[image: image.png] On Sat, Aug 12, 2023 at 4:48 AM Shevach Pepper wrote: >I’m sure this is really simple but I’m not successful. > >I installed gnucash on new computer but I can’t find an option to >import all my old accounts from old computer. I’m sure this has been >asked before, but I can’t find any instructions on how to do it. > >On my old computer in the AppData>Roaming>GnuCash>books folder I found >a file with end in gnucash.gcm. Can I just copy that file and put into >the new computer in the same place and I’ll get back old of the old >info? > >Tried that but it didn’t work. > >Can someone help me and tell me what to do? > >Thank you very much > > > >Sent from [1]Mail for Windows > > References > >1. https://go.microsoft.com/fwlink/?LinkId=550986 > ___ > 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. > ___ 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.
Re: [GNC] How to transfer all my accounts etc. to new computer.
On Friday, 11 August 2023 15:00:35 BST Shevach Pepper wrote: I’m sure this is really simple but I’m not successful. I installed gnucash on new computer but I can’t find an option to import all my old accounts from old computer. I’m sure this has been asked before, but I can’t find any instructions on how to do it. Hi Shevach. You're correct - it is "simple" to do, and the question has been asked enough times before to have an entry in the FAQ: Besides, if you have to ask how to do this it means that you have no way to back up your data. Think about that for a moment. Think about in what ways this problem (move from one computer to another) is different or much the same as making a copy elsewhere (off your computer -- that's the backup) and then later bringing it back to your computer (that's the restore). The only difference that it might be the same computer. It might not (the disaster was the death of your computer so the restore is to a new device) Michael D Novack ___ 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.
Re: [GNC] How to transfer all my accounts etc. to new computer.
On Friday, 11 August 2023 15:00:35 BST Shevach Pepper wrote: >I’m sure this is really simple but I’m not successful. > >I installed gnucash on new computer but I can’t find an option to >import all my old accounts from old computer. I’m sure this has been >asked before, but I can’t find any instructions on how to do it. > Hi Shevach. You're correct - it is "simple" to do, and the question has been asked enough times before to have an entry in the FAQ: https://wiki.gnucash.org/wiki/ FAQ#Q:_I_just_got_a_new_computer._What_should_I_copy_over_from_my_old_one.3F Basically you need to copy your data file. (Just like you need to copy your word processor docs and spreadsheets and photos and other data files in your user's old folders.) Only you can know what your data file is called and where it is in your folder tree on the old computer. HTH, Maf. ___ 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.
Re: [GNC] How to transfer all my accounts etc. to new computer.
Several option: 1. If you remember where you stored your gnucash data file on the old computer, use your system's file manager to copy it to the new computer (either via a network share, cloud drive or usb stick. Then on the new computer, start gnucash and use File->Open to locate your gnucash data file. 2. If you don't remember where you stored it, open gnucash on your old computer and select save as... From there you can either detect where you stored your gnucash data file originally, or simply save a copy somewhere you can find it later. The take step one above to complete the migration. Note that besides your data file there are a few files that are managed by gnucash directly which you also might want to copy over. They have for example your saved reports and such. Under Windows these are stored under %APPDATA%\gnucash Regards, Geert Op vrijdag 11 augustus 2023 16:00:35 CEST schreef Shevach Pepper: >I’m sure this is really simple but I’m not successful. > >I installed gnucash on new computer but I can’t find an option to >import all my old accounts from old computer. I’m sure this has been >asked before, but I can’t find any instructions on how to do it. > >On my old computer in the AppData>Roaming>GnuCash>books folder I found >a file with end in gnucash.gcm. Can I just copy that file and put into >the new computer in the same place and I’ll get back old of the old >info? > >Tried that but it didn’t work. > >Can someone help me and tell me what to do? > >Thank you very much > > > >Sent from [1]Mail for Windows > > References > >1. https://go.microsoft.com/fwlink/?LinkId=550986 > ___ > 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. ___ 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.