-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install issues, Bundler could not find compatible versions for gem "bundler" #47
Comments
Hi, Daniel, We think there's a problem related to the new major version of Bundler that was released shortly after the New Year. If you would download our attempted fix from https://github.com/harvard-library/aspace-import-excel/archive/issue_46.zip , remove the current plugins/aspace-import-excel, and replacing it with the unzipped files (renaming, of course, to aspace-import-excel), run the initialize script, and try again, this hopefully will resolve the problem. Sorry you're having trouble with this. |
did not work, when I ran the script I got the same error I was getting before I installed the lower releases of bundler and archivesspace faield to start (forgive the lengthy output below):
[root@tslac4avned scripts]# ./initialize-plugin.sh aspace-import-excel
ERROR: While executing gem ... (Gem::Requirement::BadRequirementError)
Illformed requirement ["1.12.5\n1.16.1"]
Gem::GemNotFoundException: can't find gem bundler (>= 0.a)
find_spec_for_exe at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems.rb:271
activate_bin_path at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems.rb:298
<main> at ../../gems/bin/bundle:23
with archivesspace.out returning the ff:
[root@tslac4avned logs]# tail -f archivesspace.out
INFO: NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
Jan 14, 2019 8:28:11 AM org.eclipse.jetty.server.handler.ContextHandler callContextInitialized
INFO: started o.e.j.w.WebAppContext{/,file:/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/},/var/www/aris/html/archivesspace/wars/backend.war
Jan 14, 2019 8:28:11 AM org.eclipse.jetty.server.handler.ContextHandler callContextInitialized
INFO: started o.e.j.w.WebAppContext{/,file:/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/},/var/www/aris/html/archivesspace/wars/backend.war
Jan 14, 2019 8:28:11 AM org.eclipse.jetty.server.handler.ContextHandler$Context log
INFO: INFO: jruby 9.1.8.0 (2.3.1) 2017-03-06 90fc7ab Java HotSpot(TM) 64-Bit Server VM 25.111-b14 on 1.8.0_111-b14 +jit [linux-x86_64]
Jan 14, 2019 8:28:11 AM org.eclipse.jetty.server.handler.ContextHandler$Context log
INFO: INFO: using a shared (threadsafe!) runtime
Loading ArchivesSpace configuration file from path: /var/www/aris/html/archivesspace/config/config.rb
Jan 14, 2019 8:28:13 AM org.eclipse.jetty.server.handler.ContextHandler$Context log
INFO: An exception happened during JRuby-Rack startup
Could not find gem 'rubyXL (= 3.3.29) java' in any of the gem sources listed in your Gemfile.
--- System
jruby 9.1.8.0 (2.3.1) 2017-03-06 90fc7ab Java HotSpot(TM) 64-Bit Server VM 25.111-b14 on 1.8.0_111-b14 +jit [linux-x86_64]
Time: 2019-01-14 08:28:13 -0600
Server: jetty/8.1.5.v20120716
jruby.home: uri:classloader://META-INF/jruby.home
…--- Context Init Parameters:
jruby.compat.version = 1.9
jruby.max.runtimes = 1
jruby.min.runtimes = 1
public.root = /
rack.env = production
--- Backtrace
Bundler::GemNotFound: Could not find gem 'rubyXL (= 3.3.29) java' in any of the gem sources listed in your Gemfile.
block in verify_gemfile_dependencies_are_found! at /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:289
each at org/jruby/RubyArray.java:1734
verify_gemfile_dependencies_are_found! at /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:257
start at /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:48
resolve at /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:22
resolve at /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:257
specs at /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:170
specs_for at /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:237
requested_specs at /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:226
block in requested_specs at /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:108
setup at /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:20
setup at /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler.rb:107
<main> at /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/setup.rb:20
require at org/jruby/RubyKernel.java:961
require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:133
<main> at /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:1
require at org/jruby/RubyKernel.java:961
require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55
block in (root) at /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:1
instance_eval at org/jruby/RubyBasicObject.java:1687
(root) at /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/config.ru:1
<main> at /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/config.ru:4
start_server at launcher/launcher.rb:92
main at launcher/launcher.rb:157
<main> at launcher/launcher.rb:261
--- RubyGems
Gem.dir: /var/www/aris/html/archivesspace/gems
Gem.path:
/var/www/aris/html/archivesspace/gems
Activated gems:
did_you_mean-1.0.1
bundler-1.16.1
--- Bundler
Bundler.bundle_path: /var/www/aris/html/archivesspace/gems
Bundler.root: /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF
Gemfile: /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/Gemfile
Settings:
without = [:test, :development, :doc]
--- JRuby-Rack Config
compat_version = RUBY1_9
default_logger = org.jruby.rack.logging.StandardOutLogger@1eb6037d
equals = <error: >
err = java.io.PrintStream@38848217
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@38826984
logger_class_name = servlet_context
logger_name = jruby.rack
maximum_memory_buffer_size =
maximum_runtimes = 1
num_initializer_threads =
out = java.io.PrintStream@792e8181
rackup =
rackup_path =
rewindable = true
runtime_arguments =
runtime_environment =
runtime_timeout_seconds =
serial_initialization = false
servlet_context = [email protected]{/,file:/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/},/var/www/aris/html/archivesspace/wars/backend.war
throw_init_exception = false
Jan 14, 2019 8:28:13 AM org.eclipse.jetty.server.handler.ContextHandler$Context log
WARNING: ERROR: initialization failed
org.jruby.rack.RackInitializationException: Could not find gem 'rubyXL (= 3.3.29) java' in any of the gem sources listed in your Gemfile.
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:289:in `block in verify_gemfile_dependencies_are_found!'
from org/jruby/RubyArray.java:1734:in `each'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:257:in `verify_gemfile_dependencies_are_found!'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:48:in `start'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:22:in `resolve'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:257:in `resolve'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:170:in `specs'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:237:in `specs_for'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:226:in `requested_specs'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:108:in `block in requested_specs'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:20:in `setup'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler.rb:107:in `setup'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/setup.rb:20:in `<main>'
from org/jruby/RubyKernel.java:961:in `require'
from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:133:in `require'
from /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:1:in `<main>'
from org/jruby/RubyKernel.java:961:in `require'
from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:in `require'
from /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:1:in `block in (root)'
from org/jruby/RubyBasicObject.java:1687:in `instance_eval'
from /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/config.ru:1:in `(root)'
from /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/config.ru:4:in `<main>'
from launcher/launcher.rb:92:in `start_server'
from launcher/launcher.rb:157: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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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.cacheAndCall(CachingCallSite.java:318)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
at launcher.launcher.invokeOther148: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:178)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:358)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:195)
at launcher.launcher.invokeOther269:start_server(launcher/launcher.rb:157)
at launcher.launcher.RUBY$method$main$6(launcher/launcher.rb:157)
at org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:155)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
at launcher.launcher.invokeOther454:main(launcher/launcher.rb:261)
at launcher.launcher.RUBY$script(launcher/launcher.rb:261)
at java.lang.invoke.MethodHandle.invokeWithArguments(Unknown Source)
at org.jruby.ir.Compiler$1.load(Compiler.java:95)
at org.jruby.Ruby.runScript(Ruby.java:827)
at org.jruby.Ruby.runNormally(Ruby.java:746)
at org.jruby.Ruby.runNormally(Ruby.java:764)
at org.jruby.Ruby.runFromMain(Ruby.java:577)
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: (GemNotFound) Could not find gem 'rubyXL (= 3.3.29) java' in any of the gem sources listed in your Gemfile.
at RUBY.block in verify_gemfile_dependencies_are_found!(/var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:289)
at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1734)
at RUBY.verify_gemfile_dependencies_are_found!(/var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:257)
at RUBY.start(/var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:48)
at RUBY.resolve(/var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:22)
at RUBY.resolve(/var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:257)
at RUBY.specs(/var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:170)
at RUBY.specs_for(/var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:237)
at RUBY.requested_specs(/var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:226)
at RUBY.block in requested_specs(/var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:108)
at RUBY.setup(/var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:20)
at RUBY.setup(/var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler.rb:107)
at RUBY.<main>(/var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/setup.rb:20)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:961)
at uri_3a_classloader_3a_.META_minus_INF.jruby_dot_home.lib.ruby.stdlib.rubygems.core_ext.kernel_require.require(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:133)
at RUBY.<main>(/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:1)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:961)
at uri_3a_classloader_3a_.META_minus_INF.jruby_dot_home.lib.ruby.stdlib.rubygems.core_ext.kernel_require.require(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55)
at RUBY.block in (root)(/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:1)
at org.jruby.RubyBasicObject.instance_eval(org/jruby/RubyBasicObject.java:1687)
at RUBY.(root)(/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/config.ru:1)
at RUBY.<main>(/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/config.ru:4)
at launcher.launcher.start_server(launcher/launcher.rb:92)
at launcher.launcher.main(launcher/launcher.rb:157)
at launcher.launcher.<main>(launcher/launcher.rb:261)
Jan 14, 2019 8:28:13 AM org.eclipse.jetty.server.handler.ContextHandler callContextInitialized
INFO: started o.e.j.w.WebAppContext{/,file:/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/},/var/www/aris/html/archivesspace/wars/backend.war
Jan 14, 2019 8:28:13 AM org.eclipse.jetty.server.AbstractConnector doStart
INFO: Started [email protected]:8089
Jan 14, 2019 8:28:13 AM org.eclipse.jetty.server.Server doStart
INFO: jetty-8.1.5.v20120716
Jan 14, 2019 8:28:13 AM org.eclipse.jetty.webapp.WebInfConfiguration unpack
INFO: Extract jar:file:/var/www/aris/html/archivesspace/wars/solr.war!/ to /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8090-solr.war-_-any-/webapp
Jan 14, 2019 8:28:14 AM org.eclipse.jetty.webapp.StandardDescriptorProcessor visitServlet
INFO: NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
Jan 14, 2019 8:28:14 AM org.eclipse.jetty.server.handler.ContextHandler callContextInitialized
INFO: started o.e.j.w.WebAppContext{/,file:/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8090-solr.war-_-any-/webapp/},/var/www/aris/html/archivesspace/wars/solr.war
Jan 14, 2019 8:28:14 AM org.eclipse.jetty.server.handler.ContextHandler callContextInitialized
INFO: started o.e.j.w.WebAppContext{/,file:/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8090-solr.war-_-any-/webapp/},/var/www/aris/html/archivesspace/wars/solr.war
Jan 14, 2019 8:28:14 AM org.apache.solr.servlet.SolrDispatchFilter init
INFO: SolrDispatchFilter.init()
Jan 14, 2019 8:28:14 AM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: No /solr/home in JNDI
Jan 14, 2019 8:28:14 AM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: using system property solr.solr.home: /var/www/aris/html/archivesspace/data/solr_home
Jan 14, 2019 8:28:14 AM org.apache.solr.core.SolrResourceLoader <init>
INFO: new SolrResourceLoader for directory: '/var/www/aris/html/archivesspace/data/solr_home/'
Jan 14, 2019 8:28:14 AM org.apache.solr.core.ConfigSolr fromFile
INFO: Loading container configuration from /var/www/aris/html/archivesspace/data/solr_home/solr.xml
Jan 14, 2019 8:28:14 AM org.apache.solr.core.ConfigSolr fromFile
INFO: /var/www/aris/html/archivesspace/data/solr_home/solr.xml does not exist, using default configuration
Jan 14, 2019 8:28:14 AM org.apache.solr.core.CoreContainer <init>
INFO: New CoreContainer 1166224261
Jan 14, 2019 8:28:14 AM org.apache.solr.core.CoreContainer load
INFO: Loading cores into CoreContainer [instanceDir=/var/www/aris/html/archivesspace/data/solr_home/]
Jan 14, 2019 8:28:14 AM org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting socketTimeout to: 0
Jan 14, 2019 8:28:14 AM org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting urlScheme to: null
Jan 14, 2019 8:28:14 AM org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting connTimeout to: 0
Jan 14, 2019 8:28:14 AM org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting maxConnectionsPerHost to: 20
Jan 14, 2019 8:28:14 AM org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting corePoolSize to: 0
Jan 14, 2019 8:28:14 AM org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting maximumPoolSize to: 2147483647
Jan 14, 2019 8:28:14 AM org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting maxThreadIdleTime to: 5
Jan 14, 2019 8:28:14 AM org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting sizeOfQueue to: -1
Jan 14, 2019 8:28:14 AM org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting fairnessPolicy to: false
Jan 14, 2019 8:28:14 AM org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting useRetries to: false
Jan 14, 2019 8:28:14 AM org.apache.solr.update.UpdateShardHandler <init>
INFO: Creating UpdateShardHandler HTTP client with params: socketTimeout=0&connTimeout=0&retry=true
Jan 14, 2019 8:28:14 AM org.apache.solr.logging.LogWatcher createWatcher
INFO: SLF4J impl is org.slf4j.impl.JDK14LoggerFactory
Jan 14, 2019 8:28:14 AM org.apache.solr.logging.LogWatcher newRegisteredLogWatcher
INFO: Registering Log Listener [JUL (org.slf4j.impl.JDK14LoggerFactory)]
Jan 14, 2019 8:28:14 AM org.apache.solr.core.CoreContainer load
INFO: Host Name:
Jan 14, 2019 8:28:14 AM org.apache.solr.core.SolrResourceLoader <init>
INFO: new SolrResourceLoader for directory: '/var/www/aris/html/archivesspace/data/solr_home/collection1/'
Jan 14, 2019 8:28:14 AM org.apache.solr.core.SolrConfig <init>
INFO: Using Lucene MatchVersion: 4.10.4
Jan 14, 2019 8:28:14 AM org.apache.solr.core.SolrConfig <init>
INFO: Loaded SolrConfig: solrconfig.xml
Jan 14, 2019 8:28:14 AM org.apache.solr.schema.IndexSchema readSchema
INFO: Reading Solr Schema from /var/www/aris/html/archivesspace/data/solr_home/collection1/conf/schema.xml
Jan 14, 2019 8:28:14 AM org.apache.solr.schema.IndexSchema readSchema
INFO: [collection1] Schema name=example
Jan 14, 2019 8:28:14 AM org.apache.solr.schema.IndexSchema readSchema
INFO: unique key field: id
Jan 14, 2019 8:28:14 AM org.apache.solr.core.CoreContainer create
INFO: Creating SolrCore 'collection1' using configuration from instancedir /var/www/aris/html/archivesspace/data/solr_home/collection1/
Jan 14, 2019 8:28:15 AM org.apache.solr.core.SolrCore initDirectoryFactory
INFO: solr.NRTCachingDirectoryFactory
Jan 14, 2019 8:28:15 AM org.apache.solr.core.SolrCore <init>
INFO: [collection1] Opening new SolrCore at /var/www/aris/html/archivesspace/data/solr_home/collection1/, dataDir=/var/www/aris/html/archivesspace/data/solr_index/
Jan 14, 2019 8:28:15 AM org.apache.solr.core.SolrCore <init>
INFO: JMX monitoring not detected for core: collection1
Jan 14, 2019 8:28:15 AM org.apache.solr.core.CachingDirectoryFactory get
INFO: return new directory for /var/www/aris/html/archivesspace/data/solr_index
Jan 14, 2019 8:28:15 AM org.apache.solr.core.SolrCore getNewIndexDir
INFO: New index directory detected: old=null new=/var/www/aris/html/archivesspace/data/solr_index/index/
Jan 14, 2019 8:28:15 AM org.apache.solr.core.CachingDirectoryFactory get
INFO: return new directory for /var/www/aris/html/archivesspace/data/solr_index/index
Jan 14, 2019 8:28:15 AM org.apache.solr.core.SolrCore initWriters
INFO: created json: solr.JSONResponseWriter
Jan 14, 2019 8:28:15 AM org.apache.solr.core.SolrCore loadUpdateProcessorChains
INFO: no updateRequestProcessorChain defined as default, creating implicit default
Jan 14, 2019 8:28:15 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /update: org.apache.solr.handler.UpdateRequestHandler
Jan 14, 2019 8:28:15 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /update/json: org.apache.solr.handler.UpdateRequestHandler
Jan 14, 2019 8:28:15 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /update/csv: org.apache.solr.handler.UpdateRequestHandler
Jan 14, 2019 8:28:15 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /update/json/docs: org.apache.solr.handler.UpdateRequestHandler
Jan 14, 2019 8:28:15 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /select: solr.SearchHandler
Jan 14, 2019 8:28:15 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig
WARNING: Multiple requestHandler registered to the same name: /update ignoring: org.apache.solr.handler.UpdateRequestHandler
Jan 14, 2019 8:28:15 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /update: solr.UpdateRequestHandler
Jan 14, 2019 8:28:15 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: adding lazy requestHandler: solr.DocumentAnalysisRequestHandler
Jan 14, 2019 8:28:15 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /analysis/document: solr.DocumentAnalysisRequestHandler
Jan 14, 2019 8:28:15 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: adding lazy requestHandler: solr.FieldAnalysisRequestHandler
Jan 14, 2019 8:28:15 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /analysis/field: solr.FieldAnalysisRequestHandler
Jan 14, 2019 8:28:15 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: adding lazy requestHandler: solr.ReplicationHandler
Jan 14, 2019 8:28:15 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /replication: solr.ReplicationHandler
Jan 14, 2019 8:28:15 AM org.apache.solr.handler.loader.XMLLoader init
INFO: xsltCacheLifetimeSeconds=60
Jan 14, 2019 8:28:15 AM org.apache.solr.handler.loader.XMLLoader init
INFO: xsltCacheLifetimeSeconds=60
Jan 14, 2019 8:28:15 AM org.apache.solr.handler.loader.XMLLoader init
INFO: xsltCacheLifetimeSeconds=60
Jan 14, 2019 8:28:15 AM org.apache.solr.handler.loader.XMLLoader init
INFO: xsltCacheLifetimeSeconds=60
Jan 14, 2019 8:28:15 AM org.apache.solr.handler.loader.XMLLoader init
INFO: xsltCacheLifetimeSeconds=60
Jan 14, 2019 8:28:15 AM org.apache.solr.update.CommitTracker <init>
INFO: Hard AutoCommit: if uncommited for 60000ms; if 1000 uncommited docs
Jan 14, 2019 8:28:15 AM org.apache.solr.update.CommitTracker <init>
INFO: Soft AutoCommit: disabled
Jan 14, 2019 8:28:15 AM org.apache.solr.core.SolrDeletionPolicy onInit
INFO: SolrDeletionPolicy.onInit: commits: num=1
commit{dir=NRTCachingDirectory(MMapDirectory@/var/www/aris/html/archivesspace/data/solr_index/index lockFactory=NativeFSLockFactory@/var/www/aris/html/archivesspace/data/solr_index/index; maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_1p76,generation=79314}
Jan 14, 2019 8:28:15 AM org.apache.solr.core.SolrDeletionPolicy updateCommits
INFO: newest commit generation = 79314
Jan 14, 2019 8:28:15 AM org.apache.solr.search.SolrIndexSearcher <init>
INFO: Opening Searcher@74890646[collection1] main
Jan 14, 2019 8:28:15 AM org.apache.solr.rest.ManagedResourceStorage$FileStorageIO configure
INFO: File-based storage initialized to use dir: /var/www/aris/html/archivesspace/data/solr_home/collection1/conf
Jan 14, 2019 8:28:15 AM org.apache.solr.rest.RestManager init
INFO: Initializing RestManager with initArgs: {storageDir=/var/www/aris/html/archivesspace/data/solr_home/collection1/conf}
Jan 14, 2019 8:28:15 AM org.apache.solr.rest.ManagedResourceStorage load
INFO: Reading _rest_managed.json using file:dir=/var/www/aris/html/archivesspace/data/solr_home/collection1/conf
Jan 14, 2019 8:28:15 AM org.apache.solr.rest.ManagedResourceStorage load
INFO: Loaded LinkedHashMap at path _rest_managed.json using file:dir=/var/www/aris/html/archivesspace/data/solr_home/collection1/conf
Jan 14, 2019 8:28:15 AM org.apache.solr.rest.ManagedResource reloadFromStorage
INFO: Loaded initArgs {} for /rest/managed
Jan 14, 2019 8:28:15 AM org.apache.solr.rest.RestManager init
INFO: Initializing 0 registered ManagedResources
Jan 14, 2019 8:28:15 AM org.apache.solr.core.CoreContainer registerCore
INFO: registering core: collection1
Jan 14, 2019 8:28:15 AM org.apache.solr.core.SolrCore registerSearcher
INFO: [collection1] Registered new searcher Searcher@74890646[collection1] main{StandardDirectoryReader(segments_1p76:350588:nrt _17bp(4.10.4):C281389/91494:delGen=482 _1wrk(4.10.4):C112019/38784:delGen=671 _1jww(4.10.4):C56991/20518:delGen=137 _2453(4.10.4):C28526/14315:delGen=744 _28iz(4.10.4):C35297/20269:delGen=23 _24d5(4.10.4):C18344/8846:delGen=230 _28ot(4.10.4):C5376/2613:delGen=6 _28oi(4.10.4):C4690/174:delGen=3 _2ae3(4.10.4):C18481/6226:delGen=1 _2act(4.10.4):C77/76:delGen=1 _2add(4.10.4):C3/2:delGen=1 _2adg(4.10.4):C105/103:delGen=1 _2ads(4.10.4):C30 _2adr(4.10.4):C27 _2ae1(4.10.4):C99 _2ae2(4.10.4):C1787 _2ae4(4.10.4):C95 _2ae5(4.10.4):C3138 _2ae6(4.10.4):C388 _2ae7(4.10.4):C818 _2ae9(4.10.4):C1 _2aed(4.10.4):C1)}
Jan 14, 2019 8:28:15 AM org.apache.solr.servlet.SolrDispatchFilter init
INFO: user.dir=/var/www/aris/html/archivesspace
Jan 14, 2019 8:28:15 AM org.apache.solr.servlet.SolrDispatchFilter init
INFO: SolrDispatchFilter.init() done
Jan 14, 2019 8:28:15 AM org.eclipse.jetty.server.AbstractConnector doStart
INFO: Started [email protected]:8090
Jan 14, 2019 8:28:15 AM org.eclipse.jetty.server.Server doStart
INFO: jetty-8.1.5.v20120716
Jan 14, 2019 8:28:15 AM org.eclipse.jetty.webapp.WebInfConfiguration unpack
INFO: Extract jar:file:/var/www/aris/html/archivesspace/wars/indexer.war!/ to /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8091-indexer.war-_aspace-indexer-any-/webapp
Jan 14, 2019 8:28:15 AM org.eclipse.jetty.webapp.StandardDescriptorProcessor visitServlet
INFO: NO JSP Support for /aspace-indexer, did not find org.apache.jasper.servlet.JspServlet
Jan 14, 2019 8:28:15 AM org.eclipse.jetty.server.handler.ContextHandler callContextInitialized
INFO: started o.e.j.w.WebAppContext{/aspace-indexer,file:/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8091-indexer.war-_aspace-indexer-any-/webapp/},/var/www/aris/html/archivesspace/wars/indexer.war
Jan 14, 2019 8:28:15 AM org.eclipse.jetty.server.handler.ContextHandler callContextInitialized
INFO: started o.e.j.w.WebAppContext{/aspace-indexer,file:/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8091-indexer.war-_aspace-indexer-any-/webapp/},/var/www/aris/html/archivesspace/wars/indexer.war
Jan 14, 2019 8:28:15 AM org.eclipse.jetty.server.handler.ContextHandler$Context log
INFO: INFO: jruby 9.1.8.0 (2.3.1) 2017-03-06 90fc7ab Java HotSpot(TM) 64-Bit Server VM 25.111-b14 on 1.8.0_111-b14 +jit [linux-x86_64]
Jan 14, 2019 8:28:15 AM org.eclipse.jetty.server.handler.ContextHandler$Context log
INFO: INFO: using a shared (threadsafe!) runtime
Loading ArchivesSpace configuration file from path: /var/www/aris/html/archivesspace/config/config.rb
ArchivesSpaceThreadDump: Touch the file '/var/www/aris/html/archivesspace/thread_dump_indexer.txt' to trigger a thread dump
Jan 14, 2019 8:28:20 AM org.eclipse.jetty.server.handler.ContextHandler$Context log
INFO: DEBUG: due a previous initialization failure application instance can not be returned
Jan 14, 2019 8:28:20 AM org.eclipse.jetty.server.handler.ContextHandler$Context log
INFO: DEBUG: resetting rack response due exception
E, [2019-01-14T08:28:20.390001 #15042] ERROR -- : Thread-2002: Connection to backend failed (<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Internal Server Error at /config/enumerations</title>
<meta name="robots" content="NONE,NOARCHIVE" />
<style type="text/css">
html * { padding:0; margin:0; }
body * { padding:10px 20px; }
body * * { padding:0; }
body { font:small sans-serif; background:#eee; }
body>div { border-bottom:1px solid #ddd; }
h1 { font-weight:normal; margin-bottom:.4em; }
h1 span { font-size:60%; color:#666; font-weight:normal; }
table { border:none; border-collapse: collapse; width:100%; }
td, th { vertical-align:top; padding:2px 3px; }
th { width:12em; text-align:right; color:#666; padding-right:.5em; }
#info { background:#f6f6f6; }
#info ol { margin: 0.5em 4em; }
#info ol li { font-family: monospace; }
#summary { background: #ffc; }
#explanation { background:#eee; border-bottom: 0px none; }
</style>
</head>
<body>
<div id="summary">
<h1>Internal Server Error <span>(500)</span></h1>
<table class="meta">
<tr>
<th>Request Method:</th>
<td>GET</td>
</tr>
<tr>
<th>Request URL:</th>
<td>http://aris.tsl.texas.gov:8089/config/enumerations</td>
</tr>
</table>
</div>
<div id="info">
<p>Could not find gem 'rubyXL (= 3.3.29) java' in any of the gem sources listed in your Gemfile.
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:289:in `block in verify_gemfile_dependencies_are_found!'
from org/jruby/RubyArray.java:1734:in `each'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:257:in `verify_gemfile_dependencies_are_found!'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:48:in `start'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:22:in `resolve'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:257:in `resolve'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:170:in `specs'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:237:in `specs_for'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:226:in `requested_specs'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:108:in `block in requested_specs'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:20:in `setup'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler.rb:107:in `setup'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/setup.rb:20:in `<main>'
from org/jruby/RubyKernel.java:961:in `require'
from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:133:in `require'
from /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:1:in `<main>'
from org/jruby/RubyKernel.java:961:in `require'
from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:in `require'
from /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:1:in `block in (root)'
from org/jruby/RubyBasicObject.java:1687:in `instance_eval'
from /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/config.ru:1:in `(root)'
from /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/config.ru:4:in `<main>'
from launcher/launcher.rb:92:in `start_server'
from launcher/launcher.rb:157:in `main'
from launcher/launcher.rb:261:in `<main>'
</p>
</div>
<div id="explanation">
<p>
You're seeing this error because you use <code>JRuby::Rack::ErrorApp::ShowStatus</code>.
</p>
</div>
</body>
</html>
). Retrying...
Jan 14, 2019 8:28:25 AM org.eclipse.jetty.server.handler.ContextHandler$Context log
INFO: DEBUG: due a previous initialization failure application instance can not be returned
Jan 14, 2019 8:28:25 AM org.eclipse.jetty.server.handler.ContextHandler$Context log
INFO: DEBUG: resetting rack response due exception
E, [2019-01-14T08:28:25.442240 #15042] ERROR -- : Thread-2002: Connection to backend failed (<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Internal Server Error at /config/enumerations</title>
<meta name="robots" content="NONE,NOARCHIVE" />
<style type="text/css">
html * { padding:0; margin:0; }
body * { padding:10px 20px; }
body * * { padding:0; }
body { font:small sans-serif; background:#eee; }
body>div { border-bottom:1px solid #ddd; }
h1 { font-weight:normal; margin-bottom:.4em; }
h1 span { font-size:60%; color:#666; font-weight:normal; }
table { border:none; border-collapse: collapse; width:100%; }
td, th { vertical-align:top; padding:2px 3px; }
th { width:12em; text-align:right; color:#666; padding-right:.5em; }
#info { background:#f6f6f6; }
#info ol { margin: 0.5em 4em; }
#info ol li { font-family: monospace; }
#summary { background: #ffc; }
#explanation { background:#eee; border-bottom: 0px none; }
</style>
</head>
<body>
<div id="summary">
<h1>Internal Server Error <span>(500)</span></h1>
<table class="meta">
<tr>
<th>Request Method:</th>
<td>GET</td>
</tr>
<tr>
<th>Request URL:</th>
<td>http://aris.tsl.texas.gov:8089/config/enumerations</td>
</tr>
</table>
</div>
<div id="info">
<p>Could not find gem 'rubyXL (= 3.3.29) java' in any of the gem sources listed in your Gemfile.
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:289:in `block in verify_gemfile_dependencies_are_found!'
from org/jruby/RubyArray.java:1734:in `each'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:257:in `verify_gemfile_dependencies_are_found!'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:48:in `start'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:22:in `resolve'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:257:in `resolve'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:170:in `specs'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:237:in `specs_for'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:226:in `requested_specs'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:108:in `block in requested_specs'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:20:in `setup'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler.rb:107:in `setup'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/setup.rb:20:in `<main>'
from org/jruby/RubyKernel.java:961:in `require'
from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:133:in `require'
from /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:1:in `<main>'
from org/jruby/RubyKernel.java:961:in `require'
from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:in `require'
from /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:1:in `block in (root)'
from org/jruby/RubyBasicObject.java:1687:in `instance_eval'
from /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/config.ru:1:in `(root)'
from /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/config.ru:4:in `<main>'
from launcher/launcher.rb:92:in `start_server'
from launcher/launcher.rb:157:in `main'
from launcher/launcher.rb:261:in `<main>'
</p>
</div>
<div id="explanation">
<p>
You're seeing this error because you use <code>JRuby::Rack::ErrorApp::ShowStatus</code>.
</p>
</div>
</body>
</html>
). Retrying...
Jan 14, 2019 8:28:30 AM org.eclipse.jetty.server.handler.ContextHandler$Context log
INFO: DEBUG: due a previous initialization failure application instance can not be returned
Jan 14, 2019 8:28:30 AM org.eclipse.jetty.server.handler.ContextHandler$Context log
INFO: DEBUG: resetting rack response due exception
E, [2019-01-14T08:28:30.471831 #15042] ERROR -- : Thread-2002: Connection to backend failed (<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Internal Server Error at /config/enumerations</title>
<meta name="robots" content="NONE,NOARCHIVE" />
<style type="text/css">
html * { padding:0; margin:0; }
body * { padding:10px 20px; }
body * * { padding:0; }
body { font:small sans-serif; background:#eee; }
body>div { border-bottom:1px solid #ddd; }
h1 { font-weight:normal; margin-bottom:.4em; }
h1 span { font-size:60%; color:#666; font-weight:normal; }
table { border:none; border-collapse: collapse; width:100%; }
td, th { vertical-align:top; padding:2px 3px; }
th { width:12em; text-align:right; color:#666; padding-right:.5em; }
#info { background:#f6f6f6; }
#info ol { margin: 0.5em 4em; }
#info ol li { font-family: monospace; }
#summary { background: #ffc; }
#explanation { background:#eee; border-bottom: 0px none; }
</style>
</head>
<body>
<div id="summary">
<h1>Internal Server Error <span>(500)</span></h1>
<table class="meta">
<tr>
<th>Request Method:</th>
<td>GET</td>
</tr>
<tr>
<th>Request URL:</th>
<td>http://aris.tsl.texas.gov:8089/config/enumerations</td>
</tr>
</table>
</div>
<div id="info">
<p>Could not find gem 'rubyXL (= 3.3.29) java' in any of the gem sources listed in your Gemfile.
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:289:in `block in verify_gemfile_dependencies_are_found!'
from org/jruby/RubyArray.java:1734:in `each'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:257:in `verify_gemfile_dependencies_are_found!'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:48:in `start'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:22:in `resolve'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:257:in `resolve'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:170:in `specs'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:237:in `specs_for'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:226:in `requested_specs'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:108:in `block in requested_specs'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:20:in `setup'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler.rb:107:in `setup'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/setup.rb:20:in `<main>'
from org/jruby/RubyKernel.java:961:in `require'
from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:133:in `require'
from /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:1:in `<main>'
from org/jruby/RubyKernel.java:961:in `require'
from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:in `require'
from /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:1:in `block in (root)'
from org/jruby/RubyBasicObject.java:1687:in `instance_eval'
from /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/config.ru:1:in `(root)'
from /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/config.ru:4:in `<main>'
from launcher/launcher.rb:92:in `start_server'
from launcher/launcher.rb:157:in `main'
from launcher/launcher.rb:261:in `<main>'
</p>
</div>
<div id="explanation">
<p>
You're seeing this error because you use <code>JRuby::Rack::ErrorApp::ShowStatus</code>.
</p>
</div>
</body>
</html>
). Retrying...
Jan 14, 2019 8:28:35 AM org.eclipse.jetty.server.handler.ContextHandler$Context log
INFO: DEBUG: due a previous initialization failure application instance can not be returned
Jan 14, 2019 8:28:35 AM org.eclipse.jetty.server.handler.ContextHandler$Context log
INFO: DEBUG: resetting rack response due exception
E, [2019-01-14T08:28:35.495474 #15042] ERROR -- : Thread-2002: Connection to backend failed (<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Internal Server Error at /config/enumerations</title>
<meta name="robots" content="NONE,NOARCHIVE" />
<style type="text/css">
html * { padding:0; margin:0; }
body * { padding:10px 20px; }
body * * { padding:0; }
body { font:small sans-serif; background:#eee; }
body>div { border-bottom:1px solid #ddd; }
h1 { font-weight:normal; margin-bottom:.4em; }
h1 span { font-size:60%; color:#666; font-weight:normal; }
table { border:none; border-collapse: collapse; width:100%; }
td, th { vertical-align:top; padding:2px 3px; }
th { width:12em; text-align:right; color:#666; padding-right:.5em; }
#info { background:#f6f6f6; }
#info ol { margin: 0.5em 4em; }
#info ol li { font-family: monospace; }
#summary { background: #ffc; }
#explanation { background:#eee; border-bottom: 0px none; }
</style>
</head>
<body>
<div id="summary">
<h1>Internal Server Error <span>(500)</span></h1>
<table class="meta">
<tr>
<th>Request Method:</th>
<td>GET</td>
</tr>
<tr>
<th>Request URL:</th>
<td>http://aris.tsl.texas.gov:8089/config/enumerations</td>
</tr>
</table>
</div>
<div id="info">
<p>Could not find gem 'rubyXL (= 3.3.29) java' in any of the gem sources listed in your Gemfile.
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:289:in `block in verify_gemfile_dependencies_are_found!'
from org/jruby/RubyArray.java:1734:in `each'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:257:in `verify_gemfile_dependencies_are_found!'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:48:in `start'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/resolver.rb:22:in `resolve'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:257:in `resolve'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:170:in `specs'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:237:in `specs_for'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:226:in `requested_specs'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:108:in `block in requested_specs'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:20:in `setup'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler.rb:107:in `setup'
from /var/www/aris/html/archivesspace/gems/gems/bundler-1.16.1/lib/bundler/setup.rb:20:in `<main>'
from org/jruby/RubyKernel.java:961:in `require'
from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:133:in `require'
from /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:1:in `<main>'
from org/jruby/RubyKernel.java:961:in `require'
from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:in `require'
from /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:1:in `block in (root)'
from org/jruby/RubyBasicObject.java:1687:in `instance_eval'
from /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/config.ru:1:in `(root)'
from /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/config.ru:4:in `<main>'
from launcher/launcher.rb:92:in `start_server'
from launcher/launcher.rb:157:in `main'
from launcher/launcher.rb:261:in `<main>'
</p>
</div>
<div id="explanation">
<p>
You're seeing this error because you use <code>JRuby::Rack::ErrorApp::ShowStatus</code>.
</p>
</div>
</body>
</html>
). Retrying...
^C
________________________________
From: Bobbi Fox, Secret Master of Repurposing <[email protected]>
Sent: Monday, January 14, 2019 8:07:51 AM
To: harvard-library/aspace-import-excel
Cc: Daniel Sprouse; Author
Subject: Re: [harvard-library/aspace-import-excel] install issues, Bundler could not find compatible versions for gem "bundler" (#47)
Hi, Daniel,
We think there's a problem related to the new major version of Bundler that was released shortly after the New Year. If you would download our attempted fix from https://github.com/harvard-library/aspace-import-excel/archive/issue_46.zip<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fharvard-library%2Faspace-import-excel%2Farchive%2Fissue_46.zip&data=02%7C01%7Cdsprouse%40tsl.texas.gov%7Cd8ac4297bf23414f10d408d67a29ac8f%7Ca4597bff9f384145a0334a2168399a5e%7C0%7C0%7C636830716747990577&sdata=o4pXmV12hkqvEZpRLEwPotubaInC96XEYgwVA1MyIEg%3D&reserved=0> , remove the current plugins/aspace-import-excel, and replacing it with the unzipped files (renaming, of course, to aspace-import-excel), run the initialize script, and try again, this hopefully will resolve the problem.
Sorry you're having trouble with this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fharvard-library%2Faspace-import-excel%2Fissues%2F47%23issuecomment-454016390&data=02%7C01%7Cdsprouse%40tsl.texas.gov%7Cd8ac4297bf23414f10d408d67a29ac8f%7Ca4597bff9f384145a0334a2168399a5e%7C0%7C0%7C636830716748000582&sdata=kju%2BxWWSwx0O6EmNaogKu1N6WiAcFA90SSc%2FmOVvJD4%3D&reserved=0>, or mute the thread<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FApmC7XyUBK_cegW0LgwQFNF4Tvzph-PKks5vDI83gaJpZM4Z-TcF&data=02%7C01%7Cdsprouse%40tsl.texas.gov%7Cd8ac4297bf23414f10d408d67a29ac8f%7Ca4597bff9f384145a0334a2168399a5e%7C0%7C0%7C636830716748000582&sdata=aMD2nw7Ykne45a1WKFl80y4lOAR7Pk33nWpCwvr3RI0%3D&reserved=0>.
|
I was also wondering if there aren't so many versions of all things rack installed with archivesspace that it might not need so cleaning up?
[dsprouse@tslac4avned gems]$ ls | grep rack
jruby-rack-1.1.21
rack-1.6.10
rack-1.6.8
rack-1.6.9
rack-2.0.3
rack-2.0.4
rack-2.0.5
rack-protection-1.5.3
rack-protection-1.5.5
rack-session-sequel-0.0.1
rack-test-0.6.3
rack-test-0.7.0
rack-test-0.8.2
rack-test-1.0.0
rack-test-1.1.0
…________________________________
From: Bobbi Fox, Secret Master of Repurposing <[email protected]>
Sent: Monday, January 14, 2019 8:07:51 AM
To: harvard-library/aspace-import-excel
Cc: Daniel Sprouse; Author
Subject: Re: [harvard-library/aspace-import-excel] install issues, Bundler could not find compatible versions for gem "bundler" (#47)
Hi, Daniel,
We think there's a problem related to the new major version of Bundler that was released shortly after the New Year. If you would download our attempted fix from https://github.com/harvard-library/aspace-import-excel/archive/issue_46.zip<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fharvard-library%2Faspace-import-excel%2Farchive%2Fissue_46.zip&data=02%7C01%7Cdsprouse%40tsl.texas.gov%7Cd8ac4297bf23414f10d408d67a29ac8f%7Ca4597bff9f384145a0334a2168399a5e%7C0%7C0%7C636830716747990577&sdata=o4pXmV12hkqvEZpRLEwPotubaInC96XEYgwVA1MyIEg%3D&reserved=0> , remove the current plugins/aspace-import-excel, and replacing it with the unzipped files (renaming, of course, to aspace-import-excel), run the initialize script, and try again, this hopefully will resolve the problem.
Sorry you're having trouble with this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fharvard-library%2Faspace-import-excel%2Fissues%2F47%23issuecomment-454016390&data=02%7C01%7Cdsprouse%40tsl.texas.gov%7Cd8ac4297bf23414f10d408d67a29ac8f%7Ca4597bff9f384145a0334a2168399a5e%7C0%7C0%7C636830716748000582&sdata=kju%2BxWWSwx0O6EmNaogKu1N6WiAcFA90SSc%2FmOVvJD4%3D&reserved=0>, or mute the thread<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FApmC7XyUBK_cegW0LgwQFNF4Tvzph-PKks5vDI83gaJpZM4Z-TcF&data=02%7C01%7Cdsprouse%40tsl.texas.gov%7Cd8ac4297bf23414f10d408d67a29ac8f%7Ca4597bff9f384145a0334a2168399a5e%7C0%7C0%7C636830716748000582&sdata=aMD2nw7Ykne45a1WKFl80y4lOAR7Pk33nWpCwvr3RI0%3D&reserved=0>.
|
Hi, If you're on the archivesspace-users mailing list, you will already have seen that we don't know (yet) how to fix this problem; I'm sorry for the delay. It seems that the new Bundler release isn't Playing Well With Others, despite their original assurances. We're in touch with lyrasis about this, as a fix may need to "come from the top" (we suspect that initializing any plugin with a Gemfile will have this problem! :-( I'm also marking this as a duplicate with #46 (#46 ), as this was previously reported by someone running Aspace under Windows. |
Duplicate of #46 |
1 similar comment
Duplicate of #46 |
I appreciate any help I can get, and will tell you what my plan of attack is: I plan to try installing it under a previous version and then migrating back to 2.5.1, and I think that is the best I can come up with. I won't be able to get to that point until early next week, as at the moment someone else is using the machine I'd have to use to do that
I opened a case with lyrasis, and they replied that it wasn't their problem, but quite frankly - it is, I think at the very least it shows that initialize-plugin.sh is in need of a rewrite, as evidenced by the errors
ERROR: While executing gem ... (Gem::Requirement::BadRequirementError)
Illformed requirement ["1.12.5\n1.16.1"]
Gem::GemNotFoundException: can't find gem bundler (>= 0.a)
find_spec_for_exe at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems.rb:271
activate_bin_path at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems.rb:298
<main> at ../../gems/bin/bundle:23
I previously installed the older bundler versions needed, and with the original plugin I got a lot farther, but still didn't start the app correctly.
…________________________________
From: Bobbi Fox, Secret Master of Repurposing <[email protected]>
Sent: Monday, January 14, 2019 2:08:48 PM
To: harvard-library/aspace-import-excel
Cc: Daniel Sprouse; Author
Subject: Re: [harvard-library/aspace-import-excel] install issues, Bundler could not find compatible versions for gem "bundler" (#47)
Hi,
If you're on the archivesspace-users mailing list, you will already have seen that we don't know (yet) how to fix this problem; I'm sorry for the delay. It seems that the new Bundler release isn't Playing Well With Others, despite their original assurances. We're in touch with lyrasis about this, as a fix may need to "come from the top" (we suspect that initializing any plugin with a Gemfile will have this problem! :-(
I'm also marking this as a duplicate with #46<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fharvard-library%2Faspace-import-excel%2Fissues%2F46&data=02%7C01%7Cdsprouse%40tsl.texas.gov%7Cadfe890c9b064abf8b3608d67a5c1919%7Ca4597bff9f384145a0334a2168399a5e%7C0%7C0%7C636830933315364056&sdata=od1iVaW0Ah2MZz%2BFgSCO8K1jvWB%2FsWP0rMT1jlXG%2B5c%3D&reserved=0> (#46<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fharvard-library%2Faspace-import-excel%2Fissues%2F46&data=02%7C01%7Cdsprouse%40tsl.texas.gov%7Cadfe890c9b064abf8b3608d67a5c1919%7Ca4597bff9f384145a0334a2168399a5e%7C0%7C0%7C636830933315364056&sdata=od1iVaW0Ah2MZz%2BFgSCO8K1jvWB%2FsWP0rMT1jlXG%2B5c%3D&reserved=0> ), as this was previously reported by someone running Aspace under Windows.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fharvard-library%2Faspace-import-excel%2Fissues%2F47%23issuecomment-454143951&data=02%7C01%7Cdsprouse%40tsl.texas.gov%7Cadfe890c9b064abf8b3608d67a5c1919%7Ca4597bff9f384145a0334a2168399a5e%7C0%7C0%7C636830933315364056&sdata=vmvAx9fOd%2BZz2CImYg5bbpPWHUoyeQqlHE7ELFTIj1w%3D&reserved=0>, or mute the thread<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FApmC7Vyy1aLJkJ-roswmopknBcdBBlndks5vDOPQgaJpZM4Z-TcF&data=02%7C01%7Cdsprouse%40tsl.texas.gov%7Cadfe890c9b064abf8b3608d67a5c1919%7Ca4597bff9f384145a0334a2168399a5e%7C0%7C0%7C636830933315364056&sdata=2CogvXD5UAnfgtB9lLi%2FAaaYdzUGUgkX9jRGN9mkL3o%3D&reserved=0>.
|
I hate to be the bearer of bad news, but it's pretty unlikely that installing on an earlier version will work - the core problem is that the ASpace release was built in a world where 2.0.1 wasn't out yet, and anything we're doing now is built in a world where it is out. The build system definitely needs rethinking and reworking. I think if you checked out ASpace 2.5.1 from github, and built it into a zip yourself, then installed the plugin in the resulting build, that should bypass this? |
How did you end up with bundler 2.0.1 ? |
The initialize-plugin.bat|.sh |
Running |
Windows and OSX so far, on 2.5.1 release. |
Though I'm still seeing a problem with a version where I altered initialize-plugin.bat to do
so it's clear that something else hinky is going on. |
FWIW I cannot replicate on OSX. Initialize plug-ins continues to respect a <2 bundler here.
…Sent from my iPhone
On Jan 14, 2019, at 4:23 PM, pobocks ***@***.***> wrote:
Windows and OSX so far, on 2.5.1 release.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Are you doing this from a zip release or one you built yourself at some point? |
zip for me |
zips for both the 2.5.1 release and 2.5.2RC. Also just gave it a whirl on the only previously aspace-unaware machine I've got here - an '08 MacBook native booting Ubuntu - and still cannot replicate the issue. initialize-plugin.sh still respects bundler 1.16, even though when I installed ruby/bundler on the system it got 2.0.1. |
Laura, can you run archivesspace after you've initialized it? The original issue was that it seemed to be initialized, but re-starting archivesspace presented a problem. |
Yep, no issues bringing up ASpace; confirmed plugin is there and
operational (after creating a new repo with at least one resource).
…On Mon, Jan 14, 2019 at 4:51 PM Bobbi Fox, Secret Master of Repurposing < ***@***.***> wrote:
Laura, can you *run* archivesspace after you've initialized it? The
original issue was that it seemed to be initialized, but re-starting
archivesspace presented a problem.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AOcWxjHjJ_GbKl5f-W3Deb1bBf8Ma-rfks5vDPvxgaJpZM4Z-TcF>
.
|
Hmmm. I may have actually mis-remembered whether I replicated on OSX; but we've got Daniel on RHEL and Windows on multiple machines. |
Laura, can you run archivesspace after you've initialized it? The original issue was that it seemed to be initialized, but re-starting archivesspace presented a problem. |
Over the coming weekend I will be testing it on Centos7 minimal install, and CentOS7 developer install, and I will be testing migrating back to 2.4.x, installing the plugin, and re-migrate forward to 2.5.x. |
also, want to point out that I have tried to install the plugin with current ( 3.0.2 ) and previous ( 2.7.0 ) versions of gem and with bundler 1.16.1 set as the default version of bundler, and both using sudo and as root, still get the same errors. |
thought I had it this time, no cigar... [dsprouse@tslac4avned plugins]$ sudo ../scripts/initialize-plugin2.sh aspace-import-excel ===================================== ===================================== got this error in archivesspace.out: from /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/Gemfile:60-------------------------------------------require 'asutils'> ASUtils.load_plugin_gems(self) -------------------------------------------
You're seeing this error because you use ===================================== ===================================== environment: *** LOCAL GEMS *** bundler (2.0.1, 1.17.3, 1.17.2, 1.16.1, 1.12.5)
#!/bin/bash plugin="$1" We'll provide our own values for theseunset GEM_HOME export ASPACE_LAUNCHER_BASE="$(" cd "$ASPACE_LAUNCHER_BASE/gems/gems" cd "$ASPACE_LAUNCHER_BASE/plugins/$plugin" if [ "$plugin" = "" ]; then if [ "$?" != "0" ]; then export JRUBY= export GEM_HOME=gems gem info bundler to get version, the original line breaks with "malformed expression" error#java $JAVA_OPTS -cp "../../lib/$JRUBY" org.jruby.Main -S gem install bundler -v "$BUNDLER_VERSION" |
Hi, Daniel, It's clear that, while your presenting problem, like #46 , was due to the bundler version upgrade, it seems that you have at least one other problem: the That said, when I saw the version collision error message, it was strangely familiar, and I remembered why we hadn't included the I've created Yet Another Branch (sorry), which doesn't include
and use that for your explicit bundler, then try again with the zipfile of this branch: issue_47 . I'm sorry for how frustrating this is. |
Why are you
I'm not sure you should be doing anything with |
also, just noticed, |
first of all, when you run the initialize script it gives you a warning not to run it as root, if you don't use sudo you don't have permissions to modify the directories, so that isn't a thing. |
It works fine without sudo for me, I see that warning too. I think maybe it's just a warning and not a fatal error? |
I have run it as root several times, it isn't the issue. I forced it to use one, and then after it is forced to use a specific version, the Gemfile.lock generated reports back with the wrong bundler version. It is actually reporting back a version that doesn't even seem to exist on my machine BUNDLED WITH 1.12.5 |
also, the plugin may want to include (in the installation instructions) to remove the Gemfile.lock each time if circumstances force you to make multiple attempts at the installation of the plugin. |
Hi, Daniel, Good point about the Gemfile.lock removal, although I tend (and suggest to others) to either delete the entire tree (or rename it), and unzip again, to make sure that there aren't other subtle issues. Do you now have a clean install? or are you still thrashing? |
I am still trying. Since it is having trouble choosing a version of rubyzip, I forced it to install both 1.0.0 and 1.2.2 and then set the gemfile back to 1.0.0, and will try again as soon as I get a good time, when our users are able to get their work saved.
...and maybe the wording on that should be to remove the Gemfile.lock prior to the next attempt, so people don't whack it when they have a good install.
…________________________________
From: Bobbi Fox, Secret Master of Repurposing <[email protected]>
Sent: Friday, January 18, 2019 9:53:17 AM
To: harvard-library/aspace-import-excel
Cc: Daniel Sprouse; Author
Subject: Re: [harvard-library/aspace-import-excel] install issues, Bundler could not find compatible versions for gem "bundler" (#47)
Hi, Daniel,
Good point about the Gemfile.lock removal, although I tend (and suggest to others) to either delete the entire tree (or rename it), and unzip again, to make sure that there aren't other subtle issues.
Do you now have a clean install? or are you still thrashing?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fharvard-library%2Faspace-import-excel%2Fissues%2F47%23issuecomment-455593227&data=02%7C01%7Cdsprouse%40tsl.texas.gov%7C7f4d7524a2584af842b308d67d5d1106%7Ca4597bff9f384145a0334a2168399a5e%7C0%7C0%7C636834236017386711&sdata=rdrbZ0j7QnBW7m6sTofUwW5j%2BJSxwlcS7Jhxs2aK4%2BY%3D&reserved=0>, or mute the thread<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FApmC7YjSaFhmo15kRr1aYrYQVq_zpOQUks5vEe3tgaJpZM4Z-TcF&data=02%7C01%7Cdsprouse%40tsl.texas.gov%7C7f4d7524a2584af842b308d67d5d1106%7Ca4597bff9f384145a0334a2168399a5e%7C0%7C0%7C636834236017396720&sdata=0preGBPsNqba4gQFEf8DFBajlxqRa0WpwEwdLlywqmw%3D&reserved=0>.
|
I just did this on centos7, no issues. The only part I didn't do was MySQL. I don't think that would matter in this case.
|
and I got this again anyway. I get this every time, so I think that another part of the plugin or another gem entirely is trying to use two versions of rubyzip. source 'http://rubygems.org' gem 'rubyXL', "3.1.0", :require => false PLATFORMS DEPENDENCIES BUNDLED WITH and, as usual when trying to install the pplugin, I get this when I try to start archivesspace: from /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/Gemfile:60-------------------------------------------require 'asutils'> ASUtils.load_plugin_gems(self) -------------------------------------------
You're seeing this error because you use |
this is the only occurrence of the string "rubyzip 1.2.2" anywhre in the aspace-import-excel directory: |
I'm not running in a container, so it's pretty much an invalid test. And I have tried it multiple times, as root, as me, with and without sudo.
Secondly, I get that far as often as not, now try to start archivesspace, that's the problem. Archivesspace won't start or is unusable. So run a tail -f on archivesspace.out and start her up.
…________________________________
From: Blake Carver <[email protected]>
Sent: Friday, January 18, 2019 10:01:01 AM
To: harvard-library/aspace-import-excel
Cc: Daniel Sprouse; Author
Subject: Re: [harvard-library/aspace-import-excel] install issues, Bundler could not find compatible versions for gem "bundler" (#47)
I just did this on centos7, no issues. The only part I didn't do was MySQL. I don't think that would matter in this case.
docker run -d -p 8080:80 -p 8443:443 -p 8022:22 -t otherdata/centos-docker-lamp:latest
docker exec -it hopeful_hamilton bash
as root:
1 useradd blake
2 yum install java
3 su blake
su blake:
1 wget https://github.com/archivesspace/archivesspace/releases/download/v2.5.2/archivesspace-v2.5.2.zip
2 unzip archivesspace-v2.5.2.zip
3 cd archivesspace
4 cd plugins/
5 wget https://github.com/harvard-library/aspace-import-excel/archive/v2.1.18.zip
6 unzip v2.1.18.zip
7 mv aspace-import-excel-2.1.18/ aspace-import-excel
8 ./scripts/initialize-plugin.sh aspace-import-excel
9 ./archivesspace.sh start
10 grep -i error logs/archivesspace.out
No errors when initializing plugin:
./scripts/initialize-plugin.sh aspace-import-excel
Fetching: bundler-1.16.1.gem (100%)
Successfully installed bundler-1.16.1
1 gem installed
Fetching gem metadata from http://rubygems.org/..............
Resolving dependencies...
Using bundler 1.16.1
Fetching nokogiri 1.10.1 (java)
Installing nokogiri 1.10.1 (java)
Fetching rubyzip 1.2.2
Installing rubyzip 1.2.2
Fetching rubyXL 3.3.29
Installing rubyXL 3.3.29
Bundle complete! 1 Gemfile dependency, 4 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fharvard-library%2Faspace-import-excel%2Fissues%2F47%23issuecomment-455596225&data=02%7C01%7Cdsprouse%40tsl.texas.gov%7C0dd2f31be3604bdd0bc108d67d5e2559%7Ca4597bff9f384145a0334a2168399a5e%7C0%7C0%7C636834240653433651&sdata=Zc0ZLWZAoEpnf0Km0Ntb437tKrOntalJq7h%2Favmi0IU%3D&reserved=0>, or mute the thread<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FApmC7V0PLQuI6UPkTCyfNi1nKgPnyPiBks5vEe-9gaJpZM4Z-TcF&data=02%7C01%7Cdsprouse%40tsl.texas.gov%7C0dd2f31be3604bdd0bc108d67d5e2559%7Ca4597bff9f384145a0334a2168399a5e%7C0%7C0%7C636834240653443663&sdata=bi5q9rzIevBmcBHNp1qLhwhJYUk%2BL92ERBdzCSMESTQ%3D&reserved=0>.
|
Running it in a container shouldn't matter at all, but just in case, I spun up a full virtualbox centos vm and followed the same steps I did in the docker container, with the same results. ArchivesSpace started with the plugin enable with no issues. The only thing I did as root was installing java, I didn't sudo anything. |
Hi, Daniel, I'm sorry; I've been away for a while. I just noticed that the Gemfile you This is what you should be seeing : ASpaceGems.setup if defined? ASpaceGems
source 'http://rubygems.org'
gem 'rubyXL', "3.3.29", :require => false Remind me which release you're trying to implement? For any version of Aspace 2.22 or higher,, you should be using aspace-import-excel V2.1.18 |
Hi all, just wondering how this was going? Did you figure it out? |
I think it is involving the procedures for upgrading. The instructions say to copy the old plugins and move them over after the upgrade, and I think that is the problem, it should probably say to re-install the plugins with 2.5.x - I will try some things this weekend. I still think that my answer is backing out to 2.4.x, installing the plugin and then upgrading back to 2.5, but we may just want to back out to 2.4 and stay there.
…________________________________
From: Blake Carver <[email protected]>
Sent: Tuesday, January 29, 2019 11:13:37 AM
To: harvard-library/aspace-import-excel
Cc: Daniel Sprouse; Author
Subject: Re: [harvard-library/aspace-import-excel] install issues, Bundler could not find compatible versions for gem "bundler" (#47)
Hi all, just wondering how this was going? Did you figure it out?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#47 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ApmC7alx6rD4luKiHoGUI7KPdgRNJR4_ks5vIIFBgaJpZM4Z-TcF>.
|
Hi all, just wondering how this was going? Did you figure it out? |
Hi all, just wondering how this was going? Did you figure it out? |
Hello, was this issue resolved? What was done to fix the issue? I'm running into the same issue on a Windows Server |
actually, I do remember this, installed the newest version of aspace. We were getting ready to migrate to a new server anyway, and I simply sped that timeline up. This involved moving to a newer version of mysql as well. Sorry, I know that's not what you wanted to hear, it isn't relevant to solving your problem. But I do recommend mysql 8.0.16.
…________________________________
From: Daniel Sprouse ***@***.***>
Sent: Friday, April 30, 2021 12:27 PM
To: harvard-library/aspace-import-excel ***@***.***>
Subject: Re: [harvard-library/aspace-import-excel] install issues, Bundler could not find compatible versions for gem "bundler" (#47)
I honestly will have to investigate what happened and get back to you on Monday afternoon.
________________________________
From: TheSupportGuy ***@***.***>
Sent: Friday, April 30, 2021 10:02 AM
To: harvard-library/aspace-import-excel ***@***.***>
Cc: Daniel Sprouse ***@***.***>; Author ***@***.***>
Subject: Re: [harvard-library/aspace-import-excel] install issues, Bundler could not find compatible versions for gem "bundler" (#47)
Hello, was this issue resolved? What was done to fix the issue? I'm running into the same issue on a Windows Server
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fharvard-library%2Faspace-import-excel%2Fissues%2F47%23issuecomment-830156092&data=04%7C01%7Cdsprouse%40tsl.texas.gov%7C47b6233070bc46c9c21208d90be8fc8a%7Ca4597bff9f384145a0334a2168399a5e%7C0%7C0%7C637553918327103434%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=DmKeQKJEyx9f6s93NpTQ5%2BhCIMJYx6EMhfFGfTkc2lg%3D&reserved=0>, or unsubscribe<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKMYF3LFHN7SGBCAV77CMJDTLLBATANCNFSM4GPZG4CQ&data=04%7C01%7Cdsprouse%40tsl.texas.gov%7C47b6233070bc46c9c21208d90be8fc8a%7Ca4597bff9f384145a0334a2168399a5e%7C0%7C0%7C637553918327103434%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=vce5LW5k%2BPsq7UAYDgtuEpV4Rs7ZPgCLi%2FBS6S%2BWeD4%3D&reserved=0>.
|
Hello, thank you for your replies. We are running ArchivesSpace v2.8.1, aspace-import-excel plugin v3.0.3, and mysql 8.0.24 (which is currently the latest build). Windows server is 2019, fresh install with Java jre1.8.0_291 which was also recently downloaded. The software works fine until I uncomment the line in the cofig.rb (AppConfig[:plugins] = ['aspace-import-excel'] ) for this plugin and then it just refuses to load the admin panel (port 8080) but it does load the public site (port 8081). |
I don't think you need to include it in the plugins table any longer, I thought that in 2.8.0 they changed that so it is now integrated into the aspace core. If you change it you can install the plugin and make your site-local changes. You can see what we have:
***@***.*** scripts]# ./ASversion
archivesspace-v2.8.0
***@***.*** scripts]# grep plugins ../config/config.rb | grep -v "#"
AppConfig[:plugins] = ['next_accession','lcnaf','local']
***@***.*** scripts]# ls ../plugins
aspace-import-excel refid_rules
cat_in_a_box lcnaf.zip newrelic
lcnaf local next_accession
***@***.*** scripts]#
…________________________________
From: TheSupportGuy ***@***.***>
Sent: Monday, May 3, 2021 2:13 PM
To: harvard-library/aspace-import-excel ***@***.***>
Cc: Daniel Sprouse ***@***.***>; Author ***@***.***>
Subject: Re: [harvard-library/aspace-import-excel] install issues, Bundler could not find compatible versions for gem "bundler" (#47)
Hello, thank you for your replies. We are running ArchivesSpace v2.8.1, aspace-import-excel plugin v3.0.3, and mysql 8.0.24 (which is currently the latest build). Windows server is 2019, fresh install with Java jre1.8.0_291 which was also recently downloaded. The software works fine until I uncomment the line in the cofig.rb (AppConfig[:plugins] = ['aspace-import-excel'] ) for this plugin and then it just refuses to load the admin panel (port 8080) but it does load the public site (port 8081).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fharvard-library%2Faspace-import-excel%2Fissues%2F47%23issuecomment-831472961&data=04%7C01%7Cdsprouse%40tsl.texas.gov%7C302f30a4bad5447d254408d90e67978e%7Ca4597bff9f384145a0334a2168399a5e%7C0%7C0%7C637556660355757888%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=yIzVqcwYGhLAihynHbYtsGtLPukJLh50kryWajOYFo0%3D&reserved=0>, or unsubscribe<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKMYF3MEXNYLZJQLRM2TKMTTL3YXBANCNFSM4GPZG4CQ&data=04%7C01%7Cdsprouse%40tsl.texas.gov%7C302f30a4bad5447d254408d90e67978e%7Ca4597bff9f384145a0334a2168399a5e%7C0%7C0%7C637556660355757888%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=rw36cyScsws720sFr3fL99PCc6XrcusKUWli0TXgwXk%3D&reserved=0>.
|
I am running archivesspace 2.5.1 on RHEL 7.3,
[dsprouse@tslac4avned ~]$ ruby -v; gem -v
ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
3.0.2
[dsprouse@tslac4avned ~]$ gem info bundler
*** LOCAL GEMS ***
bundler (2.0.1, 1.17.3, 1.17.2, 1.16.1, 1.12.5)
Authors: André Arko, Samuel Giddins, Colby Swandale, Hiroshi
Shibata, David Rodríguez, Grey Baker, Stephanie Morillo, Chris
Morris, James Wen, Tim Moore, André Medeiros, Jessica Lynn Suttles,
Terence Lee, Carl Lerche, Yehuda Katz
Homepage: http://bundler.io
License: MIT
Installed at (2.0.1): /usr/local/lib/ruby/gems/2.5.0
(1.17.3, default): /usr/local/lib/ruby/gems/2.5.0
(1.17.2): /usr/local/lib/ruby/gems/2.5.0
(1.16.1): /usr/local/lib/ruby/gems/2.5.0
(1.12.5): /usr/local/lib/ruby/gems/2.5.0
[dsprouse@tslac4avned ~]$
and I have been having trouble for a while trying to get this plugin installed, but even when it has looked like it installed successfully, it resulted in archivesspace being unable to start.
originally I was getting this error:
at ../../gems/bin/bundle:23ERROR: While executing gem ... (Gem::Requirement::BadRequirementError)
Illformed requirement ["1.12.5\n1.16.1"]
Gem::GemNotFoundException: can't find gem bundler (>= 0.a)
find_spec_for_exe at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems.rb:271
activate_bin_path at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems.rb:298
and after I installed the old bundler versions 1.12.5 and 1.16.1 it finally looked like it was installing, although with an error:
[dsprouse@tslac4avned scripts]$ sudo ./initialize-plugin.sh aspace-import-excel
ERROR: While executing gem ... (Gem::Requirement::BadRequirementError)
Illformed requirement ["1.12.5\n1.16.1"]
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
Using bundler 2.0.1
Using nokogiri 1.10.0 (java)
Using rubyzip 1.2.2
Using rubyXL 3.3.31
Bundle complete! 1 Gemfile dependency, 4 gems now installed.
Use
bundle info [gemname]
to see where a bundled gem is installed.[dsprouse@tslac4avned scripts]$
and the result of that is that archivesspace starts, but is non-functional and this is the webpage output:
Internal Server Error (500)
Request Method: GET
Request URL: http://aris.tsl.texas.gov/
Bundler could not find compatible versions for gem "bundler": In Gemfile: rails (= 5.0.1) java was resolved to 5.0.1, which depends on bundler (< 2.0, >= 1.3.0) java Current Bundler version: bundler (2.0.1) This Gemfile requires a different version of Bundler. Perhaps you need to update Bundler by running
' from org/jruby/RubyKernel.java:961:ingem install bundler
? Could not find gem 'bundler (< 2.0, >= 1.3.0)', which is required by gem 'rails (= 5.0.1)', in any of the sources. from /var/www/aris/html/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/resolver.rb:56:instart' from /var/www/aris/html/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/resolver.rb:22:in
resolve' from /var/www/aris/html/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/definition.rb:258:inresolve' from /var/www/aris/html/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/definition.rb:170:in
specs' from /var/www/aris/html/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/definition.rb:237:inspecs_for' from /var/www/aris/html/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/definition.rb:226:in
requested_specs' from /var/www/aris/html/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/runtime.rb:108:inblock in requested_specs' from /var/www/aris/html/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/runtime.rb:20:in
setup' from /var/www/aris/html/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler.rb:107:insetup' from /var/www/aris/html/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/setup.rb:20:in
require' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1:in
(root)' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:133:in<main>' from org/jruby/RubyKernel.java:961:in
require' from /var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8080-frontend.war-_-any-/webapp/WEB-INF/config/boot.rb:10:in(root)' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1:in
(root)' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:inrequire' from uri:classloader:/jruby/rack/rails/environment3.rb:23:in
' from launcher/launcher.rb:92:instart_server' from launcher/launcher.rb:168:in
main' from launcher/launcher.rb:261:in `'You're seeing this error because you use JRuby::Rack::ErrorApp::ShowStatus.
any help/hints/tips on how to get this moving forward?
The text was updated successfully, but these errors were encountered: