Re: [Archivesspace_Users_Group] : HOUR_OF_DAY: 1 -> 2

2023-03-27 Thread Andrew Morrison
A reminder to anyone in Europe, whose clocks changed this weekend, to check your ArchivesSpace system. If everything but the home page isn't working, try the fix below... Andrew. On 12/03/2023 19:57, Blake Carver wrote: It's that time of year again! If ArchivesSpace isn't working for you

Re: [Archivesspace_Users_Group] ArchivesSpace weird behavior

2023-03-28 Thread Andrew Morrison
Do any staff users share a login and password? And are there any error messages in the logs from the time of the most recent incident? Andrew. On 27/03/2023 21:08, Galligan, Patrick wrote: Hi all, We've run across a new (to me) issue in ArchivesSpace that I wanted to see if anyone else had

Re: [Archivesspace_Users_Group] ID display config options

2023-05-15 Thread Andrew Morrison
Those two features are partially implemented in JavaScript. It is possible that your web browser has cached the old versions of the JavaScript files. Try doing a hard refresh or emptying your browser's

Re: [Archivesspace_Users_Group] Help with robots.txt

2019-05-21 Thread Andrew Morrison
Hello, If you put a robots.txt file in the config folder of your ArchivesSpace system, it will be served by a request for /robots.txt, after the next restart. I cannot remember where I read that, and cannot find it now, but can confirm it works, since I believe 2.6.0. Regards, Andrew

Re: [Archivesspace_Users_Group] Help with robots.txt

2019-05-21 Thread Andrew Morrison
p a robots file is just throw it in your config directory. From: archivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org> mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>

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

2019-08-16 Thread Andrew Morrison
The symptoms sound similar to the following issue: https://archivesspace.atlassian.net/browse/ANW-902 If a database transaction takes a long time, the periodic indexer that updates the public user interface can run one or more times in the meantime. If that happens, it finds nothing has changed

Re: [Archivesspace_Users_Group] Is it possible to customise the OAI-PMH feeds?

2019-10-28 Thread Andrew Morrison
If you do want to modify oai_dc.rb, you either need to do so to a fork of the source then build your own production system, or monkey patch the OAIDCMapper class via a plug-in containing a backend/plugin_init.rb Andrew. On Mon, 2019-10-28 at 12:14 +, Nick Butler wrote: Hi all, Is it possi

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

2019-10-29 Thread Andrew Morrison
hey can be updated without restarting the service. Andrew. On Tue, 2019-10-29 at 09:35 -0400, James Bullen wrote: Just a quick follow up on this, I had misread the spec and only provided the static page facility on the staff interface - should have been on the PUI. Andrew Morrison noticed m

Re: [Archivesspace_Users_Group] Help using AS Restful API to query

2019-11-08 Thread Andrew Morrison
Hi Steve, The Solr syntax to find records modified in the last 48 hours is: system_mtime:[NOW-48HOUR TO NOW] But I haven't tried running that sort of search query via the ArchivesSpace API. Andrew. On Fri, 2019-11-08 at 10:06 -0500, Steve Mattison wrote:

Re: [Archivesspace_Users_Group] Dual Language Data

2019-11-15 Thread Andrew Morrison
I would imagine it would require a major overhaul or fork of ArchivesSpace to make it capable of capturing two or more translations of everything in a single record. The data model is close to the EAD 2002 schema, which

Re: [Archivesspace_Users_Group] User groups and permission to merge one resource record with another

2019-11-25 Thread Andrew Morrison
Yes, enabling "merge the major record types in this repository" for a group is what causes the "Merge" button in staff interface toolbars for resources and digital objects to be displayed for users in that group. Since at least version 2.5.1, probably earlier. Andrew. On Mon, 2019-11-25 at 14

Re: [Archivesspace_Users_Group] question about customizing search features in the ArchivesSpace PUI

2020-01-09 Thread Andrew Morrison
Some additional notes on relevance-rank boosting: * When experimenting with different boost values, you have to restart after each change to config.rb (just the backend in a developer system, but in a system running a pre-built release you have to restart the whole thing, which gets tireso

Re: [Archivesspace_Users_Group] Generate PDF - unpublished check box

2020-02-06 Thread Andrew Morrison
The "Include unpublished" checkbox is hardcoded to always be selected. It would be possible to create a plug-in to change that behaviour. But it seems like the sort of thing that ideally would be configurable via group permissions, and/or per repository, and that would be an enhancement to the

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

2020-02-19 Thread Andrew Morrison
I'd be interested in hearing if you get this to work, because it could be useful in fixing this issue: https://archivesspace.atlassian.net/browse/ANW-902 Also, if you're making a truly mammoth update, which will be followed by a re-index of nearly everything, you might want to consider increasi

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

2020-02-21 Thread Andrew Morrison
ail due to a commit timeout. That almost sounds more like disk access or network (if you're running a separate SOLR instance). Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Andrew Morrison Sent: Wedn

Re: [Archivesspace_Users_Group] Better notifying users of digital content presence

2020-02-28 Thread Andrew Morrison
Just a warning that _record_innards.html.erb is a large, complex and often-changed template. So if you override it in a plug-in, even just to move one value (altformavail in this case) between those two lists that Mark explained, you will probably need to download the latest version of it and re

Re: [Archivesspace_Users_Group] Better notifying users of digital content presence

2020-02-28 Thread Andrew Morrison
We do similar but have added a condition so it doesn't expand all for devices smaller than an iPad: if ($(window).width() >= 768) { collapse_all('.note_panel',true); } Andrew. On Fri, 2020-02-28 at 17:26 +, Majewski, Steven Dennis (sdm7g) wrote: We use the "open accordions by default" java

Re: [Archivesspace_Users_Group] Are ASpace-created ref IDs unique?

2020-03-06 Thread Andrew Morrison
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 dupli

Re: [Archivesspace_Users_Group] batch importing Agents

2020-03-09 Thread Andrew Morrison
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

Re: [Archivesspace_Users_Group] how to find if a certain page was accessed in the PUI

2020-03-25 Thread Andrew Morrison
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. _

Re: [Archivesspace_Users_Group] PUI search default

2020-04-14 Thread Andrew Morrison
Note that this problem isn’t exclusive to the public user interface. It also occurs in the staff interface, just not as readily. I've added a comment to the open ticket with further details. Andrew. On 09/04/2020 19:19, Christine Di Bella wrote: Hi everyone, The open ticket for this is at

Re: [Archivesspace_Users_Group] FW: normalization in ArchivesSpace

2020-04-21 Thread Andrew Morrison
You can see what the default Solr config in ArchivesSpace does with these queries in this screenshot of Solr's analysis tool on a development system: https://user-images.githubusercontent.com/33721187/79843129-b9549680-83b1-11ea-8d3a-670f4e84a6de.png On the left is how it indexes Governors and

Re: [Archivesspace_Users_Group] upgrading to new release

2020-04-24 Thread Andrew Morrison
The ./data/shared/job_files/ folder contains copies of every original source file that has ever been imported. The links to download those files from job pages the staff interface will be broken unless you copy them over from the old ArchivesSpace instance to the new one. And there are log file

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

2020-04-28 Thread Andrew Morrison
Not knowing which version you are using I cannot be absolutely sure, but for versions released in recent years deleting the /indexer_state/ and /indexer_pui_state/ subfolders inside the /data/ directory will not cause downtime or missing records for PUI users (nor staff.) If you are re-indexi

Re: [Archivesspace_Users_Group] Unable to save edits

2020-04-28 Thread Andrew Morrison
You probably need to find and share any errors messages in the log files before anyone will be able to help you. Andrew. On 28/04/2020 06:41, Annabel Armstrong-Clarke wrote: Hi everyone I have started having an issue over the last few days with edits to either Accession or Resource records

Re: [Archivesspace_Users_Group] Question Regarding the REST API batch_imports Operation

2020-05-07 Thread Andrew Morrison
If you want to load EAD via the backend API you can use the /jobs_with_files/ endpoint. You send that both JSON (to specify what job to run and give it the necessary parameters) and the EAD for the job to process. Here is an example a cURL command to start a job to import an EAD file in the

Re: [Archivesspace_Users_Group] How to add to dropdown, not a controlled vocabulary dropdown

2020-05-13 Thread Andrew Morrison
The options in the type drop-down for notes in agents, which includes corporate entities, are defined in the code in at least two places: https://github.com/archivesspace/archivesspace/blob/master/common/schemas/abstract_agent.rb#L40-L44 https://github.com/archivesspace/archivesspace/blob/maste

Re: [Archivesspace_Users_Group] Duplicated fields in resources bug?

2020-06-03 Thread Andrew Morrison
Something else which are duplicated are ARKs, if you have them turned on: https://archivesspace.atlassian.net/browse/ANW-1060 But they're generated for you, so could be an unrelated bug. Andrew. On 02/06/2020 17:48, Kevin W. Schlottmann wrote: Thanks Dan.  I'm glad (I guess?) to hear that it'

[Archivesspace_Users_Group] Blank collection organization view for all resources

2020-06-03 Thread Andrew Morrison
Hello, Has anyone encountered a problem with the collection organization view not displaying any of the contents of the collection? All the resource records in our system are affected, but here is one example: https://archives.bodleian.ox.ac.uk/repositories/2/resources/4976/collection_organiz

Re: [Archivesspace_Users_Group] PDF Export Logo Issue

2020-06-05 Thread Andrew Morrison
Anything that involves the backend, or XSL, is the code for the PDFs you get in the staff interface. The public user interface generates its own PDFs, by first building a HTML document using ERB templates, just as it does for ordinary pages. But instead of returning that it stores it as a tem

Re: [Archivesspace_Users_Group] Blank collection organization view for all resources

2020-06-05 Thread Andrew Morrison
only had one occurrence in countless restarts, so it isn't a huge priority. Andrew. On 03/06/2020 19:16, Andrew Morrison wrote: Hello, Has anyone encountered a problem with the collection organization view not displaying any of the contents of the collection? All the resource reco

Re: [Archivesspace_Users_Group] PDF Export Logo Issue

2020-06-05 Thread Andrew Morrison
/2020 18:28, Andrew Morrison wrote: Anything that involves the backend, or XSL, is the code for the PDFs you get in the staff interface. The public user interface generates its own PDFs, by first building a HTML document using ERB templates, just as it does for ordinary pages. But inste

Re: [Archivesspace_Users_Group] Top container ranges

2020-06-19 Thread Andrew Morrison
Just for completeness, another option is to create your own customized version of the EAD importer, by subclassing the EADConverter class in a backend plugin. Then you'd just have another option

Re: [Archivesspace_Users_Group] Editing display columns for Collection Management in AS

2020-06-19 Thread Andrew Morrison
The collection management columns are set up here: https://github.com/archivesspace/archivesspace/blob/master/common/config/preference_defaults.rb#L91-L97 But that is not a file you can edit in a production instance of ArchivesSpace. It sets the defaults which can then be overridden. However,

Re: [Archivesspace_Users_Group] Partially deleted repository

2020-06-19 Thread Andrew Morrison
On a development system, deleting a repository via the staff interface causes the indexer to log errors continually when it tries to process resource records within, because it can no longer resolve the parent repository. Shutting down all services and doing a full re-index stops the errors, bu

Re: [Archivesspace_Users_Group] No records found

2020-08-17 Thread Andrew Morrison
One possible cause is the indexer timing out at some stage after indexing the things you can see, but before indexing the things you cannot. For example, it could happen if Solr takes a long time to commit changes from memory to disk storage, if the latter is slow, and if you have a lot of rec

Re: [Archivesspace_Users_Group] Advice on new upgrade

2020-08-17 Thread Andrew Morrison
Here are some, at least partial, answers to your questions: 1. You can boost collection-level records relative to everything else by setting /AppConfig[:solr_params]/ in your config.rb file to something like /{ "bq" => "level:collection^1.25" }/ or add that in if you're already setting o

Re: [Archivesspace_Users_Group] (no subject)

2020-09-08 Thread Andrew Morrison
Those URLs are where you are sent to if you click on the request button in the public user interface if you do not have JavaScript enabled. It is probably a requirement for accessibility. It doesn't work on this test system: http://test.archivesspace.org/repositories/2/resources/77/request

[Archivesspace_Users_Group] Problem with events created by the API

2020-10-09 Thread Andrew Morrison
Hello, Has anyone else experienced problems with the API generating so many events that it causes records to be unviewable? We need to move ~3000 archival objects from one resource to another, and then into their correct places as children of other archival objects already in the destination

Re: [Archivesspace_Users_Group] Disable PUI (public interface)

2020-11-23 Thread Andrew Morrison
This is an AppConfig[:enable_public] setting which can be set to false in config.rb. Andrew. On 23/11/2020 18:37, David M. ZUCKERMAN wrote: Hi, We're upgrading Archivesspace and will not be using the public interface. I see quite a few config options for pui in config.rb but not sure how I

Re: [Archivesspace_Users_Group] ArchivesSpace 2.8.1 Edit Default Values

2020-12-30 Thread Andrew Morrison
Is "Pre-populate Records?" checked in your own user preferences? User preferences take precedence over repository preferences, and both take precedence over global preferences. Initially your user preferences are unset, so a checkbox like "Pre-populate Records?" will appear unticked, but if it

Re: [Archivesspace_Users_Group] ArchivesSpace 2.8.1 Edit Default Values

2021-01-07 Thread Andrew Morrison
ation Technologies Librarian, University of Denver 303-871-2285 @tolloid *From:* archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Andrew Morrison *Sent:* Wednesday, December 30, 2020 03:4

Re: [Archivesspace_Users_Group] Ruby SASSC issue affecting PUI (2.8.1)

2021-01-15 Thread Andrew Morrison
Which version of Java are you running? See http://lyralists.lyrasis.org/mailman/htdig/archivesspace_users_group/2020-February/007388.html Andrew. On 13/01/2021 12:56, philip.webs...@sheffield.ac.uk wrote: Hi, We're currently in the process of deploying ArchivesSpace 2.8.1 to our producti

Re: [Archivesspace_Users_Group] Public interface not working with upgrade to v.2.8.1.

2021-02-04 Thread Andrew Morrison
Which version of Java are you running? See: * http://lyralists.lyrasis.org/mailman/htdig/archivesspace_users_group/2020-February/007388.html * http://lyralists.lyrasis.org/mailman/htdig/archivesspace_users_group/2021-January/008135.html Andrew. On 04/02/2021 13:48, Calev, Suzanna wrote:

Re: [Archivesspace_Users_Group] Checking for Broken URLs in Resources

2021-02-11 Thread Andrew Morrison
Another approach would be to modify the Solr schema and the ArchivesSpace indexer to set up and populate an index field just for URLs. Then write a script to query Solr, to get a list of URLs, then send HTTP requests to test them as with any other link checker. That would also have the added bo

Re: [Archivesspace_Users_Group] Relevance ranking prioritising info in agent record's biog history

2021-02-11 Thread Andrew Morrison
The default "Keyword" search option causes ArchivesSpace to query a single Solr index field called "fullrecord". That is a big, unstructured free-text field containing everything the indexer deems relevant to each record (and, as in this case, pulled in from other things linked to it, such as a

Re: [Archivesspace_Users_Group] Unpublished and suppressed records

2021-02-23 Thread Andrew Morrison
I don't know if it is a bug or a feature, but the "Published" facet/filter only appears when searching in the staff interface *after* you filter by record type to "Resource", "Archival Object", or "Digital Object". (There also has to be at least one published and one unpublished record of each

Re: [Archivesspace_Users_Group] Help suppressing a finding aid section

2021-03-02 Thread Andrew Morrison
Note that not every field in the finding aid data section in the staff interface is displayed in the public user interface. There is a summary here: https://archivesspace.atlassian.net/browse/ANW-1055 Although the purpose of that ticket is to ask whether those choices should be changed in fut

Re: [Archivesspace_Users_Group] Containers not being associated with their resources

2021-03-02 Thread Andrew Morrison
Also, if you have access to the Solr web interface, check whether there is a green tick next to "Current" in the core admin for the Solr core your ArchivesSpace system is using. If not, then you could try doubling AppConfig[:indexer_solr_timeout_seconds]) in config.rb, restarting ArchivesSpa

Re: [Archivesspace_Users_Group] Searches including colons

2021-03-02 Thread Andrew Morrison
How are you searching this field? If you've added it to the options in the PUI or SUI advanced search, it should be escaping the colon for you. If searching via the API, you probably need to do it yourself

Re: [Archivesspace_Users_Group] Searches including colons

2021-03-04 Thread Andrew Morrison
n they uniformly return no results. Many thanks, Nick *From:* archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Andrew Morrison *Sent:* 02 March 2021 16:44 *To:* archivesspace_users_group@lyralists.lyrasis.org *Subje

Re: [Archivesspace_Users_Group] Searches including colons

2021-03-04 Thread Andrew Morrison
Probably the easiest fix would be to change your plug-in so that it convert colons to spaces when indexing this new field. Andrew. On 04/03/2021 11:21, Andrew Morrison wrote: I think your problem is here: https://github.com/archivesspace/archivesspace/blob

Re: [Archivesspace_Users_Group] Indexing and search issues

2021-03-11 Thread Andrew Morrison
You can allocate more memory to ArchivesSpace by setting the ASPACE_JAVA_XMX environment variable it runs under. Setting that to "-Xmx4g" should be sufficient. Those FATAL lines in the log snippet are caused by a bot probing for known vulnerabilities in common web platforms and applications, h

Re: [Archivesspace_Users_Group] Indexing and search issues

2021-03-11 Thread Andrew Morrison
large numbers of records I cannot say. We made the decision to use it before all our data was migrated into ArchivesSpace. Andrew. On 11/03/2021 15:32, Tom Hanstra wrote: Thanks, Andrew. Some responses intertwined below, italicized: On Thu, Mar 11, 2021 at 7:31 AM Andrew Morrison <

Re: [Archivesspace_Users_Group] Change order of items on PUI navigation bar using local plug-in override?

2021-03-15 Thread Andrew Morrison
The links in the navigation bar are defined an array called /$MAIN_MENU/ which is populated during start-up, using /AppConfig[:pui_hide]/ options to determine which of the standard links to include. You can make adjustments to it in your plug-in's /public/plugin_init.rb/ file (if that doesn't

Re: [Archivesspace_Users_Group] Line Breaks (Windows/UNIX)

2021-03-15 Thread Andrew Morrison
How have you managed to get the UNIX LF-only line breaks to work in the staff interface view mode? Normally, web browsers don't render them. Have you used CSS? Or are you searching and replacing them with HTML br tags? Andrew. On 08/03/2021 15:39, RENTON Scott wrote: Hi folks, Sorry to h

Re: [Archivesspace_Users_Group] Bug in PUI search filtering?

2021-03-25 Thread Andrew Morrison
This sounds similar to some observations I made last year in a comment on the fix that made defaulting to AND between multiple search terms work in the PUI: https://github.com/archivesspace/archivesspace/pull/1861#issuecomment-620676731 Basically, what I believe is happening is that old versio

Re: [Archivesspace_Users_Group] [EXT] Re: AS PUI displaying unpublished content

2021-04-06 Thread Andrew Morrison
Have you tried re-indexing since switching on the public user interface? Andrew. On 05/04/2021 23:54, Earle, Lev wrote: Hi Mark, Thanks for your response on this. Unfortunately, the publish/unpublish buttons in the

Re: [Archivesspace_Users_Group] Should digital object file_uri field allow non URI data?

2021-04-19 Thread Andrew Morrison
Option A, because anything but a URI would create invalid EAD if exported or requested via OAI-PMH. Andrew. On 19/04/2021 17:41, Majewski, Steven Dennis (sdm7g) wrote: I would think ‘A’, but that’s based on that the field is labeled “File URI” so I expect something that looks like a URI, an

Re: [Archivesspace_Users_Group] Including user defined fields in the PUI

2021-05-06 Thread Andrew Morrison
The user-defined fields are in the JSON for objects that have them (e.g. resources), so you can display them with something like this: <%= @result['json']['user_defined']['text_1'] %> But shared templates like _record_innards.html.erb also render other objects which don't have user-defined fie

Re: [Archivesspace_Users_Group] config.rb options

2021-06-08 Thread Andrew Morrison
Because config.rb is just a Ruby script, that gets run during startup, so you should be able to use: require_relative 'configA.rb' require_relative 'configB.rb' But it won't change the fact that any changes will require a restart before they will take effect. Andrew. On 07/06/2021 18:35, T

Re: [Archivesspace_Users_Group] Error viewing a digital object from the frontend site

2021-06-15 Thread Andrew Morrison
I'm afraid this appears to be a bug in a contribution I made . It occurs when both of the following conditions are met: 1. AppConfig[:pui_search_collection_from_archival_objects] is set to true in config.rb (by default it is false) 2

Re: [Archivesspace_Users_Group] Error viewing a digital object from the frontend site

2021-06-15 Thread Andrew Morrison
ear future if it is already fixed in newer versions. - Megan *From:* archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Andrew Morrison *Sent:* Tuesday, June 15, 2021 11:00 AM *To:* archivess

Re: [Archivesspace_Users_Group] Search API- detailed documentation?

2021-06-17 Thread Andrew Morrison
I think the idea is that there is a lot of documentation and many examples of Solr queries available online, and that's what most people use to when searching via the API. You can build AdvancedSearch objects, which the backend will convert to Solr queries, but it is more difficult and less pow

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

2021-07-15 Thread Andrew Morrison
If the system isn't currently connected to the MySQL database, then it is likely it wasn't when the data migrations script was run. If so, that will need to be (re-)run once config.rb has been

Re: [Archivesspace_Users_Group] SOLR/API differences

2021-08-23 Thread Andrew Morrison
The search endpoints of the ArchivesSpace API allow passing of queries to Solr, but only selected parameters such as q and sort are passed directly through. Sorry if I gave you the wrong impression in previous emails. You cannot specify qf in an API search. Instead, its value is hardcoded he

Re: [Archivesspace_Users_Group] SOLR/API differences

2021-08-23 Thread Andrew Morrison
Sorry, forgot to mention, qf can be set in AppConfig[:solr_params] in config.rb, but again it applies to all searching, not just API searches. Andrew. On 23/08/2021 13:27, Andrew Morrison wrote: The search endpoints of the ArchivesSpace API allow passing of queries to Solr, but only

Re: [Archivesspace_Users_Group] TEI data and ArchivesSpace

2021-09-27 Thread Andrew Morrison
I'd recommend converting to EAD first, then importing that. TEI is a highly flexible and customizable schema, so writing a direct importer would be difficult, and unlikely to work for all the different styles and standards of TEI created by different projects. In some cases, it might require pu

Re: [Archivesspace_Users_Group] Jetty out of date - critical vulnerability

2021-10-28 Thread Andrew Morrison
I concur that more information, sent via less public channels, would be useful. Andrew. On 10/28/21 08:35, Peter Heiner wrote: Christine Di Bella wrote on 2021-10-27 20:04:00: Given the sensitivity, we maintain security issues in a non-public JIRA. This effectively prevents the community fr

Re: [Archivesspace_Users_Group] ASpace Version 2.8.0, custom plugin throwing error, "language"

2021-11-01 Thread Andrew Morrison
The simple "language" property of resources and archival objects (which I assume is what is held in the obj variable in your code), that held a single ISO 639/2 language code, was scrapped in 2.7.0. Instead, there is now a "lang_materials" property, holding a much more complicated data structur

Re: [Archivesspace_Users_Group] Implementing a standalone Solr instance

2021-12-06 Thread Andrew Morrison
Presumably there will be documentation. In the meantime, there is a webinar recording you can watch: https://archivesspace.org/archives/7151 Andrew. On 06/12/2021 00:05, Alan Manifold wrote: Related to this, are there instructions out there for implementing ArchivesSpace with external SOLR?

Re: [Archivesspace_Users_Group] Implementing a standalone Solr instance

2021-12-06 Thread Andrew Morrison
Your issues with the indexer may be, in part, because Cambridge have over 30 repositories. The indexer runs twice (once staff, once PUI) per repository over the course of the indexing_frequency_seconds periods set in config.rb. The Bodleian has a similar number of records, but only one reposito

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

2021-12-14 Thread Andrew Morrison
The /search/repositories endpoint searches for repositories, so filtering that to only return locations will always return no hits. To search globally, say for a location with a barcode of 123456789, you could use something like this: /search?q=123456789&page=1&page_size=100&type[]=location

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

2021-12-14 Thread Andrew Morrison
I don't think user preferences affect the drop-down displayed when you start typing. That's hardcoded to sort by title (I agree that relevance would be better.) You could try prefixing with a Solr index field name. For example, to only list resources which have the word /cheese/ in their titl

[Archivesspace_Users_Group] API-only users?

2021-12-14 Thread Andrew Morrison
Hello, Does anyone know if there is a way set up an ArchivesSpace user so they can query the API but they are blocked from logging-in to the staff interface? Thanks, Andrew. ___ Archivesspace_Users_Group mailing list Archivesspace_Users_Group@lyr

Re: [Archivesspace_Users_Group] Digital Object Edit Batch

2021-12-17 Thread Andrew Morrison
You could, in theory, use a tool for automating repetitive tasks in a web browser. There are various open source and proprietary options, used for testing user interfaces, or screen-scraping information from web sites. Configure it to open each digital object in turn, edit the URL, and save. Th

Re: [Archivesspace_Users_Group] Archival Object Edits Not Always Saving

2021-12-17 Thread Andrew Morrison
Is it only notes that they have trouble with? I've never seen it be a problem, but I have noticed that notes have a second, hidden textarea which get updated with modifications to the visible one, presumably by JavaScript. Fields elsewhere, for example the Basic Information section, don't have

Re: [Archivesspace_Users_Group] Digital Object images not embedding

2021-12-21 Thread Andrew Morrison
If the destination is a web page, displaying both image and metadata, then the URI for the file version with the embed option needs to be different, pointing to an image (preferably one scaled or cropped to whatever you think makes a good thumbnail.) Andrew. On 17/12/2021 19:56, Lori Dedeyan

Re: [Archivesspace_Users_Group] Filtering for suppressed records

2021-12-23 Thread Andrew Morrison
There is a way, but it is not as simple as you might think: 1. Log in to the staff interface as a user who has permission to view suppressed records in the repository you want to see them in (or is a system administrator.) 2. Make sure Show Suppressed is enabled in User Preferences. 3. Click t

Re: [Archivesspace_Users_Group] question about searching/browsing digital objects in the SUI

2021-12-23 Thread Andrew Morrison
There is no equivalent of the Manage Top Containers interface for digital objects, if that is what you are asking. Andrew. On 22/12/2021 17:01, Wendy Scheir wrote: Hi, Can anyone tell me the way in the SUI to get a list of Digital Objects related to a particular resource or accession? I fig

Re: [Archivesspace_Users_Group] Harvard digital objects code with external Solr in AS 2.8.1

2022-01-04 Thread Andrew Morrison
You could try using the version of solrconfig.xml on the master branch of the ArchivesSpace repository... https://github.com/archivesspace/archivesspace/blob/master/solr/solrconfig.xml#L3-L7 ...or possibly just copy the lines I've highlighted into your current solrconfig.xml (changing the lu

Re: [Archivesspace_Users_Group] Advice on what to look for in AS logs after printing error?

2022-01-06 Thread Andrew Morrison
If you do see that "Failed to clean XML" message in the logs, then you might be interested in this pull request I submitted recently: https://github.com/archivesspace/archivesspace/pull/2553 I could put the same fix into the form of a plug-in, if that is what you are seeing, you have the abi

Re: [Archivesspace_Users_Group] Advice on what to look for in AS logs after printing error?

2022-01-07 Thread Andrew Morrison
t and / /freedom of speech. Do you?/ *From:* archivesspace_users_group-boun...@lyralists.lyrasis.org *On Behalf Of *Andrew Morrison *Sent:* Thursday, January 6, 2022 5:14 AM *To:* archivesspace_users_group@lyralists.lyrasis.org *Subject:* Re: [Archivesspace_Users_Group] Advice on what to look fo

Re: [Archivesspace_Users_Group] AO codes and titles: Need for feed

2022-01-17 Thread Andrew Morrison
Search results in the staff interface can be downloaded as CSV. Has the archivist tried changing the fields in the "Search Columns" section of their User Preferences? If they have, and it doesn't offer them the fields they require, it is possible to write a plug-in which adds fields as new opti

Re: [Archivesspace_Users_Group] Collection inventory missing from PDF?

2022-01-25 Thread Andrew Morrison
The PDFs that the PUI generates are created from data in Solr, which can get out-of-sync with the MySQL database, so performing a soft re-index is worth trying: https://archivesspace.github.io/tech-docs/administration/indexes.html Andrew. On 25/01/2022 13:44, Kyle Breneman wrote: Does anyo

Re: [Archivesspace_Users_Group] OAI-PMH Harvesting to Primo

2022-01-26 Thread Andrew Morrison
The British Library uses Primo for archives and manuscripts: https://searcharchives.bl.uk On any Primo system, you can add &showPnx=true on the end of the URL of a record view page, and it'll show you the underlying data structure (i.e. the result of how the harvested data has been mapped to f

Re: [Archivesspace_Users_Group] PUI Customizations

2022-03-07 Thread Andrew Morrison
You could try setting the title value in en.yml to a single space. Something like this... en:   brand:     title: " " The double quotes prevent it from being interpreted as a null value. It won't get rid of the HTML h1 and a tags, just the text, which might have implications for accessibility

Re: [Archivesspace_Users_Group] User Defined Fields use cases

2022-03-10 Thread Andrew Morrison
User defined fields aren't shown in the PUI. They presumably aren't included in exports or the OAI-PMH service either so, in terms of long-term preservation of metadata, they probably shouldn't be used for anything you'd want to be migrated, if switching to another system in the future. Althoug

Re: [Archivesspace_Users_Group] 3.2.0 PUI active breadcrumb links no longer blue

2022-03-11 Thread Andrew Morrison
The recommendation in the documentation is to override the CSS built from the SCSS in core ArchivesSpace with a plain CSS file of your own in a plug-in. The downside i

Re: [Archivesspace_Users_Group] Creating a report with selection parameters other than dates

2022-03-21 Thread Andrew Morrison
Here is an example (not my own): https://github.com/harvard-library/harvard_aspace_reports/blob/b96981a13debd62be88a4d11ccd39d692eaed857/backend/model/resource_top_containers.rb#L4-L12 Andrew. On 21/03/2022 03:52, Neal Fitzgerald wrote: Hi All I am trying to create a report that uses the

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

2022-03-22 Thread Andrew Morrison
There is this issue: https://archivesspace.atlassian.net/browse/ANW-1055 But that is only about fields in the "Finding Aid Data" section, not rights statements. Andrew. On 21/03/2022 18:52, Blake Carver wrote: I think that might be one of the fields that isn't on the PUI? I know there'

Re: [Archivesspace_Users_Group] Background jobs stuck in queue

2022-03-29 Thread Andrew Morrison
Generally, when there is a difference between what you see when searching/browsing, and what you see when you view something individually, it is caused by MySQL and Solr getting out of sync. You could try deleting the following files: //path/to/archivesspace/data/indexer_state/*_job.dat/ That

Re: [Archivesspace_Users_Group] OAI Harvesting issues with 3.2.0

2022-03-30 Thread Andrew Morrison
If you post the error messages in your log files from around the time when you get an "Internal Server Error" it would help diagnose the problem. But here are some observations that might be relevant. Exporting EAD, whether from the staff interface or via the OAI-PMH service, uses both MySQL a

Re: [Archivesspace_Users_Group] PUI locales not being fully loaded in v3.1.1?

2022-03-31 Thread Andrew Morrison
Do you have two or more plug-ins with a /public/locale/en.yml/ file in each? If they have both have a brand: section, then one will override the other, even if only one defines a translation for the title: variable. There has been a change between 2.8.1 and 3.1.1 in how plug-ins are loaded:

Re: [Archivesspace_Users_Group] PUI requests

2022-04-06 Thread Andrew Morrison
There is a plug-in to add a reCAPTCHA anti-bot test to the email form, so presumably some people found automated spam a big enough problem to be worth developing it: https://github.com/archivesspace-plugins/aspace-recaptcha reCAPTCHA does have privacy and accessibility concerns though. There

Re: [Archivesspace_Users_Group] "?" being added unexpectedly to Digital Object File URIs

2022-04-11 Thread Andrew Morrison
You say your system in running 2.8.1. But does it have any plug-ins installed which contain a modified _digital.html.erb template based on an older release? A question mark is added by web browsers when submitting a HTML form with no input fields. And that is exactly what the non-thumbnail digi

Re: [Archivesspace_Users_Group] LCNAF plug-in background job going into queued status

2022-04-11 Thread Andrew Morrison
Generally, when there is a difference between what you see when searching/browsing, and what you see when you view an individual record, it is caused by MySQL and Solr getting out of sync. You could try a soft re-index: https://archivesspace.github.io/tech-docs/administration/indexes.html And

Re: [Archivesspace_Users_Group] Query to retrieve boxes with restricted AOs + local access restrict type

2022-04-19 Thread Andrew Morrison
If you need to ascend the hierarchy of archival objects within collections, from the ones that link to containers, to the ones with the access restrictions, then you are probably going to need to write a stored procedure. Andrew. On 19/04/2022 15:38, Olivia S Solis wrote: Hello all, I'm sp

Re: [Archivesspace_Users_Group] PUI Ordering and Sorting Issue

2022-04-28 Thread Andrew Morrison
Are you using the built-in Solr search engine that comes with ArchivesSpace 3.0.1? If so, your sorting problems could be because it uses a very old version, because newer ones aren't compatible with the method of embedding it in a bigger application. But there is the option to configure Archive

Re: [Archivesspace_Users_Group] PUI Ordering and Sorting Issue

2022-04-28 Thread Andrew Morrison
think we will get a better result? Hitomi *From:*archivesspace_users_group-boun...@lyralists.lyrasis.org *On Behalf Of *Andrew Morrison *Sent:* Thursday, April 28, 2022 4:47 PM *To:* archivesspace_users_group@lyralists.lyrasis.org *Subject:* Re: [Archivesspace_Users_Group] PUI Ordering and So

  1   2   >