<div dir="ltr"><div><div><div><div>Great! I've got it running and connected to a MySQL database. All seems to be running smoothly. Just a few more questions. I want to run ArchivesSpace under a prefix. <br><br></div>I've added <br><pre><code>ProxyPass /staff <a href="http://localhost:8080/">http://localhost:8080/</a>
ProxyPassReverse /staff <a href="http://localhost:8080/">http://localhost:8080/</a>
ProxyPass /public <a href="http://localhost:8081/">http://localhost:8081/</a>
ProxyPassReverse /public <a href="http://localhost:8081/">http://localhost:8081/</a><br><br></code></pre><pre><code>to our httpd.conf file and added the appropriate lines in config.rb but I'm getting an error. Can someone tell<br></code></pre><pre><code>me if I need to put the ProxyPass in a certain part of the httpd.conf file? Do I need to create a VirtualHost <br></code></pre><pre><code>to put it under? Can anyone who has done this give me an example?<br></code></pre><br></div>Lastly, are there any crons that need to be run to keep things well maintained?<br><br></div>Thanks,<br></div>Chelsea<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><span style="color:rgb(128,128,128)"><em><span style="font-size:small">---------------</span></em></span><br><span style="color:rgb(128,128,128)"><em><span style="font-size:small">Chelsea Lobdell</span></em></span><br><span style="color:rgb(128,128,128)"><em><span style="font-size:small">Library Web Developer/ Swarthmore College</span></em></span><br><span style="color:rgb(128,128,128)"><em><span style="font-size:small"><a href="mailto:clobdel1@swarthmore.edu" target="_blank">clobdel1@swarthmore.edu</a> / (610)690-6818</span></em></span></div></div></div></div>
<br><div class="gmail_quote">On Wed, May 4, 2016 at 11:39 AM, Majewski, Steven Dennis (sdm7g) <span dir="ltr"><<a href="mailto:sdm7g@eservices.virginia.edu" target="_blank">sdm7g@eservices.virginia.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> On May 4, 2016, at 11:00 AM, Chelsea Lobdell <<a href="mailto:clobdel1@swarthmore.edu">clobdel1@swarthmore.edu</a>> wrote:<br>
><br>
> Hi Maura,<br>
><br>
> Yes, I did uncomment the the DB stuff but not set up MySQL. I was a little confused with config.rb. Everything was commented out but set to defaults. I wasn't sure if I should uncomment everything and leave the defaults or just uncomment the things that need to be customized. Eventually, I will set up a MySQL DB for production. Once I can get things running. Can you let me know what fields you've configured in config.rb?<br>
<br>
</span>An uncommented version is used to set the default values in the application.<br>
So the commented version is for reference to document what the options and their defaults are.<br>
You only have to uncomment something you are going to change.<br>
I keep a separate file of my custom config settings and just append it to the commented config.rb.<br>
<br>
You might want to change the proxy_urls so that the links from admin to public and back work properly.<br>
And if you add any plugins or authentication sources, you have to add those to the config.<br>
Otherwise, it’s mostly what you change from the defaults.<br>
<span class=""><br>
><br>
> Also, I'm wondering what the file permissions should look like (owner and group ownership)? I've set the up as root but I'm thinking I may need to create a specific archivesspace user.<br>
><br>
<br>
</span>data and index directories created by the application will need to be owned by the user id the server is running as,<br>
but ownership of the rest of the application doesn’t matter as long as it’s readable.<br>
<span class=""><br>
<br>
> Lastly, I just want to be clear on which port is the admin interface and which port is the public view. It seems like the admin interface is 8080 and the public view is 8081. Is this correct?<br>
<br>
</span>Yes.<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> Thanks,<br>
> Chelsea<br>
><br>
> ---------------<br>
> Chelsea Lobdell<br>
> Library Web Developer/ Swarthmore College<br>
> <a href="mailto:clobdel1@swarthmore.edu">clobdel1@swarthmore.edu</a> / <a href="tel:%28610%29690-6818" value="+16106906818">(610)690-6818</a><br>
><br>
> On Wed, May 4, 2016 at 10:17 AM, Majewski, Steven Dennis (sdm7g) <<a href="mailto:sdm7g@eservices.virginia.edu">sdm7g@eservices.virginia.edu</a>> wrote:<br>
><br>
> Yes: unless you change AppConfig[:db_url] in the config, ArchivesSpace will create an Apache Derby database.<br>
> The error message is saying that the database is at Schema version 68 when it is expecting version 59 for ASpace v1.4.2.<br>
><br>
> You can either delete that database and start from scratch ( If it’s not in the archivesspace directory, it may be in<br>
> your home directory in ~/ArchivesSpace/archivesspace_demo_db/ ), run the migration script ( ./scripts/setup-database.sh —<br>
> I *THINK* that will work : I’ve never tried a backwards migration to a previous version. ) or, for production use,<br>
> set up a mysql database and point AppConfig[:db_url] to it.<br>
><br>
> — Steve Majewski<br>
><br>
><br>
> > On May 4, 2016, at 10:03 AM, Chelsea Lobdell <<a href="mailto:clobdel1@swarthmore.edu">clobdel1@swarthmore.edu</a>> wrote:<br>
> ><br>
> > Hi Steven,<br>
> ><br>
> > I'm trying to do a fresh install of ArchivesSpace 1.4.2. Before this, however, I did try to install version 1.5 until I realized it was in pre-release and I wanted the latest stable release. I deleted the archivesspace directory and started over. It's possible there's a relic hanging around from my attempted 1.5 install. Does archivesspace create a demo DB on install? Do you think there's a DB somewhere I need to delete?<br>
> ><br>
> > - Chelsea<br>
> ><br>
> > ---------------<br>
> > Chelsea Lobdell<br>
> > Library Web Developer/ Swarthmore College<br>
> > <a href="mailto:clobdel1@swarthmore.edu">clobdel1@swarthmore.edu</a> / <a href="tel:%28610%29690-6818" value="+16106906818">(610)690-6818</a><br>
> ><br>
> > On Tue, May 3, 2016 at 5:21 PM, Majewski, Steven Dennis (sdm7g) <<a href="mailto:sdm7g@eservices.virginia.edu">sdm7g@eservices.virginia.edu</a>> wrote:<br>
> ><br>
> > > On May 3, 2016, at 5:14 PM, Majewski, Steven Dennis (sdm7g) <<a href="mailto:sdm7g@eservices.virginia.edu">sdm7g@eservices.virginia.edu</a>> wrote:<br>
> > ><br>
> > ><br>
> > > I’m guessing from that error message that you are upgrading from a previous version of ArchivesSpace and you haven’t<br>
> > > run the migration script: scripts/setup-database.sh as in the UPGRADING instructions.<br>
> > > When it tries to connect to the database, it’s seeing that it’s a previous version of the database schema:<br>
> > ><br>
> > >> Schema Info Mismatch. Expected 59, received 68 for ASPACE version v1.4.2.<br>
> > ><br>
> ><br>
> > I guess I read that backwards: are you trying to revert to 1.4.2 from a newer pre-release version ?<br>
> ><br>
> > ><br>
> > > — Steve Majewski<br>
> > ><br>
> > ><br>
> > ><br>
> > >> On May 3, 2016, at 4:39 PM, Chelsea Lobdell <<a href="mailto:clobdel1@swarthmore.edu">clobdel1@swarthmore.edu</a>> wrote:<br>
> > >><br>
> > >> Hi,<br>
> > >><br>
> > >> I'm am trying to install the latest release of ArchivesSpace - 1.4.2. I am installing this on a CentOS server running Java 1.8. My first step was to configure the frontend_url, backend_url, public_url, solr_url, and indexer_url. So I uncommented those with the DNS of our server (<a href="http://triarchive.brynmawr.edu" rel="noreferrer" target="_blank">triarchive.brynmawr.edu</a>) and tried to start it using default values for everything else. It starts fine.<br>
> > >><br>
> > >> When I uncomment the reset of config.rb because I know I will eventually need to configure the database and a few other things, this is when I see the error. And it does not start up fine. The errors start like this:<br>
> > >><br>
> > >> 2016-05-03 14:05:13.314:WARN:/:ERROR: initialization failed<br>
> > >> org.jruby.rack.RackInitializationException: Schema Info Mismatch. Expected 59, received 68 for ASPACE version v1.4.2. |?from /root/ArchivesSpace/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:110:in `ArchivesSpaceService'|?from /usr/local/archivesspace/gems/gems/sinatra-1.3.6/lib/sinatra/base.rb:1356:in `configure'|?from /root/ArchivesSpace/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:70:in `ArchivesSpaceService'|?from /root/ArchivesSpace/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:32:in `(root)'|?from org/jruby/RubyKernel.java:1040:in `require'|?from /usr/local/archivesspace/gems/gems/jruby-jars-1.7.21/lib/jruby-stdlib-1.7.21.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:54:in `require'|?from /root/ArchivesSpace/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/config.ru:1:in `(root)'|?from org/jruby/RubyBasicObject.java:1574:in `instance_eval'|?from /root/ArchivesSpace/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/config.ru:4:in `(root)'|?from /usr/local/archivesspace/gems/gems/jruby-rack-1.1.19/lib/jruby-rack-1.1.19.jar!/vendor/rack-1.5.5/rack/builder.rb:55:in `initialize'|?from launcher/launcher.rb:86:in `start_server'|?from launcher/launcher.rb:147:in `main'|?from launcher/launcher.rb:232:in `(root)'|<br>
> > >> at org.jruby.rack.RackInitializationException.wrap(RackInitializationException.java:29)<br>
> > >> at org.jruby.rack.RackApplicationFactoryDecorator.init(RackApplicationFactoryDecorator.java:104)<br>
> > >> at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:50)<br>
> > >> at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:766)<br>
> > >> at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:406)<br>
> > >> at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:758)<br>
> > >><br>
> > >> and continue like this:<br>
> > >> SEVERE: Unable to create core: collection1<br>
> > >> org.apache.solr.common.SolrException: Error opening new searcher<br>
> > >> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:721)<br>
> > >> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:566)<br>
> > >> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:850)<br>
> > >><br>
> > >> I am thinking I may just be doing something incorrectly in the configuration file. Though, I've left everything else default aside from the frontend_url, backend_url, public_url, solr_url, and indexer_url. I also wonder if this has anything to do with the jdt-compiler jar but I was unable to find that jar in archivesspace/lib.<br>
> > >><br>
> > >> If this is not the right forum to reach for troubleshooting issues please let me know the correct place to go from technical support.<br>
> > >><br>
> > >> Thanks<br>
> > >> Chelsea<br>
> > >> ---------------<br>
> > >> Chelsea Lobdell<br>
> > >> Library Web Developer/ Swarthmore College<br>
> > >> <a href="mailto:clobdel1@swarthmore.edu">clobdel1@swarthmore.edu</a> / <a href="tel:%28610%29690-6818" value="+16106906818">(610)690-6818</a><br>
> > >> _______________________________________________<br>
> > >> Archivesspace_Users_Group mailing list<br>
> > >> <a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
> > >> <a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
> > ><br>
> > > _______________________________________________<br>
> > > Archivesspace_Users_Group mailing list<br>
> > > <a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
> > > <a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
> ><br>
> > _______________________________________________<br>
> > Archivesspace_Users_Group mailing list<br>
> > <a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
> > <a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
> ><br>
> > _______________________________________________<br>
> > Archivesspace_Users_Group mailing list<br>
> > <a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
> > <a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
><br>
> _______________________________________________<br>
> Archivesspace_Users_Group mailing list<br>
> <a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
> <a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
><br>
> _______________________________________________<br>
> Archivesspace_Users_Group mailing list<br>
> <a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
> <a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
<br>
_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
</div></div></blockquote></div><br></div>