New System and File Location

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

New System and File Location

Keith Jacobs

Hi All

I have been using Gramps v4.2.5 on a standalone Linux Mint v17.3 for sometime with the database located on a network drive at

/home/user/smb:/netdata/usb_storage/Data/Gramps without any problems.

I have now installed Linux Mint v18.1 along side Windows 10 in a dual boot system and have installed Gramps v4.2.5 under Linux Mint. However despite changing the File Location, in Gramps, Preferences to reflect the network drive

/home/keith/smb:/netdata/usb_storage/Data/Gramps

This version of Gramps will not seem my databases.

I can access all other data held on the network drive but Gramps simply refuses.

Can anyone suggest a solution?


-- 
Regards
Keith Jacobs

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: New System and File Location

Ron Johnson
On 01/30/2017 11:52 AM, Keith Jacobs wrote:

Hi All

I have been using Gramps v4.2.5 on a standalone Linux Mint v17.3 for sometime with the database located on a network drive at

/home/user/smb:/netdata/usb_storage/Data/Gramps without any problems.

I have now installed Linux Mint v18.1 along side Windows 10 in a dual boot system and have installed Gramps v4.2.5 under Linux Mint. However despite changing the File Location, in Gramps, Preferences to reflect the network drive

/home/keith/smb:/netdata/usb_storage/Data/Gramps

This version of Gramps will not seem my databases.


Dumb question: did you restart Gramps?

I can access all other data held on the network drive but Gramps simply refuses.

Can anyone suggest a solution


Maybe a symlink from .gramps to smb:/netdata/usb_storage/Data/Gramps.

-- 
World Peace Through Nuclear Pacification

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: New System and File Location

Keith Jacobs

Hi Ron

Yes I had restarted Gramps also rebooted the system. I've 40 years in IT but only the last two using Linux; mainly because I found Gramps.

So how would I implement the symlink? and would I need to do it everytime I booted the system?

Regards
Keith Jacobs
On 30/01/17 18:02, Ron Johnson wrote:
On 01/30/2017 11:52 AM, Keith Jacobs wrote:

Hi All

I have been using Gramps v4.2.5 on a standalone Linux Mint v17.3 for sometime with the database located on a network drive at

/home/user/smb:/netdata/usb_storage/Data/Gramps without any problems.

I have now installed Linux Mint v18.1 along side Windows 10 in a dual boot system and have installed Gramps v4.2.5 under Linux Mint. However despite changing the File Location, in Gramps, Preferences to reflect the network drive

/home/keith/smb:/netdata/usb_storage/Data/Gramps

This version of Gramps will not seem my databases.


Dumb question: did you restart Gramps?

I can access all other data held on the network drive but Gramps simply refuses.

Can anyone suggest a solution


Maybe a symlink from .gramps to smb:/netdata/usb_storage/Data/Gramps.

-- 
World Peace Through Nuclear Pacification


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot


_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: New System and File Location

Brad Rogers
On Tue, 31 Jan 2017 16:10:50 +0000
Keith Jacobs <[hidden email]> wrote:

Hello Keith,

>So how would I implement the symlink? and would I need to do it

At a command prompt type 'ln --help', and you'll get some info which
should get you well on the way.  BTW, virtually all commands recognise
--help or -h for this purpose.  Of course, you have to know what the
command's called in the first place;  Catch-22.

>everytime I booted the system?

No, it's written to the disk like any other file.

--
 Regards  _
         / )           "The blindingly obvious is
        / _)rad        never immediately apparent"
Going round on the Circle Line trying to find a way out
Titanic (My Over) Reaction - 999

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org

attachment0 (499 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: New System and File Location

Ron Johnson
In reply to this post by Keith Jacobs
Since "ln --help" throws a lot at you...

$ mv .gramps .gramps-hold
$ ln -s smb:/netdata/usb_storage/Data/Gramps .gramps
$ ls -aFl .gramps/
# Note the trailing slash!
You might instead have to do:
$ ln -s netdata/usb_storage/Data/Gramps .gramps


On 01/31/2017 10:33 AM, Brad Rogers wrote:
On Tue, 31 Jan 2017 16:10:50 +0000
Keith Jacobs [hidden email] wrote:

Hello Keith,

So how would I implement the symlink? and would I need to do it 
At a command prompt type 'ln --help', and you'll get some info which
should get you well on the way.  BTW, virtually all commands recognise
--help or -h for this purpose.  Of course, you have to know what the
command's called in the first place;  Catch-22.

everytime I booted the system?
No, it's written to the disk like any other file.

-- 
World Peace Through Nuclear Pacification

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: New System and File Location

Keith Jacobs

Hi Brad & Ron

Thanks I tried this but to no avail

keith@keith-H61M-D2H-USB3 ~ $ mv .gramps .gramps-hold
keith@keith-H61M-D2H-USB3 ~ $ ln -s smb:/netdata/usb_storage/Data/Gramps .gramps
keith@keith-H61M-D2H-USB3 ~ $ ls -aFl .gramps/
total 12
drwxr-xr-x 3 keith keith 4096 Jan 30 17:28 ./
drwxr-xr-x 3 keith keith 4096 Jan 30 16:27 ../
drwxr-xr-x 2 keith keith 4096 Jan 30 17:34 588f77d6/
keith@keith-H61M-D2H-USB3 ~ $ ln -s netdata/usb_storage/Data/Gramps .gramps
keith@keith-H61M-D2H-USB3 ~ $

The Folder 588f77d6/ is not on the Network drive but is in /home/keith/smb:/netdata/usb_storage/Data/Gramps

When I renamed the folder /home/keith/smb: to /home/keith/old smb: Gramps would not open.

If I now try to rerun the above commands I get "cannot overwrite directory" and "failed to create symbolic link" errors

Regards
Keith Jacobs
On 31/01/17 19:16, Ron Johnson wrote:
ln -s netdata/usb_storage/Data/Gramps .gramps


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: New System and File Location

Ron Johnson
In reply to this post by Ron Johnson
You only need to run ln once, to point .gramps to the location of your database(s).

And you're missing a *lot* of stuff from the .gramps directory. (Bolded are the critical ones.)  Also, the database are supposed to be under .gramps/grampsdb.

$ ls -aFl .gramps
total 188
drwxrwxr-x  10 ron ron  4096 Nov 15 18:31 ./
drwxr-xr-x 151 ron ron 57344 Feb  1 03:48 ../
-rw-rw-r--   1 ron ron  2902 Dec 12  2015 books.xml
-rw-rw-r--   1 ron ron  8164 Jun  6  2016 DetailedDescendantBook.xml
-rw-rw-r--   1 ron ron  5143 Aug 11  2015 det_ancestor_report.xml
-rw-rw-r--   1 ron ron  5168 Jun  6  2016 det_descendant_report.xml
drwxrwxr-x   2 ron ron     6 Jan 21  2015 env/
-rw-rw-r--   1 ron ron  4687 Dec 28  2015 family_descend_chart.xml
drwxrwxr-x   3 ron ron  4096 Jan 21  2015 gramps40/
drwxrwxr-x   3 ron ron  4096 Aug  6  2015 gramps41/
drwxrwxr-x   3 ron ron  4096 Feb 16  2016 gramps42/
drwxrwxr-x  12 ron ron   166 Jan 31 08:38 grampsdb/
drwxr-xr-x   3 ron ron    27 Jul 24  2015 maps/
-rw-rw-r--   1 ron ron  1864 Jan 31 16:37 recent-files-gramps.xml
-rw-rw-r--   1 ron ron 47334 Jan 27 13:42 report_options.xml
drwxrwxr-x   2 ron ron     6 Jan 21  2015 temp/
drwxrwxr-x   4 ron ron    33 Jan 21  2015 thumb/
-rw-rw-r--   1 ron ron  1009 Jan 30 12:26 tool_options.xml

$ ls -aFl .gramps/grampsdb
total 44
drwxrwxr-x 12 ron ron  166 Jan 31 08:38 ./
drwxrwxr-x 10 ron ron 4096 Nov 15 18:31 ../
drwxrwxr-x  2 ron ron 4096 Nov  1 16:44 55b832bd/
drwxrwxr-x  2 ron ron 4096 May  1  2016 55d21612/
drwxrwxr-x  2 ron ron 4096 Jan 31 16:01 57999dff/
drwxrwxr-x  2 ron ron 4096 Jan 22 07:08 5799a479/
drwxrwxr-x  2 ron ron 4096 Aug  2  2016 57a0a4f5/
drwxrwxr-x  2 ron ron 4096 Nov 20 05:34 58046ce7/
drwxrwxr-x  2 ron ron 4096 Jan 24 10:27 587ac28e/
drwxrwxr-x  2 ron ron 4096 Jan 27 05:28 588b1507/
drwxrwxr-x  2 ron ron 4096 Jan 31 08:37 588fa92f/
drwxrwxr-x  2 ron ron 4096 Jan 31 16:39 5890a162/



On 02/01/2017 03:33 AM, Keith Jacobs wrote:

Hi Brad & Ron

Thanks I tried this but to no avail

keith@keith-H61M-D2H-USB3 ~ $ mv .gramps .gramps-hold
keith@keith-H61M-D2H-USB3 ~ $ ln -s smb:/netdata/usb_storage/Data/Gramps .gramps
keith@keith-H61M-D2H-USB3 ~ $ ls -aFl .gramps/
total 12
drwxr-xr-x 3 keith keith 4096 Jan 30 17:28 ./
drwxr-xr-x 3 keith keith 4096 Jan 30 16:27 ../
drwxr-xr-x 2 keith keith 4096 Jan 30 17:34 588f77d6/
keith@keith-H61M-D2H-USB3 ~ $ ln -s netdata/usb_storage/Data/Gramps .gramps
keith@keith-H61M-D2H-USB3 ~ $

The Folder 588f77d6/ is not on the Network drive but is in /home/keith/smb:/netdata/usb_storage/Data/Gramps

When I renamed the folder /home/keith/smb: to /home/keith/old smb: Gramps would not open.

If I now try to rerun the above commands I get "cannot overwrite directory" and "failed to create symbolic link" errors

Regards
Keith Jacobs
On 31/01/17 19:16, Ron Johnson wrote:
ln -s netdata/usb_storage/Data/Gramps .gramps

-- 
World Peace Through Nuclear Pacification

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: New System and File Location

Keith Jacobs

Ron

The important files, as you describe them, are on the local drive.

It is only the database files that are on the network drive where I keep all of my data.

This works fine on my standalone Mint v17.3 system.

I am now having problems opening files of another application that are on the network drive so I think I need to remove the symlink and perhaps think of another solution.


Regards
Keith Jacobs
On 01/02/17 09:53, Ron Johnson wrote:
You only need to run ln once, to point .gramps to the location of your database(s).

And you're missing a *lot* of stuff from the .gramps directory. (Bolded are the critical ones.)  Also, the database are supposed to be under .gramps/grampsdb.

$ ls -aFl .gramps
total 188
drwxrwxr-x  10 ron ron  4096 Nov 15 18:31 ./
drwxr-xr-x 151 ron ron 57344 Feb  1 03:48 ../
-rw-rw-r--   1 ron ron  2902 Dec 12  2015 books.xml
-rw-rw-r--   1 ron ron  8164 Jun  6  2016 DetailedDescendantBook.xml
-rw-rw-r--   1 ron ron  5143 Aug 11  2015 det_ancestor_report.xml
-rw-rw-r--   1 ron ron  5168 Jun  6  2016 det_descendant_report.xml
drwxrwxr-x   2 ron ron     6 Jan 21  2015 env/
-rw-rw-r--   1 ron ron  4687 Dec 28  2015 family_descend_chart.xml
drwxrwxr-x   3 ron ron  4096 Jan 21  2015 gramps40/
drwxrwxr-x   3 ron ron  4096 Aug  6  2015 gramps41/
drwxrwxr-x   3 ron ron  4096 Feb 16  2016 gramps42/
drwxrwxr-x  12 ron ron   166 Jan 31 08:38 grampsdb/
drwxr-xr-x   3 ron ron    27 Jul 24  2015 maps/
-rw-rw-r--   1 ron ron  1864 Jan 31 16:37 recent-files-gramps.xml
-rw-rw-r--   1 ron ron 47334 Jan 27 13:42 report_options.xml
drwxrwxr-x   2 ron ron     6 Jan 21  2015 temp/
drwxrwxr-x   4 ron ron    33 Jan 21  2015 thumb/
-rw-rw-r--   1 ron ron  1009 Jan 30 12:26 tool_options.xml

$ ls -aFl .gramps/grampsdb
total 44
drwxrwxr-x 12 ron ron  166 Jan 31 08:38 ./
drwxrwxr-x 10 ron ron 4096 Nov 15 18:31 ../
drwxrwxr-x  2 ron ron 4096 Nov  1 16:44 55b832bd/
drwxrwxr-x  2 ron ron 4096 May  1  2016 55d21612/
drwxrwxr-x  2 ron ron 4096 Jan 31 16:01 57999dff/
drwxrwxr-x  2 ron ron 4096 Jan 22 07:08 5799a479/
drwxrwxr-x  2 ron ron 4096 Aug  2  2016 57a0a4f5/
drwxrwxr-x  2 ron ron 4096 Nov 20 05:34 58046ce7/
drwxrwxr-x  2 ron ron 4096 Jan 24 10:27 587ac28e/
drwxrwxr-x  2 ron ron 4096 Jan 27 05:28 588b1507/
drwxrwxr-x  2 ron ron 4096 Jan 31 08:37 588fa92f/
drwxrwxr-x  2 ron ron 4096 Jan 31 16:39 5890a162/



On 02/01/2017 03:33 AM, Keith Jacobs wrote:

Hi Brad & Ron

Thanks I tried this but to no avail

keith@keith-H61M-D2H-USB3 ~ $ mv .gramps .gramps-hold
keith@keith-H61M-D2H-USB3 ~ $ ln -s smb:/netdata/usb_storage/Data/Gramps .gramps
keith@keith-H61M-D2H-USB3 ~ $ ls -aFl .gramps/
total 12
drwxr-xr-x 3 keith keith 4096 Jan 30 17:28 ./
drwxr-xr-x 3 keith keith 4096 Jan 30 16:27 ../
drwxr-xr-x 2 keith keith 4096 Jan 30 17:34 588f77d6/
keith@keith-H61M-D2H-USB3 ~ $ ln -s netdata/usb_storage/Data/Gramps .gramps
keith@keith-H61M-D2H-USB3 ~ $

The Folder 588f77d6/ is not on the Network drive but is in /home/keith/smb:/netdata/usb_storage/Data/Gramps

When I renamed the folder /home/keith/smb: to /home/keith/old smb: Gramps would not open.

If I now try to rerun the above commands I get "cannot overwrite directory" and "failed to create symbolic link" errors

Regards
Keith Jacobs
On 31/01/17 19:16, Ron Johnson wrote:
ln -s netdata/usb_storage/Data/Gramps .gramps

-- 
World Peace Through Nuclear Pacification


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot


_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: New System and File Location

Ron Johnson
In reply to this post by Ron Johnson
On 02/01/2017 04:39 AM, Keith Jacobs wrote:

Ron

The important files, as you describe them, are on the local drive.

Ah.

It is only the database files that are on the network drive where I keep all of my data.


I made a mistake (thinking that the path pointed to .gramps).  You need to symlink grampsdb to Gramps.
First delete any Gramps-related symlinks you just created.  Then:
$ cd ~/.gramps
$ ln -s smb:/netdata/usb_storage/Data/Gramps grampsdb
$ ls -aFl grampsdb/


This works fine on my standalone Mint v17.3 system.


For that you'll have to ask the Mint people.

I am now having problems opening files of another application that are on the network drive so I think I need to remove the symlink and perhaps think of another solution.


Regards
Keith Jacobs
On 01/02/17 09:53, Ron Johnson wrote:
You only need to run ln once, to point .gramps to the location of your database(s).

And you're missing a *lot* of stuff from the .gramps directory. (Bolded are the critical ones.)  Also, the database are supposed to be under .gramps/grampsdb.

$ ls -aFl .gramps
total 188
drwxrwxr-x  10 ron ron  4096 Nov 15 18:31 ./
drwxr-xr-x 151 ron ron 57344 Feb  1 03:48 ../
-rw-rw-r--   1 ron ron  2902 Dec 12  2015 books.xml
-rw-rw-r--   1 ron ron  8164 Jun  6  2016 DetailedDescendantBook.xml
-rw-rw-r--   1 ron ron  5143 Aug 11  2015 det_ancestor_report.xml
-rw-rw-r--   1 ron ron  5168 Jun  6  2016 det_descendant_report.xml
drwxrwxr-x   2 ron ron     6 Jan 21  2015 env/
-rw-rw-r--   1 ron ron  4687 Dec 28  2015 family_descend_chart.xml
drwxrwxr-x   3 ron ron  4096 Jan 21  2015 gramps40/
drwxrwxr-x   3 ron ron  4096 Aug  6  2015 gramps41/
drwxrwxr-x   3 ron ron  4096 Feb 16  2016 gramps42/
drwxrwxr-x  12 ron ron   166 Jan 31 08:38 grampsdb/
drwxr-xr-x   3 ron ron    27 Jul 24  2015 maps/
-rw-rw-r--   1 ron ron  1864 Jan 31 16:37 recent-files-gramps.xml
-rw-rw-r--   1 ron ron 47334 Jan 27 13:42 report_options.xml
drwxrwxr-x   2 ron ron     6 Jan 21  2015 temp/
drwxrwxr-x   4 ron ron    33 Jan 21  2015 thumb/
-rw-rw-r--   1 ron ron  1009 Jan 30 12:26 tool_options.xml

$ ls -aFl .gramps/grampsdb
total 44
drwxrwxr-x 12 ron ron  166 Jan 31 08:38 ./
drwxrwxr-x 10 ron ron 4096 Nov 15 18:31 ../
drwxrwxr-x  2 ron ron 4096 Nov  1 16:44 55b832bd/

smb:/netdata/usb_storage/Data/Gramps drwxrwxr-x  2 ron ron 4096 May  1  2016 55d21612/
drwxrwxr-x  2 ron ron 4096 Jan 31 16:01 57999dff/
drwxrwxr-x  2 ron ron 4096 Jan 22 07:08 5799a479/
drwxrwxr-x  2 ron ron 4096 Aug  2  2016 57a0a4f5/
drwxrwxr-x  2 ron ron 4096 Nov 20 05:34 58046ce7/
drwxrwxr-x  2 ron ron 4096 Jan 24 10:27 587ac28e/
drwxrwxr-x  2 ron ron 4096 Jan 27 05:28 588b1507/
drwxrwxr-x  2 ron ron 4096 Jan 31 08:37 588fa92f/
drwxrwxr-x  2 ron ron 4096 Jan 31 16:39 5890a162/



On 02/01/2017 03:33 AM, Keith Jacobs wrote:

Hi Brad & Ron

Thanks I tried this but to no avail

keith@keith-H61M-D2H-USB3 ~ $ mv .gramps .gramps-hold
keith@keith-H61M-D2H-USB3 ~ $ ln -s smb:/netdata/usb_storage/Data/Gramps .gramps
keith@keith-H61M-D2H-USB3 ~ $ ls -aFl .gramps/
total 12
drwxr-xr-x 3 keith keith 4096 Jan 30 17:28 ./
drwxr-xr-x 3 keith keith 4096 Jan 30 16:27 ../
drwxr-xr-x 2 keith keith 4096 Jan 30 17:34 588f77d6/
keith@keith-H61M-D2H-USB3 ~ $ ln -s netdata/usb_storage/Data/Gramps .gramps
keith@keith-H61M-D2H-USB3 ~ $

The Folder 588f77d6/ is not on the Network drive but is in /home/keith/smb:/netdata/usb_storage/Data/Gramps

When I renamed the folder /home/keith/smb: to /home/keith/old smb: Gramps would not open.

If I now try to rerun the above commands I get "cannot overwrite directory" and "failed to create symbolic link" errors

Regards
Keith Jacobs
On 31/01/17 19:16, Ron Johnson wrote:
ln -s netdata/usb_storage/Data/Gramps .gramps

-- 
World Peace Through Nuclear Pacification

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Loading...