[Archivesspace_Users_Group] Moving AS to another server?

Majewski, Steven Dennis (sdm7g) sdm7g at virginia.edu
Wed Sep 12 18:07:11 EDT 2018

You should check the logs/archivesspace.out log file when you start server to see if it starts up without error. 
Error message from startup may more clearly point to the problem — error message from failed GET is already another step removed from the original problem.  

You might also look at file ownership and permissions in archivesspace/data/ and elsewhere. 

If you’ve copied file tree from one server to another, owner of that temp directory may be different from user who is running new archivesspace. 

If you don’t find anything obviously wrong, starting from a clean install and just copying the config.rb  file from old to new server may be easier and keep things more consistent. 

— Steve Majewski

> On Sep 12, 2018, at 5:29 PM, Zhang, Bin <bzhang at csus.edu> wrote:
> I am trying to find out the steps needed to move an AS instance from one server to another.  Both servers are running the same OS (ubuntu 16.04 LTS) and will be pointing to the same mysql server.  I tried just copy the whole archivesspace directory over.  I changed hostnames in the config.rb file.  Is there anything else I need to do before starting AS?  When I started archivesspace.sh, and went to the site url, I got this in the browser:
> Internal Server Error (500)
> Request Method:
> Request URL:
> http://hostname.domain:8080/ <http://hostname.domain:8080/>
> load error: psych -- java.lang.RuntimeException: BUG: we can not copy embedded jar to temp directory from org/jruby/RubyKernel.java:961:in `require' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/psych_jars.rb:2:in `<main>' from org/jruby/RubyKernel.java:961:in `require' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/psych.rb:1:in `<main>' from org/jruby/RubyKernel.java:961:in `require' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/psych.rb:5:in `<main>' from org/jruby/RubyKernel.java:961:in `require' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/yaml.rb:1:in `<main>' from org/jruby/RubyKernel.java:961:in `require' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/yaml.rb:6:in `<main>' from org/jruby/RubyKernel.java:961:in `require' from /data/archivesspace/gems/gems/railties-5.0.1/lib/rails/application.rb:1:in `<main>' from org/jruby/RubyKernel.java:961:in `require' from /data/archivesspace/gems/gems/railties-5.0.1/lib/rails/application.rb:1:in `<main>' from org/jruby/RubyKernel.java:961:in `require' from /data/archivesspace/gems/gems/railties-5.0.1/lib/rails.rb:1:in `<main>' from org/jruby/RubyKernel.java:961:in `require' from /data/archivesspace/gems/gems/railties-5.0.1/lib/rails.rb:11:in `(root)' from /data/archivesspace/gems/gems/actionpack-5.0.1/lib/action_controller/railtie.rb:1:in `(root)' from /data/archivesspace/gems/gems/actionpack-5.0.1/lib/action_controller/railtie.rb:1:in `<main>' from launcher/launcher.rb:92:in `start_server' from launcher/launcher.rb:168:in `main' from launcher/launcher.rb:261:in `<main>'
> You're seeing this error because you use JRuby::Rack::ErrorApp::ShowStatus.
> Any idea what went wrong?
> Thanks!
> Bin Zhang
> California State University, Sacramento
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org <mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group <http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20180912/481902b6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6091 bytes
Desc: not available
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20180912/481902b6/attachment.bin>

More information about the Archivesspace_Users_Group mailing list