-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation issues #13
Comments
Thanks @dleehr ! I've incorporated these suggestions into the latest wiki page. There are still a few loose ends (keyed by item numbers above): (3, 4) The database migrations and other stuff in (5) The NCBI install/update should ultimately be a repeatable task, available from the site's admin dashboard. For now, I've added a new issue (#14) calling for an easier script for this. (9) Hm, it's possible that I'm not checking for an empty database (ie, no calibrations) since that's not at all expected. Please try again with the skeleton database and see if this is repeated. (10) Regarding |
Tried to load the skel database, but it fails with
|
See #15 for revised skeleton data and how-to's. |
Thanks @dleehr . I suspect these errors are the result of having empty tables, which is not a normal condition. I'll add a note about running site maintenance tasks to the wiki. |
@dleehr, please take a look at the new step 10 in the Installation page and let me know if this accurately reflects your experience. |
Yep that's good. Isn't the NCBI Taxonomy included in the skeleton db though? |
Yes, there's currently a particular version of the NCBI taxonomy in the database. It changes very slowly, so this will become increasingly stale over time. Eventually there will be pressure to upgrade to newer versions, but that could be a long time coming. |
Actually there are thousands of taxonomy nodes that change every month. Are |
Thanks @hlapp, I didn't realize there was that much churn. You'll recall that FCD uses the NCBI taxonomy as a "way-finding" backbone for finding calibrated nodes. It's mainly useful because of its familiar organization of the largest clades, so I think changes near the tips would have little impact, and might help one searcher at the expense of another. But @pdpolly is a better person to address this question. |
Am I correct that the FCD is coded so that the NCBI taxonomy can be refreshed fairly easily? I've never paid enough attention to it to know what proportion changes with each public dump, but I did look when we started to see that it is refreshed frequently. The files currently available at ftp://ftp.ncbi.nlm.nih.gov/pub/taxonomy/ all have date stamps yesterday and today. I suspect that the frequency of node changes in the NCBI taxonomy is inversely correlated with ease of fossil calibration, but I don't have any evidence for that other than intuition. |
FYI i - I'm moving further discussion of NCBI updates to a dedicated issue #14. |
I installed FossilCalibrations on a CentOS virtual machine, via the wiki instructions
I'm using CentOS 6.5 64-bit (vagrant: chef/centos-6.5)
Installed via yum:
Here are the issues I encountered:
/etc/httpd/conf.d/
or/etc/my.cnf
or is going to cover most of the cases.DocumentRoot
should be the repo root as in Step 3, but it's a literal instead of a placeholder.db
directory contains.sql
scripts and a Readme for installing a database, but these are not mentioned on the wiki installation guide. The guide suggests to dump/load data from a dev database, but I think that a fresh installation should be supported.database-migration-002.sql
loads data from NCBI files. The script has a hard-coded file path for these files, and they must be downloaded first manually. It would be nice if the download and installation of these files were scripted. For that matter, the entire database installation could be a single script. This file was also missing a semicolon (PR Add missing semicolon in database-migration-002 #11).FossilCalibration
but this is not mentioned in the guides. Additionally, it's not clear what database grants/privileges are required. I created afossils
user with all privileges onFossilCalibration
. This seems to be sufficient to run the application, but installingFossilCalibration.sql
requiredSUPER
privileges, so I had to drop the database and start over with root.$SITEINFO['servername']
variable inSite.conf.example
is actually used as the MySQL hostname, but this is unclear. (PR Clarify meaning of $SITEINFO['servername'] #12)php.ini
disables short tags. Edited Wiki.$targetNodeInfo
is null on line 122 and clobbers$nodeMultitreeID
, causing bad SQL in 137-145. Seems I'm missing some data?max_sp_recursion_depth
setting might be required so that stored procedures can recurse (based on the documentation)? I can't tell if it's working or not. I set it to 255.I think the installation is mostly working, would be happy to provide the VM image (as a vagrant box or virtualbox image) to check it. It seems the database installation is the biggest issue.
The text was updated successfully, but these errors were encountered: