I am trying to run multiple Sequenceserver instances on one server. Each should ideally be reachable through something like:
example.com/sequenceserver1It is working so far but I have a problem with the databases. The configuration seems to work but somehow I cannot get the second instance of Sequenceserver too use its own databases even though it is specified in the config files.
I have just copied the first Sequenceserver folder from the ruby gem directory and renamed it, might that be the culprit?
I can Blast but as soon as I want to download the the Fasta file I am getting the following error:
ArgumentError - Database id should be one of: 58a08005fea95dd5499fac54e4b4d69e
Also I am not sure if I did the apache config right here is what I did so far:
<VirtualHost *:80>
#Server config
ServerName blast.naturkundemuseum.berlin:4567
DocumentRoot /root/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sequenceserver-1.0.8/public
# Allow access to URI space
#RackBaseURI /frog
<Directory /root/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sequenceserver-1.0.8>
Allow from all
AllowOverride All
Options -MultiViews
#For Apache >= 2.4
Require all granted
</Directory>
#Shrimp-Blast start
# Allow access to Rails app's public files
# that are outside of URI space
Alias /shrimp /root/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sequenceserver-1.0.8-shrimp/public
# Run Rails app from /subdirectory
<Location /shrimp>
PassengerBaseURI /shrimp
PassengerAppRoot /root/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sequenceserver-1.0.8-shrimp
</Location>
# Additional rules for files in the public directory of Rails app
<Directory /root/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sequenceserver-1.0.8-shrimp/public>
Allow from all
Options -MultiViews
#For Apache >= 2.4
Require all granted
PassengerFriendlyErrorPages on
</Directory>
</VirtualHost>
Last but not least the symlinks: I have tried a lot and unlinked everything back again in order to find out what might cause the confusion.
Thank you so much for your help, I really tried to fix this one myself but I am stuck!
Cheers
Tino