[Archivesspace_Users_Group] M1/M2 Macs - Pre 3.3 versions can be run in containers

2023-06-08 Thread Joshua D. Shaw
Hey all Just thought I'd pass this on for developers (or anyone) who may need to run AS versions prior to 3.3 on an M* mac. V3.3+ appears to run fine bare metal with the mods outlined by Mark Triggs (https://teaspoon-consulting.com/articles/archivesspace-on-the-m1.html) but I could not​ get

Re: [Archivesspace_Users_Group] Diagnosing issues with ArchivesSpace

2023-05-24 Thread Joshua D. Shaw
Hi Michael These aren't answers, but I think it might help the group if we knew a bit more about how your instance is structured - both from a tech perspective (memory allocation to the app and Solr) and things like how many repos and how many objects (resources, AOs, etc) are in the DB. The

Re: [Archivesspace_Users_Group] Google Analytics/Google Tags

2023-05-23 Thread Joshua D. Shaw
Hey Eric Here's the plugin in case you need it: https://github.com/dartmouth-dltg/aspace_analytics All it does is provide space for a snippet and, if you're using Google Tag Manager, a in the body. Best, Joshua From:

Re: [Archivesspace_Users_Group] [External] [External] Folder labels from ArchivesSpace collections

2023-05-17 Thread Joshua D. Shaw
with their individual archival object title, agent(s), date(s), etc. Thank you, Paul On Tue, May 16, 2023 at 6:16 PM Joshua D. Shaw mailto:joshua.d.s...@dartmouth.edu>> wrote: Hey Paul If memory serves, the top container and sub container fields and field order are both governed by the same config s

Re: [Archivesspace_Users_Group] [External] Folder labels from ArchivesSpace collections

2023-05-16 Thread Joshua D. Shaw
to configure the fields and their order for the subcontainer labels? I see this for the top container labels, but not in the documentation for subcontainers. Thanks, Paul On Tue, May 16, 2023 at 1:59 PM Joshua D. Shaw mailto:joshua.d.s...@dartmouth.edu>> wrote: Hi Paul and everyone There'

Re: [Archivesspace_Users_Group] Folder labels from ArchivesSpace collections

2023-05-16 Thread Joshua D. Shaw
Hi Paul and everyone There's also this plugin that I maintain that allows you to print file labels from the browser. It requires​ knowing some CSS to specify the label dimensions, but it does allow you to print file and/or container labels:

Re: [Archivesspace_Users_Group] Audit changes (through API)

2023-05-02 Thread Joshua D. Shaw
There is an extensive set of changes for the Queensland State Archives that includes functionality like this. I have not used or tested this, so not sure how customized it is to QSA's needs, but it was developed by Hudson Molonglo, so it should be good stuff!

Re: [Archivesspace_Users_Group] Rights Statement notes indexed in PUI even if unpublished

2023-04-25 Thread Joshua D. Shaw
Hey all I think​ that this is systemic and has probably been an issue forever. The way that the fullrecord is built by the indexer basically accumulates the data from every field (save some explicitly excluded) regardless of publish state. See

Re: [Archivesspace_Users_Group] using barcodes to track usage

2023-04-20 Thread Joshua D. Shaw
Hi Molly I'd recommend something simple-ish like the following - in a very handwavy overview. When scanning the barcodes, collect them in some form that a custom script can read from - even a plain text file would work if your circulation stats are low enough. I think two pieces of data

Re: [Archivesspace_Users_Group] M1/M2 Mac - Initialize Plugins with Gem Dependencies - Issues

2023-03-23 Thread Joshua D. Shaw
. From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Thursday, March 23, 2023 10:33 AM To: Archivesspace Users Group Subject: [Archivesspace_Users_Group] M1/M2 Mac - Initialize Plugins with Gem Dependencies - Issues Hey all Has anyone

Re: [Archivesspace_Users_Group] Resource Records Not Showing Up

2023-03-23 Thread Joshua D. Shaw
Kinda sounds like the indexer is having trouble, but that the records are in the database. You probably want to take a look at the logs to see if you spot anything - typically look for 'error' or 'fatal'. That'll help point to the issue. Joshua From:

[Archivesspace_Users_Group] M1/M2 Mac - Initialize Plugins with Gem Dependencies - Issues

2023-03-23 Thread Joshua D. Shaw
Hey all Has anyone successfully used the included initialize-plugin script to install plugins with gem dependencies on an M* mac? I've patched jRuby as per Mark Triggs (https://teaspoon-consulting.com/articles/archivesspace-on-the-m1.html), but the plugin init script still flails. I've

Re: [Archivesspace_Users_Group] Import Error with Accessions Template

2023-03-16 Thread Joshua D. Shaw
What Valerie said as well! From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Thursday, March 16, 2023 12:15 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Import Error with Accessions

Re: [Archivesspace_Users_Group] Import Error with Accessions Template

2023-03-16 Thread Joshua D. Shaw
Hi Amy If I'm reading that error log correctly, it looks like some bit of data in that csv is not valid UTF-8. Best, Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Moorman, Amy Sent: Thursday, March 16, 2023 11:43 AM To:

Re: [Archivesspace_Users_Group] Plugins add Multiple SubRecord types?

2023-02-28 Thread Joshua D. Shaw
experience. If there is another way, it'd be really useful if someone could write a reference implementation, because picking apart other people's plug-ins (or multiple interdependent plugins) for generic techniques like this isn't easy. Andrew. On 01/02/2023 22:56, Joshua D. Shaw wrote: Can

Re: [Archivesspace_Users_Group] Record Progress Tracking

2023-02-22 Thread Joshua D. Shaw
Hi I think you can probably do what you need with Assessments and Custom Reports (as long as you are running v3.20 or newer). Check the help center docs for info on Assessments (https://archivesspace.atlassian.net/wiki/spaces/ArchivesSpaceUserManual/pages/894435657/Managing+Assessments) and

Re: [Archivesspace_Users_Group] ASpace Team Questions

2023-02-16 Thread Joshua D. Shaw
Hi Aimee For #1 - is it just changing the value of the level of description dropdown? Or are you needing to also change the object type from archival_object to resource? If its just changing the value, that's pretty doable. I'd probably run a quick SQL update if you have access to the db. If

Re: [Archivesspace_Users_Group] updating and plugins question

2023-02-16 Thread Joshua D. Shaw
5T10:45:43.298444 #12321] FATAL -- : F, [2023-02-15T10:45:43.298493 #12321] FATAL -- : actionpack (5.2.5) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' Robert From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw

[Archivesspace_Users_Group] Plugins add Multiple SubRecord types?

2023-02-01 Thread Joshua D. Shaw
Can someone double check me? Just reading the code and it looks like a plugin cannot​ add multiple subrecord types. Specifically, the initializer (https://github.com/archivesspace/archivesspace/blob/master/frontend/config/initializers/plugin.rb) reads one config.yml file which (since its yaml)

Re: [Archivesspace_Users_Group] updating and plugins question

2023-02-01 Thread Joshua D. Shaw
-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Wednesday, February 1, 2023 12:01 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] updating and plugins question Hi Robert It very much depends on the plugin. Things to check 1. If the plugin has

Re: [Archivesspace_Users_Group] updating and plugins question

2023-02-01 Thread Joshua D. Shaw
Hi Robert It very much depends on the plugin. Things to check 1. If the plugin has a gemfile, make sure that is inline with the core gems - ie update the plugin gem constraints if necessary 2. If the plugin overrides any core views, make sure that those overrides incorporate any core

Re: [Archivesspace_Users_Group] External Solr - Memory Allocation?

2023-02-01 Thread Joshua D. Shaw
From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Monday, January 30, 2023 2:13 PM To: archivesspace_users_group@lyralists.lyrasis.org Subject: Re: [Archivesspace_Users_Group] External Solr - Memory Allocation? Thanks, Andr

Re: [Archivesspace_Users_Group] External Solr - Memory Allocation?

2023-01-30 Thread Joshua D. Shaw
ing it down too. From: archivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org> <mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org> on behalf of Joshua D. Shaw <mailto:

Re: [Archivesspace_Users_Group] External Solr - Memory Allocation?

2023-01-26 Thread Joshua D. Shaw
I like your theory on that. From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Thursday, January 26, 2023 3:38 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] External Solr - Memory Allocation? Following up

Re: [Archivesspace_Users_Group] External Solr - Memory Allocation?

2023-01-26 Thread Joshua D. Shaw
not looking forward to the time it will take (the current run takes 21 hours as it is - up from about 15 for 3.1.1) Any advice appreciated! Thanks! Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent

[Archivesspace_Users_Group] External Solr - Memory Allocation?

2023-01-24 Thread Joshua D. Shaw
Hey all We're about to jump to v3.3.1 and I'm wondering if anyone has any suggestions for memory allocation for Solr? Currently we're running 6GB for the entire suite in v3.1.1 and are looking to keep the same overall memory footprint. Wondering if something like a 75/25 split (ie 4GB for AS

Re: [Archivesspace_Users_Group] analytics?

2022-12-20 Thread Joshua D. Shaw
HI Jennifer Yep. You need a plugin to do it, but its a super simple plugin. Here's what we use at Dartmouth. https://github.com/dartmouth-dltg/aspace_analytics as an example. Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of

Re: [Archivesspace_Users_Group] Issue with searching by identifier in PUI

2022-12-15 Thread Joshua D. Shaw
A potential test/workaround would be to replace the ampersand with a wildcard '*' in your searches. If that wildcard search works, I think it would confirm your idea about the ampersand translation. jds From:

Re: [Archivesspace_Users_Group] Auto generating unique IDs

2022-11-29 Thread Joshua D. Shaw
...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Tuesday, November 29, 2022 3:57 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Auto generating unique IDs Hi Anna The archival object id in the url is unique across all repos, so you should be OK to use

Re: [Archivesspace_Users_Group] Auto generating unique IDs

2022-11-29 Thread Joshua D. Shaw
Hi Anna The archival object id in the url is unique across all repos, so you should be OK to use that as your unique id. Best, Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Anna Haywood Sent: Tuesday, November 29, 2022

Re: [Archivesspace_Users_Group] User-defined fields in MARC-XML

2022-10-25 Thread Joshua D. Shaw
Joshua D. Shaw mailto:joshua.d.s...@dartmouth.edu>> wrote: Hey Mang Do you happen to have any other plugins that might be patching the MARC export model (https://github.com/archivesspace/archivesspace/blob/v2.7.1/backend/app/exporters/models/marc21.rb<https://nam12.safelinks.protection.ou

Re: [Archivesspace_Users_Group] User-defined fields in MARC-XML

2022-10-25 Thread Joshua D. Shaw
e_marc' /proj/WebApps/archivesspace271/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/controllers/exports.rb:92:in `block in ArchivesSpaceService' Mang On Tue, Oct 25, 2022 at 6:29 AM Joshua D. Shaw mailto:joshua.d.s...@dartmouth.edu>> wrote: Without knowing what lin

Re: [Archivesspace_Users_Group] User-defined fields in MARC-XML

2022-10-25 Thread Joshua D. Shaw
ot;wrong number of arguments (2 for 1)"} Mang Sun Rice U. On Wed, Oct 19, 2022 at 4:33 PM Joshua D. Shaw mailto:joshua.d.s...@dartmouth.edu>> wrote: Hi Rebecca This should get you started: https://github.com/jdshaw/dartmouth_udf_exports<https://nam12.safelinks.protection.outlook.com/?url

Re: [Archivesspace_Users_Group] User-defined fields in MARC-XML

2022-10-19 Thread Joshua D. Shaw
Hi Rebecca This should get you started: https://github.com/jdshaw/dartmouth_udf_exports Specifically: https://github.com/jdshaw/dartmouth_udf_exports/blob/main/backend/lib/marc_user_defined_field_serialize.rb Its very much customized to our needs, but you should be able to use it as a

[Archivesspace_Users_Group] Plugin Developers - Support model Questions

2022-09-20 Thread Joshua D. Shaw
Hey all (but especially plugin developers) I've been thinking about what support model to adopt for the plugins I release into the wild. Specifically I've been thinking about the following 1. What versions of ArchivesSpace would be reasonable to support? For example, is the current version

Re: [Archivesspace_Users_Group] Docker build

2022-08-02 Thread Joshua D. Shaw
Hey Tom Here's a repo describing the setup we use: https://github.com/dartmouth-dltg/aspace-docker This is pre​ AS v3.2.0, so no external solr - we're still running AS v3.1.1 in prooduction. jds From: archivesspace_users_group-boun...@lyralists.lyrasis.org

Re: [Archivesspace_Users_Group] ASpace 3.2.0: Missing Collection sidebar in PUI

2022-07-26 Thread Joshua D. Shaw
I'd still say its an indexer issue in some form. Have you seen any errors in the logs? Also may be worth tuning the indexer settings in your config. Specifically increasing the commit timeout AppConfig[:indexer_solr_timeout_seconds] and also tweaking the thread count and records per thread for

Re: [Archivesspace_Users_Group] FW: Help - Upgrading from ASpace 2.7.1 to 3.2.0 - MySQL

2022-06-28 Thread Joshua D. Shaw
Hey Jerry Running the setup-database script will take you from whatever your current version is to the version you are migrating to without the need for incremental updates. If you are running plugins, you'll want to ensure that any db changes don't break the plugins - though typically that's

Re: [Archivesspace_Users_Group] Frontend specific hooks

2022-06-09 Thread Joshua D. Shaw
Ooooh! Not examples off the top of my head, but I'm definitely gonna make a lot of use of these! You might take a look at the HM repos (https://github.com/hudmol) or here: https://gitlab.gaiaresources.com.au/qsa (also a lot of HM work) since I'm pretty sure they added those plugin hooks. jds

Re: [Archivesspace_Users_Group] Imported Records Not Showing Up -- Thoughts?

2022-06-02 Thread Joshua D. Shaw
Off the top of my head. Could this just be the usual indexer lag that's exacerbated by the fact that 3.2 requires an external Solr and therefore can lead to a slight longer indexer lag? That'd be my guess - especially if the records do show up eventually. If that's the case, then I think

Re: [Archivesspace_Users_Group] Rights statements not showing up in the public interface

2022-03-24 Thread Joshua D. Shaw
are deliberately changing the core file contents for other reasons. jds From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Thursday, March 24, 2022 5:12 PM To: Archivesspace Users Group Subject: Re

Re: [Archivesspace_Users_Group] Rights statements not showing up in the public interface

2022-03-24 Thread Joshua D. Shaw
Hi Dean Sounds like you want to create a simple plugin that modifies the welcome view: https://github.com/archivesspace/archivesspace/blob/master/public/app/views/welcome/show.html.erb That's the easiest (only?) way add a blob of text to the homepage of the PUI. The basic steps would be 1.

Re: [Archivesspace_Users_Group] User Defined Fields use cases

2022-03-01 Thread Joshua D. Shaw
We use user defined fields primarily to map to some specific MARC fields not included in the general export or modify the MARC export. Examples include using a boolean to indicate if the 007 field should indicate if the resource is an audio recording (e.g. for oral histories). Things like that

Re: [Archivesspace_Users_Group] Folder label creation from resource record

2022-03-01 Thread Joshua D. Shaw
Supreme Council Archives 1 State Street New Haven, CT 06511-6702 Phone 203 752-4578 Fax 203 865-0351 From: archivesspace_users_group-boun...@lyralists.lyrasis.org On Behalf Of Joshua D. Shaw Sent: Tuesday, March 1, 2022 11:58 AM To: Archivesspace Users Group Subject: Re

Re: [Archivesspace_Users_Group] Folder label creation from resource record

2022-03-01 Thread Joshua D. Shaw
: archivesspace_users_group-boun...@lyralists.lyrasis.org On Behalf Of Joshua D. Shaw Sent: Tuesday, March 1, 2022 11:44 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Folder label creation from resource record There's also a plugin that I've developed that allows you to print

Re: [Archivesspace_Users_Group] Folder label creation from resource record

2022-03-01 Thread Joshua D. Shaw
There's also a plugin that I've developed that allows you to print labels from the application itself. It does require some additional CSS depending on the label layout you are using, but there are some examples in the plugin. You'll want to grab the latest release for your version of

[Archivesspace_Users_Group] Translations/Localizations for Content & PUI Locales?

2022-02-15 Thread Joshua D. Shaw
Hey Everyone We're wondering how others handle translations for descriptive content. Example would be for a community with dual primary languages - eg English and French. How would you handle descriptive metadata (title, scope content, etc) in both languages? Followup Q. In the SUI, a

[Archivesspace_Users_Group] Adding Route to PUI - tip

2022-01-12 Thread Joshua D. Shaw
Since this just tripped me up, I figured I'd share with the group. If you are looking to add a route to the PUI in a plugin, you cannot use a two part path for your new route since this existing route will catch any of those: get ":obj_type/:slug_or_id" => 'objects#show'

Re: [Archivesspace_Users_Group] Digital Object Edit Batch

2021-12-16 Thread Joshua D. Shaw
So you don't have API access? Can you install a plugin? Or is AS so locked down that those are also no gos? Both of those would allow you to do direct updates. API would be easier, but you can also write data migrations in a plugin. Joshua From:

Re: [Archivesspace_Users_Group] Query re search functionality - ArchivesSpace 3.1

2021-12-14 Thread Joshua D. Shaw
Hi Isobel In versions 2.8.0 (maybe 2.8.1) forward, there are additional options to set browse/search sort order that also affect the typeaheads. Go to the dropdown by your username in the top right and set the default sort column and direction in either the global or repo settings (depends on

Re: [Archivesspace_Users_Group] ASpace API - Query by Location Barcode?

2021-12-13 Thread Joshua D. Shaw
I don't see a specific endpoint for location by barcode, but I think you could hit the generic search endpoint with the following. It's going to show all locations that match that particular string, so not guaranteed that you'll only get one result.

Re: [Archivesspace_Users_Group] Warnings for collection content in ArchivesSpace

2021-12-01 Thread Joshua D. Shaw
Hi Everyone I've gotten the content warnings plugin I mentioned up for others to take a look at. GitHub - dartmouth-dltg/aspace_content_warnings Note that this is still in a 'beta' phase, so I would not recommend using this in a

Re: [Archivesspace_Users_Group] Warnings for collection content in ArchivesSpace

2021-11-24 Thread Joshua D. Shaw
We're experimenting with a plugin that does this. I have a proof of concept that deals with the data entry and PUI display, including the PDF export from the PUI (but not from the staff side). On the staff side, the plugin adds an additional repeatable subrecord to archival objects, accession,

[Archivesspace_Users_Group] Bug in Solr 8.11.0

2021-11-23 Thread Joshua D. Shaw
Thought I'd post this to save others some headache. I'm testing some external Solr bits and just ran into this bug: https://www.mail-archive.com/users@solr.apache.org/msg02012.html Which prevents AS from starting since the files (schema, etc) can't be read for checksumming on startup. You'll

Re: [Archivesspace_Users_Group] Override staff ead to pdf export XSL in Plugin?

2021-11-04 Thread Joshua D. Shaw
directories when run. ( the same as reports directory, which can be modified in place instead of using a plugin. ) ( Not sure if that’s what you’re asking, or if that’s what you’re trying to avoid. ) — Steve M. On Nov 4, 2021, at 1:13 PM, Joshua D. Shaw mailto:joshua.d.s...@dartmouth.edu

[Archivesspace_Users_Group] Override staff ead to pdf export XSL in Plugin?

2021-11-04 Thread Joshua D. Shaw
Before I do a deep code dive, has anyone tried or does anyone know if its possible to override the core ead->pdf export stylesheet (https://github.com/archivesspace/archivesspace/blob/v3.1.0/stylesheets/as-ead-pdf.xsl) without patching the core code directly? For the plugin I'm writing, I need

Re: [Archivesspace_Users_Group] Reorder mode in 3.1.0

2021-10-28 Thread Joshua D. Shaw
I think I've found the culprit(s), which I've documented on the ticket. I need to test and investigate some more though. Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Michelle Paquette Sent: Wednesday, October 27, 2021

Re: [Archivesspace_Users_Group] Add a static web page to ArchivesSpace PUI?

2021-09-21 Thread Joshua D. Shaw
I had used the same framework in the sitemaps plugin before I changed things to work in a different way. You can see the commit that still had a static page here: https://github.com/dartmouth-dltg/aspace_sitemap/tree/07720814e985193040b202db3d98c8c0c9f6f735/public You want this piece from

Re: [Archivesspace_Users_Group] Hudson Molonglo: Extended Advanced Search Plugin NoMethodError

2021-08-05 Thread Joshua D. Shaw
The release package looks like it was created before the class name change from CommonIndexer to IndexerCommon. That name change was for AS v2.2.2+, so the release won't work with 2.7.0. You could try cloning the master branch of the repo, though that may also flail with 2.7.0. And I'd

Re: [Archivesspace_Users_Group] digital object import issue

2021-08-04 Thread Joshua D. Shaw
Hey all- In digital land and in ArchivesSpace publish columns: 0 = false and 1 = true jds From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Hand, Sarit Sent: Wednesday, August 4, 2021 5:32 PM To: Archivesspace Users Group Subject:

Re: [Archivesspace_Users_Group] New School bulk update plugin error

2021-08-04 Thread Joshua D. Shaw
Looks like the migration that added that column came in 2.8.0. Though the bulk updater *might* work with 2.8.0 (I have not tested it), it definitely will *not* work with 2.7.1 Cheers, Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on

Re: [Archivesspace_Users_Group] Unable to edit / delete accessions or resources after upgrade to MySQL database

2021-07-14 Thread Joshua D. Shaw
I'm guessing your config file did not get updated to point to the new database. This line in the config needs to be uncommented and updated for your specific database setup: ## AppConfig[:db_url] = "jdbc:mysql://localhost:3306/archivesspace?user=as=as123=true=UTF-8" You'll also need to add

Re: [Archivesspace_Users_Group] Print to PDF: Works via staff interface; does not work via public interface

2021-07-13 Thread Joshua D. Shaw
The PUI and the staff side use different methods for generating the pdfs. The staff side goes EAD->PDF if I recall correctly, while the PUI is HTML->PDF. I'd look for errors in the logs that should point you to the issue. If I had to guess I'd say it might be an ampersand issue. Sometimes

[Archivesspace_Users_Group] Add Subrecord for only one Agent type via Plugin?

2021-06-22 Thread Joshua D. Shaw
Just wondering if anyone knows if it's possible to add a subrecord via a plugin to *only one* agent type? From what I can tell, the current releases do not support this and the sidebar link mechanism appears to be broken as well. It looks like you need to add an entry for both agent and

Re: [Archivesspace_Users_Group] lcnaf plugin

2021-05-20 Thread Joshua D. Shaw
Hi Tom To enable any plugin in the /plugins directory, you need to update the config file. Specifically, the entry AppConfig[:plugins] = [] The array contents are just the directory names of the plugins that you want to enable So, to enable just the lcnaf plugin, you would want

Re: [Archivesspace_Users_Group] Indexer Thread Counts

2021-01-05 Thread Joshua D. Shaw
) Yes, additive 2) The public index was considered less time critical There’s no problem with increasing the PUI indexer thread count if you have the resources. Cheers, James On Jan 6, 2021, at 1:41 AM, Joshua D. Shaw mailto:joshua.d.s...@dartmouth.edu>> wrote: Hey all- Couple of que

[Archivesspace_Users_Group] Indexer Thread Counts

2021-01-05 Thread Joshua D. Shaw
Hey all- Couple of questions about indexer thread counts 1) Before I dive too deeply into the code to figure this out, I'm wondering if anyone knows if the setting for AppConfig[:pui_indexer_thread_count] is counted as part of AppConfig[:indexer_thread_count] or if its additive? IE if the

Re: [Archivesspace_Users_Group] ArchivesSpace RESTful API authentication and access

2020-10-05 Thread Joshua D. Shaw
And as a follow-follow-up Christine has moved this to a private JIRA since it impacts security, jds From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Monday, October 5, 2020 1:58 PM To: Archivesspace Users Group

Re: [Archivesspace_Users_Group] ArchivesSpace RESTful API authentication and access

2020-10-05 Thread Joshua D. Shaw
Just as a follow-up, I've created a JIRA ticket about this: https://archivesspace.atlassian.net/browse/ANW-1123 jds From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Tuesday, September 29, 2020 12:39 PM

Re: [Archivesspace_Users_Group] Containerised ArchivesSpace in production

2020-09-30 Thread Joshua D. Shaw
From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Peter Heiner Sent: Wednesday, September 30, 2020 5:09 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Containerised ArchivesSpace in production Joshua D. Shaw wrote on 2020-09-29 13:25:43: &g

Re: [Archivesspace_Users_Group] Database connection error in ArchivesSpace 2.8 PUI

2020-09-30 Thread Joshua D. Shaw
Just a guess, but are there more than 1024 top containers that you are trying to retrieve? The maxBooleanClauses setting in https://github.com/archivesspace/archivesspace/blob/master/solr/solrconfig.xml#L69 limits the max number of booleans to 1024. From:

Re: [Archivesspace_Users_Group] ArchivesSpace RESTful API authentication and access

2020-09-29 Thread Joshua D. Shaw
%7C995b093648d640e5a31ebf689ec9446f%7C0%7C0%7C637369937387429327=u2y8VNCm0cCJAO5VGL6g0MH6NxFID5yF01G6vVRX0Hk%3D=0> So it has been this way for quite a while. David On Tue, Sep 29, 2020 at 12:19 PM Joshua D. Shaw mailto:joshua.d.s...@dartmouth.edu>> wrote: I think this is an uninte

Re: [Archivesspace_Users_Group] ArchivesSpace RESTful API authentication and access

2020-09-29 Thread Joshua D. Shaw
at all. From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Tuesday, September 29, 2020 11:54 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] ArchivesSpace RESTful API authentication

Re: [Archivesspace_Users_Group] ArchivesSpace RESTful API authentication and access

2020-09-29 Thread Joshua D. Shaw
That's a *very* interesting find! I had naively believed the docs that indicated that most of the endpoints required authentication without actually trying to bounce off a random endpoint without a token. The controllers indicate that there should be permissions involved and that they should

Re: [Archivesspace_Users_Group] Containerised ArchivesSpace in production

2020-09-29 Thread Joshua D. Shaw
, if they are something that can be safely distributed. I, for one, would be especially interested in the production Dockerfile. Thanks David On Mon, Sep 28, 2020 at 1:53 PM Joshua D. Shaw mailto:joshua.d.s...@dartmouth.edu>> wrote: Hi Peter We are running AS in docker containers for everythin

Re: [Archivesspace_Users_Group] Containerised ArchivesSpace in production

2020-09-28 Thread Joshua D. Shaw
Hi Peter We are running AS in docker containers for everything from local development to production. Happy to share our dockerfile and put you in touch with our sysadmin if you'd like. Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on

Re: [Archivesspace_Users_Group] RHEL 7 instance install question.

2020-09-28 Thread Joshua D. Shaw
Hi Rick- Its always a good idea to run the migration step for any update of the application, since schema changes happen pretty frequently. I'd do the db dump and import as you were planning, but just add that additional step of running scripts/setup-database.sh before starting up on the new

Re: [Archivesspace_Users_Group] (no subject)

2020-09-08 Thread Joshua D. Shaw
I've seen this as well. I *thought* it was a bot crawling the site for indexing, since that URL is the constructed URL for a request, but if others have other ideas, I'd be happy to hear it! Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org

Re: [Archivesspace_Users_Group] Best Way to Reindex with PUI Live?

2020-04-28 Thread Joshua D. Shaw
ing on the speed of whatever storage layer your system uses that can take longer than 5 minutes, in which case the indexer will start again from scratch. We've set AppConfig[:indexer_solr_timeout_seconds] to 1800 to give it half an hour, to avoid this. Andrew. On 27/04/2020 21:00, Joshua D. Shaw wr

Re: [Archivesspace_Users_Group] Best Way to Reindex with PUI Live?

2020-04-27 Thread Joshua D. Shaw
finished up by Monday. From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Monday, April 27, 2020 1:01 PM To: Archivesspace Users Group Subject: [Archivesspace_Users_Group] Best Way to Reindex with PUI Live? Hi

[Archivesspace_Users_Group] Best Way to Reindex with PUI Live?

2020-04-27 Thread Joshua D. Shaw
Hi all- Just wondering what people have been doing when they need to do a total reindex and they have a live PUI? Our reindex takes about 4-6 hours typically and I'm looking to avoid 4-6 hours of PUI downtime if at all possible. I'm planning to just wipe the indexer_state files and leave the

Re: [Archivesspace_Users_Group] Request for Assistance with Troubleshooting EAC-CPF Exports for Agent Persons

2020-04-23 Thread Joshua D. Shaw
Hey James- Are the bioghist note(s) published - including any subnotes? Only bioghist notes and their subnotes will get added to the EAC if published. Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of James R Griffin III

[Archivesspace_Users_Group] Aggregating plugin assets

2020-04-16 Thread Joshua D. Shaw
Hey all- I was getting a little frustrated with aggressive browser caching during deployment when I'd update a plugin's css or js. Often the old css or js would still be cached in the user's browser and then things would be bad. So... I've whipped up a proof of concept/template plugin that

Re: [Archivesspace_Users_Group] PUI search default

2020-04-09 Thread Joshua D. Shaw
The PUI is tricky. I found that I needed to override the search method in the PUI SearchController to get an "and" by default. There may be a JIRA ticket in for this, but I'm not finding it in a quick search. Joshua From:

Re: [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace

2020-03-20 Thread Joshua D. Shaw
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

Re: [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace

2020-03-20 Thread Joshua D. Shaw
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

Re: [Archivesspace_Users_Group] Method to Pause Indexer during Job Run?

2020-02-19 Thread Joshua D. Shaw
of the created objects and sets the mtime to the import job completion time? Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Wednesday, February 19, 2020 9:40 AM To: Archivesspace Users Group Subject: Re

Re: [Archivesspace_Users_Group] Method to Pause Indexer during Job Run?

2020-02-19 Thread Joshua D. Shaw
ve set it to 1800 to avoid this, but YMMV. Andrew. From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: 19 February 2020 13:05 To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Method to Pause Index

Re: [Archivesspace_Users_Group] Method to Pause Indexer during Job Run?

2020-02-19 Thread Joshua D. Shaw
= params[:duration].nil? ? 900 : params[:duration].to_i IndexerCommon.pause duration "#{IndexerCommon.class_variable_get(:@@paused_until)}" end Seems to do what you want. Cheers, James On Feb 19, 2020, at 6:29 AM, Joshua D. Shaw mailto:joshua.d.s...@dartmouth.edu>>

[Archivesspace_Users_Group] Method to Pause Indexer during Job Run?

2020-02-18 Thread Joshua D. Shaw
Hey all- I writing a job that may take a *long* time (hours) to complete which will be updating a *lot* of AO records. I'm wondering if there's a way to pause the Indexer during a job so that I can let the Indexer do its thing *after* the job completes. I know I can toggle the AppConfig value

[Archivesspace_Users_Group] ArchivesSpace Integrations - What's out there?

2020-01-21 Thread Joshua D. Shaw
Hi all- The TAC integrations external documentation subteam is interested in finding out about integrations that may not be widely known or documented. We're interested in any and all integrations between ArchivesSpace and other systems that are not listed on the current integrations page

Re: [Archivesspace_Users_Group] Error? - Stanford upgrade from 1.5.4 to 2.6.0

2019-10-17 Thread Joshua D. Shaw
Are there any children for this tree - ie any archival objects underneath? If not, this may be related to this issue: https://archivesspace.atlassian.net/browse/ANW-782 Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Blake

Re: [Archivesspace_Users_Group] public interface not displaying key finding aid data

2019-08-15 Thread Joshua D. Shaw
The organization tab not showing tends to be an indexer issue. Either the indexer hasn't finished up (is this a *very* large collection?) or its generating errors for some reason. Do other collections have an organization tab available? Joshua From:

Re: [Archivesspace_Users_Group] Working with multiple ASpace strings

2019-05-30 Thread Joshua D. Shaw
We've got three (well four if you count my local dev) environments and follow a pretty strict process of data always goes from prod -> other environments via a db clone and code always pushes up via local->dev->pre-prod->prod with varying degrees of QA along the way. We also QA integrations the

Re: [Archivesspace_Users_Group] overriding default citation text in the PUI

2018-11-14 Thread Joshua D. Shaw
bobbi_...@harvard.edu From: archivesspace_users_group-boun...@lyralists.lyrasis.org On Behalf Of Joshua D. Shaw Sent: Wednesday, November 14, 2018 12:23 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] overriding default citation text in the PUI I'll give it a shot

Re: [Archivesspace_Users_Group] overriding default citation text in the PUI

2018-11-14 Thread Joshua D. Shaw
! >smile< hth, Bobbi From: archivesspace_users_group-boun...@lyralists.lyrasis.org On Behalf Of Joshua D. Shaw Sent: Wednesday, November 14, 2018 12:12 PM To: Archivesspace Group Subject: Re: [Archivesspace_Users_Group] overriding default citation text in the PUI Digging up

Re: [Archivesspace_Users_Group] Alma Integration

2018-10-31 Thread Joshua D. Shaw
And at Dartmouth - though we are in the early stages of switching to Alma, with an initial rollout June 2019. Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Amanda Focke Sent: Wednesday, October 31, 2018 10:26 AM To:

Re: [Archivesspace_Users_Group] External ID

2018-09-21 Thread Joshua D. Shaw
There's actually a plugin that we had HM develop that does allow users to create and edit external ids: https://github.com/hudmol/editable_external_ids I've tested against the 2.3 release, but not anything newer. Joshua From:

Re: [Archivesspace_Users_Group] Any doing CAS (Central Authentication Service) for ArchivesSpace 2.* ?

2018-07-26 Thread Joshua D. Shaw
PS. There are also changes to the frontend plugin init and the view. I've created a new branch in github and updated, so please give that a shot. Best, Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent

Re: [Archivesspace_Users_Group] Any doing CAS (Central Authentication Service) for ArchivesSpace 2.* ?

2018-07-26 Thread Joshua D. Shaw
Hi Bobbi- Oops. Looks like we haven't updated the git repo for the 2.0 series (still running 1.5.3 in production here) I'll update the gemfile, but in the meantime, I think this should work: ASpaceGems.setup if defined? ASpaceGems source 'http://rubygems.org' gem 'omniauth', '>= 1.6',

  1   2   >