[Archivesspace_Users_Group] Errors trying to upgrade to 2.7.1 from 2.5.2
Alan Manifold
amanifold at slv.vic.gov.au
Thu Feb 27 23:26:26 EST 2020
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
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-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
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<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]
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200228/221687ea/attachment.html>
More information about the Archivesspace_Users_Group
mailing list