Re: [Archivesspace_Users_Group] Errors trying to upgrade to 2.7.1 from 2.5.2
Thanks for this idea, Blake. I confirmed that it was the release I downloaded, not the source. 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 | amanif...@slv.vic.gov.au slv.vic.gov.au<http://slv.vic.gov.au> [https://www.slv.vic.gov.au/sites/default/files/email_signature/signature.jpg?9]<https://www.slv.vic.gov.au/email_campaign> [follow us] [SLV facebook]<http://www.facebook.com/pages/Melbourne-Australia/State-Library-of-Victoria/32256104331> [SLV twitter] <http://twitter.com/Library_Vic> [SLV youtube] <http://www.youtube.com/user/statelibraryvictoria>[SLV instagram] <http://instagram.com/library_vic>[Gold Winner 2018 RACV Victorian Tourism Awards][MEA Awards 2018 National Winner] From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Blake Carver Sent: Saturday, 29 February 2020 12:40 AM To: Archivesspace Users Group 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 From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of James Bullen Sent: Friday, February 28, 2020 3:32 AM To: Archivesspace Users Group 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 mailto:amanif...@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 | amanif...@slv.vic.gov.au<mailto:amanif...@slv.vic.gov.au> slv.vic.gov.au<http://slv.vic.gov.au/> [https://www.slv.vic.gov.au/sites/default/files/email_signature/signature.jpg?9]<https://www.slv.vic.gov.au/email_campaign> [follow us] [SLV facebook]<http://www.facebook.com/pages/Melbourne-Australia/State-Library-of-Victoria/32256104331> [SLV twitter] <http://twitter.com/Library_Vic> [SLV youtube] <http://www.youtube.com/user/statelibraryvictoria>[SLV instagram] <http://instagram.com/library_vic> [Gold Winner 2018 RACV Victorian Tourism Awards][MEA Awards 2018 National Winner] From: archivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org> [mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org] On Behalf Of Alan Manifold Sent: Thursday, 27 February 2020 2:43 PM To: archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@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
Re: [Archivesspace_Users_Group] Errors trying to upgrade to 2.7.1 from 2.5.2
That did the trick! Thanks Blake! Regards, Zach From: archivesspace_users_group-boun...@lyralists.lyrasis.org On Behalf Of Zachary L Pelli Sent: Friday, February 28, 2020 11:46 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Errors trying to upgrade to 2.7.1 from 2.5.2 Looks like we're still running 7. I'll update and check back in. Thanks!. Regards, Zach From: archivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org> mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>> On Behalf Of Blake Carver Sent: Friday, February 28, 2020 11:42 AM To: Archivesspace Users Group mailto:archivesspace_users_group@lyralists.lyrasis.org>> Subject: Re: [Archivesspace_Users_Group] Errors trying to upgrade to 2.7.1 from 2.5.2 Which version of Java are you running? ArchivesSpace needs 8 From: archivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org> mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>> on behalf of Zachary L Pelli mailto:zachary.pe...@shu.edu>> Sent: Friday, February 28, 2020 11:37 AM To: Archivesspace Users Group mailto:archivesspace_users_group@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 at /var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:99 at /var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:36 at /var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:3 require at org/jruby/RubyKernel.java:956 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 at /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:63 at /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:57 require at org/jruby/RubyKernel.java:956 at /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs.rb:5 require at org/jruby/RubyKernel.java:956 at /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs.rb:4 require at org/jruby/RubyKernel.java:956 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
Re: [Archivesspace_Users_Group] Errors trying to upgrade to 2.7.1 from 2.5.2
Looks like we're still running 7. I'll update and check back in. Thanks!. Regards, Zach From: archivesspace_users_group-boun...@lyralists.lyrasis.org On Behalf Of Blake Carver Sent: Friday, February 28, 2020 11:42 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Errors trying to upgrade to 2.7.1 from 2.5.2 Which version of Java are you running? ArchivesSpace needs 8 From: archivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org> mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>> on behalf of Zachary L Pelli mailto:zachary.pe...@shu.edu>> Sent: Friday, February 28, 2020 11:37 AM To: Archivesspace Users Group mailto:archivesspace_users_group@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 at /var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:99 at /var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:36 at /var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:3 require at org/jruby/RubyKernel.java:956 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 at /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:63 at /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:57 require at org/jruby/RubyKernel.java:956 at /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs.rb:5 require at org/jruby/RubyKernel.java:956 at /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs.rb:4 require at org/jruby/RubyKernel.java:956 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 at /var/local/archivesspace/archivesspace/gems/gems/coffee-rails-4.2.1/lib/coffee-rails.rb:1 require at org/jruby/RubyKernel.java:956 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
Re: [Archivesspace_Users_Group] Errors trying to upgrade to 2.7.1 from 2.5.2
Which version of Java are you running? ArchivesSpace needs 8 From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Zachary L Pelli Sent: Friday, February 28, 2020 11:37 AM To: Archivesspace Users Group 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 at /var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:99 at /var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:36 at /var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:3 require at org/jruby/RubyKernel.java:956 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 at /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:63 at /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:57 require at org/jruby/RubyKernel.java:956 at /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs.rb:5 require at org/jruby/RubyKernel.java:956 at /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs.rb:4 require at org/jruby/RubyKernel.java:956 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 at /var/local/archivesspace/archivesspace/gems/gems/coffee-rails-4.2.1/lib/coffee-rails.rb:1 require at org/jruby/RubyKernel.java:956 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 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 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 g
Re: [Archivesspace_Users_Group] Errors trying to upgrade to 2.7.1 from 2.5.2
r.rb:261) Regards, Zach From: archivesspace_users_group-boun...@lyralists.lyrasis.org On Behalf Of Blake Carver Sent: Friday, February 28, 2020 8:41 AM To: Archivesspace Users Group 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-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org> mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>> on behalf of James Bullen mailto:ja...@hudmol.com>> Sent: Friday, February 28, 2020 3:32 AM To: Archivesspace Users Group mailto:archivesspace_users_group@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 mailto:amanif...@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 | amanif...@slv.vic.gov.au<mailto:amanif...@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%
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 From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of James Bullen Sent: Friday, February 28, 2020 3:32 AM To: Archivesspace Users Group 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 mailto:amanif...@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 | amanif...@slv.vic.gov.au<mailto:amanif...@slv.vic.gov.au> slv.vic.gov.au<http://slv.vic.gov.au/> [https://www.slv.vic.gov.au/sites/default/files/email_signature/signature.jpg?9]<https://www.slv.vic.gov.au/email_campaign> [follow us] [SLV facebook]<http://www.facebook.com/pages/Melbourne-Australia/State-Library-of-Victoria/32256104331> [SLV twitter] <http://twitter.com/Library_Vic> [SLV youtube] <http://www.youtube.com/user/statelibraryvictoria>[SLV instagram] <http://instagram.com/library_vic>[Gold Winner 2018 RACV Victorian Tourism Awards][MEA Awards 2018 National Winner] From: archivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org> [mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org] On Behalf Of Alan Manifold Sent: Thursday, 27 February 2020 2:43 PM To: archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@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 at /usr/local/archivesspace-v2.7.1/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:99 at /usr/local/archivesspace-v2.7.1/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:36 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 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 at /usr/local/archivesspace-v2.7.1/gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:63 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 at /u
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 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 | amanif...@slv.vic.gov.au > <mailto:amanif...@slv.vic.gov.au> > slv.vic.gov.au <http://slv.vic.gov.au/> > > <https://www.slv.vic.gov.au/email_campaign> > > > <http://www.facebook.com/pages/Melbourne-Australia/State-Library-of-Victoria/32256104331> > <http://twitter.com/Library_Vic> > <http://www.youtube.com/user/statelibraryvictoria> > <http://instagram.com/library_vic> > From: archivesspace_users_group-boun...@lyralists.lyrasis.org > <mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org> > [mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org > <mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>] On Behalf > Of Alan Manifold > Sent: Thursday, 27 February 2020 2:43 PM > To: archivesspace_users_group@lyralists.lyrasis.org > <mailto:archivesspace_users_group@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 >at > /usr/local/archivesspace-v2.7.1/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:99 > at > /usr/local/archivesspace-v2.7.1/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:36 > 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 > 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 >at > /usr/local/archivesspace-v2.7.1/gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:63 > 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 > at > /usr/local/archivesspace-v2.7.1/gems/gems/execjs-2.7.0/lib/execjs.rb:5 > require at org/jruby/RubyKernel.java:956 > at > /usr/local/archivesspace-v2.7.1/gems/gems/
Re: [Archivesspace_Users_Group] Errors trying to upgrade to 2.7.1 from 2.5.2
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 | amanif...@slv.vic.gov.au slv.vic.gov.au<http://slv.vic.gov.au> [https://www.slv.vic.gov.au/sites/default/files/email_signature/signature.jpg?9]<https://www.slv.vic.gov.au/email_campaign> [follow us] [SLV facebook]<http://www.facebook.com/pages/Melbourne-Australia/State-Library-of-Victoria/32256104331> [SLV twitter] <http://twitter.com/Library_Vic> [SLV youtube] <http://www.youtube.com/user/statelibraryvictoria>[SLV instagram] <http://instagram.com/library_vic>[Gold Winner 2018 RACV Victorian Tourism Awards][MEA Awards 2018 National Winner] From: archivesspace_users_group-boun...@lyralists.lyrasis.org [mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org] On Behalf Of Alan Manifold Sent: Thursday, 27 February 2020 2:43 PM To: archivesspace_users_group@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 at /usr/local/archivesspace-v2.7.1/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:99 at /usr/local/archivesspace-v2.7.1/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:36 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 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 at /usr/local/archivesspace-v2.7.1/gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:63 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 at /usr/local/archivesspace-v2.7.1/gems/gems/execjs-2.7.0/lib/execjs.rb:5 require at org/jruby/RubyKernel.java:956 at /usr/local/archivesspace-v2.7.1/gems/gems/execjs-2.7.0/lib/execjs.rb:4 require at org/jruby/RubyKernel.java:956 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.r
[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 at /usr/local/archivesspace-v2.7.1/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:99 at /usr/local/archivesspace-v2.7.1/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:36 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 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 at /usr/local/archivesspace-v2.7.1/gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:63 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 at /usr/local/archivesspace-v2.7.1/gems/gems/execjs-2.7.0/lib/execjs.rb:5 require at org/jruby/RubyKernel.java:956 at /usr/local/archivesspace-v2.7.1/gems/gems/execjs-2.7.0/lib/execjs.rb:4 require at org/jruby/RubyKernel.java:956 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 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 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 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 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@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