Hi there,
My name is Charity and I am trying to set up Apollo for the first time on ubuntu 20.04. I successfully installed apache-tomcat 8.5.69 and can start it up no problem.
When I got to your database configuration instructions for apollo though, I got really confused. (Apologies, I've not done a software installation like this before!) And I think I may have dug myself in a bit of a hole, because I went on to run ./apollo deploy before properly configuring the h2 database. It seemed to work and created a .war file...
First things first, can you help with the h2 database configuration?
Where is the prodDb? Do I need to create it? I'm not even sure what to set it to in the apollo-config.groovy file, and I can only find the devDb databases in my apollo installation directory.
I'm confused by the next step as well... when I do chown -u tomcat:tomcat /any/directory/ , it says the -u flag isn't an option. Am I supposed to replace -u with my literal username?
And finally -- should I delete that first .war file before rerunning ./apollo deploy after my h2 database is properly configured?
Thanks so much for your help on this - I'm extremely new to all of this. I didn't even know what the hell a servlet container was a couple days ago...
Kindly,
Charity
On Jul 29, 2021, at 12:11 PM, Charity Goeckeritz <charityz...@gmail.com> wrote:Hi there,
My name is Charity and I am trying to set up Apollo for the first time on ubuntu 20.04. I successfully installed apache-tomcat 8.5.69 and can start it up no problem.
When I got to your database configuration instructions for apollo though, I got really confused. (Apologies, I've not done a software installation like this before!) And I think I may have dug myself in a bit of a hole, because I went on to run ./apollo deploy before properly configuring the h2 database. It seemed to work and created a .war file...
First things first, can you help with the h2 database configuration?
Where is the prodDb? Do I need to create it? I'm not even sure what to set it to in the apollo-config.groovy file, and I can only find the devDb databases in my apollo installation directory.
I'm confused by the next step as well... when I do chown -u tomcat:tomcat /any/directory/ , it says the -u flag isn't an option. Am I supposed to replace -u with my literal username?
And finally -- should I delete that first .war file before rerunning ./apollo deploy after my h2 database is properly configured?
Thanks so much for your help on this - I'm extremely new to all of this. I didn't even know what the hell a servlet container was a couple days ago...
Kindly,
Charity
--
To unsubscribe from this group and stop receiving emails from it, send an email to apollo+un...@lbl.gov.
On Aug 16, 2021, at 11:13 AM, Charity Goeckeritz <charityz...@gmail.com> wrote:Hi Nathan,
Thanks so much for the explanations and the encouragement. I seem to get the build to run successfully when doing ./apollo run-local, so I was hoping to do my manual annotations just locally. I made sure I added a concrete file (.db) for running in development mode to the apollo-config.groovy file then fired it up (note, I could only get a successful build when I deleted the /jbrowse directory in the main /apollo folder. I'd get a 'can't copy JBrowse directory to the webapps folder' sorta error during the build if I didn't do so).
Anyway, I uploaded my new organism and was ready to go -- but I couldn't get any .bam files to load. I'd press +New Track and fill out the info, click upload and then... nothing would happen. Is it just taking forever to load the tracks?