Re: [GNC] How to transfer all my accounts etc. to new computer. Linux version

2023-08-13 Thread Liz
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

2023-08-13 Thread Frank H. Ellenberger

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

2023-08-13 Thread Maf. King
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

2023-08-13 Thread Liz
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

2023-08-13 Thread Liz
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

2023-08-13 Thread Geert Janssens
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

2023-08-12 Thread Liz
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

2023-08-12 Thread David Cousens
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

2023-08-12 Thread Liz
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

2023-08-12 Thread David Cousens
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

2023-08-12 Thread Liz
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.