Moving Shared Data Library Folders

classic Classic list List threaded Threaded
2 messages Options
D K
| Threaded
Open this post in threaded view
|

Moving Shared Data Library Folders

D K
Is it possible to move the file locations of Shared data libraries that have already been added to the system? I just tried moving some of these files to a new location (e.g. /somewhere/files to /somewhere_else/libraries) and updating the galaxy.ini entry to point to the new location. However, files previously added to a library still point to the old location. 
I found this question on biostars:
Is the only way to do this sort of update to manually change such entries in the database?

Thanks!


___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/
| Threaded
Open this post in threaded view
|

Re: Moving Shared Data Library Folders

Devon Ryan
You end up needing to update the database, or at least I did a year or
two ago when I last did something like this. Thankfully, if you moved
things in a mostly predictable way you can do it with a bit of python
(the path is stored in the "external_filename" field of the "dataset"
table).

Devon
--
Devon Ryan, Ph.D.
Email: [hidden email]
Data Manager/Bioinformatician
Max Planck Institute of Immunobiology and Epigenetics
Stübeweg 51
79108 Freiburg
Germany


On Thu, Jul 6, 2017 at 8:30 AM, D K <[hidden email]> wrote:

> Is it possible to move the file locations of Shared data libraries that have
> already been added to the system? I just tried moving some of these files to
> a new location (e.g. /somewhere/files to /somewhere_else/libraries) and
> updating the galaxy.ini entry to point to the new location. However, files
> previously added to a library still point to the old location.
> I found this question on biostars:
> https://biostar.usegalaxy.org/p/1119/
> Is the only way to do this sort of update to manually change such entries in
> the database?
>
> Thanks!
>
>
> ___________________________________________________________
> Please keep all replies on the list by using "reply all"
> in your mail client.  To manage your subscriptions to this
> and other Galaxy lists, please use the interface at:
>   https://lists.galaxyproject.org/
>
> To search Galaxy mailing lists use the unified search at:
>   http://galaxyproject.org/search/
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/