From amanifold at slv.vic.gov.au Sun Mar 1 20:30:58 2020 From: amanifold at slv.vic.gov.au (Alan Manifold) Date: Mon, 2 Mar 2020 01:30:58 +0000 Subject: [Archivesspace_Users_Group] Errors trying to upgrade to 2.7.1 from 2.5.2 In-Reply-To: References: <34d64468465d4639b656c7fb432c7f30@STAFFEXCH01.staff.local> , , Message-ID: <1583112657632.62377@slv.vic.gov.au> ?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 | amanifold at slv.vic.gov.au slv.vic.gov.au [https://www.slv.vic.gov.au/sites/default/files/email_signature/signature.jpg?9] [follow us] [SLV facebook] [SLV twitter] [SLV youtube] [SLV instagram] [Gold Winner 2018 RACV Victorian Tourism Awards] [MEA Awards 2018 National Winner] ________________________________ From: archivesspace_users_group-bounces at 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-bounces at 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 > wrote: I was hoping someone might have responded about these problems overnight, but since they didn?t, I did some more investigation myself. Having looked at these problems more, they seem to be distribution problems. The sassc gem appears not to have its extensions pre-built. We don?t really have a ruby development environment, and it looks like we would have to in order to build the extensions. Is that right? Is there a way to install it with pre-built extensions? The ContextAction problem seems to be related to some incompatibility between the version of therubyrhino, therubyrhino_jar, and perhaps some javascript library somewhere. It seems to be complaining about not being able to find the ContextAction.class from org.mozilla.javascript. Is that something we?re supposed to already have or is the upgrade supposed to install it or is there something else going on. We could really use some expert help on this, if anyone has any thoughts. Thanks! Regards, Alan Alan Manifold | Library Systems & Digital Preservation Manager | Collection Development & Description State Library Victoria | 328 Swanston Street | Melbourne VIC 3000 T +61 3 8664 7122 | amanifold at slv.vic.gov.au slv.vic.gov.au [https://www.slv.vic.gov.au/sites/default/files/email_signature/signature.jpg?9] [follow us] [SLV facebook] [SLV twitter] [SLV youtube] [SLV instagram] [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 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 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 slv.vic.gov.au [https://www.slv.vic.gov.au/sites/default/files/email_signature/signature.jpg?9] [follow us] [SLV facebook] [SLV twitter] [SLV youtube] [SLV instagram] [Gold Winner 2018 RACV Victorian Tourism Awards] [MEA Awards 2018 National Winner] This message and any attachment is intended only for the use of the Addressee and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please delete all copies of the message and its attachments and notify the sender immediately. Thank you. This message and any attachment is intended only for the use of the Addressee and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please delete all copies of the message and its attachments and notify the sender immediately. Thank you. !DSPAM:5e58968222181582877507! _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group at lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group !DSPAM:5e58968222181582877507! 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: From amanifold at slv.vic.gov.au Mon Mar 2 00:49:30 2020 From: amanifold at slv.vic.gov.au (Alan Manifold) Date: Mon, 2 Mar 2020 05:49:30 +0000 Subject: [Archivesspace_Users_Group] Errors trying to upgrade to 2.7.1 from 2.5.2 In-Reply-To: References: <34d64468465d4639b656c7fb432c7f30@STAFFEXCH01.staff.local> , , , Message-ID: <1583128170006.23330@slv.vic.gov.au> ?Hi Blake, This apparently was the problem. Our Systems Team said that java 8 was installed originally on the server, but they took it off and replaced it with java 7 for an earlier version of ArchivesSpace, because java 8 was causing problems. Now, with java 8, our system came up with no problem. Thank you so much for your help! I would certainly never have figured that out on my own. 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 [https://www.slv.vic.gov.au/sites/default/files/email_signature/signature.jpg?9] [follow us] [SLV facebook] [SLV twitter] [SLV youtube] [SLV instagram] [Gold Winner 2018 RACV Victorian Tourism Awards] [MEA Awards 2018 National Winner] ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Blake Carver Sent: Saturday, 29 February 2020 3:41 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-bounces at 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 gems: did_you_mean-1.0.1 bundler-1.17.3 rake-13.0.1 concurrent-ruby-1.1.5 i18n-0.9.1 minitest-5.13.0 thread_safe-0.3.6-java tzinfo-1.2.6 activesupport-5.0.7.2 builder-3.2.4 erubis-2.7.0 nokogiri-1.10.7-java rails-dom-testing-2.0.3 crass-1.0.5 loofah-2.4.0 rails-html-sanitizer-1.3.0 actionview-5.0.7.2 rack-2.0.8 rack-test-0.6.3 actionpack-5.0.7.2 nio4r-2.5.2-java websocket-extensions-0.1.4 websocket-driver-0.6.5-java actioncable-5.0.7.2 globalid-0.4.2 activejob-5.0.7.2 mini_mime-1.0.2 mail-2.7.1 actionmailer-5.0.7.2 activemodel-5.0.7.2 arel-7.1.4 activerecord-5.0.7.2 atomic-1.0.1-java childprocess-3.0.0 choice-0.2.0 coffee-script-source-1.12.2 execjs-2.7.0 coffee-script-2.4.1 method_source-0.9.2 thor-1.0.1 railties-5.0.7.2 coffee-rails-4.2.1 commonjs-0.2.7 ffi-1.11.3-java jquery-rails-4.3.5 jquery-ui-rails-6.0.1 jruby-jars-9.1.17.0 json-1.8.6-java json-schema-1.0.10 less-2.6.0 sprockets-3.7.2 tilt-2.0.10 less-rails-2.8.0 less-rails-bootstrap-3.3.5.0 mizuno-0.6.11 multi_json-1.14.1 multipart-post-1.2.0 net-http-persistent-2.8 sprockets-rails-2.3.3 rails-5.0.7.2 rb-fsevent-0.10.3 rb-inotify-0.10.1 rubyzip-1.3.0 sass-listen-4.0.0 sass-3.7.4 sass-rails-5.0.7 therubyrhino_jar-1.7.8 therubyrhino-2.1.2 tzinfo-data-1.2019.3 uglifier-3.0.4 zip-zip-0.3 --- Bundler Bundler.bundle_path: /var/local/archivesspace/archivesspace/gems Bundler.root: /var/local/archivesspace/archivesspace/data/tmp/jetty-0.0.0.0-8080-frontend.war-_-any-/webapp/WEB-INF Gemfile: /var/local/archivesspace/archivesspace/data/tmp/jetty-0.0.0.0-8080-frontend.war-_-any-/webapp/WEB-INF/Gemfile Settings: jobs = 8 without = [:test, :development, :doc] gemfile = /var/local/archivesspace/archivesspace/data/tmp/jetty-0.0.0.0-8080-frontend.war-_-any-/webapp/WEB-INF/Gemfile bin_path = /var/local/archivesspace/archivesspace/gems/gems/bundler-1.17.3/exe/bundle --- JRuby-Rack Config compat_version = default_logger = org.jruby.rack.logging.StandardOutLogger at 173f7592 equals = err = java.io.PrintStream at 2e7b99f1 filter_adds_html = true filter_verifies_resource = false ignore_environment = false initial_memory_buffer_size = initial_runtimes = 1 jms_connection_factory = jms_jndi_properties = logger = org.jruby.rack.logging.ServletContextLogger at 8cfc52c logger_class_name = servlet_context logger_name = jruby.rack maximum_memory_buffer_size = maximum_runtimes = 1 num_initializer_threads = out = java.io.PrintStream at 9b42b1f rackup = rackup_path = rewindable = true runtime_arguments = runtime_environment = runtime_timeout_seconds = serial_initialization = false servlet_context = ServletContext at o.e.j.w.WebAppContext{/,file:/var/local/archivesspace/archivesspace/data/tmp/jetty-0.0.0.0-8080-frontend.war-_-any-/webapp/},/var/local/archivesspace/archivesspace/wars/frontend.war throw_init_exception = false Feb 28, 2020 10:49:29 AM org.eclipse.jetty.server.handler.ContextHandler$Context log WARNING: ERROR: initialization failed org.jruby.rack.RackInitializationException: ContextAction not found in packages org.mozilla.javascript; last error: cannot link Java class org.mozilla.javascript.ContextAction, probable missing dependency: org/mozilla/javascript/ContextAction : Unsupported major.minor version 52.0 from uri:classloader:/jruby/java/core_ext/module.rb:45:in `const_missing' from /var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:99:in `' from /var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:36:in `' from /var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:3:in `
' from org/jruby/RubyKernel.java:956:in `require' from /var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino.rb:1:in `
' from org/jruby/RubyKernel.java:956:in `require' from /var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino.rb:61:in `(root)' from org/jruby/RubyEnumerable.java:643:in `find' from /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/ruby_rhino_runtime.rb:1:in `(root)' from /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/ruby_rhino_runtime.rb:91:in `available?' from /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:63:in `' from /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:57:in `
' from org/jruby/RubyKernel.java:956:in `require' from /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs.rb:5:in `
' from org/jruby/RubyKernel.java:956:in `require' from /var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs.rb:4:in `
' from org/jruby/RubyKernel.java:956:in `require' from /var/local/archivesspace/archivesspace/gems/gems/coffee-script-2.4.1/lib/coffee_script.rb:1:in `
' from org/jruby/RubyKernel.java:956:in `require' from /var/local/archivesspace/archivesspace/gems/gems/coffee-script-2.4.1/lib/coffee_script.rb:1:in `block in (root)' from org/jruby/RubyArray.java:1735:in `each' from /var/local/archivesspace/archivesspace/gems/gems/coffee-script-2.4.1/lib/coffee-script.rb:1:in `block in (root)' from org/jruby/RubyArray.java:1735:in `each' from /var/local/archivesspace/archivesspace/gems/gems/coffee-script-2.4.1/lib/coffee-script.rb:1:in `(root)' from /var/local/archivesspace/archivesspace/gems/gems/coffee-rails-4.2.1/lib/coffee-rails.rb:1:in `(root)' from /var/local/archivesspace/archivesspace/gems/gems/coffee-rails-4.2.1/lib/coffee-rails.rb:1:in `
' from org/jruby/RubyKernel.java:956:in `require' from /var/local/archivesspace/archivesspace/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:1:in `
' from org/jruby/RubyKernel.java:956:in `require' from /var/local/archivesspace/archivesspace/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:81:in `require' from /var/local/archivesspace/archivesspace/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:76:in `require' from /var/local/archivesspace/archivesspace/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:65:in `
' from launcher/launcher.rb:92:in `start_server' from launcher/launcher.rb:165:in `main' from launcher/launcher.rb:261:in `
' at org.jruby.rack.RackInitializationException.wrap(RackInitializationException.java:29) at org.jruby.rack.RackApplicationFactoryDecorator.init(RackApplicationFactoryDecorator.java:104) at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:50) at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:766) at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:406) at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:758) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:242) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1233) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:701) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:475) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224) at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90) at org.eclipse.jetty.server.Server.doStart(Server.java:272) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:607) at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438) at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302) at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:36) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:125) at launcher.launcher.invokeOther155:start(launcher/launcher.rb:92) at launcher.launcher.RUBY$method$start_server$1(launcher/launcher.rb:92) at org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:77) at org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:191) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:358) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:211) at launcher.launcher.invokeOther335:start_server(launcher/launcher.rb:165) at launcher.launcher.RUBY$method$main$6(launcher/launcher.rb:165) at org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:155) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:298) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:127) at launcher.launcher.invokeOther502:main(launcher/launcher.rb:261) at launcher.launcher.RUBY$script(launcher/launcher.rb:261) at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:599) at org.jruby.ir.Compiler$1.load(Compiler.java:94) at org.jruby.Ruby.runScript(Ruby.java:830) at org.jruby.Ruby.runNormally(Ruby.java:749) at org.jruby.Ruby.runNormally(Ruby.java:767) at org.jruby.Ruby.runFromMain(Ruby.java:580) at org.jruby.Main.doRunFromMain(Main.java:417) at org.jruby.Main.internalRun(Main.java:305) at org.jruby.Main.run(Main.java:232) at org.jruby.Main.main(Main.java:204) Caused by: org.jruby.exceptions.RaiseException: (NameError) ContextAction not found in packages org.mozilla.javascript; last error: cannot link Java class org.mozilla.javascript.ContextAction, probable missing dependency: org/mozilla/javascript/ContextAction : Unsupported major.minor version 52.0 at RUBY.const_missing(uri:classloader:/jruby/java/core_ext/module.rb:45) at RUBY.(/var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:99) at RUBY.(/var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:36) at RUBY.
(/var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:3) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:956) at RUBY.
(/var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino.rb:1) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:956) at RUBY.(root)(/var/local/archivesspace/archivesspace/gems/gems/therubyrhino-2.1.2/lib/rhino.rb:61) at org.jruby.RubyEnumerable.find(org/jruby/RubyEnumerable.java:643) at RUBY.(root)(/var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/ruby_rhino_runtime.rb:1) at RUBY.available?(/var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/ruby_rhino_runtime.rb:91) at RUBY.(/var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:63) at RUBY.
(/var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:57) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:956) at RUBY.
(/var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs.rb:5) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:956) at RUBY.
(/var/local/archivesspace/archivesspace/gems/gems/execjs-2.7.0/lib/execjs.rb:4) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:956) at RUBY.
(/var/local/archivesspace/archivesspace/gems/gems/coffee-script-2.4.1/lib/coffee_script.rb:1) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:956) at RUBY.block in (root)(/var/local/archivesspace/archivesspace/gems/gems/coffee-script-2.4.1/lib/coffee_script.rb:1) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1735) at RUBY.block in (root)(/var/local/archivesspace/archivesspace/gems/gems/coffee-script-2.4.1/lib/coffee-script.rb:1) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1735) at RUBY.(root)(/var/local/archivesspace/archivesspace/gems/gems/coffee-script-2.4.1/lib/coffee-script.rb:1) at RUBY.(root)(/var/local/archivesspace/archivesspace/gems/gems/coffee-rails-4.2.1/lib/coffee-rails.rb:1) at RUBY.
(/var/local/archivesspace/archivesspace/gems/gems/coffee-rails-4.2.1/lib/coffee-rails.rb:1) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:956) at RUBY.
(/var/local/archivesspace/archivesspace/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:1) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:956) at RUBY.require(/var/local/archivesspace/archivesspace/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:81) at RUBY.require(/var/local/archivesspace/archivesspace/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:76) at RUBY.
(/var/local/archivesspace/archivesspace/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:65) at launcher.launcher.start_server(launcher/launcher.rb:92) at launcher.launcher.main(launcher/launcher.rb:165) at launcher.launcher.
(launcher/launcher.rb:261) Regards, Zach From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Blake Carver Sent: Friday, February 28, 2020 8:41 AM To: Archivesspace Users Group 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-bounces at 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 > wrote: I was hoping someone might have responded about these problems overnight, but since they didn?t, I did some more investigation myself. Having looked at these problems more, they seem to be distribution problems. The sassc gem appears not to have its extensions pre-built. We don?t really have a ruby development environment, and it looks like we would have to in order to build the extensions. Is that right? Is there a way to install it with pre-built extensions? The ContextAction problem seems to be related to some incompatibility between the version of therubyrhino, therubyrhino_jar, and perhaps some javascript library somewhere. It seems to be complaining about not being able to find the ContextAction.class from org.mozilla.javascript. Is that something we?re supposed to already have or is the upgrade supposed to install it or is there something else going on. We could really use some expert help on this, if anyone has any thoughts. Thanks! Regards, Alan Alan Manifold | Library Systems & Digital Preservation Manager | Collection Development & Description State Library Victoria | 328 Swanston Street | Melbourne VIC 3000 T +61 3 8664 7122 | amanifold at slv.vic.gov.au slv.vic.gov.au [https://www.slv.vic.gov.au/sites/default/files/email_signature/signature.jpg?9] [follow us] [SLV facebook] [SLV twitter] [SLV youtube] [SLV instagram] [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 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 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 slv.vic.gov.au [https://www.slv.vic.gov.au/sites/default/files/email_signature/signature.jpg?9] [follow us] [SLV facebook] [SLV twitter] [SLV youtube] [SLV instagram] [Gold Winner 2018 RACV Victorian Tourism Awards] [MEA Awards 2018 National Winner] This message and any attachment is intended only for the use of the Addressee and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please delete all copies of the message and its attachments and notify the sender immediately. Thank you. This message and any attachment is intended only for the use of the Addressee and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please delete all copies of the message and its attachments and notify the sender immediately. Thank you. !DSPAM:5e58968222181582877507! _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group at lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group !DSPAM:5e58968222181582877507! ** WARNING: This email originated from outside of Seton Hall University. Do not click links or open attachments unless you recognize the sender and know the content is safe. ** 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: From don.mennerich at nyu.edu Mon Mar 2 14:40:31 2020 From: don.mennerich at nyu.edu (Donald Mennerich) Date: Mon, 2 Mar 2020 14:40:31 -0500 Subject: [Archivesspace_Users_Group] json models Message-ID: Hello, Can someone point me toward the up-to-date json models for 2.7, I remember them being in the API reference, but they seem to not be there any longer. Thanks, Don -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jessica.Crouch at lyrasis.org Tue Mar 3 10:08:30 2020 From: Jessica.Crouch at lyrasis.org (Jessica Crouch) Date: Tue, 3 Mar 2020 15:08:30 +0000 Subject: [Archivesspace_Users_Group] Reminder - Webinar Wednesday: Integrating ArchivesSpace and ARKs Message-ID: <9807FA22-3613-4F11-AC1F-D3AC3826F4DB@lyrasis.org> Webinar Announcement: Integrating ArchivesSpace and ARKs ArchivesSpace is pleased to announce the sixth webinar in our series focused on Integrations with ArchivesSpace. Each webinar in this series will highlight an integration with another application used in archives that ArchivesSpace members have worked on or requested. Our sixth webinar in this series will explore how to integrate ARKs (Archival Resource Keys), persistent identifiers designed by the California Digital Library to support long-term access to information objects, into your ArchivesSpace implementation. When: March 4, 2020 Time: 2:00 p.m. ? 3:00 p.m. ET (11:00 a.m. ? noon PT) Where: Zoom Join Zoom Meeting https://lyrasis.zoom.us/j/558817099 Meeting ID: 558 817 099 One tap mobile +19292056099,,558817099# US (New York) +16699006833,,558817099# US (San Jose) Dial by your location +1 929 205 6099 US (New York) +1 669 900 6833 US (San Jose) 888 475 4499 US Toll-free 877 853 5257 US Toll-free Meeting ID: 558 817 099 Find your local number: https://lyrasis.zoom.us/u/awkFNWPxh Webinar description: This webinar will be recorded and made available on the ArchivesSpace YouTube channel. In this webinar, John Kunze will describe the ARK design goals and current landscape. John created the ARK identifier scheme at the California Digital Library and leads the ARKs-In-The-Open initiative. With a background in computer science and math, he wrote Unix software that comes pre-installed with Mac and Linux systems, and contributed heavily to Internet standards for identifiers (URIs), archiving (BagIt, WARC), and metadata (Dublin Core). Seth Shaw will describe the University of Nevada, Las Vegas, Libraries adoption of ARKs for Finding Aid persistent identifiers in 2017 and their workflow for minting them. Seth is an Application Developer for the UNLV Libraries dedicated to Special Collections and Archives. Seth was formerly the Electronic Records Archivist for Duke University and an Assistant Professor of Archival Studies at Clayton State University. Christine Di Bella, ArchivesSpace Program Manager, will conclude the webinar by demonstrating the new functionality related to implementing ARKs in ArchivesSpace that became available with ArchivesSpace v2.7.0. This functionality includes the option to use internal or external ARKs in exports or OAI-PMH harvests for resources and archival objects. Who should attend: Anyone interested in ARKs, those who are currently using ARKs within ArchivesSpace and would like to offer insight to others, and those who are interested in using the new ARKs functionality in ArchivesSpace. Questions? Contact Jessica at jessica.crouch at lyrasis.org if you have questions about this webinar or the Integrations with ArchivesSpace webinar series. The seventh Integrations with ArchivesSpace webinar will be: Integrating ArchivesSpace and Alma, April 8, 2020, at 2pm ET (11am PT). Jessica Dowd Crouch Community Engagement Coordinator for ArchivesSpace jessica.crouch at lyrasis.org [page1image482511520] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 29061 bytes Desc: image001.jpg URL: From kk1210 at georgetown.edu Wed Mar 4 13:36:06 2020 From: kk1210 at georgetown.edu (Kimberli Kelmor) Date: Wed, 4 Mar 2020 13:36:06 -0500 Subject: [Archivesspace_Users_Group] CSRF Message-ID: Greetings all, Our campus IT department just sent me a report from Detectify.com indicating that our archivesspace server has several CSRF vulnerabilities. We are running v2.7.0 I read through the release notes, searched this list, jira, and github and haven't found anything recent. Has anybody else come across this issue? Many thanks, Kim _________________________________ Kimberli M. Kelmor Head of Law Library Technology Georgetown University Law Library kk1210 at georgetown.edu 202-662-9158 *Law Library colleagues: to keep email from consuming me, I'll only be checking it at set points during the day. If you have an urgent technology concern, please use lawlibraryers at georgetown.edu . If you need to contact me personally please use slack. Thanks!* -------------- next part -------------- An HTML attachment was scrubbed... URL: From TSoleau at getty.edu Thu Mar 5 20:00:20 2020 From: TSoleau at getty.edu (Teresa Soleau) Date: Fri, 6 Mar 2020 01:00:20 +0000 Subject: [Archivesspace_Users_Group] Are ASpace-created ref IDs unique? Message-ID: All, We are considering using the component ref IDs in ASpace as a unique ID outside of the system (to link up with our digitized collections and other metadata repos). However, we're not sure that they are unique across all resources in our instance of ASpace. We found some cases where two different archival object had the same ref ID. They are of the type that migrated in from Archivist's Toolkit (example: ref118_up1) so it may be a legacy issue, but I wanted to confirm with someone who knows that the ASpace created ref IDs are going to be unique across our whole instance of ASpace. Thanks, ~Teresa Teresa Soleau Digital Preservation & Library Systems Manager Collection & Content Management Systems The J. Paul Getty Trust T (310) 440 7601 | getty.edu [../../Getty_Logo_EmailSig.png] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 4191 bytes Desc: image001.png URL: From andrew.morrison at bodleian.ox.ac.uk Fri Mar 6 06:26:11 2020 From: andrew.morrison at bodleian.ox.ac.uk (Andrew Morrison) Date: Fri, 6 Mar 2020 11:26:11 +0000 Subject: [Archivesspace_Users_Group] Are ASpace-created ref IDs unique? In-Reply-To: References: Message-ID: <1583493971.1910.12.camel@bodleian.ox.ac.uk> The ref ID, when not imported or migrated from another source, is generated here: https://github.com/archivesspace/archivesspace/blob/master/backend/app/model/archival_object.rb#L42 It is a 32-character hexadecimal string, therefore 16^32 permutations. Uniqueness cannot be guaranteed, but duplicates are very unlikely. Andrew. On Fri, 2020-03-06 at 01:00 +0000, Teresa Soleau wrote: All, We are considering using the component ref IDs in ASpace as a unique ID outside of the system (to link up with our digitized collections and other metadata repos). However, we're not sure that they are unique across all resources in our instance of ASpace. We found some cases where two different archival object had the same ref ID. They are of the type that migrated in from Archivist's Toolkit (example: ref118_up1) so it may be a legacy issue, but I wanted to confirm with someone who knows that the ASpace created ref IDs are going to be unique across our whole instance of ASpace. Thanks, ~Teresa Teresa Soleau Digital Preservation & Library Systems Manager Collection & Content Management Systems The J. Paul Getty Trust T (310) 440 7601 | getty.edu [../../Getty_Logo_EmailSig.png] _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group at lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 4191 bytes Desc: image001.png URL: From noah.huffman at duke.edu Fri Mar 6 09:16:27 2020 From: noah.huffman at duke.edu (Noah Huffman) Date: Fri, 6 Mar 2020 14:16:27 +0000 Subject: [Archivesspace_Users_Group] Are ASpace-created ref IDs unique? In-Reply-To: <1583493971.1910.12.camel@bodleian.ox.ac.uk> References: <1583493971.1910.12.camel@bodleian.ox.ac.uk> Message-ID: Teresa, If you migrated from Archivist Toolkit and preserved those AT-generated ref_IDs in ASpace during the migration (e.g. ref118_up1), it?s likely that you?ll run into a few dupes. My understanding is that the migration appended the underscore and those three extra characters to the original AT ref_ids, but in some cases that strategy was not sufficient to guarantee uniqueness, especially if you have a sizable number of archival objects if your database. We have definitely encountered this problem when using ref_IDs outside of the system as you describe. We were storing the ref_ids in our repository and using them to auto-generate digital objects in ASpace and link those objects to their corresponding archival object. We noticed the duplicate ref_ID problem when digital objects were being linked to archival objects in the wrong resource. ASpace does enforce uniqueness of ref_IDs within a given resource record, but not across resources. -Noah ================ Noah Huffman Archivist for Metadata, Systems, and Digital Records David M. Rubenstein Rare Book & Manuscript Library Duke University | 919-660-5982 http://library.duke.edu/rubenstein/ Pronouns: he / him / his From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Andrew Morrison Sent: Friday, March 6, 2020 6:26 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Are ASpace-created ref IDs unique? The ref ID, when not imported or migrated from another source, is generated here: https://github.com/archivesspace/archivesspace/blob/master/backend/app/model/archival_object.rb#L42 It is a 32-character hexadecimal string, therefore 16^32 permutations. Uniqueness cannot be guaranteed, but duplicates are very unlikely. Andrew. On Fri, 2020-03-06 at 01:00 +0000, Teresa Soleau wrote: All, We are considering using the component ref IDs in ASpace as a unique ID outside of the system (to link up with our digitized collections and other metadata repos). However, we're not sure that they are unique across all resources in our instance of ASpace. We found some cases where two different archival object had the same ref ID. They are of the type that migrated in from Archivist's Toolkit (example: ref118_up1) so it may be a legacy issue, but I wanted to confirm with someone who knows that the ASpace created ref IDs are going to be unique across our whole instance of ASpace. Thanks, ~Teresa Teresa Soleau Digital Preservation & Library Systems Manager Collection & Content Management Systems The J. Paul Getty Trust T (310) 440 7601 | getty.edu [../../Getty_Logo_EmailSig.png] _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group at lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 4191 bytes Desc: image001.png URL: From beth-cox at uiowa.edu Fri Mar 6 17:02:18 2020 From: beth-cox at uiowa.edu (Cox, Elizabeth J) Date: Fri, 6 Mar 2020 22:02:18 +0000 Subject: [Archivesspace_Users_Group] batch importing Agents Message-ID: Greetings! Is there a way to batch import Agents into ArchivesSpace? I am working on ingesting the metadata for a large collection into ArchivesSpace. This collection has thousands of personal and corporate names that will need to be added as well. I searched the list archives and found references to a plug-in that doesn't appear to be current. Or, if it is, I found an older link. Any help would be greatly appreciated! Beth Elizabeth J. "Beth" Cox Head, Cataloging-Metadata Department University of Iowa Libraries 5024 MAIN LIB Iowa City, IA 52242 (319) 335-6204 ORCID: 0000-0002-4251-7775 (pronouns: she, her, hers) "Never argue with a librarian; they know too much." ? Carole Nelson Douglas -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew.morrison at bodleian.ox.ac.uk Mon Mar 9 05:01:53 2020 From: andrew.morrison at bodleian.ox.ac.uk (Andrew Morrison) Date: Mon, 9 Mar 2020 09:01:53 +0000 Subject: [Archivesspace_Users_Group] batch importing Agents In-Reply-To: References: Message-ID: If you import a collection from an EAD file then any persname, famname and corpname it contains will be converted into agent records (the ones not already in the system with precisely the same spelling and source - any small differences will created duplicates) and linked to the resource and/or its child archival objects. If your collections aren't encoded in EAD, it might be worth evaluating whether doing a one-off conversion of the one with the thousands of agents to EAD would be worthwhile, because I believe any method of pre-loading a batch of agents first will then require you to link them to the collection one-by-one in the staff interface, as I do not believe there is a direct API method to do that in bulk. Also be sure to set your repository and/or global preferences to publish by default first if you want all the agents to be visible in the public user interface. And you may need to force a full re-index afterwards. Andrew. ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Cox, Elizabeth J Sent: 06 March 2020 22:02 To: 'archivesspace_users_group at lyralists.lyrasis.org' Subject: [Archivesspace_Users_Group] batch importing Agents Greetings! Is there a way to batch import Agents into ArchivesSpace? I am working on ingesting the metadata for a large collection into ArchivesSpace. This collection has thousands of personal and corporate names that will need to be added as well. I searched the list archives and found references to a plug-in that doesn?t appear to be current. Or, if it is, I found an older link. Any help would be greatly appreciated! Beth Elizabeth J. ?Beth? Cox Head, Cataloging-Metadata Department University of Iowa Libraries 5024 MAIN LIB Iowa City, IA 52242 (319) 335-6204 ORCID: 0000-0002-4251-7775 (pronouns: she, her, hers) ?Never argue with a librarian; they know too much.? ? Carole Nelson Douglas -------------- next part -------------- An HTML attachment was scrubbed... URL: From Corey.Schmidt at uga.edu Mon Mar 9 10:39:26 2020 From: Corey.Schmidt at uga.edu (Corey Schmidt) Date: Mon, 9 Mar 2020 14:39:26 +0000 Subject: [Archivesspace_Users_Group] Search Across Repositories and Get EAD XML - ArchivesSpace API Message-ID: Dear ArchivesSpace Members, Hello, my name is Corey Schmidt and I'm working as the ArchivesSpace Project Manager at the University of Georgia. I hope you all are doing well and having a good start to your week. I have two questions about how to utilize the ArchivesSpace API. First, I want to use the Search across repositories API endpoint searching with the resource identifier and take the results to get the URI for that resource. How do I structure my call to the API using the ASnake client (in python)? I have tried the following code with response 400 returned: client.get('search/repositories?type="resource"&q=ms954&all_ids=true') client.get('/search/repositories?q=ms954&type="resource"&all_ids=true') Second, I want to download an EAD xml file directly from the API using this endpoint: Get an EAD representation of a Resource XML. How do I specify where the EAD xml file saves to? I'm not even sure if it is saving anywhere on my computer. However, my requests are successful, generating a 200 response. I tried turning the response into json (using ASnake's .json()) and writing it, but I keep getting a JSONDecodeError. This is my request: request_ead = client.get('repositories/5/resource_descriptions/5734.xml?include_unpublished=false&include_daos=true&numbered_cs=true&print_pdf=false&ead3=false') Any help would be greatly appreciated! Sincerely, Corey Corey Schmidt ArchivesSpace Project Manager | University of Georgia Libraries Email: Corey.Schmidt at uga.edu Phone: +1-706-542-8151 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave_mayo at harvard.edu Mon Mar 9 12:35:33 2020 From: dave_mayo at harvard.edu (Mayo, Dave) Date: Mon, 9 Mar 2020 16:35:33 +0000 Subject: [Archivesspace_Users_Group] Search Across Repositories and Get EAD XML - ArchivesSpace API In-Reply-To: References: Message-ID: <5EBFE9BB-2071-49F9-97C5-414C5F314762@harvard.edu> Hi Corey, Splitting this into two sections ? the first is a description of what?s happening and should immediately fix your current issue, the second is some advice going forward re: using ASnake. You appear to have found a bug in the ASpace API! From what I can tell, all_ids is not actually correctly supported in ?search/repositories? ? you?ll need to use paged access until this is fixed. I'm going to file a ticket There?s also a minor issue with your query ? the type parameter actually takes an ARRAY of strings, not a single string ? in terms of how this shows up in the URL, the request should look like: search/repositories?type[]="resource"&q=ms945&page=1 And then you could change page to 2 to get the next page of results, etc. BUT, section two: advice on how to do this easily! There?s two main things: 1. Pass parameters in as an argument to the function, rather than putting them in the URL client.get('search/repositories', params={"q": "ms945", "page": 1, "type[]": 'resource', 'page': 1}) ASnake is based on requests, so you can find specific documentation of how params works in the requests documentation. Additionally, ASpace is set up to automatically handle array parameters, so you can actually do this (difference is to the type parameter): client.get('search/repositories', params={"q": "ms945", "page": 1, "type": ['resource'], 'page': 1}) 2. ASnake's client also has a function specifically to handle paged routes called get_paged - so if you can do this: for resource_json in client.get_paged('search/repositories', params={"q": "ms945", "type": ['resource']}): # do something with resource JSON Let me know if you need more help, here are some pointers to relevant docs: https://github.com/archivesspace-labs/archivessnake#low-level-api https://requests.readthedocs.io/en/master/user/quickstart/#passing-parameters-in-urls -- Dave Mayo?(he/him) Senior Digital Library Software Engineer Harvard University > HUIT > LTS From: on behalf of Corey Schmidt Reply-To: Archivesspace Users Group Date: Monday, March 9, 2020 at 10:39 AM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: [Archivesspace_Users_Group] Search Across Repositories and Get EAD XML - ArchivesSpace API Dear ArchivesSpace Members, Hello, my name is Corey Schmidt and I?m working as the ArchivesSpace Project Manager at the University of Georgia. I hope you all are doing well and having a good start to your week. I have two questions about how to utilize the ArchivesSpace API. First, I want to use the https://urldefense.proofpoint.com/v2/url?u=https-3A__archivesspace.github.io_archivesspace_api_-23search-2Dacross-2Drepositories&d=DwMFAg&c=WO-RGvefibhHBZq3fL85hQ&r=_Mv1dY22K7jvT5MD7xjbvGVzRDOUMhx4WYcnPSIzYnE&m=B2y_0wn1HLyXldJyck05IgPrsrOCn8LyjRI8q5uSbtc&s=_eqqK2s6KdcWsYV9Ke0loG2mitQ-I_nV-F9VeT24-l0&e= API endpoint searching with the resource identifier and take the results to get the URI for that resource. How do I structure my call to the API using the ASnake client (in python)? I have tried the following code with response 400 returned: ???? client.get('search/repositories?type="resource"&q=ms954&all_ids=true') ???? client.get('/search/repositories?q=ms954&type="resource"&all_ids=true') Second, I want to download an EAD xml file directly from the API using this endpoint: https://urldefense.proofpoint.com/v2/url?u=https-3A__archivesspace.github.io_archivesspace_api_-23get-2Dan-2Dead-2Drepresentation-2Dof-2Da-2Dresource&d=DwMFAg&c=WO-RGvefibhHBZq3fL85hQ&r=_Mv1dY22K7jvT5MD7xjbvGVzRDOUMhx4WYcnPSIzYnE&m=B2y_0wn1HLyXldJyck05IgPrsrOCn8LyjRI8q5uSbtc&s=xwd2j6qv-zYs8pDbLpLM23dcSeDYcPUkZSAuio8FEVQ&e= XML. How do I specify where the EAD xml file saves to? I?m not even sure if it is saving anywhere on my computer. However, my requests are successful, generating a 200 response. I tried turning the response into json (using ASnake?s .json()) and writing it, but I keep getting a JSONDecodeError. This is my request: ???? request_ead = client.get('repositories/5/resource_descriptions/5734.xml?include_unpublished=false&include_daos=true&numbered_cs=true&print_pdf=false&ead3=false') Any help would be greatly appreciated! Sincerely, Corey ? Corey Schmidt ArchivesSpace Project Manager | University of Georgia Libraries Email: mailto:Corey.Schmidt at uga.edu Phone: +1-706-542-8151 ? From dsprouse at tsl.texas.gov Mon Mar 9 12:37:53 2020 From: dsprouse at tsl.texas.gov (Daniel Sprouse) Date: Mon, 9 Mar 2020 16:37:53 +0000 Subject: [Archivesspace_Users_Group] archivesspace admin account 'System'->'manage users' and 'Repository Settings'->'manage user access' pages give error Message-ID: after migrating from 2.7.0 to 2.7.1, and from mysqld Ver 5.7.16 to mysqld Ver 8.0.16. archivesspace admin account 'System'->'manage users' and 'Repository Settings'->'manage user access' pages give error http://arisint.tsl.texas.gov:8080/users http://arisint.tsl.texas.gov:8080/users/manage_access We're sorry, but something went wrong. I have not found any other pages that give this error. attached is a tail -f of archivesspace.out while attempting to get to 'System'->'manage users' [cid:f69d055d-0cf1-4814-aad4-ac0a90aae282] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Outlook-jpxcmzzq.jpg Type: image/jpeg Size: 30834 bytes Desc: Outlook-jpxcmzzq.jpg URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: test_int_user_management_errors.txt URL: From sdm7g at virginia.edu Mon Mar 9 12:42:50 2020 From: sdm7g at virginia.edu (Majewski, Steven Dennis (sdm7g)) Date: Mon, 9 Mar 2020 16:42:50 +0000 Subject: [Archivesspace_Users_Group] Search Across Repositories and Get EAD XML - ArchivesSpace API In-Reply-To: References: Message-ID: <6DC61748-B94E-4FDC-AC00-FF5A0377B42E@virginia.edu> I would also add that if you want the EAD, it may be simpler to access it from the OAI endpoint, but only if OAI is configured properly. Try downloading a resource using oai_ead metadata from the oai/sample page, to see if it?s configured properly and what the resource URLs will look like. ? Steve M. > On Mar 9, 2020, at 10:39 AM, Corey Schmidt wrote: > > Dear ArchivesSpace Members, > > Hello, my name is Corey Schmidt and I?m working as the ArchivesSpace Project Manager at the University of Georgia. I hope you all are doing well and having a good start to your week. > > I have two questions about how to utilize the ArchivesSpace API. First, I want to use the Search across repositories API endpoint searching with the resource identifier and take the results to get the URI for that resource. How do I structure my call to the API using the ASnake client (in python)? I have tried the following code with response 400 returned: > > client.get('search/repositories?type="resource"&q=ms954&all_ids=true') > client.get('/search/repositories?q=ms954&type="resource"&all_ids=true') > > Second, I want to download an EAD xml file directly from the API using this endpoint: Get an EAD representation of a Resource XML. How do I specify where the EAD xml file saves to? I?m not even sure if it is saving anywhere on my computer. However, my requests are successful, generating a 200 response. I tried turning the response into json (using ASnake?s .json()) and writing it, but I keep getting a JSONDecodeError. This is my request: > > request_ead = client.get('repositories/5/resource_descriptions/5734.xml?include_unpublished=false&include_daos=true&numbered_cs=true&print_pdf=false&ead3=false') > > Any help would be greatly appreciated! > > Sincerely, > > Corey > > Corey Schmidt > ArchivesSpace Project Manager | University of Georgia Libraries > Email: Corey.Schmidt at uga.edu > Phone: +1-706-542-8151 > > _______________________________________________ > Archivesspace_Users_Group mailing list > Archivesspace_Users_Group at lyralists.lyrasis.org > http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3342 bytes Desc: not available URL: From dave_mayo at harvard.edu Mon Mar 9 12:46:14 2020 From: dave_mayo at harvard.edu (Mayo, Dave) Date: Mon, 9 Mar 2020 16:46:14 +0000 Subject: [Archivesspace_Users_Group] Search Across Repositories and Get EAD XML - ArchivesSpace API In-Reply-To: References: Message-ID: <02D90E1D-92A2-46BB-93B6-3089ECBCBDA9@harvard.edu> Oh, I missed the second part: So, that endpoint returns the XML directly as the body of the response in memory. The JSONDecodeError you?re getting is due to trying to decode this body as JSON, when what you actually have is XML! If you want to save it to the filesystem, you just need to write it out: response = client.get('repositories/5/resource_descriptions/5734.xml?include_unpublished=false&include_daos=true&numbered_cs=true&print_pdf=false&ead3=false') with open('myfile.xml', 'wb') as f: file.write(response.content) Keep in mind also the parameter-passing stuff from my other email, so the request there can be written as: client.get('repositories/5/resource_descriptions/5734.xml', params={'include_unpublished': False, 'include_daos': True, 'numbered_cs': True, 'print_pdf': False, 'ead3': False}) Hope this helps! -- Dave Mayo?(he/him) Senior Digital Library Software Engineer Harvard University > HUIT > LTS From: on behalf of Corey Schmidt Reply-To: Archivesspace Users Group Date: Monday, March 9, 2020 at 10:39 AM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: [Archivesspace_Users_Group] Search Across Repositories and Get EAD XML - ArchivesSpace API Dear ArchivesSpace Members, Hello, my name is Corey Schmidt and I?m working as the ArchivesSpace Project Manager at the University of Georgia. I hope you all are doing well and having a good start to your week. I have two questions about how to utilize the ArchivesSpace API. First, I want to use the https://urldefense.proofpoint.com/v2/url?u=https-3A__archivesspace.github.io_archivesspace_api_-23search-2Dacross-2Drepositories&d=DwMFAg&c=WO-RGvefibhHBZq3fL85hQ&r=_Mv1dY22K7jvT5MD7xjbvGVzRDOUMhx4WYcnPSIzYnE&m=B2y_0wn1HLyXldJyck05IgPrsrOCn8LyjRI8q5uSbtc&s=_eqqK2s6KdcWsYV9Ke0loG2mitQ-I_nV-F9VeT24-l0&e= API endpoint searching with the resource identifier and take the results to get the URI for that resource. How do I structure my call to the API using the ASnake client (in python)? I have tried the following code with response 400 returned: ???? client.get('search/repositories?type="resource"&q=ms954&all_ids=true') ???? client.get('/search/repositories?q=ms954&type="resource"&all_ids=true') Second, I want to download an EAD xml file directly from the API using this endpoint: https://urldefense.proofpoint.com/v2/url?u=https-3A__archivesspace.github.io_archivesspace_api_-23get-2Dan-2Dead-2Drepresentation-2Dof-2Da-2Dresource&d=DwMFAg&c=WO-RGvefibhHBZq3fL85hQ&r=_Mv1dY22K7jvT5MD7xjbvGVzRDOUMhx4WYcnPSIzYnE&m=B2y_0wn1HLyXldJyck05IgPrsrOCn8LyjRI8q5uSbtc&s=xwd2j6qv-zYs8pDbLpLM23dcSeDYcPUkZSAuio8FEVQ&e= XML. How do I specify where the EAD xml file saves to? I?m not even sure if it is saving anywhere on my computer. However, my requests are successful, generating a 200 response. I tried turning the response into json (using ASnake?s .json()) and writing it, but I keep getting a JSONDecodeError. This is my request: ???? request_ead = client.get('repositories/5/resource_descriptions/5734.xml?include_unpublished=false&include_daos=true&numbered_cs=true&print_pdf=false&ead3=false') Any help would be greatly appreciated! Sincerely, Corey ? Corey Schmidt ArchivesSpace Project Manager | University of Georgia Libraries Email: mailto:Corey.Schmidt at uga.edu Phone: +1-706-542-8151 ? From dsprouse at tsl.texas.gov Mon Mar 9 14:35:18 2020 From: dsprouse at tsl.texas.gov (Daniel Sprouse) Date: Mon, 9 Mar 2020 18:35:18 +0000 Subject: [Archivesspace_Users_Group] update of previous post archivesspace 'manage user access' pages give error Message-ID: new information added, and new log files attached. I am homing in on the issue here, thinking it is a java version issue, or a java version recognition issue. If anyone has seen anything like this, any guidance would be appreciated. after migrating from 2.7.0 to 2.7.1, and from mysqld Ver 5.7.16 to mysqld Ver 8.0.16, from java 1.7 to 1.8 [root at tslac4avwebtest archivesspace]# java -version openjdk version "1.8.0_232" OpenJDK Runtime Environment (build 1.8.0_232-b09) OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode) BUT... when it was working, the output on the backend webpage showed java 1.7! (I think that not seeing java 1.8 is probably the issue) backend_url http://aristest.tsl.texas.gov:8089 { "databaseProductName": "MySQL", "databaseProductVersion": "8.0.16", "ruby_version": "2.3.0", "host_os": "linux", "host_cpu": "x86_64", "build": "java1.7", "archivesSpaceVersion": "v2.7.1" } ------------------------------------- Archivesspace started normally several times on Friday, but I got errors when I went to user management pages. archivesspace admin account 'System'->'manage users' and 'Repository Settings'->'manage user access' pages give error http://arisint.tsl.texas.gov:8080/users http://arisint.tsl.texas.gov:8080/users/manage_access "We're sorry, but something went wrong." I have not found any other pages that give this error. attached is a tail -f of archivesspace.out while attempting to get to 'System'->'manage users' and a diagnostic spawned by archivesspace, aspace_diagnostic_1583775751.txt [cid:f31f7ef0-8e07-4602-9acc-c50afd47b573] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Outlook-njyvgs0g.jpg Type: image/jpeg Size: 30834 bytes Desc: Outlook-njyvgs0g.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: archivesspace.out Type: application/octet-stream Size: 2840519 bytes Desc: archivesspace.out URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: aspace_diagnostic_1583775751.txt URL: From blake.carver at lyrasis.org Mon Mar 9 14:48:59 2020 From: blake.carver at lyrasis.org (Blake Carver) Date: Mon, 9 Mar 2020 18:48:59 +0000 Subject: [Archivesspace_Users_Group] update of previous post archivesspace 'manage user access' pages give error In-Reply-To: References: Message-ID: It's probably a problem brought on by the change of time this week. Try this: MySQL [archivesspace]> select * from auth_db; +------+------------------+---------------------+---------------------+--------------------------------------------------------------+ | id | username | create_time | system_mtime | pwhash | +------+------------------+---------------------+---------------------+--------------------------------------------------------------+ | 1 | admin | 2016-03-09 07:10:13 | 2016-03-09 07:10:13 | $2a$10$Gp0oqAuyVXmG/M1s7XDcTuz8.6aTRooPxbf.AWNUuhxNvzsjTa7om | | 2 | search_indexer | 2016-03-09 07:10:14 | 2019-10-05 08:33:40 | $2a$10$WEoh7JjTOFZ.m.ih9sbxPOHomfcReIBlnAoRQceAbwWFK0DuyC8Tm | Take a look atsearch_indexer and the 2 times. The system_time is probably the one with the bad hour. You can just update that the current time and that should do it. So something like update auth_db set system_mtime = NOW()where username = search_indexer. ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Daniel Sprouse Sent: Monday, March 9, 2020 2:35 PM To: Archivesspace Users Group Subject: [Archivesspace_Users_Group] update of previous post archivesspace 'manage user access' pages give error new information added, and new log files attached. I am homing in on the issue here, thinking it is a java version issue, or a java version recognition issue. If anyone has seen anything like this, any guidance would be appreciated. after migrating from 2.7.0 to 2.7.1, and from mysqld Ver 5.7.16 to mysqld Ver 8.0.16, from java 1.7 to 1.8 [root at tslac4avwebtest archivesspace]# java -version openjdk version "1.8.0_232" OpenJDK Runtime Environment (build 1.8.0_232-b09) OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode) BUT... when it was working, the output on the backend webpage showed java 1.7! (I think that not seeing java 1.8 is probably the issue) backend_url http://aristest.tsl.texas.gov:8089 { "databaseProductName": "MySQL", "databaseProductVersion": "8.0.16", "ruby_version": "2.3.0", "host_os": "linux", "host_cpu": "x86_64", "build": "java1.7", "archivesSpaceVersion": "v2.7.1" } ------------------------------------- Archivesspace started normally several times on Friday, but I got errors when I went to user management pages. archivesspace admin account 'System'->'manage users' and 'Repository Settings'->'manage user access' pages give error http://arisint.tsl.texas.gov:8080/users http://arisint.tsl.texas.gov:8080/users/manage_access "We're sorry, but something went wrong." I have not found any other pages that give this error. attached is a tail -f of archivesspace.out while attempting to get to 'System'->'manage users' and a diagnostic spawned by archivesspace, aspace_diagnostic_1583775751.txt [cid:f31f7ef0-8e07-4602-9acc-c50afd47b573] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Outlook-njyvgs0g.jpg Type: image/jpeg Size: 30834 bytes Desc: Outlook-njyvgs0g.jpg URL: From Corey.Schmidt at uga.edu Tue Mar 10 08:28:56 2020 From: Corey.Schmidt at uga.edu (Corey Schmidt) Date: Tue, 10 Mar 2020 12:28:56 +0000 Subject: [Archivesspace_Users_Group] Search Across Repositories and Get EAD XML - ArchivesSpace API In-Reply-To: <02D90E1D-92A2-46BB-93B6-3089ECBCBDA9@harvard.edu> References: <02D90E1D-92A2-46BB-93B6-3089ECBCBDA9@harvard.edu> Message-ID: This is all great! I've adjusted my search query to use parameters you recommended and I'm getting a response back. Though my searches are not generating any results. I've tried searching for collection titles and random words, but nothing comes back in the results value. Would you have any recommendations? client.get('search/repositories', params={"q": "Freeman collection", "page": 1, "type": ['resource']}) I've also adjusted my EAD xml endpoint call and saving the file as you recommended and it's working like a charm. It's interesting to note that in previous exports, the barcodes to containers were being attached to the "label" attribute for the container tag (label="Mixed Materials [5168852364844]"). Yet, these exports are generating the "physloc" element with the barcode as the value. This works for us, I just thought it was odd. -----Original Message----- From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Mayo, Dave Sent: Monday, March 9, 2020 12:46 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Search Across Repositories and Get EAD XML - ArchivesSpace API [EXTERNAL SENDER - PROCEED CAUTIOUSLY] Oh, I missed the second part: So, that endpoint returns the XML directly as the body of the response in memory. The JSONDecodeError you?re getting is due to trying to decode this body as JSON, when what you actually have is XML! If you want to save it to the filesystem, you just need to write it out: response = client.get('repositories/5/resource_descriptions/5734.xml?include_unpublished=false&include_daos=true&numbered_cs=true&print_pdf=false&ead3=false') with open('myfile.xml', 'wb') as f: file.write(response.content) Keep in mind also the parameter-passing stuff from my other email, so the request there can be written as: client.get('repositories/5/resource_descriptions/5734.xml', params={'include_unpublished': False, 'include_daos': True, 'numbered_cs': True, 'print_pdf': False, 'ead3': False}) Hope this helps! -- Dave Mayo (he/him) Senior Digital Library Software Engineer Harvard University > HUIT > LTS From: on behalf of Corey Schmidt Reply-To: Archivesspace Users Group Date: Monday, March 9, 2020 at 10:39 AM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: [Archivesspace_Users_Group] Search Across Repositories and Get EAD XML - ArchivesSpace API Dear ArchivesSpace Members, Hello, my name is Corey Schmidt and I?m working as the ArchivesSpace Project Manager at the University of Georgia. I hope you all are doing well and having a good start to your week. I have two questions about how to utilize the ArchivesSpace API. First, I want to use the https://urldefense.proofpoint.com/v2/url?u=https-3A__archivesspace.github.io_archivesspace_api_-23search-2Dacross-2Drepositories&d=DwMFAg&c=WO-RGvefibhHBZq3fL85hQ&r=_Mv1dY22K7jvT5MD7xjbvGVzRDOUMhx4WYcnPSIzYnE&m=B2y_0wn1HLyXldJyck05IgPrsrOCn8LyjRI8q5uSbtc&s=_eqqK2s6KdcWsYV9Ke0loG2mitQ-I_nV-F9VeT24-l0&e= API endpoint searching with the resource identifier and take the results to get the URI for that resource. How do I structure my call to the API using the ASnake client (in python)? I have tried the following code with response 400 returned: client.get('search/repositories?type="resource"&q=ms954&all_ids=true') client.get('/search/repositories?q=ms954&type="resource"&all_ids=true') Second, I want to download an EAD xml file directly from the API using this endpoint: https://urldefense.proofpoint.com/v2/url?u=https-3A__archivesspace.github.io_archivesspace_api_-23get-2Dan-2Dead-2Drepresentation-2Dof-2Da-2Dresource&d=DwMFAg&c=WO-RGvefibhHBZq3fL85hQ&r=_Mv1dY22K7jvT5MD7xjbvGVzRDOUMhx4WYcnPSIzYnE&m=B2y_0wn1HLyXldJyck05IgPrsrOCn8LyjRI8q5uSbtc&s=xwd2j6qv-zYs8pDbLpLM23dcSeDYcPUkZSAuio8FEVQ&e= XML. How do I specify where the EAD xml file saves to? I?m not even sure if it is saving anywhere on my computer. However, my requests are successful, generating a 200 response. I tried turning the response into json (using ASnake?s .json()) and writing it, but I keep getting a JSONDecodeError. This is my request: request_ead = client.get('repositories/5/resource_descriptions/5734.xml?include_unpublished=false&include_daos=true&numbered_cs=true&print_pdf=false&ead3=false') Any help would be greatly appreciated! Sincerely, Corey Corey Schmidt ArchivesSpace Project Manager | University of Georgia Libraries Email: mailto:Corey.Schmidt at uga.edu Phone: +1-706-542-8151 _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group at lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group From Corey.Schmidt at uga.edu Tue Mar 10 08:29:09 2020 From: Corey.Schmidt at uga.edu (Corey Schmidt) Date: Tue, 10 Mar 2020 12:29:09 +0000 Subject: [Archivesspace_Users_Group] Search Across Repositories and Get EAD XML - ArchivesSpace API In-Reply-To: <6DC61748-B94E-4FDC-AC00-FF5A0377B42E@virginia.edu> References: <6DC61748-B94E-4FDC-AC00-FF5A0377B42E@virginia.edu> Message-ID: We will have to set up our OAI configuration, but haven?t looked into that process yet. I will keep this in mind moving forward. Thanks! From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Majewski, Steven Dennis (sdm7g) Sent: Monday, March 9, 2020 12:43 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Search Across Repositories and Get EAD XML - ArchivesSpace API [EXTERNAL SENDER - PROCEED CAUTIOUSLY] I would also add that if you want the EAD, it may be simpler to access it from the OAI endpoint, but only if OAI is configured properly. Try downloading a resource using oai_ead metadata from the oai/sample page, to see if it?s configured properly and what the resource URLs will look like. ? Steve M. On Mar 9, 2020, at 10:39 AM, Corey Schmidt > wrote: Dear ArchivesSpace Members, Hello, my name is Corey Schmidt and I?m working as the ArchivesSpace Project Manager at the University of Georgia. I hope you all are doing well and having a good start to your week. I have two questions about how to utilize the ArchivesSpace API. First, I want to use the Search across repositories API endpoint searching with the resource identifier and take the results to get the URI for that resource. How do I structure my call to the API using the ASnake client (in python)? I have tried the following code with response 400 returned: client.get('search/repositories?type="resource"&q=ms954&all_ids=true') client.get('/search/repositories?q=ms954&type="resource"&all_ids=true') Second, I want to download an EAD xml file directly from the API using this endpoint: Get an EAD representation of a ResourceXML. How do I specify where the EAD xml file saves to? I?m not even sure if it is saving anywhere on my computer. However, my requests are successful, generating a 200 response. I tried turning the response into json (using ASnake?s .json()) and writing it, but I keep getting a JSONDecodeError. This is my request: request_ead = client.get('repositories/5/resource_descriptions/5734.xml?include_unpublished=false&include_daos=true&numbered_cs=true&print_pdf=false&ead3=false') Any help would be greatly appreciated! Sincerely, Corey Corey Schmidt ArchivesSpace Project Manager | University of Georgia Libraries Email: Corey.Schmidt at uga.edu Phone: +1-706-542-8151 _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group at lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave_mayo at harvard.edu Tue Mar 10 09:24:19 2020 From: dave_mayo at harvard.edu (Mayo, Dave) Date: Tue, 10 Mar 2020 13:24:19 +0000 Subject: [Archivesspace_Users_Group] Search Across Repositories and Get EAD XML - ArchivesSpace API In-Reply-To: References: <02D90E1D-92A2-46BB-93B6-3089ECBCBDA9@harvard.edu> Message-ID: So, (and sorry I didn't catch this before, I was focused on the narrower issues), I think your problem there is actually that you're using the wrong endpoint. When the docs say "Search across repositories," they don't mean "Search for arbitrary records across all repositories," they mean "Search across all records of TYPE "repository" - so you're getting back nothing because there are no resources that are also repositories ( The actual "search for arbitrary things everywhere" URL is just "/search" - I think if you use that, you ought to get some results. -- Dave Mayo (he/him) Senior Digital Library Software Engineer Harvard University > HUIT > LTS ?On 3/10/20, 8:29 AM, "archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Corey Schmidt" wrote: This is all great! I've adjusted my search query to use parameters you recommended and I'm getting a response back. Though my searches are not generating any results. I've tried searching for collection titles and random words, but nothing comes back in the results value. Would you have any recommendations? client.get('search/repositories', params={"q": "Freeman collection", "page": 1, "type": ['resource']}) I've also adjusted my EAD xml endpoint call and saving the file as you recommended and it's working like a charm. It's interesting to note that in previous exports, the barcodes to containers were being attached to the "label" attribute for the container tag (label="Mixed Materials [5168852364844]"). Yet, these exports are generating the "physloc" element with the barcode as the value. This works for us, I just thought it was odd. -----Original Message----- From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Mayo, Dave Sent: Monday, March 9, 2020 12:46 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Search Across Repositories and Get EAD XML - ArchivesSpace API [EXTERNAL SENDER - PROCEED CAUTIOUSLY] Oh, I missed the second part: So, that endpoint returns the XML directly as the body of the response in memory. The JSONDecodeError you?re getting is due to trying to decode this body as JSON, when what you actually have is XML! If you want to save it to the filesystem, you just need to write it out: response = client.get('repositories/5/resource_descriptions/5734.xml?include_unpublished=false&include_daos=true&numbered_cs=true&print_pdf=false&ead3=false') with open('myfile.xml', 'wb') as f: file.write(response.content) Keep in mind also the parameter-passing stuff from my other email, so the request there can be written as: client.get('repositories/5/resource_descriptions/5734.xml', params={'include_unpublished': False, 'include_daos': True, 'numbered_cs': True, 'print_pdf': False, 'ead3': False}) Hope this helps! -- Dave Mayo (he/him) Senior Digital Library Software Engineer Harvard University > HUIT > LTS From: on behalf of Corey Schmidt Reply-To: Archivesspace Users Group Date: Monday, March 9, 2020 at 10:39 AM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: [Archivesspace_Users_Group] Search Across Repositories and Get EAD XML - ArchivesSpace API Dear ArchivesSpace Members, Hello, my name is Corey Schmidt and I?m working as the ArchivesSpace Project Manager at the University of Georgia. I hope you all are doing well and having a good start to your week. I have two questions about how to utilize the ArchivesSpace API. First, I want to use the https://urldefense.proofpoint.com/v2/url?u=https-3A__archivesspace.github.io_archivesspace_api_-23search-2Dacross-2Drepositories&d=DwMFAg&c=WO-RGvefibhHBZq3fL85hQ&r=_Mv1dY22K7jvT5MD7xjbvGVzRDOUMhx4WYcnPSIzYnE&m=B2y_0wn1HLyXldJyck05IgPrsrOCn8LyjRI8q5uSbtc&s=_eqqK2s6KdcWsYV9Ke0loG2mitQ-I_nV-F9VeT24-l0&e= API endpoint searching with the resource identifier and take the results to get the URI for that resource. How do I structure my call to the API using the ASnake client (in python)? I have tried the following code with response 400 returned: client.get('search/repositories?type="resource"&q=ms954&all_ids=true') client.get('/search/repositories?q=ms954&type="resource"&all_ids=true') Second, I want to download an EAD xml file directly from the API using this endpoint: https://urldefense.proofpoint.com/v2/url?u=https-3A__archivesspace.github.io_archivesspace_api_-23get-2Dan-2Dead-2Drepresentation-2Dof-2Da-2Dresource&d=DwMFAg&c=WO-RGvefibhHBZq3fL85hQ&r=_Mv1dY22K7jvT5MD7xjbvGVzRDOUMhx4WYcnPSIzYnE&m=B2y_0wn1HLyXldJyck05IgPrsrOCn8LyjRI8q5uSbtc&s=xwd2j6qv-zYs8pDbLpLM23dcSeDYcPUkZSAuio8FEVQ&e= XML. How do I specify where the EAD xml file saves to? I?m not even sure if it is saving anywhere on my computer. However, my requests are successful, generating a 200 response. I tried turning the response into json (using ASnake?s .json()) and writing it, but I keep getting a JSONDecodeError. This is my request: request_ead = client.get('repositories/5/resource_descriptions/5734.xml?include_unpublished=false&include_daos=true&numbered_cs=true&print_pdf=false&ead3=false') Any help would be greatly appreciated! Sincerely, Corey Corey Schmidt ArchivesSpace Project Manager | University of Georgia Libraries Email: mailto:Corey.Schmidt at uga.edu Phone: +1-706-542-8151 _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group at lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group at lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group From ahueb2 at uis.edu Tue Mar 10 09:48:55 2020 From: ahueb2 at uis.edu (Huebschen, Alan M) Date: Tue, 10 Mar 2020 13:48:55 +0000 Subject: [Archivesspace_Users_Group] [EXTERNAL] Re: update of previous post archivesspace 'manage user access' pages give error In-Reply-To: References: , Message-ID: <1583848134806.19777@uis.edu> Might there be some way of preventing indexing Sunday mornings or switching the time ran from 2am to 1 or 3am? It looks like solr indexing is behind this issue and this is the second DST switch that I've had to go into the db and switch a time entry manually. I don't know much about solr or how it gets scheduled with an ASpace internal solr instance. I was looking at some of the solr docs and it looks like there is an xml file for some solr settings but I wasn't able to locate one within ASpace's file structure. -Alan Huebschen University of Illinois at Springfield Brookens Library Information Systems ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Blake Carver Sent: Monday, March 9, 2020 1:48 PM To: Archivesspace Users Group Subject: [EXTERNAL] Re: [Archivesspace_Users_Group] update of previous post archivesspace 'manage user access' pages give error It's probably a problem brought on by the change of time this week. Try this: MySQL [archivesspace]> select * from auth_db; +------+------------------+---------------------+---------------------+--------------------------------------------------------------+ | id | username | create_time | system_mtime | pwhash | +------+------------------+---------------------+---------------------+--------------------------------------------------------------+ | 1 | admin | 2016-03-09 07:10:13 | 2016-03-09 07:10:13 | $2a$10$Gp0oqAuyVXmG/M1s7XDcTuz8.6aTRooPxbf.AWNUuhxNvzsjTa7om | | 2 | search_indexer | 2016-03-09 07:10:14 | 2019-10-05 08:33:40 | $2a$10$WEoh7JjTOFZ.m.ih9sbxPOHomfcReIBlnAoRQceAbwWFK0DuyC8Tm | Take a look atsearch_indexer and the 2 times. The system_time is probably the one with the bad hour. You can just update that the current time and that should do it. So something like update auth_db set system_mtime = NOW()where username = search_indexer. ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Daniel Sprouse Sent: Monday, March 9, 2020 2:35 PM To: Archivesspace Users Group Subject: [Archivesspace_Users_Group] update of previous post archivesspace 'manage user access' pages give error new information added, and new log files attached. I am homing in on the issue here, thinking it is a java version issue, or a java version recognition issue. If anyone has seen anything like this, any guidance would be appreciated. after migrating from 2.7.0 to 2.7.1, and from mysqld Ver 5.7.16 to mysqld Ver 8.0.16, from java 1.7 to 1.8 [root at tslac4avwebtest archivesspace]# java -version openjdk version "1.8.0_232" OpenJDK Runtime Environment (build 1.8.0_232-b09) OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode) BUT... when it was working, the output on the backend webpage showed java 1.7! (I think that not seeing java 1.8 is probably the issue) backend_url http://aristest.tsl.texas.gov:8089 { "databaseProductName": "MySQL", "databaseProductVersion": "8.0.16", "ruby_version": "2.3.0", "host_os": "linux", "host_cpu": "x86_64", "build": "java1.7", "archivesSpaceVersion": "v2.7.1" } ------------------------------------- Archivesspace started normally several times on Friday, but I got errors when I went to user management pages. archivesspace admin account 'System'->'manage users' and 'Repository Settings'->'manage user access' pages give error http://arisint.tsl.texas.gov:8080/users http://arisint.tsl.texas.gov:8080/users/manage_access "We're sorry, but something went wrong." I have not found any other pages that give this error. attached is a tail -f of archivesspace.out while attempting to get to 'System'->'manage users' and a diagnostic spawned by archivesspace, aspace_diagnostic_1583775751.txt [cid:f31f7ef0-8e07-4602-9acc-c50afd47b573] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Outlook-njyvgs0g.jpg Type: image/jpeg Size: 30834 bytes Desc: Outlook-njyvgs0g.jpg URL: From Corey.Schmidt at uga.edu Tue Mar 10 10:20:22 2020 From: Corey.Schmidt at uga.edu (Corey Schmidt) Date: Tue, 10 Mar 2020 14:20:22 +0000 Subject: [Archivesspace_Users_Group] Search Across Repositories and Get EAD XML - ArchivesSpace API In-Reply-To: References: <02D90E1D-92A2-46BB-93B6-3089ECBCBDA9@harvard.edu> Message-ID: You're absolutely correct. I changed my endpoint and it's working wonderfully. Thank you so much! -----Original Message----- From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Mayo, Dave Sent: Tuesday, March 10, 2020 9:24 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Search Across Repositories and Get EAD XML - ArchivesSpace API [EXTERNAL SENDER - PROCEED CAUTIOUSLY] So, (and sorry I didn't catch this before, I was focused on the narrower issues), I think your problem there is actually that you're using the wrong endpoint. When the docs say "Search across repositories," they don't mean "Search for arbitrary records across all repositories," they mean "Search across all records of TYPE "repository" - so you're getting back nothing because there are no resources that are also repositories ( The actual "search for arbitrary things everywhere" URL is just "/search" - I think if you use that, you ought to get some results. -- Dave Mayo (he/him) Senior Digital Library Software Engineer Harvard University > HUIT > LTS ?On 3/10/20, 8:29 AM, "archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Corey Schmidt" wrote: This is all great! I've adjusted my search query to use parameters you recommended and I'm getting a response back. Though my searches are not generating any results. I've tried searching for collection titles and random words, but nothing comes back in the results value. Would you have any recommendations? client.get('search/repositories', params={"q": "Freeman collection", "page": 1, "type": ['resource']}) I've also adjusted my EAD xml endpoint call and saving the file as you recommended and it's working like a charm. It's interesting to note that in previous exports, the barcodes to containers were being attached to the "label" attribute for the container tag (label="Mixed Materials [5168852364844]"). Yet, these exports are generating the "physloc" element with the barcode as the value. This works for us, I just thought it was odd. -----Original Message----- From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Mayo, Dave Sent: Monday, March 9, 2020 12:46 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Search Across Repositories and Get EAD XML - ArchivesSpace API [EXTERNAL SENDER - PROCEED CAUTIOUSLY] Oh, I missed the second part: So, that endpoint returns the XML directly as the body of the response in memory. The JSONDecodeError you?re getting is due to trying to decode this body as JSON, when what you actually have is XML! If you want to save it to the filesystem, you just need to write it out: response = client.get('repositories/5/resource_descriptions/5734.xml?include_unpublished=false&include_daos=true&numbered_cs=true&print_pdf=false&ead3=false') with open('myfile.xml', 'wb') as f: file.write(response.content) Keep in mind also the parameter-passing stuff from my other email, so the request there can be written as: client.get('repositories/5/resource_descriptions/5734.xml', params={'include_unpublished': False, 'include_daos': True, 'numbered_cs': True, 'print_pdf': False, 'ead3': False}) Hope this helps! -- Dave Mayo (he/him) Senior Digital Library Software Engineer Harvard University > HUIT > LTS From: on behalf of Corey Schmidt Reply-To: Archivesspace Users Group Date: Monday, March 9, 2020 at 10:39 AM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: [Archivesspace_Users_Group] Search Across Repositories and Get EAD XML - ArchivesSpace API Dear ArchivesSpace Members, Hello, my name is Corey Schmidt and I?m working as the ArchivesSpace Project Manager at the University of Georgia. I hope you all are doing well and having a good start to your week. I have two questions about how to utilize the ArchivesSpace API. First, I want to use the https://urldefense.proofpoint.com/v2/url?u=https-3A__archivesspace.github.io_archivesspace_api_-23search-2Dacross-2Drepositories&d=DwMFAg&c=WO-RGvefibhHBZq3fL85hQ&r=_Mv1dY22K7jvT5MD7xjbvGVzRDOUMhx4WYcnPSIzYnE&m=B2y_0wn1HLyXldJyck05IgPrsrOCn8LyjRI8q5uSbtc&s=_eqqK2s6KdcWsYV9Ke0loG2mitQ-I_nV-F9VeT24-l0&e= API endpoint searching with the resource identifier and take the results to get the URI for that resource. How do I structure my call to the API using the ASnake client (in python)? I have tried the following code with response 400 returned: client.get('search/repositories?type="resource"&q=ms954&all_ids=true') client.get('/search/repositories?q=ms954&type="resource"&all_ids=true') Second, I want to download an EAD xml file directly from the API using this endpoint: https://urldefense.proofpoint.com/v2/url?u=https-3A__archivesspace.github.io_archivesspace_api_-23get-2Dan-2Dead-2Drepresentation-2Dof-2Da-2Dresource&d=DwMFAg&c=WO-RGvefibhHBZq3fL85hQ&r=_Mv1dY22K7jvT5MD7xjbvGVzRDOUMhx4WYcnPSIzYnE&m=B2y_0wn1HLyXldJyck05IgPrsrOCn8LyjRI8q5uSbtc&s=xwd2j6qv-zYs8pDbLpLM23dcSeDYcPUkZSAuio8FEVQ&e= XML. How do I specify where the EAD xml file saves to? I?m not even sure if it is saving anywhere on my computer. However, my requests are successful, generating a 200 response. I tried turning the response into json (using ASnake?s .json()) and writing it, but I keep getting a JSONDecodeError. This is my request: request_ead = client.get('repositories/5/resource_descriptions/5734.xml?include_unpublished=false&include_daos=true&numbered_cs=true&print_pdf=false&ead3=false') Any help would be greatly appreciated! Sincerely, Corey Corey Schmidt ArchivesSpace Project Manager | University of Georgia Libraries Email: mailto:Corey.Schmidt at uga.edu Phone: +1-706-542-8151 _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group at lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group at lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group at lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group From mmcderm2 at bowdoin.edu Tue Mar 10 12:02:59 2020 From: mmcderm2 at bowdoin.edu (Mike McDermott) Date: Tue, 10 Mar 2020 16:02:59 +0000 Subject: [Archivesspace_Users_Group] archivesspace admin account 'System'->'manage users' and 'Repository Settings'->'manage user access' pages give error In-Reply-To: References: Message-ID: Greetings... We began noticing issues with our ArchivesSpace installations yesterday. (version 2.6.0) The significant error in log seems to be: Java::JavaSql::SQLException: HOUR_OF_DAY: 2 -> 3 I notice this error coming up in your log output as well... I'm thinking this is related to the Daylight Saving Time change? Is anyone else having problems since that change? We're on Red Hat 7 - I've updated to the newest available versions of java and the oracle java mysql connector. Mike McDermott Bowdoin College Library From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Daniel Sprouse Sent: Monday, March 9, 2020 12:38 PM To: Archivesspace Users Group Subject: [Archivesspace_Users_Group] archivesspace admin account 'System'->'manage users' and 'Repository Settings'->'manage user access' pages give error after migrating from 2.7.0 to 2.7.1, and from mysqld Ver 5.7.16 to mysqld Ver 8.0.16. archivesspace admin account 'System'->'manage users' and 'Repository Settings'->'manage user access' pages give error http://arisint.tsl.texas.gov:8080/users http://arisint.tsl.texas.gov:8080/users/manage_access We're sorry, but something went wrong. I have not found any other pages that give this error. attached is a tail -f of archivesspace.out while attempting to get to 'System'->'manage users' [cid:image001.jpg at 01D5F6D2.3AE30820] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 30834 bytes Desc: image001.jpg URL: From ahueb2 at uis.edu Tue Mar 10 12:13:09 2020 From: ahueb2 at uis.edu (Huebschen, Alan M) Date: Tue, 10 Mar 2020 16:13:09 +0000 Subject: [Archivesspace_Users_Group] [EXTERNAL] Re: archivesspace admin account 'System'->'manage users' and 'Repository Settings'->'manage user access' pages give error In-Reply-To: References: , Message-ID: <1583856789597.51906@uis.edu> Hi Mike, This is an issue I faced during last year's DST switch and yesterday someone also ran into it here on the listserv. Blake had a well laid out response so I'll paste it below. If anyone knows how to change the time indexing runs to 1am or 3am I think that would prevent this issue in the future as DST time change is at 2am. >From Blake: "It's probably a problem brought on by the change of time this week. Try this: MySQL [archivesspace]> select * from auth_db; +------+------------------+---------------------+---------------------+--------------------------------------------------------------+ | id | username | create_time | system_mtime | pwhash | +------+------------------+---------------------+---------------------+--------------------------------------------------------------+ | 1 | admin | 2016-03-09 07:10:13 | 2016-03-09 07:10:13 | $2a$10$Gp0oqAuyVXmG/M1s7XDcTuz8.6aTRooPxbf.AWNUuhxNvzsjTa7om | | 2 | search_indexer | 2016-03-09 07:10:14 | 2019-10-05 08:33:40 | $2a$10$WEoh7JjTOFZ.m.ih9sbxPOHomfcReIBlnAoRQceAbwWFK0DuyC8Tm | Take a look atsearch_indexer and the 2 times. The system_time is probably the one with the bad hour. You can just update that the current time and that should do it. So something like update auth_db set system_mtime = NOW()where username = search_indexer. " -Alan Huebschen University of Illinois at Springfield Brookens Library Information Systems ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Mike McDermott Sent: Tuesday, March 10, 2020 11:02 AM To: Archivesspace Users Group Subject: [EXTERNAL] Re: [Archivesspace_Users_Group] archivesspace admin account 'System'->'manage users' and 'Repository Settings'->'manage user access' pages give error Greetings... We began noticing issues with our ArchivesSpace installations yesterday. (version 2.6.0) The significant error in log seems to be: Java::JavaSql::SQLException: HOUR_OF_DAY: 2 -> 3 I notice this error coming up in your log output as well... I'm thinking this is related to the Daylight Saving Time change? Is anyone else having problems since that change? We're on Red Hat 7 - I've updated to the newest available versions of java and the oracle java mysql connector. Mike McDermott Bowdoin College Library From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Daniel Sprouse Sent: Monday, March 9, 2020 12:38 PM To: Archivesspace Users Group Subject: [Archivesspace_Users_Group] archivesspace admin account 'System'->'manage users' and 'Repository Settings'->'manage user access' pages give error after migrating from 2.7.0 to 2.7.1, and from mysqld Ver 5.7.16 to mysqld Ver 8.0.16. archivesspace admin account 'System'->'manage users' and 'Repository Settings'->'manage user access' pages give error http://arisint.tsl.texas.gov:8080/users http://arisint.tsl.texas.gov:8080/users/manage_access We're sorry, but something went wrong. I have not found any other pages that give this error. attached is a tail -f of archivesspace.out while attempting to get to 'System'->'manage users' [cid:image001.jpg at 01D5F6D2.3AE30820] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 30834 bytes Desc: image001.jpg URL: From ndroark at anderson.edu Tue Mar 10 12:48:03 2020 From: ndroark at anderson.edu (Nic Stanton-Roark) Date: Tue, 10 Mar 2020 12:48:03 -0400 Subject: [Archivesspace_Users_Group] Forcing External Document links to open in new tab Message-ID: Hey all, Is there a way to do this within the staff interface? All of my attempts just break the link. Thanks. *Nicholas Stanton-Roark* | Archivist | Robert A. Nicholson University Library Anderson University | 1100 E. Fifth St, Anderson, IN 46012 (765) 641-4285 <%28765%29%20641%204285> | ndroark at anderson.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmcderm2 at bowdoin.edu Tue Mar 10 13:51:01 2020 From: mmcderm2 at bowdoin.edu (Mike McDermott) Date: Tue, 10 Mar 2020 17:51:01 +0000 Subject: [Archivesspace_Users_Group] update of previous post archivesspace 'manage user access' pages give error In-Reply-To: References: Message-ID: Thanks for the help... This makes sense for the Daniel's case - where his error was: Thread-10706: Error communicating with authentication source DBAuth: Java::JavaSql::SQLException: HOUR_OF_DAY: 2 -> 3 So the date glitch is probably in the auth_db table. I checked my auth_db table and didn't see any problematic dates. My error in more context is: Mar 10, 2020 1:01:52 PM org.eclipse.jetty.server.handler.ContextHandler$Context log INFO: An exception happened during JRuby-Rack startup Java::JavaSql::SQLException: HOUR_OF_DAY: 2 -> 3 Any thoughts on how I figure out where my glitchy dates might be stored? Thanks for any ideas... Mike From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Blake Carver Sent: Monday, March 9, 2020 2:49 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] update of previous post archivesspace 'manage user access' pages give error It's probably a problem brought on by the change of time this week. Try this: MySQL [archivesspace]> select * from auth_db; +------+------------------+---------------------+---------------------+--------------------------------------------------------------+ | id | username | create_time | system_mtime | pwhash | +------+------------------+---------------------+---------------------+--------------------------------------------------------------+ | 1 | admin | 2016-03-09 07:10:13 | 2016-03-09 07:10:13 | $2a$10$Gp0oqAuyVXmG/M1s7XDcTuz8.6aTRooPxbf.AWNUuhxNvzsjTa7om | | 2 | search_indexer | 2016-03-09 07:10:14 | 2019-10-05 08:33:40 | $2a$10$WEoh7JjTOFZ.m.ih9sbxPOHomfcReIBlnAoRQceAbwWFK0DuyC8Tm | Take a look atsearch_indexer and the 2 times. The system_time is probably the one with the bad hour. You can just update that the current time and that should do it. So something like update auth_db set system_mtime = NOW()where username = search_indexer. ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Daniel Sprouse > Sent: Monday, March 9, 2020 2:35 PM To: Archivesspace Users Group > Subject: [Archivesspace_Users_Group] update of previous post archivesspace 'manage user access' pages give error new information added, and new log files attached. I am homing in on the issue here, thinking it is a java version issue, or a java version recognition issue. If anyone has seen anything like this, any guidance would be appreciated. after migrating from 2.7.0 to 2.7.1, and from mysqld Ver 5.7.16 to mysqld Ver 8.0.16, from java 1.7 to 1.8 [root at tslac4avwebtest archivesspace]# java -version openjdk version "1.8.0_232" OpenJDK Runtime Environment (build 1.8.0_232-b09) OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode) BUT... when it was working, the output on the backend webpage showed java 1.7! (I think that not seeing java 1.8 is probably the issue) backend_url http://aristest.tsl.texas.gov:8089 { "databaseProductName": "MySQL", "databaseProductVersion": "8.0.16", "ruby_version": "2.3.0", "host_os": "linux", "host_cpu": "x86_64", "build": "java1.7", "archivesSpaceVersion": "v2.7.1" } ------------------------------------- Archivesspace started normally several times on Friday, but I got errors when I went to user management pages. archivesspace admin account 'System'->'manage users' and 'Repository Settings'->'manage user access' pages give error http://arisint.tsl.texas.gov:8080/users http://arisint.tsl.texas.gov:8080/users/manage_access "We're sorry, but something went wrong." I have not found any other pages that give this error. attached is a tail -f of archivesspace.out while attempting to get to 'System'->'manage users' and a diagnostic spawned by archivesspace, aspace_diagnostic_1583775751.txt [cid:image001.jpg at 01D5F6DA.C9958360] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 30834 bytes Desc: image001.jpg URL: From ahueb2 at uis.edu Tue Mar 10 14:03:46 2020 From: ahueb2 at uis.edu (Huebschen, Alan M) Date: Tue, 10 Mar 2020 18:03:46 +0000 Subject: [Archivesspace_Users_Group] [EXTERNAL] Re: update of previous post archivesspace 'manage user access' pages give error In-Reply-To: References: , Message-ID: <1583863426367.30581@uis.edu> There could be an entry in the hour that never happened within the user table as well. -Alan ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Mike McDermott Sent: Tuesday, March 10, 2020 12:51 PM To: Archivesspace Users Group Subject: [EXTERNAL] Re: [Archivesspace_Users_Group] update of previous post archivesspace 'manage user access' pages give error Thanks for the help? This makes sense for the Daniel?s case ? where his error was: Thread-10706: Error communicating with authentication source DBAuth: Java::JavaSql::SQLException: HOUR_OF_DAY: 2 -> 3 So the date glitch is probably in the auth_db table. I checked my auth_db table and didn?t see any problematic dates. My error in more context is: Mar 10, 2020 1:01:52 PM org.eclipse.jetty.server.handler.ContextHandler$Context log INFO: An exception happened during JRuby-Rack startup Java::JavaSql::SQLException: HOUR_OF_DAY: 2 -> 3 Any thoughts on how I figure out where my glitchy dates might be stored? Thanks for any ideas? Mike From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Blake Carver Sent: Monday, March 9, 2020 2:49 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] update of previous post archivesspace 'manage user access' pages give error It's probably a problem brought on by the change of time this week. Try this: MySQL [archivesspace]> select * from auth_db; +------+------------------+---------------------+---------------------+--------------------------------------------------------------+ | id | username | create_time | system_mtime | pwhash | +------+------------------+---------------------+---------------------+--------------------------------------------------------------+ | 1 | admin | 2016-03-09 07:10:13 | 2016-03-09 07:10:13 | $2a$10$Gp0oqAuyVXmG/M1s7XDcTuz8.6aTRooPxbf.AWNUuhxNvzsjTa7om | | 2 | search_indexer | 2016-03-09 07:10:14 | 2019-10-05 08:33:40 | $2a$10$WEoh7JjTOFZ.m.ih9sbxPOHomfcReIBlnAoRQceAbwWFK0DuyC8Tm | Take a look atsearch_indexer and the 2 times. The system_time is probably the one with the bad hour. You can just update that the current time and that should do it. So something like update auth_db set system_mtime = NOW()where username = search_indexer. ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Daniel Sprouse > Sent: Monday, March 9, 2020 2:35 PM To: Archivesspace Users Group > Subject: [Archivesspace_Users_Group] update of previous post archivesspace 'manage user access' pages give error new information added, and new log files attached. I am homing in on the issue here, thinking it is a java version issue, or a java version recognition issue. If anyone has seen anything like this, any guidance would be appreciated. after migrating from 2.7.0 to 2.7.1, and from mysqld Ver 5.7.16 to mysqld Ver 8.0.16, from java 1.7 to 1.8 [root at tslac4avwebtest archivesspace]# java -version openjdk version "1.8.0_232" OpenJDK Runtime Environment (build 1.8.0_232-b09) OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode) BUT... when it was working, the output on the backend webpage showed java 1.7! (I think that not seeing java 1.8 is probably the issue) backend_url http://aristest.tsl.texas.gov:8089 { "databaseProductName": "MySQL", "databaseProductVersion": "8.0.16", "ruby_version": "2.3.0", "host_os": "linux", "host_cpu": "x86_64", "build": "java1.7", "archivesSpaceVersion": "v2.7.1" } ------------------------------------- Archivesspace started normally several times on Friday, but I got errors when I went to user management pages. archivesspace admin account 'System'->'manage users' and 'Repository Settings'->'manage user access' pages give error http://arisint.tsl.texas.gov:8080/users http://arisint.tsl.texas.gov:8080/users/manage_access "We're sorry, but something went wrong." I have not found any other pages that give this error. attached is a tail -f of archivesspace.out while attempting to get to 'System'->'manage users' and a diagnostic spawned by archivesspace, aspace_diagnostic_1583775751.txt [cid:image001.jpg at 01D5F6DA.C9958360] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 30834 bytes Desc: image001.jpg URL: From Jessica.Crouch at lyrasis.org Tue Mar 10 14:56:35 2020 From: Jessica.Crouch at lyrasis.org (Jessica Crouch) Date: Tue, 10 Mar 2020 18:56:35 +0000 Subject: [Archivesspace_Users_Group] LYRASIS NHPRC Small and Diverse Archival Organization Needs Assessment Survey Message-ID: [Posted on behalf of our colleagues at LYRASIS. Please contact Leigh A. Grinstead (leigh.grinstead at lyrasis.org) with any questions.] LYRASIS has been hired by the National Historical Publications and Records Commission (NHPRC) to develop a Small and Diverse Archival Organization Needs Assessment Survey. Thank you for your interest in the project?your support is critical to understanding the needs of small archives and supporting the field! We believe that ?small archives? are generally defined as those repositories with budgets of $100,000 or less and/or holdings of 1,000 cubic feet or less?these are not absolute figures?and repositories should not skip the survey if they have slightly larger budgets or holdings. We recommend you review the form and your answers with your colleagues before beginning to answer the survey online; we hope to have one survey representing a single institution, and not multiple surveys from a single site. The survey is available at https://www.surveymonkey.com/r/NHPRC2020 We are providing you with a PDF version of the survey to assist you in drafting answers and completing the survey prior to entering your information online. If you wish, you may print the survey NHPRC.pdf to review and discuss with your colleagues before completing online. We estimate the survey will take no more than 20 minutes to complete. The survey is editable so that if you close or exit the browser before submitting your responses, you may finish later, but we encourage you to complete it in one sitting. Confidentiality: Your responses are being collected and analyzed by LYRASIS, an independent, nonprofit, membership organization serving libraries, archives, and museums. They will be kept confidential. Only aggregate results will be reported. Please answer these questions to help us learn about Small and Diverse Archival Organization needs. To submit your answers, you must click on the ?Done? button at the end of the survey form. Please submit the survey by March 25, 2020 at 5:00 Eastern time. Thank you for your support with this important project. Jessica Dowd Crouch Community Engagement Coordinator for ArchivesSpace jessica.crouch at lyrasis.org [page1image482511520] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 29061 bytes Desc: image001.jpg URL: From don.mennerich at nyu.edu Tue Mar 10 17:45:14 2020 From: don.mennerich at nyu.edu (Donald Mennerich) Date: Tue, 10 Mar 2020 17:45:14 -0400 Subject: [Archivesspace_Users_Group] Odd data modifications during aspace updates. Message-ID: Hello, While testing a script that was updating a resource's ead_id via the api I noticed that the timestamps for most sub-records of the resource, e.g. instances, extents, langmaterials, etc., that wern't part of the update were havign their timesstamps, includeing create_time and created_by, updated as well. I naturally assumed there was something wrong with my code, but when we tested updating a resource record from the staff interface the same thing happening was observed. For example, the fields belonging to the Resource model updated as expected, the creation_time and created_by were not modified, while the last_modified_by and mtimes were: *Before* > { "lock_version": 1, "title": "Test Collection", "publish": true, "restrictions": false, "created_by": "admin", > > "last_modified_by": "user1", "create_time": "2016-07-14T23:50:37Z", "system_mtime": "2018-03-29T22:05:59Z", "user_mtime": "2017-02-02T18:15:58Z", > > ... > *After* > { > "lock_version": 2, "title": "Test Collection", "publish": true, "restrictions": false, > > "ead_id": "test_999", "created_by": "admin", > > "last_modified_by": "user2", "create_time": "2016-07-14T23:50:37Z", "system_mtime": "2020-03-10T17:29:46Z", "user_mtime": "2020-03-10T17:29:46Z", > ... > > But in most of the subrecords of the resource the timestamps have all updated to the time of the update of the resource record. In this case the only thing that was updated was in the resource record was the eadid, but the instance subrecords had their timestamps updated even though not at all part of the update. Note that while data was changed in the sub record the lock_version is still at 0. Again, this was done with an update via the staff interface. *Before* > "instances": [ > { > "lock_version": 0, > "created_by": "user1", > "last_modified_by": "user1", > "create_time": "2017-02-02T18:15:58Z", > "system_mtime": "2017-02-02T18:15:58Z", > "user_mtime": "2017-02-02T18:15:58Z", > "instance_type": "mixed_materials", > "jsonmodel_type": "instance", > "is_representative": false, > "sub_container": { > "lock_version": 0, > "created_by": "user1", > "last_modified_by": "user1", > "create_time": "2017-02-02T18:15:58Z", > "system_mtime": "2017-02-02T18:15:58Z", > "user_mtime": "2017-02-02T18:15:58Z", > "jsonmodel_type": "sub_container", > *After* > "instances": [ > { > "lock_version": 0, > "created_by": "user2", > "last_modified_by": "user2", > "create_time": "2020-03-10T17:29:47Z", > "system_mtime": "2020-03-10T17:29:47Z", > "user_mtime": "2020-03-10T17:29:47Z", > "instance_type": "mixed_materials", > "jsonmodel_type": "instance", > "is_representative": false, > "sub_container": { > "lock_version": 0, > "created_by": "user2", > "last_modified_by": "user2",, > "create_time": "2020-03-10T17:29:47Z", > "system_mtime": "2020-03-10T17:29:47Z", > "user_mtime": "2020-03-10T17:29:47Z", > "jsonmodel_type": "sub_container", > I'm trying to determine if this is a local problem or if this is just normally how aspace manages updates, and if so is it a bug. Would someone with access to the API of their ArchivesSpace instance see if they could reproduce this? I've tested this on installations of v2.7.0 and v2.7.1. Thanks, Don -------------- next part -------------- An HTML attachment was scrubbed... URL: From james at hudmol.com Tue Mar 10 18:22:06 2020 From: james at hudmol.com (James Bullen) Date: Wed, 11 Mar 2020 09:22:06 +1100 Subject: [Archivesspace_Users_Group] Odd data modifications during aspace updates. In-Reply-To: References: Message-ID: <3A6535E0-2C13-42C0-ABA0-A19085DE2EDC@hudmol.com> Hi Don, Nested subrecords get recreated on every update. They arguably shouldn?t have those audit fields. Cheers, James > On Mar 11, 2020, at 8:45 AM, Donald Mennerich wrote: > > Hello, > > While testing a script that was updating a resource's ead_id via the api I noticed that the timestamps for most sub-records of the resource, e.g. instances, extents, langmaterials, etc., that wern't part of the update were havign their timesstamps, includeing create_time and created_by, updated as well. I naturally assumed there was something wrong with my code, but when we tested updating a resource record from the staff interface the same thing happening was observed. > > For example, the fields belonging to the Resource model updated as expected, the creation_time and created_by were not modified, while the last_modified_by and mtimes were: > > Before > { > "lock_version": 1, > "title": "Test Collection", > "publish": true, > "restrictions": false, > "created_by": "admin", > "last_modified_by": "user1", > "create_time": "2016-07-14T23:50:37Z", > "system_mtime": "2018-03-29T22:05:59Z", > "user_mtime": "2017-02-02T18:15:58Z", > ... > > After > { > "lock_version": 2, > "title": "Test Collection", > "publish": true, > "restrictions": false, > "ead_id": "test_999", > "created_by": "admin", > "last_modified_by": "user2", > "create_time": "2016-07-14T23:50:37Z", > "system_mtime": "2020-03-10T17:29:46Z", > "user_mtime": "2020-03-10T17:29:46Z", > ... > > > But in most of the subrecords of the resource the timestamps have all updated to the time of the update of the resource record. In this case the only thing that was updated was in the resource record was the eadid, but the instance subrecords had their timestamps updated even though not at all part of the update. Note that while data was changed in the sub record the lock_version is still at 0. Again, this was done with an update via the staff interface. > > Before > "instances": [ > { > "lock_version": 0, > "created_by": "user1", > "last_modified_by": "user1", > "create_time": "2017-02-02T18:15:58Z", > "system_mtime": "2017-02-02T18:15:58Z", > "user_mtime": "2017-02-02T18:15:58Z", > "instance_type": "mixed_materials", > "jsonmodel_type": "instance", > "is_representative": false, > "sub_container": { > "lock_version": 0, > "created_by": "user1", > "last_modified_by": "user1", > "create_time": "2017-02-02T18:15:58Z", > "system_mtime": "2017-02-02T18:15:58Z", > "user_mtime": "2017-02-02T18:15:58Z", > "jsonmodel_type": "sub_container", > > After > "instances": [ > { > "lock_version": 0, > "created_by": "user2", > "last_modified_by": "user2", > "create_time": "2020-03-10T17:29:47Z", > "system_mtime": "2020-03-10T17:29:47Z", > "user_mtime": "2020-03-10T17:29:47Z", > "instance_type": "mixed_materials", > "jsonmodel_type": "instance", > "is_representative": false, > "sub_container": { > "lock_version": 0, > "created_by": "user2", > "last_modified_by": "user2",, > "create_time": "2020-03-10T17:29:47Z", > "system_mtime": "2020-03-10T17:29:47Z", > "user_mtime": "2020-03-10T17:29:47Z", > "jsonmodel_type": "sub_container", > > > I'm trying to determine if this is a local problem or if this is just normally how aspace manages updates, and if so is it a bug. Would someone with access to the API of their ArchivesSpace instance see if they could reproduce this? I've tested this on installations of v2.7.0 and v2.7.1. > > Thanks, > > Don > !DSPAM:5e680a81236307999538416! _______________________________________________ > Archivesspace_Users_Group mailing list > Archivesspace_Users_Group at lyralists.lyrasis.org > http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group > > > !DSPAM:5e680a81236307999538416! -------------- next part -------------- An HTML attachment was scrubbed... URL: From don.mennerich at nyu.edu Tue Mar 10 20:37:03 2020 From: don.mennerich at nyu.edu (Donald Mennerich) Date: Tue, 10 Mar 2020 20:37:03 -0400 Subject: [Archivesspace_Users_Group] Odd data modifications during aspace updates. In-Reply-To: <3A6535E0-2C13-42C0-ABA0-A19085DE2EDC@hudmol.com> References: <3A6535E0-2C13-42C0-ABA0-A19085DE2EDC@hudmol.com> Message-ID: Thank you James. On Tuesday, March 10, 2020, James Bullen wrote: > > Hi Don, > Nested subrecords get recreated on every update. They arguably shouldn?t have those audit fields. > > Cheers, > James > > On Mar 11, 2020, at 8:45 AM, Donald Mennerich wrote: > Hello, > > While testing a script that was updating a resource's ead_id via the api I noticed that the timestamps for most sub-records of the resource, e.g. instances, extents, langmaterials, etc., that wern't part of the update were havign their timesstamps, includeing create_time and created_by, updated as well. I naturally assumed there was something wrong with my code, but when we tested updating a resource record from the staff interface the same thing happening was observed. > > For example, the fields belonging to the Resource model updated as expected, the creation_time and created_by were not modified, while the last_modified_by and mtimes were: > > Before >> >> { >> "lock_version": 1, >> "title": "Test Collection", >> "publish": true, >> "restrictions": false, >> "created_by": "admin", >> >> "last_modified_by": "user1", >> "create_time": "2016-07-14T23:50:37Z", >> "system_mtime": "2018-03-29T22:05:59Z", >> "user_mtime": "2017-02-02T18:15:58Z", >> >> ... > > After >> >> { >> "lock_version": 2, >> "title": "Test Collection", >> "publish": true, >> "restrictions": false, >> >> "ead_id": "test_999", >> "created_by": "admin", >> >> "last_modified_by": "user2", >> "create_time": "2016-07-14T23:50:37Z", >> "system_mtime": "2020-03-10T17:29:46Z", >> "user_mtime": "2020-03-10T17:29:46Z", >> ... > > But in most of the subrecords of the resource the timestamps have all updated to the time of the update of the resource record. In this case the only thing that was updated was in the resource record was the eadid, but the instance subrecords had their timestamps updated even though not at all part of the update. Note that while data was changed in the sub record the lock_version is still at 0. Again, this was done with an update via the staff interface. > > Before >> >> "instances": [ >> { >> "lock_version": 0, >> "created_by": "user1", >> "last_modified_by": "user1", >> "create_time": "2017-02-02T18:15:58Z", >> "system_mtime": "2017-02-02T18:15:58Z", >> "user_mtime": "2017-02-02T18:15:58Z", >> "instance_type": "mixed_materials", >> "jsonmodel_type": "instance", >> "is_representative": false, >> "sub_container": { >> "lock_version": 0, >> "created_by": "user1", >> "last_modified_by": "user1", >> "create_time": "2017-02-02T18:15:58Z", >> "system_mtime": "2017-02-02T18:15:58Z", >> "user_mtime": "2017-02-02T18:15:58Z", >> "jsonmodel_type": "sub_container", > > After >> >> "instances": [ >> { >> "lock_version": 0, >> "created_by": "user2", >> "last_modified_by": "user2", >> "create_time": "2020-03-10T17:29:47Z", >> "system_mtime": "2020-03-10T17:29:47Z", >> "user_mtime": "2020-03-10T17:29:47Z", >> "instance_type": "mixed_materials", >> "jsonmodel_type": "instance", >> "is_representative": false, >> "sub_container": { >> "lock_version": 0, >> "created_by": "user2", >> "last_modified_by": "user2",, >> "create_time": "2020-03-10T17:29:47Z", >> "system_mtime": "2020-03-10T17:29:47Z", >> "user_mtime": "2020-03-10T17:29:47Z", >> "jsonmodel_type": "sub_container", > > > I'm trying to determine if this is a local problem or if this is just normally how aspace manages updates, and if so is it a bug. Would someone with access to the API of their ArchivesSpace instance see if they could reproduce this? I've tested this on installations of v2.7.0 and v2.7.1. > > Thanks, > > Don > !DSPAM:5e680a81236307999538416! _______________________________________________ > Archivesspace_Users_Group mailing list > Archivesspace_Users_Group at lyralists.lyrasis.org > http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group > > > !DSPAM:5e680a81236307999538416! > > -- Donald R. Mennerich, digital archivist New York University Libraries don.mennerich at nyu.edu (212) 992-6264 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmcderm2 at bowdoin.edu Wed Mar 11 10:44:20 2020 From: mmcderm2 at bowdoin.edu (Mike McDermott) Date: Wed, 11 Mar 2020 14:44:20 +0000 Subject: [Archivesspace_Users_Group] [EXTERNAL] Re: update of previous post archivesspace 'manage user access' pages give error In-Reply-To: <1583863426367.30581@uis.edu> References: , <1583863426367.30581@uis.edu> Message-ID: Bingo. MariaDB [archivesspace]> select username, create_time, system_mtime, user_mtime from user; | search_indexer | 2019-08-30 14:58:02 | 2020-03-08 02:00:57 | 2020-03-08 02:00:57 | I reset system_mtime and user_mtime for the search_indexer user and archivesspace started fine. Thank you for the help. Mike From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Huebschen, Alan M Sent: Tuesday, March 10, 2020 2:04 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] [EXTERNAL] Re: update of previous post archivesspace 'manage user access' pages give error There could be an entry in the hour that never happened within the user table as well. -Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From dsprouse at tsl.texas.gov Thu Mar 12 17:09:55 2020 From: dsprouse at tsl.texas.gov (Daniel Sprouse) Date: Thu, 12 Mar 2020 21:09:55 +0000 Subject: [Archivesspace_Users_Group] timezone issue Message-ID: having same timezone issue on three servers, two of which are new instancess of archivesspace. Server one has had archivesspace running for multiple years, is at v2.7.0 and has been for months. I tried removing the time zone string from the connect string in config.rb... AppConfig[:db_url] = "jdbc:mysql://[REDACTED]:3306/archivesspace?user=[REDACTED]&password=[REDACTED]&useUnicode=true&characterEncoding=UTF-8" and it just tryied picking up the system time, didn't like it. I tried CDT and CT as serverTimezone values and neither worked. - CST and UTC worked, but would not allow us to login, giving a 'sesison timed out' error - MST worked and allowed us to login. So I guess my question is what serverTimezone string is going to give us the same value as CDT? We had an issue two weeks ago where an item was lost and we did end up restarted apsce at that time, no issue. Today we had an issue that was similar, where a user was unable to locate a container that was linked to the record. This time we were unable to restart archivesspace on server one, our production instance. # active lines in config.rb... grep -v -e '#' -e '^$' config/config.rb AppConfig[:db_url] = "jdbc:mysql://[REDACTED]:3306/archivesspace?user=[REDACTED]&password=[REDACTED]&useUnicode=true&characterEncoding=UTF-8" AppConfig[:public_cookie_secret] = "[REDACTED]" AppConfig[:backend_url] = "http://[REDACTED]:8089" AppConfig[:public_url] = "http://[REDACTED]:8081" AppConfig[:solr_backup_schedule] = "0 * * * *" AppConfig[:solr_backup_number_to_keep] = 12 AppConfig[:plugins] = ['local', 'next_accession', 'lcnaf', 'aspace-import-excel'] AppConfig[:mysql_binlog] = true AppConfig[:frontend_proxy_url] = "https://[REDACTED]" AppConfig[:container_management_extent_calculator] = { :report_volume => true, :unit => :feet, :decimal_places => 3 } AppConfig[:pui_branding_img] = '/assets/images/logo-tslac.png' java -version java version "1.8.0_111" Java(TM) SE Runtime Environment (build 1.8.0_111-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode) [root at tslac4avned archivesspace]# [root at tslac4avned lib]# ls | grep mysql mysql-connector-java-8.0.17.jar [root at tslac4avned lib]# # this is the aspace_diagnostic file every time we start archivesspace, and it's the same on all three servers # the last part shows a database connection error, and I can connect to the db fine using the connect string info in the config.rb db_url. [root at tslac4avned archivesspace]# cat /var/www/aris/html/archivesspace/data/tmp/aspace_diagnostic_1584039423.txt { "version": "v2.7.0", "appconfig": { "db_url": "jdbc:mysql://tslac4avned.tsl.state.tx.us:3306/archivesspace?user=[REDACTED]&password=[REDACTED]&useUnicode=true&characterEncoding=UTF-8", "db_max_connections": 28, "backend_url": "http://[REDACTED]:8089", "frontend_url": "http://localhost:8080", "public_url": "http://[REDACTED]:8081", "oai_url": "http://localhost:8082", "solr_url": "http://localhost:8090", "indexer_url": "http://localhost:8091", "docs_url": "http://localhost:8888", "frontend_log": "default", "frontend_log_level": "debug", "backend_log": "default", "backend_log_level": "debug", "pui_log": "default", "pui_log_level": "debug", "indexer_log": "default", "indexer_log_level": "debug", "db_debug_log": false, "mysql_binlog": true, "solr_backup_schedule": "0 * * * *", "solr_backup_number_to_keep": 12, "solr_backup_directory": "/var/www/aris/html/archivesspace/data/solr_backups", "solr_params": { "q.op": "AND" }, "locale": "en", "plugins": [ "local", "next_accession", "lcnaf", "aspace-import-excel" ~~TRUNCATED~~ "exception": { "msg": "Database connection failed", "backtrace": [ "/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:102:in `block in ArchivesSpaceService'", "/var/www/aris/html/archivesspace/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1411:in `configure'", "/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:79:in `'", "/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:39:in `
'", "org/jruby/RubyKernel.java:956:in `require'", "uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:in `require'", "/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/config.ru:1:in `block in (root)'", "org/jruby/RubyBasicObject.java:1691:in `instance_eval'", "/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/config.ru:4:in `(root)'", "uri:classloader:/vendor/rack-1.6.8/rack/builder.rb:55:in `
'", "launcher/launcher.rb:92:in `start_server'", "launcher/launcher.rb:157:in `main'", "launcher/launcher.rb:261:in `
'" ] # and this is the archivesspace.out output when attempting to start aspace: ArchivesSpace base directory: /var/www/aris/html/archivesspace ArchivesSpace started! See logs/archivesspace.out for details. ~~TRUNCATED~~ ArchivesSpaceThreadDump: Touch the file '/var/www/aris/html/archivesspace/thread_dump_backend.txt' to trigger a thread dump I, [2020-03-12T14:09:06.219773 #10697] INFO -- : Thread-2000: Connecting to database: jdbc:mysql://tslac4avned.tsl.state.tx.us:3306/archivesspace?user=[REDACTED]&password=[REDACTED]&useUnicode=true&characterEncoding=UTF-8. Max connections: 28 Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary. E, [2020-03-12T14:09:06.737499 #10697] ERROR -- : Thread-2000: DB connection failed: Java::JavaSql::SQLException: The server time zone value 'CDT' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support. E, [2020-03-12T14:09:07.175799 #10697] ERROR -- : Thread-2000: ***** DATABASE CONNECTION FAILED ***** Thanks for any guidance you can offer. [cid:82518750-5aa3-4908-bafb-78722b96d3ac] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Outlook-2uct2zew.jpg Type: image/jpeg Size: 30834 bytes Desc: Outlook-2uct2zew.jpg URL: From Jessica.Crouch at lyrasis.org Thu Mar 12 12:34:43 2020 From: Jessica.Crouch at lyrasis.org (Jessica Crouch) Date: Thu, 12 Mar 2020 16:34:43 +0000 Subject: [Archivesspace_Users_Group] Webinar Announcement: Integrating ArchivesSpace and Alma Message-ID: <96C783CF-8E23-44B1-813F-BF155F16C7DF@lyrasis.org> Webinar Announcement: Integrating ArchivesSpace and Alma ArchivesSpace is pleased to announce the seventh webinar in our series focused on Integrations with ArchivesSpace. Each webinar in this series will highlight an integration with another application used in archives that ArchivesSpace members have worked on or requested. Our seventh webinar in this series will explore current work being done by the ArchivesSpace community to integrate ArchivesSpace with cloud-based library services platform, Alma. When: April 8, 2020 Time: 2:00 p.m. ? 3:00 p.m. ET (11:00 a.m. ? noon PT) Where: Zoom Join Zoom Meeting https://lyrasis.zoom.us/j/186208277 Meeting ID: 186 208 277 One tap mobile +19292056099,,186208277# US (New York) +16699006833,,186208277# US (San Jose) Dial by your location +1 929 205 6099 US (New York) +1 669 900 6833 US (San Jose) 888 475 4499 US Toll-free 877 853 5257 US Toll-free Meeting ID: 186 208 277 Find your local number: https://lyrasis.zoom.us/u/awkFNWPxh Webinar description: This webinar will be recorded and made available on the ArchivesSpace YouTube channel. Kevin Clair, Digital Collections Librarian at Penn State University Libraries, will discuss the ArchivesSpace/Alma Integration Plugin he developed during his time at University of Denver. In his current position at Penn State University Libraries, Kevin is the product owner for the cultural heritage digital repository, gathering functional requirements from end users and developing strategies with collection managers to ensure the repository is meeting the needs of faculty, students, and researchers. Prior to this he was the ArchivesSpace product owner at the University of Denver, where he did similar things with different types of content. In both roles he worked to facilitate moving data between library and archival management applications, to reduce the pain and suffering of technical services workers and improve the user experience for researchers. Adrien Hilton, Head of the Manuscript Section at Harvard University's Houghton Library, will discuss current workflows at Harvard for managing data in both Alma and ArchivesSpace and what she needs from an integration. Adrien will outline the preliminary work she?s done to gather use cases from other repositories. She hopes to build community support for future Alma/ArchivesSpace development work. In her position at Harvard, Adrien oversees archives processing and manuscript cataloging. Prior to coming to Houghton, Adrien held positions at Columbia University's Rare Book and Manuscript Library and New York University's Tamiment Library. Adrien is an advisory member of SAA's Technical Subcommittee on Describing Archives: A Content Standard. Who should attend: Anyone interested in integrating ArchivesSpace and Alma. This webinar will highlight the work already being done by the ArchivesSpace community on this integration with the goal of identifying other stakeholders and a path forward to make this integration more streamlined and robust. Questions? Contact Jessica at jessica.crouch at lyrasis.org if you have questions about this webinar or the Integrations with ArchivesSpace webinar series. The eighth Integrations with ArchivesSpace webinar will be: Integrating ArchivesSpace and Arclight, May 12, 2020, at 2pm ET (11am PT). Jessica Dowd Crouch Community Engagement Coordinator for ArchivesSpace jessica.crouch at lyrasis.org [page1image482511520] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 8535 bytes Desc: image001.jpg URL: From ahueb2 at uis.edu Fri Mar 13 10:05:50 2020 From: ahueb2 at uis.edu (Huebschen, Alan M) Date: Fri, 13 Mar 2020 14:05:50 +0000 Subject: [Archivesspace_Users_Group] [EXTERNAL] timezone issue In-Reply-To: References: Message-ID: <1584108350036.17903@uis.edu> I had a similar issue when I first launched ASpace, I did attempt using CDT but it didn't like that. Appending '&serverTimezone=America/Chicago' to the db_url made it happy. This may somewhat depend on what your MySQL server is using, but I'm not 100% sure on that. In our db_url I also included '&useLegacyDatetimeCode=false' just before the serverTimezone, but I don't know how much it matters. We are currently using ASpace v2.5.0 -Alan Huebschen University of Illinois at Springfield Brookens Library Information Systems ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Daniel Sprouse Sent: Thursday, March 12, 2020 4:09 PM To: Archivesspace Users Group Subject: [EXTERNAL] [Archivesspace_Users_Group] timezone issue having same timezone issue on three servers, two of which are new instancess of archivesspace. Server one has had archivesspace running for multiple years, is at v2.7.0 and has been for months. I tried removing the time zone string from the connect string in config.rb... AppConfig[:db_url] = "jdbc:mysql://[REDACTED]:3306/archivesspace?user=[REDACTED]&password=[REDACTED]&useUnicode=true&characterEncoding=UTF-8" and it just tryied picking up the system time, didn't like it. I tried CDT and CT as serverTimezone values and neither worked. - CST and UTC worked, but would not allow us to login, giving a 'sesison timed out' error - MST worked and allowed us to login. So I guess my question is what serverTimezone string is going to give us the same value as CDT? We had an issue two weeks ago where an item was lost and we did end up restarted apsce at that time, no issue. Today we had an issue that was similar, where a user was unable to locate a container that was linked to the record. This time we were unable to restart archivesspace on server one, our production instance. # active lines in config.rb... grep -v -e '#' -e '^$' config/config.rb AppConfig[:db_url] = "jdbc:mysql://[REDACTED]:3306/archivesspace?user=[REDACTED]&password=[REDACTED]&useUnicode=true&characterEncoding=UTF-8" AppConfig[:public_cookie_secret] = "[REDACTED]" AppConfig[:backend_url] = "http://[REDACTED]:8089" AppConfig[:public_url] = "http://[REDACTED]:8081" AppConfig[:solr_backup_schedule] = "0 * * * *" AppConfig[:solr_backup_number_to_keep] = 12 AppConfig[:plugins] = ['local', 'next_accession', 'lcnaf', 'aspace-import-excel'] AppConfig[:mysql_binlog] = true AppConfig[:frontend_proxy_url] = "https://[REDACTED]" AppConfig[:container_management_extent_calculator] = { :report_volume => true, :unit => :feet, :decimal_places => 3 } AppConfig[:pui_branding_img] = '/assets/images/logo-tslac.png' java -version java version "1.8.0_111" Java(TM) SE Runtime Environment (build 1.8.0_111-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode) [root at tslac4avned archivesspace]# [root at tslac4avned lib]# ls | grep mysql mysql-connector-java-8.0.17.jar [root at tslac4avned lib]# # this is the aspace_diagnostic file every time we start archivesspace, and it's the same on all three servers # the last part shows a database connection error, and I can connect to the db fine using the connect string info in the config.rb db_url. [root at tslac4avned archivesspace]# cat /var/www/aris/html/archivesspace/data/tmp/aspace_diagnostic_1584039423.txt { "version": "v2.7.0", "appconfig": { "db_url": "jdbc:mysql://tslac4avned.tsl.state.tx.us:3306/archivesspace?user=[REDACTED]&password=[REDACTED]&useUnicode=true&characterEncoding=UTF-8", "db_max_connections": 28, "backend_url": "http://[REDACTED]:8089", "frontend_url": "http://localhost:8080", "public_url": "http://[REDACTED]:8081", "oai_url": "http://localhost:8082", "solr_url": "http://localhost:8090", "indexer_url": "http://localhost:8091", "docs_url": "http://localhost:8888", "frontend_log": "default", "frontend_log_level": "debug", "backend_log": "default", "backend_log_level": "debug", "pui_log": "default", "pui_log_level": "debug", "indexer_log": "default", "indexer_log_level": "debug", "db_debug_log": false, "mysql_binlog": true, "solr_backup_schedule": "0 * * * *", "solr_backup_number_to_keep": 12, "solr_backup_directory": "/var/www/aris/html/archivesspace/data/solr_backups", "solr_params": { "q.op": "AND" }, "locale": "en", "plugins": [ "local", "next_accession", "lcnaf", "aspace-import-excel" ~~TRUNCATED~~ "exception": { "msg": "Database connection failed", "backtrace": [ "/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:102:in `block in ArchivesSpaceService'", "/var/www/aris/html/archivesspace/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1411:in `configure'", "/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:79:in `'", "/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:39:in `
'", "org/jruby/RubyKernel.java:956:in `require'", "uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:in `require'", "/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/config.ru:1:in `block in (root)'", "org/jruby/RubyBasicObject.java:1691:in `instance_eval'", "/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/config.ru:4:in `(root)'", "uri:classloader:/vendor/rack-1.6.8/rack/builder.rb:55:in `
'", "launcher/launcher.rb:92:in `start_server'", "launcher/launcher.rb:157:in `main'", "launcher/launcher.rb:261:in `
'" ] # and this is the archivesspace.out output when attempting to start aspace: ArchivesSpace base directory: /var/www/aris/html/archivesspace ArchivesSpace started! See logs/archivesspace.out for details. ~~TRUNCATED~~ ArchivesSpaceThreadDump: Touch the file '/var/www/aris/html/archivesspace/thread_dump_backend.txt' to trigger a thread dump I, [2020-03-12T14:09:06.219773 #10697] INFO -- : Thread-2000: Connecting to database: jdbc:mysql://tslac4avned.tsl.state.tx.us:3306/archivesspace?user=[REDACTED]&password=[REDACTED]&useUnicode=true&characterEncoding=UTF-8. Max connections: 28 Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary. E, [2020-03-12T14:09:06.737499 #10697] ERROR -- : Thread-2000: DB connection failed: Java::JavaSql::SQLException: The server time zone value 'CDT' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support. E, [2020-03-12T14:09:07.175799 #10697] ERROR -- : Thread-2000: ***** DATABASE CONNECTION FAILED ***** Thanks for any guidance you can offer. [cid:82518750-5aa3-4908-bafb-78722b96d3ac] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Outlook-2uct2zew.jpg Type: image/jpeg Size: 30834 bytes Desc: Outlook-2uct2zew.jpg URL: From blake.carver at lyrasis.org Fri Mar 13 11:08:23 2020 From: blake.carver at lyrasis.org (Blake Carver) Date: Fri, 13 Mar 2020 15:08:23 +0000 Subject: [Archivesspace_Users_Group] [EXTERNAL] timezone issue In-Reply-To: <1584108350036.17903@uis.edu> References: , <1584108350036.17903@uis.edu> Message-ID: I just threw together a few Gists to help with this. The problem seems to be there's a bad date in a table. Seems like it's not always in the same table. The date probably looks something like '2020-03-08 02:00%' this year. ALWAYS BACKUP YOUR DATABASE BEFORE YOU CHANGE ANYTHING https://gist.github.com/Blake- There's 2 Gists to search every ArchivesSpace table for bad dates. One for user_mtimes and one for system_mtimes. I guess we can't be sure which table and mtime is bad, so you can copy/paste those and use them to go hunting. Once you find a bad date you should be able to change it to a real date and everything will come back online. Another Gist that'll update the system_mtimes on EVERY table to be the current date/time. It would be a bad idea to update ALL your tables at the same time. Don't just do that, but you might be able to copy and paste some useful lines there. ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Huebschen, Alan M Sent: Friday, March 13, 2020 10:05 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] [EXTERNAL] timezone issue I had a similar issue when I first launched ASpace, I did attempt using CDT but it didn't like that. Appending '&serverTimezone=America/Chicago' to the db_url made it happy. This may somewhat depend on what your MySQL server is using, but I'm not 100% sure on that. In our db_url I also included '&useLegacyDatetimeCode=false' just before the serverTimezone, but I don't know how much it matters. We are currently using ASpace v2.5.0 -Alan Huebschen University of Illinois at Springfield Brookens Library Information Systems ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Daniel Sprouse Sent: Thursday, March 12, 2020 4:09 PM To: Archivesspace Users Group Subject: [EXTERNAL] [Archivesspace_Users_Group] timezone issue having same timezone issue on three servers, two of which are new instancess of archivesspace. Server one has had archivesspace running for multiple years, is at v2.7.0 and has been for months. I tried removing the time zone string from the connect string in config.rb... AppConfig[:db_url] = "jdbc:mysql://[REDACTED]:3306/archivesspace?user=[REDACTED]&password=[REDACTED]&useUnicode=true&characterEncoding=UTF-8" and it just tryied picking up the system time, didn't like it. I tried CDT and CT as serverTimezone values and neither worked. - CST and UTC worked, but would not allow us to login, giving a 'sesison timed out' error - MST worked and allowed us to login. So I guess my question is what serverTimezone string is going to give us the same value as CDT? We had an issue two weeks ago where an item was lost and we did end up restarted apsce at that time, no issue. Today we had an issue that was similar, where a user was unable to locate a container that was linked to the record. This time we were unable to restart archivesspace on server one, our production instance. # active lines in config.rb... grep -v -e '#' -e '^$' config/config.rb AppConfig[:db_url] = "jdbc:mysql://[REDACTED]:3306/archivesspace?user=[REDACTED]&password=[REDACTED]&useUnicode=true&characterEncoding=UTF-8" AppConfig[:public_cookie_secret] = "[REDACTED]" AppConfig[:backend_url] = "http://[REDACTED]:8089" AppConfig[:public_url] = "http://[REDACTED]:8081" AppConfig[:solr_backup_schedule] = "0 * * * *" AppConfig[:solr_backup_number_to_keep] = 12 AppConfig[:plugins] = ['local', 'next_accession', 'lcnaf', 'aspace-import-excel'] AppConfig[:mysql_binlog] = true AppConfig[:frontend_proxy_url] = "https://[REDACTED]" AppConfig[:container_management_extent_calculator] = { :report_volume => true, :unit => :feet, :decimal_places => 3 } AppConfig[:pui_branding_img] = '/assets/images/logo-tslac.png' java -version java version "1.8.0_111" Java(TM) SE Runtime Environment (build 1.8.0_111-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode) [root at tslac4avned archivesspace]# [root at tslac4avned lib]# ls | grep mysql mysql-connector-java-8.0.17.jar [root at tslac4avned lib]# # this is the aspace_diagnostic file every time we start archivesspace, and it's the same on all three servers # the last part shows a database connection error, and I can connect to the db fine using the connect string info in the config.rb db_url. [root at tslac4avned archivesspace]# cat /var/www/aris/html/archivesspace/data/tmp/aspace_diagnostic_1584039423.txt { "version": "v2.7.0", "appconfig": { "db_url": "jdbc:mysql://tslac4avned.tsl.state.tx.us:3306/archivesspace?user=[REDACTED]&password=[REDACTED]&useUnicode=true&characterEncoding=UTF-8", "db_max_connections": 28, "backend_url": "http://[REDACTED]:8089", "frontend_url": "http://localhost:8080", "public_url": "http://[REDACTED]:8081", "oai_url": "http://localhost:8082", "solr_url": "http://localhost:8090", "indexer_url": "http://localhost:8091", "docs_url": "http://localhost:8888", "frontend_log": "default", "frontend_log_level": "debug", "backend_log": "default", "backend_log_level": "debug", "pui_log": "default", "pui_log_level": "debug", "indexer_log": "default", "indexer_log_level": "debug", "db_debug_log": false, "mysql_binlog": true, "solr_backup_schedule": "0 * * * *", "solr_backup_number_to_keep": 12, "solr_backup_directory": "/var/www/aris/html/archivesspace/data/solr_backups", "solr_params": { "q.op": "AND" }, "locale": "en", "plugins": [ "local", "next_accession", "lcnaf", "aspace-import-excel" ~~TRUNCATED~~ "exception": { "msg": "Database connection failed", "backtrace": [ "/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:102:in `block in ArchivesSpaceService'", "/var/www/aris/html/archivesspace/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1411:in `configure'", "/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:79:in `'", "/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:39:in `
'", "org/jruby/RubyKernel.java:956:in `require'", "uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:in `require'", "/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/config.ru:1:in `block in (root)'", "org/jruby/RubyBasicObject.java:1691:in `instance_eval'", "/var/www/aris/html/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/config.ru:4:in `(root)'", "uri:classloader:/vendor/rack-1.6.8/rack/builder.rb:55:in `
'", "launcher/launcher.rb:92:in `start_server'", "launcher/launcher.rb:157:in `main'", "launcher/launcher.rb:261:in `
'" ] # and this is the archivesspace.out output when attempting to start aspace: ArchivesSpace base directory: /var/www/aris/html/archivesspace ArchivesSpace started! See logs/archivesspace.out for details. ~~TRUNCATED~~ ArchivesSpaceThreadDump: Touch the file '/var/www/aris/html/archivesspace/thread_dump_backend.txt' to trigger a thread dump I, [2020-03-12T14:09:06.219773 #10697] INFO -- : Thread-2000: Connecting to database: jdbc:mysql://tslac4avned.tsl.state.tx.us:3306/archivesspace?user=[REDACTED]&password=[REDACTED]&useUnicode=true&characterEncoding=UTF-8. Max connections: 28 Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary. E, [2020-03-12T14:09:06.737499 #10697] ERROR -- : Thread-2000: DB connection failed: Java::JavaSql::SQLException: The server time zone value 'CDT' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support. E, [2020-03-12T14:09:07.175799 #10697] ERROR -- : Thread-2000: ***** DATABASE CONNECTION FAILED ***** Thanks for any guidance you can offer. [cid:82518750-5aa3-4908-bafb-78722b96d3ac] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Outlook-2uct2zew.jpg Type: image/jpeg Size: 30834 bytes Desc: Outlook-2uct2zew.jpg URL: From dsprouse at tsl.texas.gov Fri Mar 13 12:43:33 2020 From: dsprouse at tsl.texas.gov (Daniel Sprouse) Date: Fri, 13 Mar 2020 16:43:33 +0000 Subject: [Archivesspace_Users_Group] CDT time zone Message-ID: Thanks Blake, et al, that seems to be working. here is what I did: # step 1.a put CDT (serverTimezone=America/Chicago) back into config.rb cd archivesspace cd config vi config.rb # step 1.b verify grep Chicago config.rb AppConfig[:db_url] = "jdbc:mysql://tslac4avwebtest.tsl.state.tx.us:3306/archivesspace?user=[REDACTED]&password=[REDACTED]&useUnicode=true&characterEncoding=UTF-8&serverTimezone=America/Chicago" # step 2 run mysql statement mysql -u[REDACTED] -p[REDACTED] use archivesspace exit # step 3 relink db_url string with setup-database.sh script cd scripts ./setup-database.sh cd .. # step restart aspace ./archivesspace.sh stop ./archivesspace.sh start watch grep Weldome /var/www/misc/aris/archivesspace/logs/archivesspace.out [cid:99122946-6043-4cb6-b03a-0e2cdc41d5a4] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Outlook-2ew4hqx4.jpg Type: image/jpeg Size: 30834 bytes Desc: Outlook-2ew4hqx4.jpg URL: From dsprouse at tsl.texas.gov Fri Mar 13 14:31:58 2020 From: dsprouse at tsl.texas.gov (Daniel Sprouse) Date: Fri, 13 Mar 2020 18:31:58 +0000 Subject: [Archivesspace_Users_Group] sorry, left out the most important line Message-ID: sorry, left out the most important line: Here is the archivesspace timezone work-around that seems to work: # step 1.a put CDT (serverTimezone=America/Chicago) back into config.rb cd config vi config.rb # step 1.b verify grep Chicago config.rb AppConfig[:db_url] = "jdbc:mysql://[REDACTED]:3306/archivesspace?user=[REDACTED]&password=[REDACTED]&useUnicode=true&characterEncoding=UTF-8&serverTimezone=America/Chicago" # step 2 run mysql statement mysql -u[REDACTED] -p[REDACTED] use archivesspace; update auth_db set system_mtime = NOW() where username = 'search_indexer'; exit # step 3 relink db_url string with setup-database.sh script cd scripts ./setup-database.sh cd .. # step 3 restart aspace ./archivesspace.sh stop ./archivesspace.sh start watch grep Welcome /var/www/misc/aris/archivesspace/logs/archivesspace.out [cid:dbf733c2-0cae-4ca0-b26e-2dfaa8f9fce6] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Outlook-z0bsodip.jpg Type: image/jpeg Size: 30834 bytes Desc: Outlook-z0bsodip.jpg URL: From Jessica.Crouch at lyrasis.org Mon Mar 16 11:29:35 2020 From: Jessica.Crouch at lyrasis.org (Jessica Crouch) Date: Mon, 16 Mar 2020 15:29:35 +0000 Subject: [Archivesspace_Users_Group] Western Archivists Regional Forum cancelled Message-ID: Dear ArchivesSpace Members, We are all taking precautionary measures to protect ourselves, our loved ones and our communities from COVID-19. To that end, the ArchivesSpace Western Archivists Regional Forum scheduled for April 22, 2020, at the San Francisco Public Library will be cancelled. While we are disappointed we will not be able to hold this forum, we hope to be able to bring a forum that reflects local users? interests and activities to this region in the future. We would like to thank the San Francisco Public Library for their willingness to host this event and their understanding during this difficult time. I would also like to personally thank the members of the Western Archivists Regional Forum planning team: Nancy Enneking of The Getty Center, Katherine Ets-Hokin of the San Francisco Public Library and Katie Rudolph from the Denver Public Library. I am grateful for the work this team has already done behind the scenes to develop what would have been an outstanding community-driven forum. I would also like to thank all of you who have already reached out to volunteer to participate in the forum or expressed your intent to attend. We have a wonderful member community and I was looking forward to spending the day with all of you. We encourage all ArchivesSpace users to join us for our Online Forum on May 18-21. During a time when the status of many conferences is in flux and travel is inadvisable, we hope this Online Forum will offer an even better opportunity than usual for ArchivesSpace users to meet and share information with each other and the ArchivesSpace program team. Visit the Online Forum wiki to learn more about this event. If you would like to participate in the Online Forum, we are accepting both session proposals and ideas for topics via this online form. We will be sharing more information soon about ideas related to engaging with ArchivesSpace during this difficult time. If you have any questions or concerns, please don?t hesitate to contact the ArchivesSpace program team at ArchivesSpaceHome at lyrasis.org. Thanks, Jessica Dowd Crouch Community Engagement Coordinator for ArchivesSpace jessica.crouch at lyrasis.org [page1image482511520] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 29061 bytes Desc: image001.jpg URL: From Corinne.Chatnik at nysed.gov Mon Mar 16 13:57:53 2020 From: Corinne.Chatnik at nysed.gov (Corinne Chatnik) Date: Mon, 16 Mar 2020 17:57:53 +0000 Subject: [Archivesspace_Users_Group] EAD Import Error Message-ID: Hi, When I try to run the background job of Import Data, EAD I get the following error: ================================================== 13036.xml ================================================== !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! IMPORT ERROR !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Error: #<NoMethodError: undefined method `instances' for #<#<Class:0x3471635c>:0x2346a459> Did you mean? instance_of?> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I have replaced any stylized characters and looked for rogue symbols and empty tags. I tried reformatting the dates to YYYY-MM-DD. I've also run it through Harvard Archivesspace_checker and it passes. Attached is the ead file. If anyone can let me know what the error message means that would be fantastic. Thanks! Corinne Chatnik Digital Strategies New York State Archives archives.nysed.gov Corinne.Chatnik at nysed.gov 518-473-4153 Confidentiality Notice This email including all attachments is confidential and intended solely for the use of the individual or entity to which it is addressed. This communication may contain information that is protected from disclosure under State and/or Federal law. Please notify the sender immediately if you have received this communication in error and delete this email from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 13036.xml Type: application/xml Size: 237598 bytes Desc: 13036.xml URL: From dave_mayo at harvard.edu Mon Mar 16 14:17:59 2020 From: dave_mayo at harvard.edu (Mayo, Dave) Date: Mon, 16 Mar 2020 18:17:59 +0000 Subject: [Archivesspace_Users_Group] EAD Import Error Message-ID: So, this isn?t actually an error about a character entity ? those character entities are the result of a Ruby error being double-escaped in HTML. The error actually being emitted is: "#:0x2346a459>\nDid you mean? instance_of?>" Where that?s coming from, I?m not sure, unfortunately ? is that the full error message? -- Dave Mayo (he/him) Senior Digital Library Software Engineer Harvard University > HUIT > LTS From: on behalf of Corinne Chatnik Reply-To: Archivesspace Users Group Date: Monday, March 16, 2020 at 1:58 PM To: "archivesspace_users_group at lyralists.lyrasis.org" Subject: [Archivesspace_Users_Group] EAD Import Error Hi, When I try to run the background job of Import Data, EAD I get the following error: ================================================== 13036.xml ================================================== !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! IMPORT ERROR !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Error: #<NoMethodError: undefined method `instances' for #<#<Class:0x3471635c>:0x2346a459> Did you mean? instance_of?> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I have replaced any stylized characters and looked for rogue symbols and empty tags. I tried reformatting the dates to YYYY-MM-DD. I?ve also run it through Harvard Archivesspace_checker and it passes. Attached is the ead file. If anyone can let me know what the error message means that would be fantastic. Thanks! Corinne Chatnik Digital Strategies New York State Archives archives.nysed.gov Corinne.Chatnik at nysed.gov 518-473-4153 Confidentiality Notice This email including all attachments is confidential and intended solely for the use of the individual or entity to which it is addressed. This communication may contain information that is protected from disclosure under State and/or Federal law. Please notify the sender immediately if you have received this communication in error and delete this email from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Corinne.Chatnik at nysed.gov Mon Mar 16 14:20:08 2020 From: Corinne.Chatnik at nysed.gov (Corinne Chatnik) Date: Mon, 16 Mar 2020 18:20:08 +0000 Subject: [Archivesspace_Users_Group] EAD Import Error In-Reply-To: References: Message-ID: Thanks for responding! Yes that?s the complete error message. From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Mayo, Dave Sent: Monday, March 16, 2020 2:18 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] EAD Import Error So, this isn?t actually an error about a character entity ? those character entities are the result of a Ruby error being double-escaped in HTML. The error actually being emitted is: "#:0x2346a459>\nDid you mean? instance_of?>" Where that?s coming from, I?m not sure, unfortunately ? is that the full error message? -- Dave Mayo (he/him) Senior Digital Library Software Engineer Harvard University > HUIT > LTS From: > on behalf of Corinne Chatnik > Reply-To: Archivesspace Users Group > Date: Monday, March 16, 2020 at 1:58 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: [Archivesspace_Users_Group] EAD Import Error Hi, When I try to run the background job of Import Data, EAD I get the following error: ================================================== 13036.xml ================================================== !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! IMPORT ERROR !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Error: #<NoMethodError: undefined method `instances' for #<#<Class:0x3471635c>:0x2346a459> Did you mean? instance_of?> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I have replaced any stylized characters and looked for rogue symbols and empty tags. I tried reformatting the dates to YYYY-MM-DD. I?ve also run it through Harvard Archivesspace_checker and it passes. Attached is the ead file. If anyone can let me know what the error message means that would be fantastic. Thanks! Corinne Chatnik Digital Strategies New York State Archives archives.nysed.gov Corinne.Chatnik at nysed.gov 518-473-4153 Confidentiality Notice This email including all attachments is confidential and intended solely for the use of the individual or entity to which it is addressed. This communication may contain information that is protected from disclosure under State and/or Federal law. Please notify the sender immediately if you have received this communication in error and delete this email from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave_mayo at harvard.edu Mon Mar 16 14:30:41 2020 From: dave_mayo at harvard.edu (Mayo, Dave) Date: Mon, 16 Mar 2020 18:30:41 +0000 Subject: [Archivesspace_Users_Group] EAD Import Error In-Reply-To: References: Message-ID: <7EB702F4-8138-4FD0-8193-8A3A01D7865A@harvard.edu> So, looking at the EAD converter code, there?s two places where .instances is called: handling elements and handling digital objects. Based on how the code is written, I think it?s _much_ more likely that this is a container ? from what I can see, any case where a container is nested in a way where its context_object isn?t an AO or resource (or other thing that can have instances). My first suspect is maybe the container in the ?s DID? I?m not _positive_ and I don?t have time right now to do more digging, but it?s the one I immediately see that is different than any others. -- Dave Mayo (he/him) Senior Digital Library Software Engineer Harvard University > HUIT > LTS From: on behalf of Corinne Chatnik Reply-To: Archivesspace Users Group Date: Monday, March 16, 2020 at 2:20 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] EAD Import Error Thanks for responding! Yes that?s the complete error message. From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Mayo, Dave Sent: Monday, March 16, 2020 2:18 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] EAD Import Error So, this isn?t actually an error about a character entity ? those character entities are the result of a Ruby error being double-escaped in HTML. The error actually being emitted is: "#:0x2346a459>\nDid you mean? instance_of?>" Where that?s coming from, I?m not sure, unfortunately ? is that the full error message? -- Dave Mayo (he/him) Senior Digital Library Software Engineer Harvard University > HUIT > LTS From: > on behalf of Corinne Chatnik > Reply-To: Archivesspace Users Group > Date: Monday, March 16, 2020 at 1:58 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: [Archivesspace_Users_Group] EAD Import Error Hi, When I try to run the background job of Import Data, EAD I get the following error: ================================================== 13036.xml ================================================== !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! IMPORT ERROR !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Error: #<NoMethodError: undefined method `instances' for #<#<Class:0x3471635c>:0x2346a459> Did you mean? instance_of?> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I have replaced any stylized characters and looked for rogue symbols and empty tags. I tried reformatting the dates to YYYY-MM-DD. I?ve also run it through Harvard Archivesspace_checker and it passes. Attached is the ead file. If anyone can let me know what the error message means that would be fantastic. Thanks! Corinne Chatnik Digital Strategies New York State Archives archives.nysed.gov Corinne.Chatnik at nysed.gov 518-473-4153 Confidentiality Notice This email including all attachments is confidential and intended solely for the use of the individual or entity to which it is addressed. This communication may contain information that is protected from disclosure under State and/or Federal law. Please notify the sender immediately if you have received this communication in error and delete this email from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: From blake.carver at lyrasis.org Mon Mar 16 14:31:34 2020 From: blake.carver at lyrasis.org (Blake Carver) Date: Mon, 16 Mar 2020 18:31:34 +0000 Subject: [Archivesspace_Users_Group] EAD Import Error In-Reply-To: References: , Message-ID: We've seen that error once before the problem was a random stray "1" in the collection level description. I don't know that you'd have the exact same thing in there, but maybe you have something random in a place it shouldn't be in that EAD. ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Corinne Chatnik Sent: Monday, March 16, 2020 2:20 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] EAD Import Error Thanks for responding! Yes that?s the complete error message. From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Mayo, Dave Sent: Monday, March 16, 2020 2:18 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] EAD Import Error So, this isn?t actually an error about a character entity ? those character entities are the result of a Ruby error being double-escaped in HTML. The error actually being emitted is: "#:0x2346a459>\nDid you mean? instance_of?>" Where that?s coming from, I?m not sure, unfortunately ? is that the full error message? -- Dave Mayo (he/him) Senior Digital Library Software Engineer Harvard University > HUIT > LTS From: > on behalf of Corinne Chatnik > Reply-To: Archivesspace Users Group > Date: Monday, March 16, 2020 at 1:58 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: [Archivesspace_Users_Group] EAD Import Error Hi, When I try to run the background job of Import Data, EAD I get the following error: ================================================== 13036.xml ================================================== !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! IMPORT ERROR !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Error: #<NoMethodError: undefined method `instances' for #<#<Class:0x3471635c>:0x2346a459> Did you mean? instance_of?> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I have replaced any stylized characters and looked for rogue symbols and empty tags. I tried reformatting the dates to YYYY-MM-DD. I?ve also run it through Harvard Archivesspace_checker and it passes. Attached is the ead file. If anyone can let me know what the error message means that would be fantastic. Thanks! Corinne Chatnik Digital Strategies New York State Archives archives.nysed.gov Corinne.Chatnik at nysed.gov 518-473-4153 Confidentiality Notice This email including all attachments is confidential and intended solely for the use of the individual or entity to which it is addressed. This communication may contain information that is protected from disclosure under State and/or Federal law. Please notify the sender immediately if you have received this communication in error and delete this email from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthew.revitt at maine.edu Mon Mar 16 14:34:30 2020 From: matthew.revitt at maine.edu (Matthew Revitt) Date: Mon, 16 Mar 2020 14:34:30 -0400 Subject: [Archivesspace_Users_Group] Stripping out creator field in MARC XML Message-ID: Hi all, Has anyone else had an issue with the creator field being stripped out when downloading to MARC XML? This has only been happening recently. Sincerely, Matthew. -- Matthew Revitt Special Collections and Maine Shared Collections Librarian 207-581-2665 matthew.revitt at maine.edu http://maineinfonet.net/mscs/ @MESharedColls -------------- next part -------------- An HTML attachment was scrubbed... URL: From Corinne.Chatnik at nysed.gov Mon Mar 16 14:36:08 2020 From: Corinne.Chatnik at nysed.gov (Corinne Chatnik) Date: Mon, 16 Mar 2020 18:36:08 +0000 Subject: [Archivesspace_Users_Group] EAD Import Error In-Reply-To: <7EB702F4-8138-4FD0-8193-8A3A01D7865A@harvard.edu> References: <7EB702F4-8138-4FD0-8193-8A3A01D7865A@harvard.edu> Message-ID: That solved it thank you so much! From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Mayo, Dave Sent: Monday, March 16, 2020 2:31 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] EAD Import Error So, looking at the EAD converter code, there?s two places where .instances is called: handling elements and handling digital objects. Based on how the code is written, I think it?s _much_ more likely that this is a container ? from what I can see, any case where a container is nested in a way where its context_object isn?t an AO or resource (or other thing that can have instances). My first suspect is maybe the container in the ?s DID? I?m not _positive_ and I don?t have time right now to do more digging, but it?s the one I immediately see that is different than any others. -- Dave Mayo (he/him) Senior Digital Library Software Engineer Harvard University > HUIT > LTS From: > on behalf of Corinne Chatnik > Reply-To: Archivesspace Users Group > Date: Monday, March 16, 2020 at 2:20 PM To: Archivesspace Users Group > Subject: Re: [Archivesspace_Users_Group] EAD Import Error Thanks for responding! Yes that?s the complete error message. From: archivesspace_users_group-bounces at lyralists.lyrasis.org > On Behalf Of Mayo, Dave Sent: Monday, March 16, 2020 2:18 PM To: Archivesspace Users Group > Subject: Re: [Archivesspace_Users_Group] EAD Import Error So, this isn?t actually an error about a character entity ? those character entities are the result of a Ruby error being double-escaped in HTML. The error actually being emitted is: "#:0x2346a459>\nDid you mean? instance_of?>" Where that?s coming from, I?m not sure, unfortunately ? is that the full error message? -- Dave Mayo (he/him) Senior Digital Library Software Engineer Harvard University > HUIT > LTS From: > on behalf of Corinne Chatnik > Reply-To: Archivesspace Users Group > Date: Monday, March 16, 2020 at 1:58 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: [Archivesspace_Users_Group] EAD Import Error Hi, When I try to run the background job of Import Data, EAD I get the following error: ================================================== 13036.xml ================================================== !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! IMPORT ERROR !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Error: #<NoMethodError: undefined method `instances' for #<#<Class:0x3471635c>:0x2346a459> Did you mean? instance_of?> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I have replaced any stylized characters and looked for rogue symbols and empty tags. I tried reformatting the dates to YYYY-MM-DD. I?ve also run it through Harvard Archivesspace_checker and it passes. Attached is the ead file. If anyone can let me know what the error message means that would be fantastic. Thanks! Corinne Chatnik Digital Strategies New York State Archives archives.nysed.gov Corinne.Chatnik at nysed.gov 518-473-4153 Confidentiality Notice This email including all attachments is confidential and intended solely for the use of the individual or entity to which it is addressed. This communication may contain information that is protected from disclosure under State and/or Federal law. Please notify the sender immediately if you have received this communication in error and delete this email from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave_mayo at harvard.edu Mon Mar 16 14:36:59 2020 From: dave_mayo at harvard.edu (Mayo, Dave) Date: Mon, 16 Mar 2020 18:36:59 +0000 Subject: [Archivesspace_Users_Group] EAD Import Error In-Reply-To: References: <7EB702F4-8138-4FD0-8193-8A3A01D7865A@harvard.edu> Message-ID: You?re very welcome! I?ll add that to the checker as soon as I get a minute! -- Dave Mayo (he/him) Senior Digital Library Software Engineer Harvard University > HUIT > LTS From: on behalf of Corinne Chatnik Reply-To: Archivesspace Users Group Date: Monday, March 16, 2020 at 2:36 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] EAD Import Error That solved it thank you so much! From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Mayo, Dave Sent: Monday, March 16, 2020 2:31 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] EAD Import Error So, looking at the EAD converter code, there?s two places where .instances is called: handling elements and handling digital objects. Based on how the code is written, I think it?s _much_ more likely that this is a container ? from what I can see, any case where a container is nested in a way where its context_object isn?t an AO or resource (or other thing that can have instances). My first suspect is maybe the container in the ?s DID? I?m not _positive_ and I don?t have time right now to do more digging, but it?s the one I immediately see that is different than any others. -- Dave Mayo (he/him) Senior Digital Library Software Engineer Harvard University > HUIT > LTS From: > on behalf of Corinne Chatnik > Reply-To: Archivesspace Users Group > Date: Monday, March 16, 2020 at 2:20 PM To: Archivesspace Users Group > Subject: Re: [Archivesspace_Users_Group] EAD Import Error Thanks for responding! Yes that?s the complete error message. From: archivesspace_users_group-bounces at lyralists.lyrasis.org > On Behalf Of Mayo, Dave Sent: Monday, March 16, 2020 2:18 PM To: Archivesspace Users Group > Subject: Re: [Archivesspace_Users_Group] EAD Import Error So, this isn?t actually an error about a character entity ? those character entities are the result of a Ruby error being double-escaped in HTML. The error actually being emitted is: "#:0x2346a459>\nDid you mean? instance_of?>" Where that?s coming from, I?m not sure, unfortunately ? is that the full error message? -- Dave Mayo (he/him) Senior Digital Library Software Engineer Harvard University > HUIT > LTS From: > on behalf of Corinne Chatnik > Reply-To: Archivesspace Users Group > Date: Monday, March 16, 2020 at 1:58 PM To: "archivesspace_users_group at lyralists.lyrasis.org" > Subject: [Archivesspace_Users_Group] EAD Import Error Hi, When I try to run the background job of Import Data, EAD I get the following error: ================================================== 13036.xml ================================================== !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! IMPORT ERROR !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Error: #<NoMethodError: undefined method `instances' for #<#<Class:0x3471635c>:0x2346a459> Did you mean? instance_of?> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I have replaced any stylized characters and looked for rogue symbols and empty tags. I tried reformatting the dates to YYYY-MM-DD. I?ve also run it through Harvard Archivesspace_checker and it passes. Attached is the ead file. If anyone can let me know what the error message means that would be fantastic. Thanks! Corinne Chatnik Digital Strategies New York State Archives archives.nysed.gov Corinne.Chatnik at nysed.gov 518-473-4153 Confidentiality Notice This email including all attachments is confidential and intended solely for the use of the individual or entity to which it is addressed. This communication may contain information that is protected from disclosure under State and/or Federal law. Please notify the sender immediately if you have received this communication in error and delete this email from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kws2126 at columbia.edu Tue Mar 17 08:59:49 2020 From: kws2126 at columbia.edu (Kevin W. Schlottmann) Date: Tue, 17 Mar 2020 08:59:49 -0400 Subject: [Archivesspace_Users_Group] Stripping out creator field in MARC XML In-Reply-To: References: Message-ID: Hi Matthew, The first thing I check when the creator is missing in an export is whether the corresponding Agent record is set to Publish=True. In my experience that's usually the problem. Kevin On Mon, Mar 16, 2020 at 2:35 PM Matthew Revitt wrote: > Hi all, > > Has anyone else had an issue with the creator field being stripped out > when downloading to MARC XML? This has only been happening recently. > > Sincerely, > > Matthew. > > -- > Matthew Revitt > Special Collections and Maine Shared Collections Librarian > 207-581-2665 > matthew.revitt at maine.edu > http://maineinfonet.net/mscs/ > @MESharedColls > _______________________________________________ > Archivesspace_Users_Group mailing list > Archivesspace_Users_Group at lyralists.lyrasis.org > http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group > -- Kevin Schlottmann Head of Archives Processing Rare Book & Manuscript Library Butler Library, Room 801 Columbia University 535 W. 114th St., New York, NY 10027 (212) 854-8483 -------------- next part -------------- An HTML attachment was scrubbed... URL: From christine.dibella at lyrasis.org Tue Mar 17 09:03:51 2020 From: christine.dibella at lyrasis.org (Christine Di Bella) Date: Tue, 17 Mar 2020 13:03:51 +0000 Subject: [Archivesspace_Users_Group] ArchivesSpace in this challenging time Message-ID: Dear ArchivesSpace community, It's an understatement to say that we are living and working through times that many of us never expected. We hope that everyone is safe and urge everyone to do whatever they need to keep themselves and their loved ones safe and healthy. That said, we recognize that continuing to help the communities we each serve can be a balm when so much around us is different. If you'd like ArchivesSpace to factor into your plans in the coming weeks, here are some ideas for how ArchivesSpace can help you and you can help ArchivesSpace and each other. (Please note that we're going to make every attempt to keep things rolling along, but keep in mind that the ArchivesSpace team is also adjusting to these new realities and changes in our personal and professional circumstances. Your patience and understanding with us and with each other is much appreciated.) Brush up on your ArchivesSpace * Catch up on training videos in the new Help Center (https://archivesspace.atlassian.net/wiki/spaces/ADC/pages/917045261/ArchivesSpace+Help+Center) * Work through areas of the User Manual that are less familiar to you * Catch up on webinars you missed (https://archivesspace.org/using-archivesspace/webinars) * Catch up on videos in our YouTube channel (https://www.youtube.com/channel/UCxR6D-UlSx6N6UWTeqHTjzA) * Work on a data cleanup or data migration project (please reach out to the listservs or us at ArchivesSpaceHome at lyrasis.org if you need support to get started or get stuck along the way) Get involved in the ArchivesSpace community * Submit a proposal for the Online Forum (https://archivesspace.atlassian.net/wiki/spaces/ADC/pages/966688804/ArchivesSpace+Online+Forum+2020) * Post or respond to questions on the ArchivesSpace Users Group (http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group) or Small Archives listserv (http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_small_archives_users_group) * Write a blog post about how you use ArchivesSpace, past, present or future - contact Jessica (jessica.crouch at lyrasis.org) if you'd like to submit it for the ArchivesSpace blog. * Record a screencast on a range of topics needed by the ArchivesSpace community (https://archivesspace.atlassian.net/wiki/spaces/ADC/pages/1126465545/Creating+a+User+Tutorial+Screencast) * NEW: Take a Break with ArchivesSpace - beginning this Friday, March 20th, we will be hosting casual open calls via zoom at 12pm ET each Friday while many of us work from home. Use this as a time to get help or talk about ArchivesSpace (or anything else) with colleagues in an informal setting. (more details coming soon) Help improve ArchivesSpace * Test and give us feedback on some new features using our test servers (username: admin, password: admin). These are works in progress and we'll send more information about each of these features in the coming weeks. * Custom reports: http://reports.lyrtech.org/staff/ - email us or leave a comment on https://archivesspace.atlassian.net/browse/ANW-761 * Bulk import: http://bulkimport.lyrtech.org/staff/ - email us or leave a comment on https://archivesspace.atlassian.net/browse/ANW-386 * Expansion of agents module: http://aspace-anw-429.lyrtech.org/staff/ - email us or leave a comment on https://archivesspace.atlassian.net/browse/ANW-429 * Suggest improvements to the User Manual * Suggest improvements to the technical documentation (http://archivesspace.github.io/archivesspace/) * Add to the Awesome ArchivesSpace list (https://github.com/archivesspace/awesome-archivesspace) * Translate the labels in the ArchivesSpace interfaces into a different language (ask us how!) * Assign yourself a Ready for Community Developer JIRA (https://archivesspace.atlassian.net/issues/?jql=status%20%3D%20%22Ready%20for%20Community%20Developer%22%20and%20assignee%20is%20EMPTY). Learn more about this status from the 2019 Annual Member Forum presentation by Lydia Tang and Maggie Hughes at https://youtu.be/qK84vgmS66I * Submit a pull request with completed code. Learn more about the process at https://archivesspace.atlassian.net/wiki/spaces/ADC/pages/39682053/Submitting+a+Pull+Request. * Turn a plugin you created into core code. Learn more at https://archivesspace.atlassian.net/wiki/spaces/ADC/pages/916062227/Making+a+Plug-In+part+of+the+Core+Code. Please reach out to the ArchivesSpace team at ArchivesSpaceHome at lyrasis.org for any help you need to get involved in any of these activities, and let us know if you have other ideas. We're here for you and are really thankful for how those of us in our community are here for each other. All best, The ArchivesSpace Team (Christine, Jessica, Lora, Laurie, Alicia) Christine Di Bella ArchivesSpace Program Manager christine.dibella at lyrasis.org 800.999.8558 x2905 678-235-2905 cdibella13 (Skype) [ASpaceOrgHomeMedium] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 6608 bytes Desc: image003.jpg URL: From matthew.revitt at maine.edu Tue Mar 17 11:22:16 2020 From: matthew.revitt at maine.edu (Matthew Revitt) Date: Tue, 17 Mar 2020 11:22:16 -0400 Subject: [Archivesspace_Users_Group] Stripping out creator field in MARC XML In-Reply-To: References: Message-ID: Great, thanks that was exactly the issue. Matthew. On Tue, Mar 17, 2020 at 9:00 AM Kevin W. Schlottmann wrote: > Hi Matthew, > > The first thing I check when the creator is missing in an export is > whether the corresponding Agent record is set to Publish=True. In my > experience that's usually the problem. > > Kevin > > On Mon, Mar 16, 2020 at 2:35 PM Matthew Revitt > wrote: > >> Hi all, >> >> Has anyone else had an issue with the creator field being stripped out >> when downloading to MARC XML? This has only been happening recently. >> >> Sincerely, >> >> Matthew. >> >> -- >> Matthew Revitt >> Special Collections and Maine Shared Collections Librarian >> 207-581-2665 >> matthew.revitt at maine.edu >> http://maineinfonet.net/mscs/ >> @MESharedColls >> _______________________________________________ >> Archivesspace_Users_Group mailing list >> Archivesspace_Users_Group at lyralists.lyrasis.org >> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group >> > > > -- > Kevin Schlottmann > Head of Archives Processing > Rare Book & Manuscript Library > Butler Library, Room 801 > Columbia University > 535 W. 114th St., New York, NY 10027 > (212) 854-8483 > _______________________________________________ > Archivesspace_Users_Group mailing list > Archivesspace_Users_Group at lyralists.lyrasis.org > http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group > -- Matthew Revitt Special Collections and Maine Shared Collections Librarian 207-581-2665 matthew.revitt at maine.edu http://maineinfonet.net/mscs/ @MESharedColls -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jessica.Crouch at lyrasis.org Wed Mar 18 09:52:39 2020 From: Jessica.Crouch at lyrasis.org (Jessica Crouch) Date: Wed, 18 Mar 2020 13:52:39 +0000 Subject: [Archivesspace_Users_Group] Take a break with ArchivesSpace Message-ID: Dear ArchivesSpace Members, Whether working from home for the first time, as remote working pros, or as onsite staff, most of us are doing our jobs under much different conditions than usual. As a browser based system you can access from anywhere, the ArchivesSpace application may offer a sense of archival normalcy as we each adjust. And with a welcoming and robust member community all over the world, ArchivesSpace can also offer camaraderie when many of us may feel isolated from our colleagues or the professional communities we interact with regularly. Beginning this Friday, March 20th, we will be hosting casual open calls via zoom at 12pm ET each Friday. We won?t be developing agendas or presentations for these calls. We just want to provide a forum and an opportunity to connect, chat and recharge. Use this as a time to get help or talk about ArchivesSpace (or anything else) in an informal setting or just have a beverage with other ArchivesSpace users during this stressful time. When: Fridays Time: 12:00 p.m. ? 1:00 p.m. ET (9:00 a.m. ? 10:00 a.m. PT) Where: Zoom Join the call via the information below: Join Zoom Meeting https://lyrasis.zoom.us/j/281962467 Meeting ID: 281 962 467 One tap mobile +19292056099,,281962467# US (New York) +13126266799,,281962467# US (Chicago) Dial by your location +1 929 205 6099 US (New York) +1 312 626 6799 US (Chicago) +1 301 715 8592 US +1 346 248 7799 US (Houston) +1 669 900 6833 US (San Jose) +1 253 215 8782 US 888 475 4499 US Toll-free 877 853 5257 US Toll-free Meeting ID: 281 962 467 Find your local number: https://lyrasis.zoom.us/u/awkFNWPxh We seek to provide a welcoming, fun, and safe community experience for everyone and adhere to Code4Lib?s CodeofConduct4Lib. The full text of the code of conduct is available at: http://bit.ly/coc4lib. Jessica Dowd Crouch Community Engagement Coordinator for ArchivesSpace jessica.crouch at lyrasis.org [page1image482511520] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 29061 bytes Desc: image001.jpg URL: From TFARMER at astate.edu Wed Mar 18 12:15:07 2020 From: TFARMER at astate.edu (Tracy Farmer) Date: Wed, 18 Mar 2020 16:15:07 +0000 Subject: [Archivesspace_Users_Group] infinite-scroll.js Message-ID: We are having issues with the infinite-scroll.js file in ArchivesSpace. I have follow the suggestions located https://github.com/archivesspace/archivesspace/issues/1488 but this did not fix our issue. Any suggestions that you can make to help fix this issue for us to be great. Thanks, Tracy ________________________________ [http://area51.astate.edu/e-footer/astatelogo-email.jpg] F. Tracy Farmer Systems Librarian Dean B. Ellis Library Room 221A P.O. Box 2040 | State University, AR 72467 p: (870) 680-4312 | c: (870) 483-3179 | f: (870) 972-3199 Arkansas State educates leaders, enhances intellectual growth, and enriches lives. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 10901 bytes Desc: image001.jpg URL: From Russell.Clarkson at edeandravenscroft.com Thu Mar 19 11:24:39 2020 From: Russell.Clarkson at edeandravenscroft.com (Russell Clarkson) Date: Thu, 19 Mar 2020 15:24:39 +0000 Subject: [Archivesspace_Users_Group] Setting up Windows Service Message-ID: Hi, I've created a fresh install of ArchivesSpace on a 2012R2 server. It starts fine when started from the archivesspace.bat file, but the installed service fails to start. I can't see what I've done wrong. These are the environment variables: C:\>Set JAVA_HOME=C:\Program Files (x86)\Java\jre1.8.0_151 Path=C:\ProgramData\Oracle\Java\javapath;C:\Program Files\ESET\ESET File Security\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Java\jre1.8.0_151\bin\ PROCRUN.exe & PROCSRV.exe are copied into the c:\archivesspace folder. Archivesspace is set to run against MySQL 5.1.48. The jar file is in the lib folder C:\archivesspace\lib>dir Volume in drive C has no label. Volume Serial Number is A66E-AD9D Directory of C:\archivesspace\lib 19/03/2020 15:17 . 19/03/2020 15:17 .. . . 11/07/2019 13:43 1,006,956 mysql-connector-java-5.1.48.jar . My config.rb has the 2 jetty references to enable clean shutdown. I've turned debug logging on in the service settings. This is the tail of that log:- [2020-03-19 15:22:05] [debug] ( prunsrv.c:1754) [ 3996] Apache Commons Daemon procrun log initialized. [2020-03-19 15:22:05] [info] ( prunsrv.c:1758) [ 3996] Apache Commons Daemon procrun (1.2.1.0 32-bit) started. [2020-03-19 15:22:05] [info] ( prunsrv.c:1668) [ 3996] Running Service 'ArchivesSpaceService'... [2020-03-19 15:22:05] [debug] ( prunsrv.c:1441) [ 800] Inside ServiceMain... [2020-03-19 15:22:05] [debug] ( prunsrv.c:904 ) [ 800] reportServiceStatusE: dwCurrentState = 2, dwWin32ExitCode = 0, dwWaitHint = 3000, dwServiceSpecificExitCode = 0. [2020-03-19 15:22:05] [info] ( prunsrv.c:1196) [ 800] Starting service... My understanding is that this *should* now work. Could someone help me understand why it's not? Thanks in advance Russell Clarkson Infrastructure Engineer Ede & Ravenscroft Ltd Please consider the environment ??? is this a communication that you need to print ? Any views expressed in this message are those of the individual sender, except where specifically stated to be the view of the Company, its subsidiaries or associates. When addressed to our customers, any opinions or advice contained in this eMail are subject to the relevant Company terms of business. The Company reserves the right to monitor all email communications through its internal and external networks. NOTICE: This eMail is intended solely for the named recipient only. It may contain privileged and/or confidential information. If you are not one of the intended recipients, please notify the sender immediately, and destroy this eMail; you must not copy, distribute or take any action in reliance upon it. Whilst all efforts are made to safeguard Inbound and Outbound eMails, the Company cannot guarantee that attachments are Virus-free or compatible with your systems and does not accept any liability in respect of viruses or computer problems experienced. IMPORTANT: Credit Card Details should not be sent to the Company by email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Henry.Steele at tufts.edu Fri Mar 20 09:09:02 2020 From: Henry.Steele at tufts.edu (Steele, Henry) Date: Fri, 20 Mar 2020 13:09:02 +0000 Subject: [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace Message-ID: Have any of you successfully entered your Google Analytics code snippet JS in ASpace. It goes in the layout head html erb, but I'm not sure how to include this since the existin code there just includes a Ruby tab with only the link as an attribute value. Can I just put raw JS in here, inside a script tag? Also, the GA code snippet has a link tag, but with the "async" attribute and I wasn't sure how to include this. Thanks Henry Steele Systems Librarian Tufts University Library Technology Services (617)627-5239 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Joshua.D.Shaw at dartmouth.edu Fri Mar 20 09:35:42 2020 From: Joshua.D.Shaw at dartmouth.edu (Joshua D. Shaw) Date: Fri, 20 Mar 2020 13:35:42 +0000 Subject: [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace In-Reply-To: References: Message-ID: Hi Henry- Its probably easiest to just insert the js in the erb file, since the erbs accept raw code (no need to escape) and the google snippet is unchanging. I'd just pop the snippet that Google provides right in there and you should be good to go! Joshua ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Steele, Henry Sent: Friday, March 20, 2020 9:09 AM To: Archivesspace Users Group Subject: [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace Have any of you successfully entered your Google Analytics code snippet JS in ASpace. It goes in the layout head html erb, but I?m not sure how to include this since the existin code there just includes a Ruby tab with only the link as an attribute value. Can I just put raw JS in here, inside a script tag? Also, the GA code snippet has a link tag, but with the ?async? attribute and I wasn?t sure how to include this. Thanks Henry Steele Systems Librarian Tufts University Library Technology Services (617)627-5239 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gordon_daines at byu.edu Fri Mar 20 09:59:05 2020 From: gordon_daines at byu.edu (Gordon Daines) Date: Fri, 20 Mar 2020 13:59:05 +0000 Subject: [Archivesspace_Users_Group] ArchivesSpace Governance Board 3rd Quarter report Message-ID: Friends, These are challenging times. Challenging times often bring out the best in us and I hope that these times are bringing out the best in you. Recently Russell M. Nelson, president of The Church of Jesus Christ of Latter-day Saints, shared a message of hope with the world. Several lines in his short message (available here) resonated with me and I wanted to share them with you. He said "These unique challenges will pass in due time. I remain optimistic for the future....look for opportunities to help those around you near and far. We have the great privilege of ministering to our neighbors wherever they live." The ArchivesSpace program team and Governance Board are here to support you through these difficult times. Today will be the first "Take a break with ArchivesSpace" forum from 12:00-1:00 pm ET. You can join using this link https://lyrasis.zoom.us/j/281962467. This is an opportunity to be uplifted by your community. If you need to visit, please take advantage of this opportunity. We will get through this and we will be stronger for it. Below please see a report on the 3rd quarter ArchivesSpace Governance Board meeting Gordon Daines Chair, ArchivesSpace Governance Board I am writing to report on the ArchivesSpace Governance Board 3rd Quarter meeting. While the meeting was originally scheduled to be held in person in Chicago, due to COVID-19 travel restrictions, it was conducted remotely on March 12th. We reviewed the continued excellent work of the Technical and User Advisory Councils and thank the members for their dedicated participation. The operations update highlighted how the ArchivesSpace staff and software are well positioned to support the community given the recent COVID-19 outbreak. ArchivesSpace can be accessed remotely and members can rely on it for continuing collections work while working from home. The new Help Center, updated manual and training videos are all available to assist the community. In addition, plans for the Online Forum continue, which will also enable community members to continue to connect with each other. The staff will continue to explore ways to support the community in this challenging time. The operations report also spotlighted various technical activities, including work to support accessibility. Nominating Committee Chair John Wilkin reported on the committee's strong work in identifying and soliciting people interested in serving on our Councils. Board members elected Sean Quimby, Director, Rare Book & Manuscript Library, Columbia University as the Vice Chair effective July 1, 2020. Sean is the representative for the Very Large membership level. He has been on the board since April 2019. He will become the ArchivesSpace Governance Board Chair in July 2021. The board approved an Affiliates program, a new category of affiliation for select membership and technology organizations that seek a more formal relationship with ArchivesSpace. For an annual fee, Affiliates will receive benefits such as a listing on the ArchivesSpace website, permission to use the ArchivesSpace logo, and eligibility to attend ArchivesSpace in-person events. The program will launch on a limited basis later this year. The board also reviewed the results from a recent It Takes a Village Sustainability Assessment for ArchivesSpace and discussed recommendations to enhance sustainability around several facets, including ways to enhance diversity, equity, inclusion, and accessibility in governance and ways to expand the Educational Program membership category. The board discussed the recent Strategic Community Discussion held to gather member feedback on strategic directions. Board members were pleased about the high level of participation in the discussion and agreed to continue hosting these discussions in the future. I am very happy to report that the ArchivesSpace membership organization continues to grow at a steady rate. We reviewed the strong budget reports and approved a FY20-21 budget focused on continued growth and development. The Board extends thanks to all of you for your continuing support and ongoing contributions to the community we have all created. We welcome your communications and comments at any time. _______________________________________ J. Gordon Daines III Curator of Research and Instruction Services Curator of the Yellowstone National Park collection 1130 HBLL Brigham Young University Provo, UT 84602 801-422-5821 gordon_daines at byu.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark.custer at yale.edu Fri Mar 20 10:24:16 2020 From: mark.custer at yale.edu (Custer, Mark) Date: Fri, 20 Mar 2020 14:24:16 +0000 Subject: [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace In-Reply-To: References: , Message-ID: Henry, all: We did exactly what Joshua mentioned... added the snippet as provided by Google Tag Manager to the layout_head.html.erb file, and that's it. Just out of curiosity, is anyone using alternatives to Google Analytics, such as https://matomo.org, with their ASpace PUI? Mark ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Friday, March 20, 2020 9:35 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace Hi Henry- Its probably easiest to just insert the js in the erb file, since the erbs accept raw code (no need to escape) and the google snippet is unchanging. I'd just pop the snippet that Google provides right in there and you should be good to go! Joshua ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Steele, Henry Sent: Friday, March 20, 2020 9:09 AM To: Archivesspace Users Group Subject: [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace Have any of you successfully entered your Google Analytics code snippet JS in ASpace. It goes in the layout head html erb, but I?m not sure how to include this since the existin code there just includes a Ruby tab with only the link as an attribute value. Can I just put raw JS in here, inside a script tag? Also, the GA code snippet has a link tag, but with the ?async? attribute and I wasn?t sure how to include this. Thanks Henry Steele Systems Librarian Tufts University Library Technology Services (617)627-5239 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gordon_daines at byu.edu Fri Mar 20 10:35:06 2020 From: gordon_daines at byu.edu (Gordon Daines) Date: Fri, 20 Mar 2020 14:35:06 +0000 Subject: [Archivesspace_Users_Group] FW: ArchivesSpace Governance Board 3rd Quarter report In-Reply-To: References: Message-ID: Friends, These are challenging times. Challenging times often bring out the best in us and I hope that these times are bringing out the best in you. Recently Russell M. Nelson, president of The Church of Jesus Christ of Latter-day Saints, shared a message of hope with the world. Several lines in his short message (available here) resonated with me and I wanted to share them with you. He said "These unique challenges will pass in due time. I remain optimistic for the future....look for opportunities to help those around you near and far. We have the great privilege of ministering to our neighbors wherever they live." The ArchivesSpace program team and Governance Board are here to support you through these difficult times. Today will be the first "Take a break with ArchivesSpace" forum from 12:00-1:00 pm ET. You can join using this link https://lyrasis.zoom.us/j/281962467. This is an opportunity to be uplifted by your community. If you need to visit, please take advantage of this opportunity. We will get through this and we will be stronger for it. Below please see a report on the 3rd quarter ArchivesSpace Governance Board meeting Gordon Daines Chair, ArchivesSpace Governance Board I am writing to report on the ArchivesSpace Governance Board 3rd Quarter meeting. While the meeting was originally scheduled to be held in person in Chicago, due to COVID-19 travel restrictions, it was conducted remotely on March 12th. We reviewed the continued excellent work of the Technical and User Advisory Councils and thank the members for their dedicated participation. The operations update highlighted how the ArchivesSpace staff and software are well positioned to support the community given the recent COVID-19 outbreak. ArchivesSpace can be accessed remotely and members can rely on it for continuing collections work while working from home. The new Help Center, updated manual and training videos are all available to assist the community. In addition, plans for the Online Forum continue, which will also enable community members to continue to connect with each other. The staff will continue to explore ways to support the community in this challenging time. The operations report also spotlighted various technical activities, including work to support accessibility. Nominating Committee Chair John Wilkin reported on the committee's strong work in identifying and soliciting people interested in serving on our Councils. Board members elected Sean Quimby, Director, Rare Book & Manuscript Library, Columbia University as the Vice Chair effective July 1, 2020. Sean is the representative for the Very Large membership level. He has been on the board since April 2019. He will become the ArchivesSpace Governance Board Chair in July 2021. The board approved an Affiliates program, a new category of affiliation for select membership and technology organizations that seek a more formal relationship with ArchivesSpace. For an annual fee, Affiliates will receive benefits such as a listing on the ArchivesSpace website, permission to use the ArchivesSpace logo, and eligibility to attend ArchivesSpace in-person events. The program will launch on a limited basis later this year. The board also reviewed the results from a recent It Takes a Village Sustainability Assessment for ArchivesSpace and discussed recommendations to enhance sustainability around several facets, including ways to enhance diversity, equity, inclusion, and accessibility in governance and ways to expand the Educational Program membership category. The board discussed the recent Strategic Community Discussion held to gather member feedback on strategic directions. Board members were pleased about the high level of participation in the discussion and agreed to continue hosting these discussions in the future. I am very happy to report that the ArchivesSpace membership organization continues to grow at a steady rate. We reviewed the strong budget reports and approved a FY20-21 budget focused on continued growth and development. The Board extends thanks to all of you for your continuing support and ongoing contributions to the community we have all created. We welcome your communications and comments at any time. _______________________________________ J. Gordon Daines III Curator of Research and Instruction Services Curator of the Yellowstone National Park collection 1130 HBLL Brigham Young University Provo, UT 84602 801-422-5821 gordon_daines at byu.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From Henry.Steele at tufts.edu Fri Mar 20 10:42:03 2020 From: Henry.Steele at tufts.edu (Steele, Henry) Date: Fri, 20 Mar 2020 14:42:03 +0000 Subject: [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace In-Reply-To: References: , Message-ID: Thank you both for your replies and this helpful information. I thought I'd tried that, but I must have tried to mangle the link into the Ruby tag. It worked! Thank you. I just put this snippet in on dev, and although the GA account isn't set up for dev, the application restarted without issue and I could get to the PUI. Thanks again! Henry Steele Systems Librarian Tufts University Library Technology Services (617)627-5239 From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Custer, Mark Sent: Friday, March 20, 2020 10:24 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace Henry, all: We did exactly what Joshua mentioned... added the snippet as provided by Google Tag Manager to the layout_head.html.erb file, and that's it. Just out of curiosity, is anyone using alternatives to Google Analytics, such as https://matomo.org, with their ASpace PUI? Mark ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Joshua D. Shaw > Sent: Friday, March 20, 2020 9:35 AM To: Archivesspace Users Group > Subject: Re: [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace Hi Henry- Its probably easiest to just insert the js in the erb file, since the erbs accept raw code (no need to escape) and the google snippet is unchanging. I'd just pop the snippet that Google provides right in there and you should be good to go! Joshua ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Steele, Henry > Sent: Friday, March 20, 2020 9:09 AM To: Archivesspace Users Group > Subject: [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace Have any of you successfully entered your Google Analytics code snippet JS in ASpace. It goes in the layout head html erb, but I'm not sure how to include this since the existin code there just includes a Ruby tab with only the link as an attribute value. Can I just put raw JS in here, inside a script tag? Also, the GA code snippet has a link tag, but with the "async" attribute and I wasn't sure how to include this. Thanks Henry Steele Systems Librarian Tufts University Library Technology Services (617)627-5239 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Joshua.D.Shaw at dartmouth.edu Fri Mar 20 12:14:00 2020 From: Joshua.D.Shaw at dartmouth.edu (Joshua D. Shaw) Date: Fri, 20 Mar 2020 16:14:00 +0000 Subject: [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace In-Reply-To: References: , , Message-ID: Hi Mark- We've got both Matomo and GA running on our sites, including the PUI, though I've heard the UI for the Matomo reports can be a bit sluggish. Thankfully, I don't have to deal with the minutiae of the analytics reporting! Joshua ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Custer, Mark Sent: Friday, March 20, 2020 10:24 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace Henry, all: We did exactly what Joshua mentioned... added the snippet as provided by Google Tag Manager to the layout_head.html.erb file, and that's it. Just out of curiosity, is anyone using alternatives to Google Analytics, such as https://matomo.org, with their ASpace PUI? Mark ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Friday, March 20, 2020 9:35 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace Hi Henry- Its probably easiest to just insert the js in the erb file, since the erbs accept raw code (no need to escape) and the google snippet is unchanging. I'd just pop the snippet that Google provides right in there and you should be good to go! Joshua ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Steele, Henry Sent: Friday, March 20, 2020 9:09 AM To: Archivesspace Users Group Subject: [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace Have any of you successfully entered your Google Analytics code snippet JS in ASpace. It goes in the layout head html erb, but I?m not sure how to include this since the existin code there just includes a Ruby tab with only the link as an attribute value. Can I just put raw JS in here, inside a script tag? Also, the GA code snippet has a link tag, but with the ?async? attribute and I wasn?t sure how to include this. Thanks Henry Steele Systems Librarian Tufts University Library Technology Services (617)627-5239 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gcoddington at mcdaniel.edu Mon Mar 23 13:59:35 2020 From: gcoddington at mcdaniel.edu (Gwenlyn Coddington) Date: Mon, 23 Mar 2020 17:59:35 +0000 Subject: [Archivesspace_Users_Group] Subject Record Migration from Archon Message-ID: Hello, I'm working on reviewing Subject Records from our recent migration from Archon and have run across a discrepancy regarding how the faceted Subjects in Archon are displaying in ArchivesSpace. It seems that tiered Subject Records in Archon are displaying as multiple Subject Records in ArchivesSpace so that a record like Academic libraries -- United States -- Maryland now has three Subject Records in ArchivesSpace, Academic libraries, Academic libraries -- United States, and Academic libraries -- United States -- Maryland. Where I'm running into trouble is that some of these records say they have Resource or Accession tags in the Subject Record but are not tagged in the Subject field for the Resource or Accession. Has anyone experienced this issue with their migrated data and does deleting or merging the untagged Subject Record create any issues with other Subject Records or Resource Records? Thanks for your time, Gwen Coddington -------------- next part -------------- An HTML attachment was scrubbed... URL: From Henry.Steele at tufts.edu Tue Mar 24 09:00:21 2020 From: Henry.Steele at tufts.edu (Steele, Henry) Date: Tue, 24 Mar 2020 13:00:21 +0000 Subject: [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace In-Reply-To: References: Message-ID: Thanks all for your help with this. It worked Henry Steele Systems Librarian Tufts University Library Technology Services (617)627-5239 From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Joshua D. Shaw Sent: Friday, March 20, 2020 9:36 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace Hi Henry- Its probably easiest to just insert the js in the erb file, since the erbs accept raw code (no need to escape) and the google snippet is unchanging. I'd just pop the snippet that Google provides right in there and you should be good to go! Joshua ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Steele, Henry > Sent: Friday, March 20, 2020 9:09 AM To: Archivesspace Users Group > Subject: [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace Have any of you successfully entered your Google Analytics code snippet JS in ASpace. It goes in the layout head html erb, but I'm not sure how to include this since the existin code there just includes a Ruby tab with only the link as an attribute value. Can I just put raw JS in here, inside a script tag? Also, the GA code snippet has a link tag, but with the "async" attribute and I wasn't sure how to include this. Thanks Henry Steele Systems Librarian Tufts University Library Technology Services (617)627-5239 -------------- next part -------------- An HTML attachment was scrubbed... URL: From j.sweetapple at abhsarchives.org Tue Mar 24 15:52:36 2020 From: j.sweetapple at abhsarchives.org (Jill E. Sweetapple) Date: Tue, 24 Mar 2020 19:52:36 +0000 Subject: [Archivesspace_Users_Group] Putting in multiple locations Message-ID: I'm not sure how many of you are using locations, but I have run into a problem. I am trying to put in locations for 877 boxes. I worked most of yesterday and put them all in. Late in the day, they disappeared. I put in the location profiles (shelf dimensions) and a lot of container profiles as well. But once I try to use the bulk operations to input the locations, they won't stick! I have put in a lot so far with no problems. But starting yesterday, working from HOME incidentally, via VPN, I am hitting a snag. I am tired of putting them in, so want to see if anyone has a suggestion. My instance is hosted, but they are onsite and helping out. I thought more info might guide them. Thank you in advance. Jill Jill Sweetapple Head of Archives and Special Collections American Baptist Historical Society 3001 Mercer University Dr. Atlanta, GA 30341-4115 (01) 678/547-6680 www.abhsarchives.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From Henry.Steele at tufts.edu Wed Mar 25 07:54:56 2020 From: Henry.Steele at tufts.edu (Steele, Henry) Date: Wed, 25 Mar 2020 11:54:56 +0000 Subject: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI Message-ID: Good morning, We recently made our PUI open the public and we are trying to find out about usage, particularly of a certain page within our repository. I'm trying to figure out if there's any way to see this in the logs. I've looked in the application log archivesspace.out, but I'm not sure what I'm seeing here. I see records being accessed, with a response of 200, but I don't know if this is the staff interface, the PUI, or if it's some indexing activity. Is there a way in the application log to see if a certain page has been accessed in the PUI? We have our log level set to "fatal" for the PUI, and the "pui_log" is default. I know should mean the log only reports on problematic events, but since I see a lot of activity in the log, I'm wondering if this setting doesn't actually have effect. Alternately, does anyone know if there might be other server logs that would be of use? I'm looking in the Apache logs at /var/log/httpd but I'm not sure which of this logs would contain such information if any. Any information you had would be of great help. Thanks If this isn't Henry Steele Systems Librarian Tufts University Library Technology Services (617)627-5239 -------------- next part -------------- An HTML attachment was scrubbed... URL: From blake.carver at lyrasis.org Wed Mar 25 09:01:28 2020 From: blake.carver at lyrasis.org (Blake Carver) Date: Wed, 25 Mar 2020 13:01:28 +0000 Subject: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI In-Reply-To: References: Message-ID: I know quite a few people use Google Analytics, which is not something I find useful at all, but it's used quite often. Check matamo for an open source analytics product. There are many others. I know matamo gives you the ability to customize things, and I bet it could be quite useful, though I've not touched it in many years. I think your best bet is to get to know your Apache logs. You should be able to get something useful out of there, but you'll need to learn what your logging there, and maybe change it up. Read up on Apache's "LogFormat" , it's pretty flexible and you can customize that on your server. You can also customize where log files end up for which domain name, so that might help as well. If you're running the PUI and STAFF sides on different URLs, or prefixes, that will help set them apart for logging. This is all one of those "It Depends" kinds of things. Using grep/awk/sed etc... will let you pull out different things from the logs. Try tailing the log as you look at different things on the site and see how those get logged, then work up some simple greps to pull out just what you need every day. This is a simple one I use to see the busiest sites on a server: cat /var/log/apache2/other_vhosts_access.log.1 | awk {'print $1'} | sort |uniq -c |sort -nr | head -20 (If you're looking at that and thinking "You don't need cat in there, dummy" I know I know, old habits die hard) You could do the same kind of grep work on the archivesspace.out log file and get something out of it. You might need to experiment with loglevel on that to see what you can get. DEBUG is probably way too much. Here's some real nginx logs... these are based on real logs with some details changed to protect the innocent. Here's one you might see quite often, if someone is logged into the staff side you'll see this POST to check their session: 4.4.4.4 example.edu - [25/Mar/2020:12:32:22 +0000] "POST /update_monitor/poll HTTP/1.1" 200 4751 "https://example.edu/resources/134/edit" "lock_version=12&uri=%2Frepositories%2F5%2Fresources%2F134" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:71.0) Gecko/20100101 Firefox/71.0" "-" Here's another one, someone is looked at a resource on the staff side: 4.4.4.4 example.edu - [25/Mar/2020:12:31:03 +0000] "GET /resources/2774?inline=true&undefined_id=%2Frepositories%2F3%2Fresources%2F2774 HTTP/1.1" 200 9839 "https://example.edu/resources/2774" "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" "-" And here's a bot crawling the public side. 216.244.66.240 example.edu - [25/Mar/2020:12:29:58 +0000] "GET /repositories/2/archival_objects/97930 HTTP/1.1" 200 21473 "-" "-" "Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help at moz.com)" "-" Depending on how you configure your Apache/nginx/whatever logs, those log lines will look different and you can log a bunch of different things. On the ArchivesSpace side (archivesspace/logs/archivesspace.out) the logs can look different depending on your log level. Here's one set to debug showing the indexer doing some work: INFO: [collection1] webapp= path=/update params={} {add=[/repositories/2/archival_objects/33921#pui, /repositories/2/archival_objects/33922#pui, /repositories/2/archival_objects/33923#pui, /repositories/2/archival_objects/33924#pui, /repositories/2/archival_objects/33925#pui, /repositories/2/archival_objects/33926#pui, /repositories/2/archival_objects/33927#pui, /repositories/2/archival_objects/33928#pui, /repositories/2/archival_objects/33929#pui, /repositories/2/archival_objects/33930#pui, ... (25 adds)]} 0 6 Here's one line from me viewing a resource on the staff side, as you can see it'll be a bit more challenging to get useful stuff out of this log, but it's in there: [2020-03-25T08:45:29-04:00] INFO: [collection1] webapp= path=/select params={facet.field=assessment_record_types&facet.field=assessment_surveyors&facet.field=assessment_review_required&facet.field=assessment_reviewers&facet.field=assessment_completed&facet.field=assessment_inactive&facet.field=assessment_survey_year&facet.field=assessment_sensitive_material&csv.escape=\&start=0&q.op=AND&fq=repository:"/repositories/3"+OR+repository:global&fq=types:("assessment")&fq=(-types:("pui_only")+AND+(assessment_record_uris:("\/repositories\/3\/resources\/406")))&fq=-exclude_by_default:true&sort=&rows=30&bq=primary_type:resource^100&q=*:*&facet.limit=20&defType=edismax&qf=four_part_id^3+title^2+finding_aid_filing_title^2+fullrecord&pf=four_part_id^4&csv.header=true&csv.encapsulator="&facet.mincount=0&wt=json&facet=true} hits=0 status=0 QTime=61 ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Steele, Henry Sent: Wednesday, March 25, 2020 7:54 AM To: Archivesspace Users Group Subject: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI Good morning, We recently made our PUI open the public and we are trying to find out about usage, particularly of a certain page within our repository. I?m trying to figure out if there?s any way to see this in the logs. I?ve looked in the application log archivesspace.out, but I?m not sure what I?m seeing here. I see records being accessed, with a response of 200, but I don?t know if this is the staff interface, the PUI, or if it?s some indexing activity. Is there a way in the application log to see if a certain page has been accessed in the PUI? We have our log level set to ?fatal? for the PUI, and the ?pui_log? is default. I know should mean the log only reports on problematic events, but since I see a lot of activity in the log, I?m wondering if this setting doesn?t actually have effect. Alternately, does anyone know if there might be other server logs that would be of use? I?m looking in the Apache logs at /var/log/httpd but I?m not sure which of this logs would contain such information if any. Any information you had would be of great help. Thanks If this isn?t Henry Steele Systems Librarian Tufts University Library Technology Services (617)627-5239 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Henry.Steele at tufts.edu Wed Mar 25 09:06:38 2020 From: Henry.Steele at tufts.edu (Steele, Henry) Date: Wed, 25 Mar 2020 13:06:38 +0000 Subject: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI In-Reply-To: References: Message-ID: Thank you, Blake. This is all really helpful. I will see if I can use some of these strategies to look through our logs. It may not be there. Our pui log level is "fatal" and I'm not sure the Apache (/var/log/httpd) contain this kind of information. But it's certainly good to know how to look Henry Steele Systems Librarian Tufts University Library Technology Services (617)627-5239 From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Blake Carver Sent: Wednesday, March 25, 2020 9:01 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI I know quite a few people use Google Analytics, which is not something I find useful at all, but it's used quite often. Check matamo for an open source analytics product. There are many others. I know matamo gives you the ability to customize things, and I bet it could be quite useful, though I've not touched it in many years. I think your best bet is to get to know your Apache logs. You should be able to get something useful out of there, but you'll need to learn what your logging there, and maybe change it up. Read up on Apache's "LogFormat" , it's pretty flexible and you can customize that on your server. You can also customize where log files end up for which domain name, so that might help as well. If you're running the PUI and STAFF sides on different URLs, or prefixes, that will help set them apart for logging. This is all one of those "It Depends" kinds of things. Using grep/awk/sed etc... will let you pull out different things from the logs. Try tailing the log as you look at different things on the site and see how those get logged, then work up some simple greps to pull out just what you need every day. This is a simple one I use to see the busiest sites on a server: cat /var/log/apache2/other_vhosts_access.log.1 | awk {'print $1'} | sort |uniq -c |sort -nr | head -20 (If you're looking at that and thinking "You don't need cat in there, dummy" I know I know, old habits die hard) You could do the same kind of grep work on the archivesspace.out log file and get something out of it. You might need to experiment with loglevel on that to see what you can get. DEBUG is probably way too much. Here's some real nginx logs... these are based on real logs with some details changed to protect the innocent. Here's one you might see quite often, if someone is logged into the staff side you'll see this POST to check their session: 4.4.4.4 example.edu - [25/Mar/2020:12:32:22 +0000] "POST /update_monitor/poll HTTP/1.1" 200 4751 "https://example.edu/resources/134/edit" "lock_version=12&uri=%2Frepositories%2F5%2Fresources%2F134" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:71.0) Gecko/20100101 Firefox/71.0" "-" Here's another one, someone is looked at a resource on the staff side: 4.4.4.4 example.edu - [25/Mar/2020:12:31:03 +0000] "GET /resources/2774?inline=true&undefined_id=%2Frepositories%2F3%2Fresources%2F2774 HTTP/1.1" 200 9839 "https://example.edu/resources/2774" "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" "-" And here's a bot crawling the public side. 216.244.66.240 example.edu - [25/Mar/2020:12:29:58 +0000] "GET /repositories/2/archival_objects/97930 HTTP/1.1" 200 21473 "-" "-" "Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help at moz.com)" "-" Depending on how you configure your Apache/nginx/whatever logs, those log lines will look different and you can log a bunch of different things. On the ArchivesSpace side (archivesspace/logs/archivesspace.out) the logs can look different depending on your log level. Here's one set to debug showing the indexer doing some work: INFO: [collection1] webapp= path=/update params={} {add=[/repositories/2/archival_objects/33921#pui, /repositories/2/archival_objects/33922#pui, /repositories/2/archival_objects/33923#pui, /repositories/2/archival_objects/33924#pui, /repositories/2/archival_objects/33925#pui, /repositories/2/archival_objects/33926#pui, /repositories/2/archival_objects/33927#pui, /repositories/2/archival_objects/33928#pui, /repositories/2/archival_objects/33929#pui, /repositories/2/archival_objects/33930#pui, ... (25 adds)]} 0 6 Here's one line from me viewing a resource on the staff side, as you can see it'll be a bit more challenging to get useful stuff out of this log, but it's in there: [2020-03-25T08:45:29-04:00] INFO: [collection1] webapp= path=/select params={facet.field=assessment_record_types&facet.field=assessment_surveyors&facet.field=assessment_review_required&facet.field=assessment_reviewers&facet.field=assessment_completed&facet.field=assessment_inactive&facet.field=assessment_survey_year&facet.field=assessment_sensitive_material&csv.escape=\&start=0&q.op=AND&fq=repository:"/repositories/3"+OR+repository:global&fq=types:("assessment")&fq=(-types:("pui_only")+AND+(assessment_record_uris:("\/repositories\/3\/resources\/406")))&fq=-exclude_by_default:true&sort=&rows=30&bq=primary_type:resource^100&q=*:*&facet.limit=20&defType=edismax&qf=four_part_id^3+title^2+finding_aid_filing_title^2+fullrecord&pf=four_part_id^4&csv.header=true&csv.encapsulator="&facet.mincount=0&wt=json&facet=true} hits=0 status=0 QTime=61 ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Steele, Henry > Sent: Wednesday, March 25, 2020 7:54 AM To: Archivesspace Users Group > Subject: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI Good morning, We recently made our PUI open the public and we are trying to find out about usage, particularly of a certain page within our repository. I'm trying to figure out if there's any way to see this in the logs. I've looked in the application log archivesspace.out, but I'm not sure what I'm seeing here. I see records being accessed, with a response of 200, but I don't know if this is the staff interface, the PUI, or if it's some indexing activity. Is there a way in the application log to see if a certain page has been accessed in the PUI? We have our log level set to "fatal" for the PUI, and the "pui_log" is default. I know should mean the log only reports on problematic events, but since I see a lot of activity in the log, I'm wondering if this setting doesn't actually have effect. Alternately, does anyone know if there might be other server logs that would be of use? I'm looking in the Apache logs at /var/log/httpd but I'm not sure which of this logs would contain such information if any. Any information you had would be of great help. Thanks If this isn't Henry Steele Systems Librarian Tufts University Library Technology Services (617)627-5239 -------------- next part -------------- An HTML attachment was scrubbed... URL: From blake.carver at lyrasis.org Wed Mar 25 09:10:41 2020 From: blake.carver at lyrasis.org (Blake Carver) Date: Wed, 25 Mar 2020 13:10:41 +0000 Subject: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI In-Reply-To: References: , Message-ID: You (or your friendly neighborhood sysadmin) can change up the Apache logs to add/remove quite a few things. There's all sorts of good stuff you can get in there: http://httpd.apache.org/docs/current/mod/mod_log_config.html ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Steele, Henry Sent: Wednesday, March 25, 2020 9:06 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI Thank you, Blake. This is all really helpful. I will see if I can use some of these strategies to look through our logs. It may not be there. Our pui log level is ?fatal? and I?m not sure the Apache (/var/log/httpd) contain this kind of information. But it?s certainly good to know how to look Henry Steele Systems Librarian Tufts University Library Technology Services (617)627-5239 From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Blake Carver Sent: Wednesday, March 25, 2020 9:01 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI I know quite a few people use Google Analytics, which is not something I find useful at all, but it's used quite often. Check matamo for an open source analytics product. There are many others. I know matamo gives you the ability to customize things, and I bet it could be quite useful, though I've not touched it in many years. I think your best bet is to get to know your Apache logs. You should be able to get something useful out of there, but you'll need to learn what your logging there, and maybe change it up. Read up on Apache's "LogFormat" , it's pretty flexible and you can customize that on your server. You can also customize where log files end up for which domain name, so that might help as well. If you're running the PUI and STAFF sides on different URLs, or prefixes, that will help set them apart for logging. This is all one of those "It Depends" kinds of things. Using grep/awk/sed etc... will let you pull out different things from the logs. Try tailing the log as you look at different things on the site and see how those get logged, then work up some simple greps to pull out just what you need every day. This is a simple one I use to see the busiest sites on a server: cat /var/log/apache2/other_vhosts_access.log.1 | awk {'print $1'} | sort |uniq -c |sort -nr | head -20 (If you're looking at that and thinking "You don't need cat in there, dummy" I know I know, old habits die hard) You could do the same kind of grep work on the archivesspace.out log file and get something out of it. You might need to experiment with loglevel on that to see what you can get. DEBUG is probably way too much. Here's some real nginx logs... these are based on real logs with some details changed to protect the innocent. Here's one you might see quite often, if someone is logged into the staff side you'll see this POST to check their session: 4.4.4.4 example.edu - [25/Mar/2020:12:32:22 +0000] "POST /update_monitor/poll HTTP/1.1" 200 4751 "https://example.edu/resources/134/edit" "lock_version=12&uri=%2Frepositories%2F5%2Fresources%2F134" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:71.0) Gecko/20100101 Firefox/71.0" "-" Here's another one, someone is looked at a resource on the staff side: 4.4.4.4 example.edu - [25/Mar/2020:12:31:03 +0000] "GET /resources/2774?inline=true&undefined_id=%2Frepositories%2F3%2Fresources%2F2774 HTTP/1.1" 200 9839 "https://example.edu/resources/2774" "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" "-" And here's a bot crawling the public side. 216.244.66.240 example.edu - [25/Mar/2020:12:29:58 +0000] "GET /repositories/2/archival_objects/97930 HTTP/1.1" 200 21473 "-" "-" "Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help at moz.com)" "-" Depending on how you configure your Apache/nginx/whatever logs, those log lines will look different and you can log a bunch of different things. On the ArchivesSpace side (archivesspace/logs/archivesspace.out) the logs can look different depending on your log level. Here's one set to debug showing the indexer doing some work: INFO: [collection1] webapp= path=/update params={} {add=[/repositories/2/archival_objects/33921#pui, /repositories/2/archival_objects/33922#pui, /repositories/2/archival_objects/33923#pui, /repositories/2/archival_objects/33924#pui, /repositories/2/archival_objects/33925#pui, /repositories/2/archival_objects/33926#pui, /repositories/2/archival_objects/33927#pui, /repositories/2/archival_objects/33928#pui, /repositories/2/archival_objects/33929#pui, /repositories/2/archival_objects/33930#pui, ... (25 adds)]} 0 6 Here's one line from me viewing a resource on the staff side, as you can see it'll be a bit more challenging to get useful stuff out of this log, but it's in there: [2020-03-25T08:45:29-04:00] INFO: [collection1] webapp= path=/select params={facet.field=assessment_record_types&facet.field=assessment_surveyors&facet.field=assessment_review_required&facet.field=assessment_reviewers&facet.field=assessment_completed&facet.field=assessment_inactive&facet.field=assessment_survey_year&facet.field=assessment_sensitive_material&csv.escape=\&start=0&q.op=AND&fq=repository:"/repositories/3"+OR+repository:global&fq=types:("assessment")&fq=(-types:("pui_only")+AND+(assessment_record_uris:("\/repositories\/3\/resources\/406")))&fq=-exclude_by_default:true&sort=&rows=30&bq=primary_type:resource^100&q=*:*&facet.limit=20&defType=edismax&qf=four_part_id^3+title^2+finding_aid_filing_title^2+fullrecord&pf=four_part_id^4&csv.header=true&csv.encapsulator="&facet.mincount=0&wt=json&facet=true} hits=0 status=0 QTime=61 ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Steele, Henry > Sent: Wednesday, March 25, 2020 7:54 AM To: Archivesspace Users Group > Subject: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI Good morning, We recently made our PUI open the public and we are trying to find out about usage, particularly of a certain page within our repository. I?m trying to figure out if there?s any way to see this in the logs. I?ve looked in the application log archivesspace.out, but I?m not sure what I?m seeing here. I see records being accessed, with a response of 200, but I don?t know if this is the staff interface, the PUI, or if it?s some indexing activity. Is there a way in the application log to see if a certain page has been accessed in the PUI? We have our log level set to ?fatal? for the PUI, and the ?pui_log? is default. I know should mean the log only reports on problematic events, but since I see a lot of activity in the log, I?m wondering if this setting doesn?t actually have effect. Alternately, does anyone know if there might be other server logs that would be of use? I?m looking in the Apache logs at /var/log/httpd but I?m not sure which of this logs would contain such information if any. Any information you had would be of great help. Thanks If this isn?t Henry Steele Systems Librarian Tufts University Library Technology Services (617)627-5239 -------------- next part -------------- An HTML attachment was scrubbed... URL: From christine.dibella at lyrasis.org Wed Mar 25 09:34:07 2020 From: christine.dibella at lyrasis.org (Christine Di Bella) Date: Wed, 25 Mar 2020 13:34:07 +0000 Subject: [Archivesspace_Users_Group] Putting in multiple locations In-Reply-To: References: Message-ID: Hi Jill, This sounds like it's probably specific to your deployment of ArchivesSpace and could use some one-on-one help. I'm going to put a tech support ticket in for you on this. You'll see another message about that directly to you in a minute. Christine Christine Di Bella ArchivesSpace Program Manager christine.dibella at lyrasis.org 800.999.8558 x2905 678-235-2905 cdibella13 (Skype) [ASpaceOrgHomeMedium] From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Jill E. Sweetapple Sent: Tuesday, March 24, 2020 3:53 PM To: archivesspace_users_group at lyralists.lyrasis.org Subject: [Archivesspace_Users_Group] Putting in multiple locations I'm not sure how many of you are using locations, but I have run into a problem. I am trying to put in locations for 877 boxes. I worked most of yesterday and put them all in. Late in the day, they disappeared. I put in the location profiles (shelf dimensions) and a lot of container profiles as well. But once I try to use the bulk operations to input the locations, they won't stick! I have put in a lot so far with no problems. But starting yesterday, working from HOME incidentally, via VPN, I am hitting a snag. I am tired of putting them in, so want to see if anyone has a suggestion. My instance is hosted, but they are onsite and helping out. I thought more info might guide them. Thank you in advance. Jill Jill Sweetapple Head of Archives and Special Collections American Baptist Historical Society 3001 Mercer University Dr. Atlanta, GA 30341-4115 (01) 678/547-6680 www.abhsarchives.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 6608 bytes Desc: image001.jpg URL: From christine.dibella at lyrasis.org Wed Mar 25 09:43:00 2020 From: christine.dibella at lyrasis.org (Christine Di Bella) Date: Wed, 25 Mar 2020 13:43:00 +0000 Subject: [Archivesspace_Users_Group] Subject Record Migration from Archon In-Reply-To: References: Message-ID: Hi Gwen, Others may have answers here, but I'm also going to put a support ticket in for this. (You'll see another message about that directly to you in a minute.) Our tech folks who are familiar with multiple Archon migrations may have some ideas. Christine Christine Di Bella ArchivesSpace Program Manager christine.dibella at lyrasis.org 800.999.8558 x2905 678-235-2905 cdibella13 (Skype) [ASpaceOrgHomeMedium] From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Gwenlyn Coddington Sent: Monday, March 23, 2020 2:00 PM To: Archivesspace Users Group Cc: dbrennan at mcdaniel.edu Subject: [Archivesspace_Users_Group] Subject Record Migration from Archon Hello, I'm working on reviewing Subject Records from our recent migration from Archon and have run across a discrepancy regarding how the faceted Subjects in Archon are displaying in ArchivesSpace. It seems that tiered Subject Records in Archon are displaying as multiple Subject Records in ArchivesSpace so that a record like Academic libraries -- United States -- Maryland now has three Subject Records in ArchivesSpace, Academic libraries, Academic libraries -- United States, and Academic libraries -- United States -- Maryland. Where I'm running into trouble is that some of these records say they have Resource or Accession tags in the Subject Record but are not tagged in the Subject field for the Resource or Accession. Has anyone experienced this issue with their migrated data and does deleting or merging the untagged Subject Record create any issues with other Subject Records or Resource Records? Thanks for your time, Gwen Coddington -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 6608 bytes Desc: image001.jpg URL: From gcoddington at mcdaniel.edu Wed Mar 25 09:43:50 2020 From: gcoddington at mcdaniel.edu (Gwenlyn Coddington) Date: Wed, 25 Mar 2020 13:43:50 +0000 Subject: [Archivesspace_Users_Group] Subject Record Migration from Archon In-Reply-To: References: , Message-ID: Hello Christine, Thank you very much! Gwen ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Christine Di Bella Sent: Wednesday, March 25, 2020 9:43 AM To: Archivesspace Users Group Cc: David Brennan Subject: Re: [Archivesspace_Users_Group] Subject Record Migration from Archon Hi Gwen, Others may have answers here, but I?m also going to put a support ticket in for this. (You?ll see another message about that directly to you in a minute.) Our tech folks who are familiar with multiple Archon migrations may have some ideas. Christine Christine Di Bella ArchivesSpace Program Manager christine.dibella at lyrasis.org 800.999.8558 x2905 678-235-2905 cdibella13 (Skype) [ASpaceOrgHomeMedium] From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Gwenlyn Coddington Sent: Monday, March 23, 2020 2:00 PM To: Archivesspace Users Group Cc: dbrennan at mcdaniel.edu Subject: [Archivesspace_Users_Group] Subject Record Migration from Archon Hello, I'm working on reviewing Subject Records from our recent migration from Archon and have run across a discrepancy regarding how the faceted Subjects in Archon are displaying in ArchivesSpace. It seems that tiered Subject Records in Archon are displaying as multiple Subject Records in ArchivesSpace so that a record like Academic libraries -- United States -- Maryland now has three Subject Records in ArchivesSpace, Academic libraries, Academic libraries -- United States, and Academic libraries -- United States -- Maryland. Where I'm running into trouble is that some of these records say they have Resource or Accession tags in the Subject Record but are not tagged in the Subject field for the Resource or Accession. Has anyone experienced this issue with their migrated data and does deleting or merging the untagged Subject Record create any issues with other Subject Records or Resource Records? Thanks for your time, Gwen Coddington -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 6608 bytes Desc: image001.jpg URL: From mark.custer at yale.edu Wed Mar 25 10:26:28 2020 From: mark.custer at yale.edu (Custer, Mark) Date: Wed, 25 Mar 2020 14:26:28 +0000 Subject: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI In-Reply-To: References: , , Message-ID: Henry, The server logs will give you one perspective, but another perspective that you can possibly get from a page-tagging approach like Google Analytics would be all of the other stuff that you an configure (e.g. the ability to add tags with Google Tag Manager), which I only bring up since it sounds like you also have Google Analytics installed on your site. When looking at site traffic of an archival discovery system, I would want to report on the overall use of an entire finding aid, and with the ASpace PUI that would include aggregating all of the visits to the "resource", "archival_object", and "top_container" URLs for the same finding aid. e.g. http://test.archivesspace.org/resources/historic_ships_records http://test.archivesspace.org/archival_objects/water_witch_ship_1 http://test.archivesspace.org/repositories/2/top_containers/373 All three of those URLs represent different views of http://test.archivesspace.org/repositories/2/resources/34, but those three URLs above don't tell you that by themselves, which makes setting things up especially important. That's one place where Google Tag Manger could come in handy, I think, since you could add a custom dimensions for collection ID, finding aid author, etc. I say "I think" since I haven't used Google Analytics as a site manager in a long time, but I would love to have that type of data. Blake, regarding Matamo, I've often thought that it might be really beneficial if an organization provided "Analytics as a Service" alongside site hosting (e.g. using the Matomo On-premise option with ASpace) ??. Mark ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Blake Carver Sent: Wednesday, March 25, 2020 9:10 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI You (or your friendly neighborhood sysadmin) can change up the Apache logs to add/remove quite a few things. There's all sorts of good stuff you can get in there: http://httpd.apache.org/docs/current/mod/mod_log_config.html ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Steele, Henry Sent: Wednesday, March 25, 2020 9:06 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI Thank you, Blake. This is all really helpful. I will see if I can use some of these strategies to look through our logs. It may not be there. Our pui log level is ?fatal? and I?m not sure the Apache (/var/log/httpd) contain this kind of information. But it?s certainly good to know how to look Henry Steele Systems Librarian Tufts University Library Technology Services (617)627-5239 From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Blake Carver Sent: Wednesday, March 25, 2020 9:01 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI I know quite a few people use Google Analytics, which is not something I find useful at all, but it's used quite often. Check matamo for an open source analytics product. There are many others. I know matamo gives you the ability to customize things, and I bet it could be quite useful, though I've not touched it in many years. I think your best bet is to get to know your Apache logs. You should be able to get something useful out of there, but you'll need to learn what your logging there, and maybe change it up. Read up on Apache's "LogFormat" , it's pretty flexible and you can customize that on your server. You can also customize where log files end up for which domain name, so that might help as well. If you're running the PUI and STAFF sides on different URLs, or prefixes, that will help set them apart for logging. This is all one of those "It Depends" kinds of things. Using grep/awk/sed etc... will let you pull out different things from the logs. Try tailing the log as you look at different things on the site and see how those get logged, then work up some simple greps to pull out just what you need every day. This is a simple one I use to see the busiest sites on a server: cat /var/log/apache2/other_vhosts_access.log.1 | awk {'print $1'} | sort |uniq -c |sort -nr | head -20 (If you're looking at that and thinking "You don't need cat in there, dummy" I know I know, old habits die hard) You could do the same kind of grep work on the archivesspace.out log file and get something out of it. You might need to experiment with loglevel on that to see what you can get. DEBUG is probably way too much. Here's some real nginx logs... these are based on real logs with some details changed to protect the innocent. Here's one you might see quite often, if someone is logged into the staff side you'll see this POST to check their session: 4.4.4.4 example.edu - [25/Mar/2020:12:32:22 +0000] "POST /update_monitor/poll HTTP/1.1" 200 4751 "https://example.edu/resources/134/edit" "lock_version=12&uri=%2Frepositories%2F5%2Fresources%2F134" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:71.0) Gecko/20100101 Firefox/71.0" "-" Here's another one, someone is looked at a resource on the staff side: 4.4.4.4 example.edu - [25/Mar/2020:12:31:03 +0000] "GET /resources/2774?inline=true&undefined_id=%2Frepositories%2F3%2Fresources%2F2774 HTTP/1.1" 200 9839 "https://example.edu/resources/2774" "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" "-" And here's a bot crawling the public side. 216.244.66.240 example.edu - [25/Mar/2020:12:29:58 +0000] "GET /repositories/2/archival_objects/97930 HTTP/1.1" 200 21473 "-" "-" "Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help at moz.com)" "-" Depending on how you configure your Apache/nginx/whatever logs, those log lines will look different and you can log a bunch of different things. On the ArchivesSpace side (archivesspace/logs/archivesspace.out) the logs can look different depending on your log level. Here's one set to debug showing the indexer doing some work: INFO: [collection1] webapp= path=/update params={} {add=[/repositories/2/archival_objects/33921#pui, /repositories/2/archival_objects/33922#pui, /repositories/2/archival_objects/33923#pui, /repositories/2/archival_objects/33924#pui, /repositories/2/archival_objects/33925#pui, /repositories/2/archival_objects/33926#pui, /repositories/2/archival_objects/33927#pui, /repositories/2/archival_objects/33928#pui, /repositories/2/archival_objects/33929#pui, /repositories/2/archival_objects/33930#pui, ... (25 adds)]} 0 6 Here's one line from me viewing a resource on the staff side, as you can see it'll be a bit more challenging to get useful stuff out of this log, but it's in there: [2020-03-25T08:45:29-04:00] INFO: [collection1] webapp= path=/select params={facet.field=assessment_record_types&facet.field=assessment_surveyors&facet.field=assessment_review_required&facet.field=assessment_reviewers&facet.field=assessment_completed&facet.field=assessment_inactive&facet.field=assessment_survey_year&facet.field=assessment_sensitive_material&csv.escape=\&start=0&q.op=AND&fq=repository:"/repositories/3"+OR+repository:global&fq=types:("assessment")&fq=(-types:("pui_only")+AND+(assessment_record_uris:("\/repositories\/3\/resources\/406")))&fq=-exclude_by_default:true&sort=&rows=30&bq=primary_type:resource^100&q=*:*&facet.limit=20&defType=edismax&qf=four_part_id^3+title^2+finding_aid_filing_title^2+fullrecord&pf=four_part_id^4&csv.header=true&csv.encapsulator="&facet.mincount=0&wt=json&facet=true} hits=0 status=0 QTime=61 ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Steele, Henry > Sent: Wednesday, March 25, 2020 7:54 AM To: Archivesspace Users Group > Subject: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI Good morning, We recently made our PUI open the public and we are trying to find out about usage, particularly of a certain page within our repository. I?m trying to figure out if there?s any way to see this in the logs. I?ve looked in the application log archivesspace.out, but I?m not sure what I?m seeing here. I see records being accessed, with a response of 200, but I don?t know if this is the staff interface, the PUI, or if it?s some indexing activity. Is there a way in the application log to see if a certain page has been accessed in the PUI? We have our log level set to ?fatal? for the PUI, and the ?pui_log? is default. I know should mean the log only reports on problematic events, but since I see a lot of activity in the log, I?m wondering if this setting doesn?t actually have effect. Alternately, does anyone know if there might be other server logs that would be of use? I?m looking in the Apache logs at /var/log/httpd but I?m not sure which of this logs would contain such information if any. Any information you had would be of great help. Thanks If this isn?t Henry Steele Systems Librarian Tufts University Library Technology Services (617)627-5239 -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew.morrison at bodleian.ox.ac.uk Wed Mar 25 12:13:04 2020 From: andrew.morrison at bodleian.ox.ac.uk (Andrew Morrison) Date: Wed, 25 Mar 2020 16:13:04 +0000 Subject: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI In-Reply-To: References: , Message-ID: Note that access logs may not be viewable without superuser access, or could have been automatically transferred to another the server for secure storage and analysis, if your system admins felt it necessary to comply with local privacy or data protection regulations. Andrew. ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Steele, Henry Sent: 25 March 2020 13:06 To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI Thank you, Blake. This is all really helpful. I will see if I can use some of these strategies to look through our logs. It may not be there. Our pui log level is ?fatal? and I?m not sure the Apache (/var/log/httpd) contain this kind of information. But it?s certainly good to know how to look Henry Steele Systems Librarian Tufts University Library Technology Services (617)627-5239 From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Blake Carver Sent: Wednesday, March 25, 2020 9:01 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI I know quite a few people use Google Analytics, which is not something I find useful at all, but it's used quite often. Check matamo for an open source analytics product. There are many others. I know matamo gives you the ability to customize things, and I bet it could be quite useful, though I've not touched it in many years. I think your best bet is to get to know your Apache logs. You should be able to get something useful out of there, but you'll need to learn what your logging there, and maybe change it up. Read up on Apache's "LogFormat" , it's pretty flexible and you can customize that on your server. You can also customize where log files end up for which domain name, so that might help as well. If you're running the PUI and STAFF sides on different URLs, or prefixes, that will help set them apart for logging. This is all one of those "It Depends" kinds of things. Using grep/awk/sed etc... will let you pull out different things from the logs. Try tailing the log as you look at different things on the site and see how those get logged, then work up some simple greps to pull out just what you need every day. This is a simple one I use to see the busiest sites on a server: cat /var/log/apache2/other_vhosts_access.log.1 | awk {'print $1'} | sort |uniq -c |sort -nr | head -20 (If you're looking at that and thinking "You don't need cat in there, dummy" I know I know, old habits die hard) You could do the same kind of grep work on the archivesspace.out log file and get something out of it. You might need to experiment with loglevel on that to see what you can get. DEBUG is probably way too much. Here's some real nginx logs... these are based on real logs with some details changed to protect the innocent. Here's one you might see quite often, if someone is logged into the staff side you'll see this POST to check their session: 4.4.4.4 example.edu - [25/Mar/2020:12:32:22 +0000] "POST /update_monitor/poll HTTP/1.1" 200 4751 "https://example.edu/resources/134/edit" "lock_version=12&uri=%2Frepositories%2F5%2Fresources%2F134" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:71.0) Gecko/20100101 Firefox/71.0" "-" Here's another one, someone is looked at a resource on the staff side: 4.4.4.4 example.edu - [25/Mar/2020:12:31:03 +0000] "GET /resources/2774?inline=true&undefined_id=%2Frepositories%2F3%2Fresources%2F2774 HTTP/1.1" 200 9839 "https://example.edu/resources/2774" "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" "-" And here's a bot crawling the public side. 216.244.66.240 example.edu - [25/Mar/2020:12:29:58 +0000] "GET /repositories/2/archival_objects/97930 HTTP/1.1" 200 21473 "-" "-" "Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help at moz.com)" "-" Depending on how you configure your Apache/nginx/whatever logs, those log lines will look different and you can log a bunch of different things. On the ArchivesSpace side (archivesspace/logs/archivesspace.out) the logs can look different depending on your log level. Here's one set to debug showing the indexer doing some work: INFO: [collection1] webapp= path=/update params={} {add=[/repositories/2/archival_objects/33921#pui, /repositories/2/archival_objects/33922#pui, /repositories/2/archival_objects/33923#pui, /repositories/2/archival_objects/33924#pui, /repositories/2/archival_objects/33925#pui, /repositories/2/archival_objects/33926#pui, /repositories/2/archival_objects/33927#pui, /repositories/2/archival_objects/33928#pui, /repositories/2/archival_objects/33929#pui, /repositories/2/archival_objects/33930#pui, ... (25 adds)]} 0 6 Here's one line from me viewing a resource on the staff side, as you can see it'll be a bit more challenging to get useful stuff out of this log, but it's in there: [2020-03-25T08:45:29-04:00] INFO: [collection1] webapp= path=/select params={facet.field=assessment_record_types&facet.field=assessment_surveyors&facet.field=assessment_review_required&facet.field=assessment_reviewers&facet.field=assessment_completed&facet.field=assessment_inactive&facet.field=assessment_survey_year&facet.field=assessment_sensitive_material&csv.escape=\&start=0&q.op=AND&fq=repository:"/repositories/3"+OR+repository:global&fq=types:("assessment")&fq=(-types:("pui_only")+AND+(assessment_record_uris:("\/repositories\/3\/resources\/406")))&fq=-exclude_by_default:true&sort=&rows=30&bq=primary_type:resource^100&q=*:*&facet.limit=20&defType=edismax&qf=four_part_id^3+title^2+finding_aid_filing_title^2+fullrecord&pf=four_part_id^4&csv.header=true&csv.encapsulator="&facet.mincount=0&wt=json&facet=true} hits=0 status=0 QTime=61 ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Steele, Henry > Sent: Wednesday, March 25, 2020 7:54 AM To: Archivesspace Users Group > Subject: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI Good morning, We recently made our PUI open the public and we are trying to find out about usage, particularly of a certain page within our repository. I?m trying to figure out if there?s any way to see this in the logs. I?ve looked in the application log archivesspace.out, but I?m not sure what I?m seeing here. I see records being accessed, with a response of 200, but I don?t know if this is the staff interface, the PUI, or if it?s some indexing activity. Is there a way in the application log to see if a certain page has been accessed in the PUI? We have our log level set to ?fatal? for the PUI, and the ?pui_log? is default. I know should mean the log only reports on problematic events, but since I see a lot of activity in the log, I?m wondering if this setting doesn?t actually have effect. Alternately, does anyone know if there might be other server logs that would be of use? I?m looking in the Apache logs at /var/log/httpd but I?m not sure which of this logs would contain such information if any. Any information you had would be of great help. Thanks If this isn?t Henry Steele Systems Librarian Tufts University Library Technology Services (617)627-5239 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Henry.Steele at tufts.edu Wed Mar 25 12:26:50 2020 From: Henry.Steele at tufts.edu (Steele, Henry) Date: Wed, 25 Mar 2020 16:26:50 +0000 Subject: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI In-Reply-To: References: , Message-ID: Thanks all for your help with this Henry Steele Systems Librarian Tufts University Library Technology Services (617)627-5239 From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Andrew Morrison Sent: Wednesday, March 25, 2020 12:13 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI Note that access logs may not be viewable without superuser access, or could have been automatically transferred to another the server for secure storage and analysis, if your system admins felt it necessary to comply with local privacy or data protection regulations. Andrew. ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Steele, Henry > Sent: 25 March 2020 13:06 To: Archivesspace Users Group > Subject: Re: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI Thank you, Blake. This is all really helpful. I will see if I can use some of these strategies to look through our logs. It may not be there. Our pui log level is "fatal" and I'm not sure the Apache (/var/log/httpd) contain this kind of information. But it's certainly good to know how to look Henry Steele Systems Librarian Tufts University Library Technology Services (617)627-5239 From: archivesspace_users_group-bounces at lyralists.lyrasis.org > On Behalf Of Blake Carver Sent: Wednesday, March 25, 2020 9:01 AM To: Archivesspace Users Group > Subject: Re: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI I know quite a few people use Google Analytics, which is not something I find useful at all, but it's used quite often. Check matamo for an open source analytics product. There are many others. I know matamo gives you the ability to customize things, and I bet it could be quite useful, though I've not touched it in many years. I think your best bet is to get to know your Apache logs. You should be able to get something useful out of there, but you'll need to learn what your logging there, and maybe change it up. Read up on Apache's "LogFormat" , it's pretty flexible and you can customize that on your server. You can also customize where log files end up for which domain name, so that might help as well. If you're running the PUI and STAFF sides on different URLs, or prefixes, that will help set them apart for logging. This is all one of those "It Depends" kinds of things. Using grep/awk/sed etc... will let you pull out different things from the logs. Try tailing the log as you look at different things on the site and see how those get logged, then work up some simple greps to pull out just what you need every day. This is a simple one I use to see the busiest sites on a server: cat /var/log/apache2/other_vhosts_access.log.1 | awk {'print $1'} | sort |uniq -c |sort -nr | head -20 (If you're looking at that and thinking "You don't need cat in there, dummy" I know I know, old habits die hard) You could do the same kind of grep work on the archivesspace.out log file and get something out of it. You might need to experiment with loglevel on that to see what you can get. DEBUG is probably way too much. Here's some real nginx logs... these are based on real logs with some details changed to protect the innocent. Here's one you might see quite often, if someone is logged into the staff side you'll see this POST to check their session: 4.4.4.4 example.edu - [25/Mar/2020:12:32:22 +0000] "POST /update_monitor/poll HTTP/1.1" 200 4751 "https://example.edu/resources/134/edit" "lock_version=12&uri=%2Frepositories%2F5%2Fresources%2F134" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:71.0) Gecko/20100101 Firefox/71.0" "-" Here's another one, someone is looked at a resource on the staff side: 4.4.4.4 example.edu - [25/Mar/2020:12:31:03 +0000] "GET /resources/2774?inline=true&undefined_id=%2Frepositories%2F3%2Fresources%2F2774 HTTP/1.1" 200 9839 "https://example.edu/resources/2774" "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" "-" And here's a bot crawling the public side. 216.244.66.240 example.edu - [25/Mar/2020:12:29:58 +0000] "GET /repositories/2/archival_objects/97930 HTTP/1.1" 200 21473 "-" "-" "Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help at moz.com)" "-" Depending on how you configure your Apache/nginx/whatever logs, those log lines will look different and you can log a bunch of different things. On the ArchivesSpace side (archivesspace/logs/archivesspace.out) the logs can look different depending on your log level. Here's one set to debug showing the indexer doing some work: INFO: [collection1] webapp= path=/update params={} {add=[/repositories/2/archival_objects/33921#pui, /repositories/2/archival_objects/33922#pui, /repositories/2/archival_objects/33923#pui, /repositories/2/archival_objects/33924#pui, /repositories/2/archival_objects/33925#pui, /repositories/2/archival_objects/33926#pui, /repositories/2/archival_objects/33927#pui, /repositories/2/archival_objects/33928#pui, /repositories/2/archival_objects/33929#pui, /repositories/2/archival_objects/33930#pui, ... (25 adds)]} 0 6 Here's one line from me viewing a resource on the staff side, as you can see it'll be a bit more challenging to get useful stuff out of this log, but it's in there: [2020-03-25T08:45:29-04:00] INFO: [collection1] webapp= path=/select params={facet.field=assessment_record_types&facet.field=assessment_surveyors&facet.field=assessment_review_required&facet.field=assessment_reviewers&facet.field=assessment_completed&facet.field=assessment_inactive&facet.field=assessment_survey_year&facet.field=assessment_sensitive_material&csv.escape=\&start=0&q.op=AND&fq=repository:"/repositories/3"+OR+repository:global&fq=types:("assessment")&fq=(-types:("pui_only")+AND+(assessment_record_uris:("\/repositories\/3\/resources\/406")))&fq=-exclude_by_default:true&sort=&rows=30&bq=primary_type:resource^100&q=*:*&facet.limit=20&defType=edismax&qf=four_part_id^3+title^2+finding_aid_filing_title^2+fullrecord&pf=four_part_id^4&csv.header=true&csv.encapsulator="&facet.mincount=0&wt=json&facet=true} hits=0 status=0 QTime=61 ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org > on behalf of Steele, Henry > Sent: Wednesday, March 25, 2020 7:54 AM To: Archivesspace Users Group > Subject: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI Good morning, We recently made our PUI open the public and we are trying to find out about usage, particularly of a certain page within our repository. I'm trying to figure out if there's any way to see this in the logs. I've looked in the application log archivesspace.out, but I'm not sure what I'm seeing here. I see records being accessed, with a response of 200, but I don't know if this is the staff interface, the PUI, or if it's some indexing activity. Is there a way in the application log to see if a certain page has been accessed in the PUI? We have our log level set to "fatal" for the PUI, and the "pui_log" is default. I know should mean the log only reports on problematic events, but since I see a lot of activity in the log, I'm wondering if this setting doesn't actually have effect. Alternately, does anyone know if there might be other server logs that would be of use? I'm looking in the Apache logs at /var/log/httpd but I'm not sure which of this logs would contain such information if any. Any information you had would be of great help. Thanks If this isn't Henry Steele Systems Librarian Tufts University Library Technology Services (617)627-5239 -------------- next part -------------- An HTML attachment was scrubbed... URL: From egadsby at towson.edu Wed Mar 25 13:35:40 2020 From: egadsby at towson.edu (Gadsby, Eric T.) Date: Wed, 25 Mar 2020 17:35:40 +0000 Subject: [Archivesspace_Users_Group] Trying to get Google Analytics and Google Tag Manager running on our site but getting an error... Message-ID: Hi, So we added the two scripts to our layout_head.html.erb but now we are getting the a browser error and no reports back to Google. Here is the error: ?[Error] Refused to load https://www.googletagmanager.com/gtag/js?id=UA-29990687-8 because it appears in neither the script-src directive nor the default-src directive of the Content Security Policy.? Is the an AS config error or something with our server?s firewall (our provider locks down things rather heavily)? Any tips on where to start would be great! [Towson University logo] Eric T. Gadsby Pronouns: he/him/his IT Operations Specialist | Albert S. Cook Library ? P: 410-704-3340 SMS: ?443-338-3792 egadsby at towson.edu | libraries.towson.edu ? Confidentiality Notice: This message may contain information that is confidential, privileged, proprietary, or otherwise legally exempt from disclosure. If you are not the intended recipient, you are notified that you are not authorized to read, print, copy or disseminate this message, any part of it, or any attachments. If this message has been sent to you in error, please notify the sender by replying to this transmission, or by calling Albert S. Cook Library at 410-704-3340 . -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 2211 bytes Desc: image001.gif URL: From blake.carver at lyrasis.org Thu Mar 26 10:42:25 2020 From: blake.carver at lyrasis.org (Blake Carver) Date: Thu, 26 Mar 2020 14:42:25 +0000 Subject: [Archivesspace_Users_Group] Trying to get Google Analytics and Google Tag Manager running on our site but getting an error... In-Reply-To: References: Message-ID: ?[Error] Refused to load https://www.googletagmanager.com/gtag/js?id=UA-29990687-8 because it appears in neither the script-src directive nor the default-src directive of the Content Security Policy.? Chances are good that the CSP is controlled at the firewall or the probably the webserver config. Content Security Policies come from things outside of ArchivesSpace, so I'd start with the webserver and then ask the firewall folks. It's a standard(ish) error and is not part of ArchivesSpace, you can read quite a bit about this out on the web. ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Gadsby, Eric T. Sent: Wednesday, March 25, 2020 1:35 PM To: Archivesspace Users Group Subject: [Archivesspace_Users_Group] Trying to get Google Analytics and Google Tag Manager running on our site but getting an error... Hi, So we added the two scripts to our layout_head.html.erb but now we are getting the a browser error and no reports back to Google. Here is the error: ?[Error] Refused to load https://www.googletagmanager.com/gtag/js?id=UA-29990687-8 because it appears in neither the script-src directive nor the default-src directive of the Content Security Policy.? Is the an AS config error or something with our server?s firewall (our provider locks down things rather heavily)? Any tips on where to start would be great! [Towson University logo] Eric T. Gadsby Pronouns: he/him/his IT Operations Specialist | Albert S. Cook Library ? P: 410-704-3340 SMS: ?443-338-3792 egadsby at towson.edu | libraries.towson.edu ? Confidentiality Notice: This message may contain information that is confidential, privileged, proprietary, or otherwise legally exempt from disclosure. If you are not the intended recipient, you are notified that you are not authorized to read, print, copy or disseminate this message, any part of it, or any attachments. If this message has been sent to you in error, please notify the sender by replying to this transmission, or by calling Albert S. Cook Library at 410-704-3340 . -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Outlook-Towson Uni.png Type: image/png Size: 3584 bytes Desc: Outlook-Towson Uni.png URL: From egadsby at towson.edu Thu Mar 26 10:47:15 2020 From: egadsby at towson.edu (Gadsby, Eric T.) Date: Thu, 26 Mar 2020 14:47:15 +0000 Subject: [Archivesspace_Users_Group] Trying to get Google Analytics and Google Tag Manager running on our site but getting an error... Message-ID: <561388B5-FC96-4B95-B510-F76962FF0E64@towson.edu> Thanks, we use the built in Jetty server and only changes we have made a via AS?s config file. We can check with the firewall folks ? [Towson University logo] Eric T. Gadsby Pronouns: he/him/his IT Operations Specialist | Albert S. Cook Library ? P: 410-704-3340 SMS: ?443-338-3792 egadsby at towson.edu | libraries.towson.edu ? Confidentiality Notice: This message may contain information that is confidential, privileged, proprietary, or otherwise legally exempt from disclosure. If you are not the intended recipient, you are notified that you are not authorized to read, print, copy or disseminate this message, any part of it, or any attachments. If this message has been sent to you in error, please notify the sender by replying to this transmission, or by calling Albert S. Cook Library at 410-704-3340 . From: on behalf of Blake Carver Reply-To: Archivesspace Users Group Date: Thursday, March 26, 2020 at 10:42 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Trying to get Google Analytics and Google Tag Manager running on our site but getting an error... [EXTERNAL EMAIL - USE CAUTION] ?[Error] Refused to load https://www.googletagmanager.com/gtag/js?id=UA-29990687-8 because it appears in neither the script-src directive nor the default-src directive of the Content Security Policy.? Chances are good that the CSP is controlled at the firewall or the probably the webserver config. Content Security Policies come from things outside of ArchivesSpace, so I'd start with the webserver and then ask the firewall folks. It's a standard(ish) error and is not part of ArchivesSpace, you can read quite a bit about this out on the web. ________________________________ From: archivesspace_users_group-bounces at lyralists.lyrasis.org on behalf of Gadsby, Eric T. Sent: Wednesday, March 25, 2020 1:35 PM To: Archivesspace Users Group Subject: [Archivesspace_Users_Group] Trying to get Google Analytics and Google Tag Manager running on our site but getting an error... Hi, So we added the two scripts to our layout_head.html.erb but now we are getting the a browser error and no reports back to Google. Here is the error: ?[Error] Refused to load https://www.googletagmanager.com/gtag/js?id=UA-29990687-8 because it appears in neither the script-src directive nor the default-src directive of the Content Security Policy.? Is the an AS config error or something with our server?s firewall (our provider locks down things rather heavily)? Any tips on where to start would be great! [Towson University logo] Eric T. Gadsby Pronouns: he/him/his IT Operations Specialist | Albert S. Cook Library ? P: 410-704-3340 SMS: ?443-338-3792 egadsby at towson.edu | libraries.towson.edu ? Confidentiality Notice: This message may contain information that is confidential, privileged, proprietary, or otherwise legally exempt from disclosure. If you are not the intended recipient, you are notified that you are not authorized to read, print, copy or disseminate this message, any part of it, or any attachments. If this message has been sent to you in error, please notify the sender by replying to this transmission, or by calling Albert S. Cook Library at 410-704-3340 . -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 2211 bytes Desc: image001.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 3585 bytes Desc: image002.png URL: From Jessica.Crouch at lyrasis.org Thu Mar 26 11:14:36 2020 From: Jessica.Crouch at lyrasis.org (Jessica Crouch) Date: Thu, 26 Mar 2020 15:14:36 +0000 Subject: [Archivesspace_Users_Group] Take a break with ArchivesSpace on Fridays Message-ID: Dear ArchivesSpace Members, We?ll be hosting another casual open call via zoom at 12pm ET tomorrow. With no set agenda or presentation for these calls, this forum is an opportunity to connect, chat and recharge. Use this as a time to get help or talk about ArchivesSpace (or anything else) in an informal setting or just have a beverage with other ArchivesSpace users during this stressful time. Most of us are doing our jobs under much different conditions than usual. As a browser based system you can access from anywhere, the ArchivesSpace application may offer a sense of archival normalcy as we each adjust. And with a welcoming and robust member community all over the world, ArchivesSpace can also offer camaraderie when many of us may feel isolated from our colleagues or the professional communities we interact with regularly. Thank you to everyone who joined us last week for a great chat. We hope to see you all tomorrow. When: Fridays Time: 12:00 p.m. ? 1:00 p.m. ET (9:00 a.m. ? 10:00 a.m. PT) Where: Zoom Join the call via the information below: Join Zoom Meeting https://lyrasis.zoom.us/j/281962467 Meeting ID: 281 962 467 One tap mobile +19292056099,,281962467# US (New York) +13126266799,,281962467# US (Chicago) Dial by your location +1 929 205 6099 US (New York) +1 312 626 6799 US (Chicago) +1 301 715 8592 US +1 346 248 7799 US (Houston) +1 669 900 6833 US (San Jose) +1 253 215 8782 US 888 475 4499 US Toll-free 877 853 5257 US Toll-free Meeting ID: 281 962 467 Find your local number: https://lyrasis.zoom.us/u/awkFNWPxh We seek to provide a welcoming, fun, and safe community experience for everyone and adhere to Code4Lib?s CodeofConduct4Lib. The full text of the code of conduct is available at: http://bit.ly/coc4lib. Jessica Dowd Crouch Community Engagement Coordinator for ArchivesSpace jessica.crouch at lyrasis.org [page1image482511520] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 29062 bytes Desc: image001.jpg URL: From KennedyN at si.edu Thu Mar 26 13:19:03 2020 From: KennedyN at si.edu (Kennedy, Nancy) Date: Thu, 26 Mar 2020 17:19:03 +0000 Subject: [Archivesspace_Users_Group] Subject icons Message-ID: Hello all - Does anyone know where I can find documentation for the new icons for each subject's first-term type? Can that be added to the new archivesspace help center? We have a number of users unsure of what the icons are trying to signify. I wonder if using textual labels has been considered, for clarity and accessibility? Nancy Kennedy Smithsonian Institution kennedyn at si.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jessica.Crouch at lyrasis.org Thu Mar 26 14:38:03 2020 From: Jessica.Crouch at lyrasis.org (Jessica Crouch) Date: Thu, 26 Mar 2020 18:38:03 +0000 Subject: [Archivesspace_Users_Group] Subject icons Message-ID: Hi Nancy, I?ve updated the user manual to include a key to the icons. You can find that at https://archivesspace.atlassian.net/wiki/spaces/ArchivesSpaceUserManual/pages/894664812/Subject+Record+Fields. Thanks for the suggestion, Jessica Jessica Dowd Crouch Community Engagement Coordinator for ArchivesSpace jessica.crouch at lyrasis.org [page1image482511520] From: on behalf of "Kennedy, Nancy" Reply-To: Archivesspace Users Group Date: Thursday, March 26, 2020 at 1:19 PM To: "Archivesspace Users Group (archivesspace_users_group at lyralists.lyrasis.org)" Subject: [Archivesspace_Users_Group] Subject icons Hello all ? Does anyone know where I can find documentation for the new icons for each subject?s first-term type? Can that be added to the new archivesspace help center? We have a number of users unsure of what the icons are trying to signify. I wonder if using textual labels has been considered, for clarity and accessibility? Nancy Kennedy Smithsonian Institution kennedyn at si.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 29061 bytes Desc: image001.jpg URL: From ccauste1 at swarthmore.edu Thu Mar 26 15:50:55 2020 From: ccauste1 at swarthmore.edu (Celia Caust-Ellenbogen) Date: Thu, 26 Mar 2020 15:50:55 -0400 Subject: [Archivesspace_Users_Group] DU Alma/ASpace plugin and holdings Message-ID: Hi folks, We're trying to set up Kevin Clair's Alma/ArchivesSpace plugin and struggling with the holdings and locations. Wondering if anyone has set this up and can I ask you a few questions? (Yes, we know about the webinar coming up in 2 weeks - looking forward to that if we don't have this figured out before then!) Thanks! Celia -- Celia Caust-Ellenbogen (she/her/hers ) Friends Historical Library of Swarthmore College | Swarthmore College Archives ccauste1 at swarthmore.edu 610-328-8496 -------------- next part -------------- An HTML attachment was scrubbed... URL: From KennedyN at si.edu Thu Mar 26 16:41:06 2020 From: KennedyN at si.edu (Kennedy, Nancy) Date: Thu, 26 Mar 2020 20:41:06 +0000 Subject: [Archivesspace_Users_Group] Subject icons In-Reply-To: References: Message-ID: Thanks! From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Jessica Crouch Sent: Thursday, March 26, 2020 2:38 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Subject icons External Email - Exercise Caution Hi Nancy, I?ve updated the user manual to include a key to the icons. You can find that at https://archivesspace.atlassian.net/wiki/spaces/ArchivesSpaceUserManual/pages/894664812/Subject+Record+Fields. Thanks for the suggestion, Jessica Jessica Dowd Crouch Community Engagement Coordinator for ArchivesSpace jessica.crouch at lyrasis.org [page1image482511520] From: > on behalf of "Kennedy, Nancy" > Reply-To: Archivesspace Users Group > Date: Thursday, March 26, 2020 at 1:19 PM To: "Archivesspace Users Group (archivesspace_users_group at lyralists.lyrasis.org)" > Subject: [Archivesspace_Users_Group] Subject icons Hello all ? Does anyone know where I can find documentation for the new icons for each subject?s first-term type? Can that be added to the new archivesspace help center? We have a number of users unsure of what the icons are trying to signify. I wonder if using textual labels has been considered, for clarity and accessibility? Nancy Kennedy Smithsonian Institution kennedyn at si.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 8550 bytes Desc: image002.jpg URL: From KennedyN at si.edu Fri Mar 27 13:41:08 2020 From: KennedyN at si.edu (Kennedy, Nancy) Date: Fri, 27 Mar 2020 17:41:08 +0000 Subject: [Archivesspace_Users_Group] EAD via API - character problem Message-ID: Hi all ? Today I noticed that if I export an EAD with ?Yin-Hs?? directly from the archivesspace, my EAD results carry through with the correct encoding. But, when I export locally via the API, I end up with ?Yin-Hs??. I?m using python 3.7.4, via local windows machine. I?ve tried both archivessnake and just using requests, but I still end up with ?. Suggestions? Here?s what I?m doing via asnake: export_options = '?include_daos=true&?include_unpublished=false&?numbered_cs=false' for i in resource_ids: ead = client.get(repo['uri'] +'/resource_descriptions/'+str(i)+'.xml' + export_options).text Nancy Kennedy Smithsonian Institution kennedyn at si.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave_mayo at harvard.edu Fri Mar 27 15:02:14 2020 From: dave_mayo at harvard.edu (Mayo, Dave) Date: Fri, 27 Mar 2020 19:02:14 +0000 Subject: [Archivesspace_Users_Group] EAD via API - character problem Message-ID: <020F9600-BE10-4301-8C9A-4B76C487361B@harvard.edu> Can you be more precise about what ?directly from the archivesspace? means? What page (URL) and control on the page you?re using to generate this? I want to make sure it?s the same code path in both cases. Also, when you say ?locally,? do you just mean the script is running locally against the same ASpace instance, or is it a different ASpace instance from the one where you?re getting correct results? -- Dave Mayo (he/him) Senior Digital Library Software Engineer Harvard University > HUIT > LTS From: on behalf of "Kennedy, Nancy" Reply-To: Archivesspace Users Group Date: Friday, March 27, 2020 at 1:41 PM To: "Archivesspace Users Group (archivesspace_users_group at lyralists.lyrasis.org)" Subject: [Archivesspace_Users_Group] EAD via API - character problem Hi all ? Today I noticed that if I export an EAD with ?Yin-Hs?? directly from the archivesspace, my EAD results carry through with the correct encoding. But, when I export locally via the API, I end up with ?Yin-Hs??. I?m using python 3.7.4, via local windows machine. I?ve tried both archivessnake and just using requests, but I still end up with ?. Suggestions? Here?s what I?m doing via asnake: export_options = '?include_daos=true&?include_unpublished=false&?numbered_cs=false' for i in resource_ids: ead = client.get(repo['uri'] +'/resource_descriptions/'+str(i)+'.xml' + export_options).text Nancy Kennedy Smithsonian Institution kennedyn at si.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdm7g at virginia.edu Fri Mar 27 15:08:22 2020 From: sdm7g at virginia.edu (Majewski, Steven Dennis (sdm7g)) Date: Fri, 27 Mar 2020 19:08:22 +0000 Subject: [Archivesspace_Users_Group] EAD via API - character problem In-Reply-To: <020F9600-BE10-4301-8C9A-4B76C487361B@harvard.edu> References: <020F9600-BE10-4301-8C9A-4B76C487361B@harvard.edu> Message-ID: <53916317-C1EB-439A-AE4A-F8F39BCA8627@virginia.edu> And maybe send the resulting XML or at least diffs of the two. ( Guessing that there might be a mismatch of file encoding and xml encoding declaration. ) > On Mar 27, 2020, at 3:02 PM, Mayo, Dave wrote: > > Can you be more precise about what ?directly from the archivesspace? means? What page (URL) and control on the page you?re using to generate this? I want to make sure it?s the same code path in both cases. > > Also, when you say ?locally,? do you just mean the script is running locally against the same ASpace instance, or is it a different ASpace instance from the one where you?re getting correct results? > -- > Dave Mayo (he/him) > Senior Digital Library Software Engineer > Harvard University > HUIT > LTS > > From: > on behalf of "Kennedy, Nancy" > > Reply-To: Archivesspace Users Group > > Date: Friday, March 27, 2020 at 1:41 PM > To: "Archivesspace Users Group (archivesspace_users_group at lyralists.lyrasis.org )" > > Subject: [Archivesspace_Users_Group] EAD via API - character problem > > Hi all ? > Today I noticed that if I export an EAD with ?Yin-Hs?? directly from the archivesspace, my EAD results carry through with the correct encoding. > > But, when I export locally via the API, I end up with ?Yin-Hs??. I?m using python 3.7.4, via local windows machine. I?ve tried both archivessnake and just using requests, but I still end up with ?. > > Suggestions? Here?s what I?m doing via asnake: > > export_options = '?include_daos=true&?include_unpublished=false&?numbered_cs=false' > for i in resource_ids: > ead = client.get(repo['uri'] > +'/resource_descriptions/'+str(i)+'.xml' > + export_options).text > > Nancy Kennedy > Smithsonian Institution > kennedyn at si.edu > > _______________________________________________ > Archivesspace_Users_Group mailing list > Archivesspace_Users_Group at lyralists.lyrasis.org > http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3342 bytes Desc: not available URL: From KennedyN at si.edu Fri Mar 27 15:31:43 2020 From: KennedyN at si.edu (Kennedy, Nancy) Date: Fri, 27 Mar 2020 19:31:43 +0000 Subject: [Archivesspace_Users_Group] EAD via API - character problem In-Reply-To: <020F9600-BE10-4301-8C9A-4B76C487361B@harvard.edu> References: <020F9600-BE10-4301-8C9A-4B76C487361B@harvard.edu> Message-ID: By directly, I mean when logged into the staff interface and use the Export menu option. This results in the correct character, but not if I try via the API, against the same instance. [cid:image002.jpg at 01D6044C.D1150690] From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Mayo, Dave Sent: Friday, March 27, 2020 3:02 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] EAD via API - character problem External Email - Exercise Caution Can you be more precise about what ?directly from the archivesspace? means? What page (URL) and control on the page you?re using to generate this? I want to make sure it?s the same code path in both cases. Also, when you say ?locally,? do you just mean the script is running locally against the same ASpace instance, or is it a different ASpace instance from the one where you?re getting correct results? -- Dave Mayo (he/him) Senior Digital Library Software Engineer Harvard University > HUIT > LTS From: > on behalf of "Kennedy, Nancy" > Reply-To: Archivesspace Users Group > Date: Friday, March 27, 2020 at 1:41 PM To: "Archivesspace Users Group (archivesspace_users_group at lyralists.lyrasis.org)" > Subject: [Archivesspace_Users_Group] EAD via API - character problem Hi all ? Today I noticed that if I export an EAD with ?Yin-Hs?? directly from the archivesspace, my EAD results carry through with the correct encoding. But, when I export locally via the API, I end up with ?Yin-Hs??. I?m using python 3.7.4, via local windows machine. I?ve tried both archivessnake and just using requests, but I still end up with ?. Suggestions? Here?s what I?m doing via asnake: export_options = '?include_daos=true&?include_unpublished=false&?numbered_cs=false' for i in resource_ids: ead = client.get(repo['uri'] +'/resource_descriptions/'+str(i)+'.xml' + export_options).text Nancy Kennedy Smithsonian Institution kennedyn at si.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 11984 bytes Desc: image002.jpg URL: From KennedyN at si.edu Fri Mar 27 16:57:44 2020 From: KennedyN at si.edu (Kennedy, Nancy) Date: Fri, 27 Mar 2020 20:57:44 +0000 Subject: [Archivesspace_Users_Group] EAD via API - character problem In-Reply-To: <53916317-C1EB-439A-AE4A-F8F39BCA8627@virginia.edu> References: <020F9600-BE10-4301-8C9A-4B76C487361B@harvard.edu> <53916317-C1EB-439A-AE4A-F8F39BCA8627@virginia.edu> Message-ID: Here are the two versions. One I get by using the staff interface ?export? button. The other via the api. From: archivesspace_users_group-bounces at lyralists.lyrasis.org On Behalf Of Majewski, Steven Dennis (sdm7g) Sent: Friday, March 27, 2020 3:08 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] EAD via API - character problem External Email - Exercise Caution And maybe send the resulting XML or at least diffs of the two. ( Guessing that there might be a mismatch of file encoding and xml encoding declaration. ) On Mar 27, 2020, at 3:02 PM, Mayo, Dave > wrote: Can you be more precise about what ?directly from the archivesspace? means? What page (URL) and control on the page you?re using to generate this? I want to make sure it?s the same code path in both cases. Also, when you say ?locally,? do you just mean the script is running locally against the same ASpace instance, or is it a different ASpace instance from the one where you?re getting correct results? -- Dave Mayo (he/him) Senior Digital Library Software Engineer Harvard University > HUIT > LTS From: > on behalf of "Kennedy, Nancy" > Reply-To: Archivesspace Users Group > Date: Friday, March 27, 2020 at 1:41 PM To: "Archivesspace Users Group (archivesspace_users_group at lyralists.lyrasis.org)" > Subject: [Archivesspace_Users_Group] EAD via API - character problem Hi all ? Today I noticed that if I export an EAD with ?Yin-Hs?? directly from the archivesspace, my EAD results carry through with the correct encoding. But, when I export locally via the API, I end up with ?Yin-Hs??. I?m using python 3.7.4, via local windows machine. I?ve tried both archivessnake and just using requests, but I still end up with ?. Suggestions? Here?s what I?m doing via asnake: export_options = '?include_daos=true&?include_unpublished=false&?numbered_cs=false' for i in resource_ids: ead = client.get(repo['uri'] +'/resource_descriptions/'+str(i)+'.xml' + export_options).text Nancy Kennedy Smithsonian Institution kennedyn at si.edu _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group at lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: correct.xml Type: application/xml Size: 1472 bytes Desc: correct.xml URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: incorrect_api.xml Type: application/xml Size: 1472 bytes Desc: incorrect_api.xml URL: From Jessica.Crouch at lyrasis.org Mon Mar 30 10:59:51 2020 From: Jessica.Crouch at lyrasis.org (Jessica Crouch) Date: Mon, 30 Mar 2020 14:59:51 +0000 Subject: [Archivesspace_Users_Group] Introduction to ArchivesSpace Online Workshop Message-ID: <7E7F6677-FC72-453A-BC25-0AD59F4F2845@lyrasis.org> Dear ArchivesSpace users, Are you new to the ArchivesSpace application or do you need a refresher on some of the basics? If so, please join us for a free online workshop covering the core functions of ArchivesSpace. When: April 6, 2020 and April 7, 2020 Time: 12:00 p.m. ? 3:00 p.m. ET (11:00 a.m. ? noon PT) Where: Zoom (link will be sent to registrants) To review the agenda for the training and register, visit https://www.eventbrite.com/e/101328889436. Please note: this workshop is limited to 100 registrants. Based on our one day in-person Introduction to ArchivesSpace workshops, this training will be divided into two half day workshops to better suit an online environment. Please note that this is our first attempt at offering a workshop in an online environment and, like you, the trainers are working remotely and under very different circumstances than normal right now. Thanks in advance for your understanding if elements of the workshop do not go according to plan. Unlike our in-person workshops, this online training will not include any live practice exercises, but a shared instance of ArchivesSpace will be provided for attendees for their use. We will try to address all attendee questions related to ArchivesSpace but, due to the nature of this workshop, we will not be able to troubleshoot anyone's individual implementation of ArchivesSpace. In advance of the training, attendees will receive a copy of the workshop agenda with connection information, the workbook for the workshop and a link to other getting started resources. If you have questions, please email us at ArchivesSpaceHome at lyrasis.org. Jessica Dowd Crouch Community Engagement Coordinator for ArchivesSpace jessica.crouch at lyrasis.org [page1image482511520] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 29061 bytes Desc: image001.jpg URL: From Jessica.Crouch at lyrasis.org Mon Mar 30 11:06:34 2020 From: Jessica.Crouch at lyrasis.org (Jessica Crouch) Date: Mon, 30 Mar 2020 15:06:34 +0000 Subject: [Archivesspace_Users_Group] Introduction to ArchivesSpace Online Workshop In-Reply-To: <7E7F6677-FC72-453A-BC25-0AD59F4F2845@lyrasis.org> References: <7E7F6677-FC72-453A-BC25-0AD59F4F2845@lyrasis.org> Message-ID: <1D82001D-1365-4505-80AB-54AE1531E25C@lyrasis.org> Dear ArchivesSpace users, The earlier announcement for this workshop misstated the times of the workshop in PT. This has been corrected below. Are you new to the ArchivesSpace application or do you need a refresher on some of the basics? If so, please join us for a free online workshop covering the core functions of ArchivesSpace. When: April 6, 2020 and April 7, 2020 Time: 12:00 p.m. ? 3:00 p.m. ET (9:00 a.m. ? noon PT) Where: Zoom (link will be sent to registrants) To review the agenda for the training and register, visit https://www.eventbrite.com/e/101328889436. Please note: this workshop is limited to 100 registrants. Based on our one day in-person Introduction to ArchivesSpace workshops, this training will be divided into two half day workshops to better suit an online environment. Please note that this is our first attempt at offering a workshop in an online environment and, like you, the trainers are working remotely and under very different circumstances than normal right now. Thanks in advance for your understanding if elements of the workshop do not go according to plan. Unlike our in-person workshops, this online training will not include any live practice exercises, but a shared instance of ArchivesSpace will be provided for attendees for their use. We will try to address all attendee questions related to ArchivesSpace but, due to the nature of this workshop, we will not be able to troubleshoot anyone's individual implementation of ArchivesSpace. In advance of the training, attendees will receive a copy of the workshop agenda with connection information, the workbook for the workshop and a link to other getting started resources. If you have questions, please email us at ArchivesSpaceHome at lyrasis.org. Jessica Dowd Crouch Community Engagement Coordinator for ArchivesSpace jessica.crouch at lyrasis.org [page1image482511520] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 29062 bytes Desc: image001.jpg URL: From Jessica.Crouch at lyrasis.org Mon Mar 30 14:55:45 2020 From: Jessica.Crouch at lyrasis.org (Jessica Crouch) Date: Mon, 30 Mar 2020 18:55:45 +0000 Subject: [Archivesspace_Users_Group] Introduction to ArchivesSpace Online Workshop In-Reply-To: References: <7E7F6677-FC72-453A-BC25-0AD59F4F2845@lyrasis.org> <86EC30F8-34D6-4D59-B959-AE74DCD01196@lyrasis.org> Message-ID: Dear ArchivesSpace users, Thank you to everyone who registered for our first Introduction to ArchivesSpace Online workshop. Demand was incredibly high and the workshop is currently full. If you registered for this workshop, you will receive a copy of the workshop agenda with connection information, the workbook for the workshop and a link to other getting started resources in the coming days. To provide a good learning environment for attendees we are unable to increase the size of this workshop, but we are looking at offering other online training opportunities like this in the near future. For now, mark your calendars for our other upcoming online offerings: ArchivesSpace Online Forum, May 18-21, 2020 Taking place May 18-21, 2020, our second annual Online Forum will be a four-day event spanning a variety of time zones and ArchivesSpace experience levels. The deadline for both session proposals and ideas for topics has been extended to April 22, 2020. Submit your proposal via our online form at https://forms.gle/jraN42zqrdQ3KQD97. We will be reviewing proposals on a rolling basis, so we encourage you to get your proposals in early. As with our in-person forums, our Online Forum will include a mix of opportunities to share and learn from each other about many different aspects of ArchivesSpace. The forum aims to span the many time zones of our community over the course of 4 days with a three hour block each day. Visit the Online Forum wiki to view the schedule for each day. Registration for the event will be released soon. Integrating with ArchivesSpace webinar series Each webinar in this series highlights an integration with another application used in archives that ArchivesSpace member have worked on or requested. A full list of ArchivesSpace webinars can be found here. The next webinar in this series is April 8, 2020, on Integrating with Alma. This webinar will explore current work being done by the ArchivesSpace community to integrate ArchivesSpace with cloud-based library services platform, Alma. When: April 8, 2020 Time: 2:00 p.m. ? 3:00 p.m. ET (11:00 a.m. ? noon PT) Where: Zoom Join Zoom Meeting https://lyrasis.zoom.us/j/186208277 Meeting ID: 186 208 277 One tap mobile +19292056099,,186208277# US (New York) +16699006833,,186208277# US (San Jose) Dial by your location +1 929 205 6099 US (New York) +1 669 900 6833 US (San Jose) 888 475 4499 US Toll-free 877 853 5257 US Toll-free Take a Break with ArchivesSpace Whether working from home for the first time, as remote working pros, or as onsite staff, most of us are doing our jobs under much different conditions than usual. As a browser based system you can access from anywhere, the ArchivesSpace application may offer a sense of archival normalcy as we each adjust. And with a welcoming and robust member community all over the world, ArchivesSpace can also offer camaraderie when many of us may feel isolated from our colleagues or the professional communities we interact with regularly. We?re hosting casual open calls via zoom at 12pm ET each Friday. We won?t be developing agendas or presentations for these calls. We just want to provide a forum and an opportunity to connect, chat and recharge. Use this as a time to get help or talk about ArchivesSpace (or anything else) in an informal setting or just have a beverage with other ArchivesSpace users during this stressful time. When: Fridays Time: 12:00 p.m. ? 1:00 p.m. ET (9:00 a.m. ? 10:00 a.m. PT) Where: Zoom Join the call via the information below: Join Zoom Meeting https://lyrasis.zoom.us/j/281962467 Meeting ID: 281 962 467 One tap mobile +19292056099,,281962467# US (New York) +13126266799,,281962467# US (Chicago) Dial by your location +1 929 205 6099 US (New York) +1 312 626 6799 US (Chicago) +1 301 715 8592 US If you have questions, please email us at ArchivesSpaceHome at lyrasis.org. Jessica Dowd Crouch Community Engagement Coordinator for ArchivesSpace jessica.crouch at lyrasis.org [page1image482511520] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 8534 bytes Desc: image001.jpg URL: From Jessica.Crouch at lyrasis.org Tue Mar 31 12:56:41 2020 From: Jessica.Crouch at lyrasis.org (Jessica Crouch) Date: Tue, 31 Mar 2020 16:56:41 +0000 Subject: [Archivesspace_Users_Group] ArchivesSpace Update - March 2020 Message-ID: [cid:image001.jpg at 01D6075B.D234C3A0] ArchivesSpace Update - March 2020 It's an understatement to say that we are living and working through times that many of us never expected. We hope that everyone is safe and urge everyone to do whatever they need to keep themselves and their loved ones safe and healthy. That said, we recognize that continuing to help the communities we each serve can be a balm when so much around us is different. If you'd like ArchivesSpace to factor into your plans in the coming weeks, here are some ideas for how ArchivesSpace can help you and you can help ArchivesSpace and each other. (Please note that we're going to make every attempt to keep things rolling along, but keep in mind that the ArchivesSpace team is also adjusting to these new realities and changes in our personal and professional circumstances. Your patience and understanding with us and with each other is much appreciated.) Brush up on your ArchivesSpace * Catch up on training videos or work through areas of the User Manual that are less familiar to you in the new Help Center * Catch up on webinars you missed at https://archivesspace.org/using-archivesspace/webinars * Catch up on videos in our YouTube channel * Work on a data cleanup or data migration project Get involved in the ArchivesSpace community * Submit a proposal for the Online Forum * Post or respond to questions on ArchivesSpace or collection management-related listservs * Write a blog post about how you use ArchivesSpace, past, present or future ? contact Jessica (jessica.crouch at lyrasis.org) if you?d like to submit it for the ArchivesSpace blog. * Record a screencast on a range of topics needed by the ArchivesSpace community * NEW: Take a Break with ArchivesSpace ? beginning Friday, March 20th, we will be hosting casual open calls via zoom (https://lyrasis.zoom.us/j/281962467) at 12pm ET each Friday while many of us work from home. Use this as a time to get help or talk about ArchivesSpace (or anything else) with colleagues in an informal setting. Help improve ArchivesSpace * Test and give us feedback on some new features using our test servers (username: admin, password: admin). These are works in progress and we?ll send more information about each of these features in the coming weeks. * Custom reports: http://reports.lyrtech.org/staff/ ? email us or leave a comment on https://archivesspace.atlassian.net/browse/ANW-761 * Bulk import: http://bulkimport.lyrtech.org/staff/ ? email us or leave a comment on https://archivesspace.atlassian.net/browse/ANW-386 * Expansion of agents module: http://aspace-anw-429.lyrtech.org/staff/ ? email us or leave a comment on https://archivesspace.atlassian.net/browse/ANW-429 * Suggest improvements to the User Manual * Suggest improvements to the technical documentation * Add to the Awesome ArchivesSpace list * Translate the labels in the ArchivesSpace interfaces into a different language (ask us how!) * Assign yourself a Ready for Community Developer JIRA . Learn more about this status from the 2019 Annual Member Forum presentation by Lydia Tang and Maggie Hughes at https://youtu.be/qK84vgmS66I * Submit a pull request with completed code. Learn more about the process here. * Turn a plugin you created into core code. Please reach out to the ArchivesSpace team at ArchivesSpaceHome at lyrasis.org for any help you need to get involved in any of these activities, and let us know if you have other ideas. We?re here for you and are really thankful for how those of us in our community are here for each other. Call for Proposals Deadline Extended - Second Annual ArchivesSpace Online Forum Mark your calendars for our second Online Forum! Taking place May 18-21, 2020, our online forum will be a four-day event spanning a variety of time zones and ArchivesSpace experience levels. The deadline for both session proposals and ideas for topics has been extended to April 22, 2020. Submit your proposal via our online form at https://forms.gle/jraN42zqrdQ3KQD97. We will be reviewing proposals on a rolling basis, so we encourage you to get your proposals in early. As with our in-person forums, our Online Forum will include a mix of opportunities to share and learn from each other about many different aspects of ArchivesSpace. The forum aims to span the many time zones of our community over the course of 4 days with a three hour block each day. Visit the Online Forum wiki to view the schedule for each day. Registration for the event will be released soon. Upcoming Webinar: Integrating ArchivesSpace with Alma April 8, 2020, 2-3pm ET (11-noon PT; 7-8pm GMT) Visit the ArchivesSpace blog for details. ArchivesSpace is pleased to announce the seventh webinar in our series focused on Integrations with ArchivesSpace. This webinar will explore current work being done by the ArchivesSpace community to integrate ArchivesSpace with cloud-based library services platform, Alma. Webinar description: This webinar will be recorded and made available on the ArchivesSpace YouTube channel. Kevin Clair, Digital Collections Librarian at Penn State University Libraries, will discuss the ArchivesSpace/Alma Integration Plugin he developed during his time at University of Denver. In his current position at Penn State University Libraries, Kevin is the product owner for the cultural heritage digital repository, gathering functional requirements from end users and developing strategies with collection managers to ensure the repository is meeting the needs of faculty, students, and researchers. Prior to this he was the ArchivesSpace product owner at the University of Denver, where he did similar things with different types of content. In both roles he worked to facilitate moving data between library and archival management applications, to reduce the pain and suffering of technical services workers and improve the user experience for researchers. Adrien Hilton, Head of the Manuscript Section at Harvard University?s Houghton Library, will discuss current workflows at Harvard for managing data in both Alma and ArchivesSpace and what she needs from an integration. Adrien will outline the preliminary work she?s done to gather use cases from other repositories. She hopes to build community support for future Alma/ArchivesSpace development work. In her position at Harvard, Adrien oversees archives processing and manuscript cataloging. Prior to coming to Houghton, Adrien held positions at Columbia University?s Rare Book and Manuscript Library and New York University?s Tamiment Library. Adrien is an advisory member of SAA?s Technical Subcommittee on Describing Archives: A Content Standard. Who should attend: Anyone interested in integrating ArchivesSpace and Alma. This webinar will highlight the work already being done by the ArchivesSpace community on this integration with the goal of identifying other stakeholders and a path forward to make this integration more streamlined and robust. Questions? Contact Jessica at jessica.crouch at lyrasis.org if you have questions about this webinar or the Integrations with ArchivesSpace webinar series. The eighth Integrations with ArchivesSpace webinar will be: Integrating ArchivesSpace and Arclight, May 12, 2020, at 2pm ET (11am PT). The recording for our sixth webinar in the series, Integrating ArchivesSpace and ARKs, is now available on YouTube. Introduction to ArchivesSpace Online Workshop Thank you to everyone who registered for our upcoming Introduction to ArchivesSpace Online Workshop on April 6-7, 2020. This workshop is currently full but we hope to offer more online training opportunities in the future. In advance of the training, attendees will receive a copy of the workshop agenda with connection information, the workbook for the workshop and a link to other getting started resources. If you have questions, please email us at ArchivesSpaceHome at lyrasis.org. Take a Break with ArchivesSpace Whether working from home for the first time, as remote working pros, or as onsite staff, most of us are doing our jobs under much different conditions than usual. As a browser based system you can access from anywhere, the ArchivesSpace application may offer a sense of archival normalcy as we each adjust. And with a welcoming and robust member community all over the world, ArchivesSpace can also offer camaraderie when many of us may feel isolated from our colleagues or the professional communities we interact with regularly. Beginning Friday, March 20th, we will be hosting casual open calls via zoom at 12pm ET each Friday. We won?t be developing agendas or presentations for these calls. We just want to provide a forum and an opportunity to connect, chat and recharge. Use this as a time to get help or talk about ArchivesSpace (or anything else) in an informal setting or just have a beverage with other ArchivesSpace users during this stressful time. When: Fridays Time: 12:00 p.m. ? 1:00 p.m. ET (9:00 a.m. ? 10:00 a.m. PT) Where: Zoom Join the call via the information below: Join Zoom Meeting https://lyrasis.zoom.us/j/281962467 Meeting ID: 281 962 467 One tap mobile +19292056099,,281962467# US (New York) +13126266799,,281962467# US (Chicago) Dial by your location +1 929 205 6099 US (New York) +1 312 626 6799 US (Chicago) +1 301 715 8592 US +1 346 248 7799 US (Houston) +1 669 900 6833 US (San Jose) +1 253 215 8782 US 888 475 4499 US Toll-free 877 853 5257 US Toll-free Meeting ID: 281 962 467 Find your local number: https://lyrasis.zoom.us/u/awkFNWPxh We seek to provide a welcoming, fun, and safe community experience for everyone and adhere to Code4Lib?s CodeofConduct4Lib. The full text of the code of conduct is available at: http://bit.ly/coc4lib. Call for Nominations for ArchivesSpace Governance Groups The ArchivesSpace Governance Board is seeking nominations to fill vacancies on three ArchivesSpace Governance Groups: the Governance Board, the Technical Advisory Council (TAC), and the User Advisory Council (UAC). Self-nominations and nominations by others are welcome. Learn more about the calls for the different groups at: * Governance Board * Technical Advisory Council * User Advisory Council Nominations must be received by 9:00 p.m. EDT on Friday, April 24, 2020. The Nominating Committee will review all nominations and recommend candidates and appointments to the Governance Board for their approval. Please feel free to reach out to the members of the Nominating Committee or contact Christine Di Bella, ArchivesSpace Program Manager, at christine.dibella at lyrasis.org with any questions. Save the Dates Mark your calendars for these upcoming ArchivesSpace events! * ArchivesSpace Western Archivists Regional Member Forum (Cancelled) - April 22, 2020, at the San Francisco Public Library in San Francisco, CA * ArchivesSpace Online Forum - May 18-21, 2020 * ArchivesSpace Annual Member Forum - August 4, 2020, at North Park University in Chicago, IL * ArchivesSpace UK Regional Member Forum - December 9-10, 2020, at University of Oxford in Oxford, England This list of events is for informational purposes and is meant to help as you plan your upcoming travel and professional development. Calls for proposals, registration information, schedules and other information for each event will be announced and included on the wiki as planning commences for that event. Membership Update We are excited to welcome our newest members to our community! Our new members since February 29 include: * Earlham College (Richmond, IN) * Ede & Ravenscroft (Cambridge, England) * University of Oklahoma (Norman, OK) As of March 31, we have 415 General members, 20 Educational Program members, and 3 Registered Service Providers. If you are interested in your institution becoming a member of ArchivesSpace, please email us at ArchivesSpaceHome at lyrasis.org for more information. ________________________________ ArchivesSpace monthly updates provide news about ArchivesSpace community and program activities and are sent to our member listservs, the ArchivesSpace Google Group, and SAA?s Collection Management Tools Section listserv, as well as being posted on the ArchivesSpace website. Please feel free to share this update with people you know who have an interest in ArchivesSpace but may not be on one of these lists. Jessica Dowd Crouch Community Engagement Coordinator for ArchivesSpace jessica.crouch at lyrasis.org [page1image482511520] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 22469 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 29061 bytes Desc: image002.jpg URL: