[Archivesspace_Users_Group] Errors trying to upgrade to 2.7.1 from 2.5.2

Blake Carver blake.carver at lyrasis.org
Fri Feb 28 11:41:58 EST 2020


Which version of Java are you running?
ArchivesSpace needs 8
________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Zachary L Pelli <zachary.pelli at shu.edu>
Sent: Friday, February 28, 2020 11:37 AM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] Errors trying to upgrade to 2.7.1 from 2.5.2


I have the EXACT same issue (2.5.2 > 2.7.1 as well). I’m 100% sure I downloaded the release.



Here is a sample from our log file:



INFO: An exception happened during JRuby-Rack startup

ContextAction not found in packages org.mozilla.javascript; last error: cannot link Java class org.mozilla.javascript.ContextAction, probable missing dependency: org/mozilla/javascript/ContextAction : Unsupported major.minor version 52.0

--- System

jruby 9.1.17.0 (2.3.3) 2018-04-20 d8b1ff9 OpenJDK 64-Bit Server VM 24.241-b01 on 1.7.0_241-mockbuild_2019_10_15_02_24-b00 +jit [linux-x86_64]

Time: 2020-02-28 10:49:29 -0500

Server: jetty/8.1.5.v20120716

jruby.home: uri:classloader://META-INF/jruby.home



--- Context Init Parameters:

jruby.max.runtimes = 1

jruby.min.runtimes = 1

public.root = /

rails.env = production



--- Backtrace

NameError: ContextAction not found in packages org.mozilla.javascript; last error: cannot link Java class org.mozilla.javascript.ContextAction, probable missing dependency: org/mozilla/javascript/ContextAction : Unsupported major.minor version 52.0

            const_missing at uri:classloader:/jruby/java/core_ext/module.rb:45

          <class:Context> at /var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:99

           <module:Rhino> at /var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:36

                   <main> at /var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:3

                  require at org/jruby/RubyKernel.java:956

                   <main> at /var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino.rb:1

                  require at org/jruby/RubyKernel.java:956

                   (root) at /var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino.rb:61

                     find at org/jruby/RubyEnumerable.java:643

                   (root) at /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/ruby_rhino_runtime.rb:1

               available? at /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/ruby_rhino_runtime.rb:91

  <module:best_available> at /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:63

                   <main> at /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:57

                  require at org/jruby/RubyKernel.java:956

                   <main> at /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs.rb:5

                  require at org/jruby/RubyKernel.java:956

                   <main> at /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs.rb:4

                  require at org/jruby/RubyKernel.java:956

                   <main> at /var/local/archivesspace/archivesspace/gems/gems/coffee-script-2.4.1/lib/coffee_script.rb:1

                  require at org/jruby/RubyKernel.java:956

          block in (root) at /var/local/archivesspace/archivesspace/gems/gems/coffee-script-2.4.1/lib/coffee_script.rb:1

                     each at org/jruby/RubyArray.java:1735

          block in (root) at /var/local/archivesspace/archivesspace/gems/gems/coffee-script-2.4.1/lib/coffee-script.rb:1

                     each at org/jruby/RubyArray.java:1735

                   (root) at /var/local/archivesspace/archivesspace/gems/gems/coffee-script-2.4.1/lib/coffee-script.rb:1

                   (root) at /var/local/archivesspace/archivesspace/gems/gems/coffee-rails-4.2.1/lib/coffee-rails.rb:1

                   <main> at /var/local/archivesspace/archivesspace/gems/gems/coffee-rails-4.2.1/lib/coffee-rails.rb:1

                  require at org/jruby/RubyKernel.java:956

                   <main> at /var/local/archivesspace/archivesspace/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:1

                  require at org/jruby/RubyKernel.java:956

                  require at /var/local/archivesspace/archivesspace/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:81

                  require at /var/local/archivesspace/archivesspace/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:76

                   <main> at /var/local/archivesspace/archivesspace/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:65

             start_server at launcher/launcher.rb:92

                     main at launcher/launcher.rb:165

                   <main> at launcher/launcher.rb:261



--- RubyGems

Gem.dir: /var/local/archivesspace/archivesspace/gems

Gem.path:

/root/.gem/jruby/2.3.0

uri:classloader:/META-INF/jruby.home/lib/ruby/gems/shared

/var/local/archivesspace/archivesspace/gems

Activated gems:

  did_you_mean-1.0.1

  bundler-1.17.3

  rake-13.0.1

  concurrent-ruby-1.1.5

  i18n-0.9.1

  minitest-5.13.0

  thread_safe-0.3.6-java

  tzinfo-1.2.6

  activesupport-5.0.7.2

  builder-3.2.4

  erubis-2.7.0

  nokogiri-1.10.7-java

  rails-dom-testing-2.0.3

  crass-1.0.5

  loofah-2.4.0

  rails-html-sanitizer-1.3.0

  actionview-5.0.7.2

  rack-2.0.8

  rack-test-0.6.3

  actionpack-5.0.7.2

  nio4r-2.5.2-java

  websocket-extensions-0.1.4

  websocket-driver-0.6.5-java

  actioncable-5.0.7.2

  globalid-0.4.2

  activejob-5.0.7.2

  mini_mime-1.0.2

  mail-2.7.1

  actionmailer-5.0.7.2

  activemodel-5.0.7.2

  arel-7.1.4

  activerecord-5.0.7.2

  atomic-1.0.1-java

  childprocess-3.0.0

  choice-0.2.0

  coffee-script-source-1.12.2

  execjs-2.7.0

  coffee-script-2.4.1

  method_source-0.9.2

  thor-1.0.1

  railties-5.0.7.2

  coffee-rails-4.2.1

  commonjs-0.2.7

  ffi-1.11.3-java

  jquery-rails-4.3.5

  jquery-ui-rails-6.0.1

  jruby-jars-9.1.17.0

  json-1.8.6-java

  json-schema-1.0.10

  less-2.6.0

  sprockets-3.7.2

  tilt-2.0.10

  less-rails-2.8.0

  less-rails-bootstrap-3.3.5.0

  mizuno-0.6.11

  multi_json-1.14.1

  multipart-post-1.2.0

  net-http-persistent-2.8

  sprockets-rails-2.3.3

  rails-5.0.7.2

  rb-fsevent-0.10.3

  rb-inotify-0.10.1

  rubyzip-1.3.0

  sass-listen-4.0.0

  sass-3.7.4

  sass-rails-5.0.7

  therubyrhino_jar-1.7.8

  therubyrhino-2.1.2

  tzinfo-data-1.2019.3

  uglifier-3.0.4

  zip-zip-0.3



--- Bundler

Bundler.bundle_path: /var/local/archivesspace/archivesspace/gems

Bundler.root: /var/local/archivesspace/archivesspace/data/tmp/jetty-0.0.0.0-8080-frontend.war-_-any-/webapp/WEB-INF

Gemfile: /var/local/archivesspace/archivesspace/data/tmp/jetty-0.0.0.0-8080-frontend.war-_-any-/webapp/WEB-INF/Gemfile

Settings:

  jobs = 8

  without = [:test, :development, :doc]

  gemfile = /var/local/archivesspace/archivesspace/data/tmp/jetty-0.0.0.0-8080-frontend.war-_-any-/webapp/WEB-INF/Gemfile

  bin_path = /var/local/archivesspace/archivesspace/gems/gems/bundler-1.17.3/exe/bundle



--- JRuby-Rack Config

compat_version =

default_logger = org.jruby.rack.logging.StandardOutLogger at 173f7592

equals = <error: >

err = java.io.PrintStream at 2e7b99f1

filter_adds_html = true

filter_verifies_resource = false

ignore_environment = false

initial_memory_buffer_size =

initial_runtimes = 1

jms_connection_factory =

jms_jndi_properties =

logger = org.jruby.rack.logging.ServletContextLogger at 8cfc52c

logger_class_name = servlet_context

logger_name = jruby.rack

maximum_memory_buffer_size =

maximum_runtimes = 1

num_initializer_threads =

out = java.io.PrintStream at 9b42b1f

rackup =

rackup_path =

rewindable = true

runtime_arguments =

runtime_environment =

runtime_timeout_seconds =

serial_initialization = false

servlet_context = ServletContext at o.e.j.w.WebAppContext{/,file:/var/local/archivesspace/archivesspace/data/tmp/jetty-0.0.0.0-8080-frontend.war-_-any-/webapp/},/var/local/archivesspace/archivesspace/wars/frontend.war

throw_init_exception = false



Feb 28, 2020 10:49:29 AM org.eclipse.jetty.server.handler.ContextHandler$Context log

WARNING: ERROR: initialization failed

org.jruby.rack.RackInitializationException: ContextAction not found in packages org.mozilla.javascript; last error: cannot link Java class org.mozilla.javascript.ContextAction, probable missing dependency: org/mozilla/javascript/ContextAction : Unsupported major.minor version 52.0

                from uri:classloader:/jruby/java/core_ext/module.rb:45:in `const_missing'

                from /var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:99:in `<class:Context>'

                from /var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:36:in `<module:Rhino>'

                from /var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:3:in `<main>'

                from org/jruby/RubyKernel.java:956:in `require'

                from /var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino.rb:1:in `<main>'

                from org/jruby/RubyKernel.java:956:in `require'

                from /var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino.rb:61:in `(root)'

                from org/jruby/RubyEnumerable.java:643:in `find'

                from /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/ruby_rhino_runtime.rb:1:in `(root)'

                from /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/ruby_rhino_runtime.rb:91:in `available?'

                from /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:63:in `<module:best_available>'

                from /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:57:in `<main>'

                from org/jruby/RubyKernel.java:956:in `require'

                from /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs.rb:5:in `<main>'

                from org/jruby/RubyKernel.java:956:in `require'

                from /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs.rb:4:in `<main>'

                from org/jruby/RubyKernel.java:956:in `require'

                from /var/local/archivesspace/archivesspace/gems/gems/coffee-script-2.4.1/lib/coffee_script.rb:1:in `<main>'

                from org/jruby/RubyKernel.java:956:in `require'

                from /var/local/archivesspace/archivesspace/gems/gems/coffee-script-2.4.1/lib/coffee_script.rb:1:in `block in (root)'

                from org/jruby/RubyArray.java:1735:in `each'

                from /var/local/archivesspace/archivesspace/gems/gems/coffee-script-2.4.1/lib/coffee-script.rb:1:in `block in (root)'

                from org/jruby/RubyArray.java:1735:in `each'

                from /var/local/archivesspace/archivesspace/gems/gems/coffee-script-2.4.1/lib/coffee-script.rb:1:in `(root)'

                from /var/local/archivesspace/archivesspace/gems/gems/coffee-rails-4.2.1/lib/coffee-rails.rb:1:in `(root)'

                from /var/local/archivesspace/archivesspace/gems/gems/coffee-rails-4.2.1/lib/coffee-rails.rb:1:in `<main>'

                from org/jruby/RubyKernel.java:956:in `require'

                from /var/local/archivesspace/archivesspace/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:1:in `<main>'

                from org/jruby/RubyKernel.java:956:in `require'

                from /var/local/archivesspace/archivesspace/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:81:in `require'

                from /var/local/archivesspace/archivesspace/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:76:in `require'

                from /var/local/archivesspace/archivesspace/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:65:in `<main>'

                from launcher/launcher.rb:92:in `start_server'

                from launcher/launcher.rb:165:in `main'

                from launcher/launcher.rb:261:in `<main>'



                at org.jruby.rack.RackInitializationException.wrap(RackInitializationException.java:29)

                at org.jruby.rack.RackApplicationFactoryDecorator.init(RackApplicationFactoryDecorator.java:104)

                at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:50)

                at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:766)

                at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:406)

                at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:758)

                at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:242)

                at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1233)

                at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:701)

                at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:475)

                at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)

                at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224)

                at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167)

                at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)

                at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)

                at org.eclipse.jetty.server.Server.doStart(Server.java:272)

                at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                at java.lang.reflect.Method.invoke(Method.java:607)

                at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)

                at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302)

                at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:36)

                at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:125)

                at launcher.launcher.invokeOther155:start(launcher/launcher.rb:92)

                at launcher.launcher.RUBY$method$start_server$1(launcher/launcher.rb:92)

                at org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:77)

                at org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:191)

                at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:358)

                at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:211)

                at launcher.launcher.invokeOther335:start_server(launcher/launcher.rb:165)

                at launcher.launcher.RUBY$method$main$6(launcher/launcher.rb:165)

                at org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:155)

                at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:298)

                at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:127)

                at launcher.launcher.invokeOther502:main(launcher/launcher.rb:261)

                at launcher.launcher.RUBY$script(launcher/launcher.rb:261)

                at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:599)

                at org.jruby.ir.Compiler$1.load(Compiler.java:94)

                at org.jruby.Ruby.runScript(Ruby.java:830)

                at org.jruby.Ruby.runNormally(Ruby.java:749)

                at org.jruby.Ruby.runNormally(Ruby.java:767)

                at org.jruby.Ruby.runFromMain(Ruby.java:580)

                at org.jruby.Main.doRunFromMain(Main.java:417)

                at org.jruby.Main.internalRun(Main.java:305)

                at org.jruby.Main.run(Main.java:232)

                at org.jruby.Main.main(Main.java:204)

Caused by: org.jruby.exceptions.RaiseException: (NameError) ContextAction not found in packages org.mozilla.javascript; last error: cannot link Java class org.mozilla.javascript.ContextAction, probable missing dependency: org/mozilla/javascript/ContextAction : Unsupported major.minor version 52.0

                at RUBY.const_missing(uri:classloader:/jruby/java/core_ext/module.rb:45)

                at RUBY.<class:Context>(/var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:99)

                at RUBY.<module:Rhino>(/var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:36)

                at RUBY.<main>(/var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:3)

                at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:956)

                at RUBY.<main>(/var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino.rb:1)

                at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:956)

                at RUBY.(root)(/var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino.rb:61)

                at org.jruby.RubyEnumerable.find(org/jruby/RubyEnumerable.java:643)

                at RUBY.(root)(/var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/ruby_rhino_runtime.rb:1)

                at RUBY.available?(/var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/ruby_rhino_runtime.rb:91)

                at RUBY.<module:best_available>(/var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:63)

                at RUBY.<main>(/var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:57)

                at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:956)

                at RUBY.<main>(/var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs.rb:5)

                at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:956)

                at RUBY.<main>(/var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs.rb:4)

                at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:956)

                at RUBY.<main>(/var/local/archivesspace/archivesspace/gems/gems/coffee-script-2.4.1/lib/coffee_script.rb:1)

                at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:956)

                at RUBY.block in (root)(/var/local/archivesspace/archivesspace/gems/gems/coffee-script-2.4.1/lib/coffee_script.rb:1)

                at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1735)

                at RUBY.block in (root)(/var/local/archivesspace/archivesspace/gems/gems/coffee-script-2.4.1/lib/coffee-script.rb:1)

                at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1735)

                at RUBY.(root)(/var/local/archivesspace/archivesspace/gems/gems/coffee-script-2.4.1/lib/coffee-script.rb:1)

                at RUBY.(root)(/var/local/archivesspace/archivesspace/gems/gems/coffee-rails-4.2.1/lib/coffee-rails.rb:1)

                at RUBY.<main>(/var/local/archivesspace/archivesspace/gems/gems/coffee-rails-4.2.1/lib/coffee-rails.rb:1)

                at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:956)

                at RUBY.<main>(/var/local/archivesspace/archivesspace/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:1)

                at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:956)

                at RUBY.require(/var/local/archivesspace/archivesspace/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:81)

                at RUBY.require(/var/local/archivesspace/archivesspace/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:76)

                at RUBY.<main>(/var/local/archivesspace/archivesspace/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:65)

                at launcher.launcher.start_server(launcher/launcher.rb:92)

                at launcher.launcher.main(launcher/launcher.rb:165)

                at launcher.launcher.<main>(launcher/launcher.rb:261)







Regards,

Zach



From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> On Behalf Of Blake Carver
Sent: Friday, February 28, 2020 8:41 AM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] Errors trying to upgrade to 2.7.1 from 2.5.2



Is there any chance you downloaded the SOURCE rather than the RELEASE?

This is the release zip file:

https://github.com/archivesspace/archivesspace/releases/download/v2.7.1/archivesspace-v2.7.1.zip<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Farchivesspace%2Farchivesspace%2Freleases%2Fdownload%2Fv2.7.1%2Farchivesspace-v2.7.1.zip&data=02%7C01%7Czachary.pelli%40shu.edu%7C9f8518f0f8114f8cb4c908d7bc53d1a8%7C51f07c2253b744dfb97ca13261d71075%7C1%7C0%7C637184940504887986&sdata=WDFi37wyV0ncnBozSBtVu3WyKKRxpTy3hRtyzRPruhs%3D&reserved=0>

________________________________

From: archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> <archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org>> on behalf of James Bullen <james at hudmol.com<mailto:james at hudmol.com>>
Sent: Friday, February 28, 2020 3:32 AM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Subject: Re: [Archivesspace_Users_Group] Errors trying to upgrade to 2.7.1 from 2.5.2





Hi Alan,



You shouldn’t need to be fiddling with gems if you’re just upgrading. The distribution should contain all of the gems.





Cheers,

James





On Feb 28, 2020, at 3:26 PM, Alan Manifold <amanifold at slv.vic.gov.au<mailto:amanifold at slv.vic.gov.au>> wrote:



I was hoping someone might have responded about these problems overnight, but since they didn’t, I did some more investigation myself.



Having looked at these problems more, they seem to be distribution problems. The sassc gem appears not to have its extensions pre-built. We don’t really have a ruby development environment, and it looks like we would have to in order to build the extensions. Is that right? Is there a way to install it with pre-built extensions?



The ContextAction problem seems to be related to some incompatibility between the version of therubyrhino, therubyrhino_jar, and perhaps some javascript library somewhere. It seems to be complaining about not being able to find the ContextAction.class from org.mozilla.javascript. Is that something we’re supposed to already have or is the upgrade supposed to install it or is there something else going on.



We could really use some expert help on this, if anyone has any thoughts. Thanks!



Regards,

Alan







Alan Manifold | Library Systems & Digital Preservation Manager | Collection Development & Description
State Library Victoria | 328 Swanston Street | Melbourne VIC 3000
T +61 3 8664 7122 | amanifold at slv.vic.gov.au<mailto:amanifold at slv.vic.gov.au>
slv.vic.gov.au<https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fslv.vic.gov.au%2F&data=02%7C01%7Czachary.pelli%40shu.edu%7C9f8518f0f8114f8cb4c908d7bc53d1a8%7C51f07c2253b744dfb97ca13261d71075%7C1%7C0%7C637184940504897978&sdata=ocNaJE0X6PqaImbNxYmwb7QPFk3PjeXSUA6xe5htbf0%3D&reserved=0>

[https://www.slv.vic.gov.au/sites/default/files/email_signature/signature.jpg?9]<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.slv.vic.gov.au%2Femail_campaign&data=02%7C01%7Czachary.pelli%40shu.edu%7C9f8518f0f8114f8cb4c908d7bc53d1a8%7C51f07c2253b744dfb97ca13261d71075%7C1%7C0%7C637184940504897978&sdata=53I4vhEwZ3w%2BulHZzetWezFM6UpgWjtVR5eNb34kcY4%3D&reserved=0>

[follow   us]

[SLV facebook]<https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.facebook.com%2Fpages%2FMelbourne-Australia%2FState-Library-of-Victoria%2F32256104331&data=02%7C01%7Czachary.pelli%40shu.edu%7C9f8518f0f8114f8cb4c908d7bc53d1a8%7C51f07c2253b744dfb97ca13261d71075%7C1%7C0%7C637184940504907973&sdata=BNzGbDBE7Khcgt4b9PZIFE2Gj06%2BbBCL2kqFHhXnstY%3D&reserved=0>

[SLV twitter]<https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftwitter.com%2FLibrary_Vic&data=02%7C01%7Czachary.pelli%40shu.edu%7C9f8518f0f8114f8cb4c908d7bc53d1a8%7C51f07c2253b744dfb97ca13261d71075%7C1%7C0%7C637184940504907973&sdata=FEZsk7kpr%2BefiPMSjAwX1P7toHfORibNqsEC5foOVNE%3D&reserved=0>

[SLV youtube]<https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.youtube.com%2Fuser%2Fstatelibraryvictoria&data=02%7C01%7Czachary.pelli%40shu.edu%7C9f8518f0f8114f8cb4c908d7bc53d1a8%7C51f07c2253b744dfb97ca13261d71075%7C1%7C0%7C637184940504907973&sdata=YJBhx5EDl%2B3O4Fpv%2F8RwVRAMAGEqHwBU41zMkE%2FVwHQ%3D&reserved=0>

[SLV   instagram]<https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Finstagram.com%2Flibrary_vic&data=02%7C01%7Czachary.pelli%40shu.edu%7C9f8518f0f8114f8cb4c908d7bc53d1a8%7C51f07c2253b744dfb97ca13261d71075%7C1%7C0%7C637184940504917968&sdata=isrf%2BFslAe%2BUZ8wq1HB%2FjF29tP0SxCRutWqN0Dv9ncQ%3D&reserved=0>

[Gold Winner 2018 RACV Victorian Tourism Awards]



[MEA Awards 2018 National Winner]



From: archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Alan Manifold
Sent: Thursday, 27 February 2020 2:43 PM
To: archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>
Subject: [Archivesspace_Users_Group] Errors trying to upgrade to 2.7.1 from 2.5.2



Hi ArchivesSpacers,

We’re trying to upgrade our installation from 2.5.2 to 2.7.1. We’ve run into a number of problems, some of which we’ve solved already by adjusting Gemfiles.



But we’ve got two problems that we haven’t been able to figure out so far. One is a “missing dependency” for “ContextAction” and the other is some kind of problem with the sassc-2.2.1 gem.



The first is a missing dependency:



ContextAction not found in packages org.mozilla.javascript; last error: cannot link Java class org.mozilla.javascript.ContextAction, probable missing dependency: org/mozilla/javascript/ContextAction : Unsupported major.minor version 52.0



            const_missing at uri:classloader:/jruby/java/core_ext/module.rb:45

          <class:Context> at /usr/local/archivesspace-v2.7.1/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:99

           <module:Rhino> at /usr/local/archivesspace-v2.7.1/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:36

                   <main> at /usr/local/archivesspace-v2.7.1/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:3

                  require at org/jruby/RubyKernel.java:956

                   <main> at /usr/local/archivesspace-v2.7.1/gems/gems/therubyrhino-2.1.2/lib/rhino.rb:1

                  require at org/jruby/RubyKernel.java:956

                   (root) at /usr/local/archivesspace-v2.7.1/gems/gems/therubyrhino-2.1.2/lib/rhino.rb:61

                     find at org/jruby/RubyEnumerable.java:643

                   (root) at /usr/local/archivesspace-v2.7.1/gems/gems/execjs-2.7.0/lib/execjs/ruby_rhino_runtime.rb:1

               available? at /usr/local/archivesspace-v2.7.1/gems/gems/execjs-2.7.0/lib/execjs/ruby_rhino_runtime.rb:91

  <module:best_available> at /usr/local/archivesspace-v2.7.1/gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:63

                   <main> at /usr/local/archivesspace-v2.7.1/gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:57

                  require at org/jruby/RubyKernel.java:956

                   <main> at /usr/local/archivesspace-v2.7.1/gems/gems/execjs-2.7.0/lib/execjs.rb:5

                  require at org/jruby/RubyKernel.java:956

                   <main> at /usr/local/archivesspace-v2.7.1/gems/gems/execjs-2.7.0/lib/execjs.rb:4

                  require at org/jruby/RubyKernel.java:956

                   <main> at /usr/local/archivesspace-v2.7.1/gems/gems/coffee-script-2.4.1/lib/coffee_script.rb:1

                  require at org/jruby/RubyKernel.java:956

          block in (root) at /usr/local/archivesspace-v2.7.1/gems/gems/coffee-script-2.4.1/lib/coffee_script.rb:1

                     each at org/jruby/RubyArray.java:1735

          block in (root) at /usr/local/archivesspace-v2.7.1/gems/gems/coffee-script-2.4.1/lib/coffee-script.rb:1

                     each at org/jruby/RubyArray.java:1735

                   (root) at /usr/local/archivesspace-v2.7.1/gems/gems/coffee-script-2.4.1/lib/coffee-script.rb:1

                   (root) at /usr/local/archivesspace-v2.7.1/gems/gems/coffee-rails-4.2.1/lib/coffee-rails.rb:1

                   <main> at /usr/local/archivesspace-v2.7.1/gems/gems/coffee-rails-4.2.1/lib/coffee-rails.rb:1

                  require at org/jruby/RubyKernel.java:956

                   <main> at /usr/local/archivesspace-v2.7.1/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:1

                  require at org/jruby/RubyKernel.java:956

                  require at /usr/local/archivesspace-v2.7.1/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:81

                  require at /usr/local/archivesspace-v2.7.1/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:76

                   <main> at /usr/local/archivesspace-v2.7.1/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:65

             start_server at launcher/launcher.rb:92

                     main at launcher/launcher.rb:165

                   <main> at launcher/launcher.rb:261



Did we miss something in the upgrade process?



The second problem is related to gem sassc. We get this error:



                Ignoring sassc-2.2.1 because its extensions are not built.  Try: gem pristine sassc --version 2.2.1



Shortly followed by this error:



                Bundler::GemNotFound: Could not find sassc-2.2.1 in any of the sources



We tried running the “gem” command above (gem pristine …), but apparently haven’t found the right combination of options to make it work. We don’t know in what directory to run it or what options to use. Also, the gem appears to be there already, so we’re not sure why it’s a problem in the first place:



asadmin:/usr/local/archivesspace$ ls -ls gems/gems

…

  4 drwxr-xr-x.  5 asadmin asadmin   4096 Feb 27 13:57 sassc-2.2.1

…



Since the error message says that the extensions are not built, we also tried running “gem build” command:



asadmin at badger:/usr/local/archivesspace/gems/gems/sassc-2.2.1$<mailto:asadmin at badger:/usr/local/archivesspace/gems/gems/sassc-2.2.1$> gem build sassc.gemspec

fatal: Not a git repository (or any parent up to mount point /usr/local)

Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

fatal: Not a git repository (or any parent up to mount point /usr/local)

Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

WARNING:  description and summary are identical

  Successfully built RubyGem

  Name: sassc

  Version: 2.2.1

File: sassc-2.2.1.gem



Any help on this problems would be appreciated. We can submit a ticket if that would be helpful, but we thought someone might be able to give some guidance on the list.



Regards,

Alan



Alan Manifold | Library Systems & Digital Preservation Manager | Collection Development & Description
State Library Victoria | 328 Swanston Street | Melbourne VIC 3000
T +61 3 8664 7122 | amanifold at slv.vic.gov.au<mailto:amanifold at slv.vic.gov.au>
slv.vic.gov.au<https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fslv.vic.gov.au%2F&data=02%7C01%7Czachary.pelli%40shu.edu%7C9f8518f0f8114f8cb4c908d7bc53d1a8%7C51f07c2253b744dfb97ca13261d71075%7C1%7C0%7C637184940504917968&sdata=R1sGiwVqufuX5r2yjD1RfQ%2Fo9YlPzlpa0vwOgK4%2FmXU%3D&reserved=0>

[https://www.slv.vic.gov.au/sites/default/files/email_signature/signature.jpg?9]<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.slv.vic.gov.au%2Femail_campaign&data=02%7C01%7Czachary.pelli%40shu.edu%7C9f8518f0f8114f8cb4c908d7bc53d1a8%7C51f07c2253b744dfb97ca13261d71075%7C1%7C0%7C637184940504927960&sdata=lXnn%2B%2Bbjsz8nJO2k9VOKEq2MBJvXfmrsucQRorkMZpE%3D&reserved=0>

[follow   us]

[SLV facebook]<https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.facebook.com%2Fpages%2FMelbourne-Australia%2FState-Library-of-Victoria%2F32256104331&data=02%7C01%7Czachary.pelli%40shu.edu%7C9f8518f0f8114f8cb4c908d7bc53d1a8%7C51f07c2253b744dfb97ca13261d71075%7C1%7C0%7C637184940504927960&sdata=Eip8ZOQG2YYJUGAuNTaDpqWXg%2Fvnulcr37gjJZpQtd0%3D&reserved=0>

[SLV twitter]<https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftwitter.com%2FLibrary_Vic&data=02%7C01%7Czachary.pelli%40shu.edu%7C9f8518f0f8114f8cb4c908d7bc53d1a8%7C51f07c2253b744dfb97ca13261d71075%7C1%7C0%7C637184940504937957&sdata=GPszBDXYUTQNR5fVtuxYsJlwtD2IXLACVRF7Kx8Ezzk%3D&reserved=0>

[SLV youtube]<https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.youtube.com%2Fuser%2Fstatelibraryvictoria&data=02%7C01%7Czachary.pelli%40shu.edu%7C9f8518f0f8114f8cb4c908d7bc53d1a8%7C51f07c2253b744dfb97ca13261d71075%7C1%7C0%7C637184940504937957&sdata=4IcHZOXH6zWIboYHPLnkqlL%2F9eSctW5%2BYzIB73HN5Fs%3D&reserved=0>

[SLV   instagram]<https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Finstagram.com%2Flibrary_vic&data=02%7C01%7Czachary.pelli%40shu.edu%7C9f8518f0f8114f8cb4c908d7bc53d1a8%7C51f07c2253b744dfb97ca13261d71075%7C1%7C0%7C637184940504947946&sdata=46seg34f8ioVZHrSg6RtZegEfGYUcqFk50Jc4WElgrc%3D&reserved=0>

[Gold Winner 2018 RACV Victorian Tourism Awards]



[MEA Awards 2018 National Winner]



This message and any attachment is intended only for the use of the Addressee and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please delete all copies of the message and its attachments and notify the sender immediately. Thank you.

This message and any attachment is intended only for the use of the Addressee and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please delete all copies of the message and its attachments and notify the sender immediately. Thank you. !DSPAM:5e58968222181582877507! _______________________________________________
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<https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Flyralists.lyrasis.org%2Fmailman%2Flistinfo%2Farchivesspace_users_group&data=02%7C01%7Czachary.pelli%40shu.edu%7C9f8518f0f8114f8cb4c908d7bc53d1a8%7C51f07c2253b744dfb97ca13261d71075%7C1%7C0%7C637184940504947946&sdata=tY88wlMuQCw7v88rSXj8BHpaP0nALzRIMFXYtV%2BR7yQ%3D&reserved=0>


!DSPAM:5e58968222181582877507!



** WARNING: This email originated from outside of Seton Hall University. Do not click links or open attachments unless you recognize the sender and know the content is safe. **


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200228/3d05c380/attachment-0001.html>


More information about the Archivesspace_Users_Group mailing list