Open
Description
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:
- httpd 2.2.15
- mysql-server 5.1.73
- php, php-mysql 5.3.3
- git 1.7.1
- man 1.6f
Here are the issues I encountered:
- In general, I feel "Configure apache" or "Configure MySQL" are a little vague. While it's unwise to dictate exactly which file to edit, suggesting
/etc/httpd/conf.d/
or/etc/my.cnf
or is going to cover most of the cases. - Step 4 (SSL config) is confusing. I assume the
DocumentRoot
should be the repo root as in Step 3, but it's a literal instead of a placeholder. - Database installation confusion. The
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. - Installing database through scripts. I was able to step through the scripts in order (FossilCalibration.sql, followed by all the numbered database-migration scripts and the two procedures scripts). This installed a (mostly) working database. The readme here suggests looking for TODO items in the scripts, but most of these are irrelevant (except the NCBI files)
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).- The application expects the database to be named
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. - The
$SITEINFO['servername']
variable inSite.conf.example
is actually used as the MySQL hostname, but this is unclear. (PR Clarify meaning of $SITEINFO['servername'] #12) - Some of the php scripts use short tags. By default,
php.ini
disables short tags. Edited Wiki. - After getting my sample database up and running, Browse.php doesn't work because
$targetNodeInfo
is null on line 122 and clobbers$nodeMultitreeID
, causing bad SQL in 137-145. Seems I'm missing some data? - It seems the mysqld
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.
Metadata
Metadata
Assignees
Labels
No labels