Mercurial > repos > damion > versioned_data
comparison doc/problem_solving.md @ 1:5c5027485f7d draft
Uploaded correct file
author | damion |
---|---|
date | Sun, 09 Aug 2015 16:07:50 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:d31a1bd74e63 | 1:5c5027485f7d |
---|---|
1 # Problem solving | |
2 | |
3 If the Galaxy API is not working, then it needs to be enabled in universe_wsgi.ini with "enable_api = True" | |
4 | |
5 The "Versioned data retrieval" tool depends on the bioblend python module created for accessing Galaxy's API. This enables reading and writing to a particular Galaxy data library and to current user's history in a more elegant way. | |
6 | |
7 `> pip install bioblend` | |
8 | |
9 This loads a variety of dependencies - requests, poster, boto, pyyaml,... (For ubuntu, first install libyaml-dev first to avoid odd pyyaml error?) (Note that this must be done as well on galaxy toolshed's install too.) | |
10 | |
11 **Data library download link doesn't work** | |
12 | |
13 If a data library has a version data folder that is linked to the data store elsewhere on the server, that folder's download link probably won't work until you adjust your galaxy webserver (apache or nginx) configuration. See this and this (a note on galaxy user permissions visa vis apache user). For the example of all data stores that are in /projects2/reference_dbs/versioned/ , Apache needs two lines for the galaxy site configuration (usually in /etc/httpd/conf/httpd.conf ). | |
14 | |
15 ``` | |
16 XSendFile on | |
17 XSendFilePath ... (other paths) | |
18 XSendFilePath /projects2/reference_dbs/versioned/ | |
19 ``` | |
20 | |
21 Without this path, and sufficient permissions, errors will show up in the Apache httpd log, and galaxy users will find that they can't download the versioned data if it is linked from the galaxy library to other locations on the server. | |
22 | |
23 **Data store version deletion** | |
24 | |
25 Note: if a server data store version folder has been deleted, but a link to it still exists in the Versioned Data library, then attempting to download the dataset from there will result in an error. Running the Versioned Data tool to request this file will regenerate it in the server data store cache. Alternately, you can delete the versioned data library version cache folder. | |
26 | |
27 |