Re: [Archivesspace_Users_Group] RuntimeError: Schema Info Mismatch

2019-12-10 Thread Peter Heiner
On 10 Dec 2019 21:42, "Boggio, Jerry" wrote: Could someone please provide more information on the meaning of this message? In particular, what is represented by the “Expected” and “received” values?   RuntimeError: Schema Info Mismatch. Expected 97, received 120 for ASPACE version v2.3.0This

Re: [Archivesspace_Users_Group] RuntimeError: Schema Info Mismatch

2019-12-11 Thread Peter Heiner
Apologies for sending HTML mail to the list, I have failed to set my GMail up correctly. Reproducing in plain text for convenience. On 10 Dec 2019 21:42, "Boggio, Jerry" wrote: > Could someone please provide more information on the meaning of this > message? In particular, what is represented

Re: [Archivesspace_Users_Group] Error updating resource records through API

2020-04-17 Thread Peter Heiner
Huebschen, Alan M wrote on 2020-04-17 14:26:24: > I've been attempting to update existing resource records through the API, the > records already exist and I'm trying to upload modified versions of the JSON > but I'm getting an error in response. > > 'error': 'The record you tried to update has

Re: [Archivesspace_Users_Group] MySQL issue

2020-10-09 Thread Peter Heiner
Neal, Rick wrote on 2020-10-08 12:55:39: > I then SHOW GRANTS; > > It only lists the grants for the root user. Nothing about the archivesspace > database or user. Plain SHOW GRANTS operates on the current user, root in your case. You need to use SHOW GRANTS FOR 'username'@'host'; p

Re: [Archivesspace_Users_Group] MySQL connector question

2020-10-09 Thread Peter Heiner
Neal, Rick wrote on 2020-10-09 11:47:06: > I checked my CLASSPATH but found it was empty. My java is using > /bin/java. Could my issues simply be that the CLASSPATH is empty? Do > I want to add java to the CLASSPATH by doing this: export > CLASSPATH=/bin/java and then test to see if everything

Re: [Archivesspace_Users_Group] MySQL connector question

2020-10-09 Thread Peter Heiner
Neal, Rick wrote on 2020-10-09 11:18:00: > I am continuing to troubleshoot our mysql issue and have a question about the > mysql connector. > > My operating system is RHEL 7. > MySQL version is: mysql-community 5.6.49-2.el7 > > The instructions sent me to:

Re: [Archivesspace_Users_Group] Aspace-Oauth SAML configuration

2020-10-06 Thread Peter Heiner
philip.webs...@sheffield.ac.uk wrote on 2020-10-06 17:44:51: > Hi, > > I'm trying to set up the Aspace-Oauth plugin on ArchivesSpace 2.8.0 to > enable SAML logins via our institutional IDP. So far, I've managed to get > the plugin linked to our dev IDP and configured to download the SAML >

[Archivesspace_Users_Group] Containerised ArchivesSpace in production

2020-09-25 Thread Peter Heiner
Dear list, For want of a better list to send this, I have a few questions regarding running ArchivesSpace containerised. List archives suggest this has not been brought up in a while and it was exactly a year ago that Laney McGlohon added words to docs/user/docker.md reading 'Docker is not

Re: [Archivesspace_Users_Group] Containerised ArchivesSpace in production

2020-09-30 Thread Peter Heiner
Joshua D. Shaw wrote on 2020-09-29 13:25:43: > I've created a git repo that describes our Docker setup. I hope it'll > be enough to get people going, but please feel free to send me an > email with questions. > > https://github.com/dartmouth-dltg/aspace-docker Thanks for this. How do you run

Re: [Archivesspace_Users_Group] Permission denied question

2020-09-30 Thread Peter Heiner
Neal, Rick wrote on 2020-09-30 20:19:08: > YES! We moved from RHEL 6 to RHEL 7. On RHEL you may have to issue a setsebool -P httpd_can_network_connect 1 as root to allow Apache to be able to connect to the network and act as a proxy. I don't think much of the defaults have changed between the

Re: [Archivesspace_Users_Group] Permission denied question

2020-09-30 Thread Peter Heiner
Neal, Rick wrote on 2020-09-30 19:48:29: > Blake, > > I just copied my mysq-connector over to the new server (version 2.5.2) from > the old server (version 2.5.0) when I installed AS. That file is: > mysql-connector-java-5.1.24.jar. Should I have used a different file and, if > so, where

Re: [Archivesspace_Users_Group] Survey on API usage

2020-08-02 Thread Peter Heiner
Dear Adrien, Can you please send me the text? Thanks, p Hilton, Adrien wrote on 2020-07-30 19:30:24: > Apologies, the wiki page for background info is restricted, and permissions > are at a much higher level. If folks are interested, feel free to reach out > and I can share the text with you

Re: [Archivesspace_Users_Group] logrotate and "binary" logs

2021-06-16 Thread Peter Heiner
> On Tue, 2021-06-15 at 08:42 +0000, Peter Heiner wrote: > > > $ file as-log.out > > > as-log.out: data > > This looks like the file utility was unable to determine the type of > > as-log.out. As it should normally be able to identify all types emitted >

Re: [Archivesspace_Users_Group] Trouble with creating a Docker container

2021-06-07 Thread Peter Heiner
I'm attempting to create a Docker container for ArchivesSpace and I cannot seem to get it to connect to my MySQL container. I'm still very new to Docker, so I'm sure there is a step in the process I am missing. My repo is here:

Re: [Archivesspace_Users_Group] logrotate and "binary" logs

2021-06-15 Thread Peter Heiner
$ file as-log.out as-log.out: data This looks like the file utility was unable to determine the type of as-log.out. As it should normally be able to identify all types emitted by logrotate, this suggests to me that the actual file it was ran on is corrupt. archivesspace/logs/archivesspace.out {

Re: [Archivesspace_Users_Group] Spreadsheet imports locking up database

2021-06-06 Thread Peter Heiner
James Bullen wrote on 2021-06-06 11:35:03: > Bulk update operations usually run in database transactions. This is great > because it guarantees that the database will be in a consistent state when > the job completes - if it succeeds then all of the updates are applied, if it > fails then none

[Archivesspace_Users_Group] Spreadsheet imports locking up database

2021-06-04 Thread Peter Heiner
Dear list users, The Cambridge University Library AS instance has recently been hit with severe performance issues while users were running spreadsheet imports to add archival objects, details are in https://github.com/archivesspace/archivesspace/issues/2275; the summary is that a DELETE

Re: [Archivesspace_Users_Group] Indexed - but still some issues

2021-03-24 Thread Peter Heiner
Tom Hanstra wrote on 2021-03-24 09:25:24: > So, I am now further than I've been yet, at least based upon the logs. But > I still have something not working properly, because when I do a search and > find output, nothing is coming up when I try to look at the found record. I > get the error: > >

Re: [Archivesspace_Users_Group] Indexed - but still some issues

2021-03-25 Thread Peter Heiner
gt; >>> well as numerous restarts with config.rb changes and that was the only > >>> change that I found could address the issues. Through a number of > >>> restarts, > >>> there was nothing in the logs to indicate the issue. Finally got an error > >>> that suggest

Re: [Archivesspace_Users_Group] API output - extra unicode

2021-09-04 Thread Peter Heiner
Hi Tom, The AS API is UTF-8 by default and AS tries to make sure your database is set up correctly, too, by checking the database/table encodings. As a data point, with dozens of migrations making millions of calls to the AS API and sending data in both directions I've yet to come across a

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

2021-09-21 Thread Peter Heiner
Hi all, While this will probably solve Amy's problem, it may not be a good idea for a busy site to use the whole RoR stack to do this. It would probably be better to use Middlemanto generate static pages using the AS partials and serve them using Apache or similar. p

Re: [Archivesspace_Users_Group] error - agent table is full

2021-09-24 Thread Peter Heiner
Hi Sean, This is a MySQL error relating to either the database server running out of disk space or the database hitting the maximum autoextend size, see https://stackoverflow.com/questions/730579/1114-hy000-the-table-is-full p From:

Re: [Archivesspace_Users_Group] Implementing a standalone Solr instance

2021-12-04 Thread Peter Heiner
Hi Kyle, We at the Cambridge University Library have been running an external Solr instance since the early days of our deployment. We use Puppet for configuration management of our local VM stack and the module we use is https://forge.puppetlabs.com/modules/landcareresearch/solr. We currently

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

2021-10-28 Thread Peter Heiner
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 from getting involved and even to look for possible mitigations on their own. At the very least, could the links mentioned that

Re: [Archivesspace_Users_Group] Optimistic locking error

2021-12-02 Thread Peter Heiner
Hi Patrick, What does SELECT * FROM `user` WHERE ((`id` = 113) AND (`lock_version` = 1271)); say? p From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Galligan, Patrick Sent: 02 December 2021 16:57 To: Archivesspace Users Group

Re: [Archivesspace_Users_Group] log4j vulnerability in ArchivesSpace?

2021-12-11 Thread Peter Heiner
While ArchivesSpace itself might not be vulnerable, those who run an extrrnal Solr instance should be aware that it itself may be, see https://solr.apache.org/security.html#apache-solr-affected-by-apache-log4j-cve-2021-44228 for more information and some possible workarounds. p

Re: [Archivesspace_Users_Group] API-only users?

2021-12-14 Thread Peter Heiner
Andrew Morrison wrote on 2021-12-14 13:27:13: > 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? My understanding is that this is not possible. ArchivesSpace does not expose any way to limit

Re: [Archivesspace_Users_Group] Implementing a standalone Solr instance

2022-01-07 Thread Peter Heiner
Zhang, Bin wrote on 2022-01-07 05:14:57: > Where do I find the “Archivesspace solr configuration files”? I can find > the “solr directory” mentioned in the instruction anywhere in our installed > ArchivesSpace instance. It's not in the distribution, but in the source tree on Github:

Re: [Archivesspace_Users_Group] Help: Does ASpace support Okta/SSO/SAML?

2022-03-14 Thread Peter Heiner
Cambridge University Libraries use the aspace-oauth plugin with the SAML provider. We chose SAML over LDAP because our directory doesn't allow anonymous binds and ArchivesSpace requires a separate bind DN which I was not too keen on having. SAML was not particularly easy to set up, we've seen

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

2022-01-06 Thread Peter Heiner
Kyle Breneman wrote on 2022-01-05 17:36:41: > Thank you for that reminder, Blake! Another question: the print action was > being run from the following pages. Wouldn't clicking the AS print button > itself register in the logs? If so, how could I efficiently find those > lines? > >

Re: [Archivesspace_Users_Group] Problems with oauth plugin

2022-06-02 Thread Peter Heiner
This looks like it's failing while trying to download the Okta SAML IdP metadata. If you do an openssl s_client -connect :443 from the host you'll get copious amounts of debugging output that should get you started. HTH, p From:

Re: [Archivesspace_Users_Group] Browser Access Not Working

2022-05-12 Thread Peter Heiner
Heidi R. Pettitt wrote on 2022-05-12 15:02:30: > Hi All, > > The issue I'm having is I'm trying to access ArchivesSpace through a web > browser by typing in Http://IP Address of my Archives Space server:8080. > This is supposed to bring me to an Archives Space login in web page but it > says

Re: [Archivesspace_Users_Group] Vagrant: "unable to connect to backend" error

2022-06-11 Thread Peter Heiner
We just had a similar issue where we had to upgrade MySQL Connector/J to be able to successfully connect to a database that has been upgraded from MariaDB 10.2 to 10.4. The symptom was AS being unable to connect to the database and it logging a 'communications link failure' error. We'd

Re: [Archivesspace_Users_Group] External Solr - Memory Allocation?

2023-01-28 Thread Peter Heiner
Joshua D. Shaw wrote on 2023-01-26 23:02:10: > Thanks, Blake! > > I'm running default config values for the AS log levels so they are all set > to 'debug'. I took a closer look, and the timeout message happens exactly > after the timeout amount I set (as you'd expect). Interestingly, Solr is in

Re: [Archivesspace_Users_Group] ASpace database issues

2023-01-18 Thread Peter Heiner
Matthew Adair wrote on 2023-01-18 14:23:14: > Version 2.5.2 of ASpace. Version 8.0.30 of MySQL A couple of versions prior to yours MySQL started explicitly reporting 'utf8mb3' where in the past it would say 'utf8'. That's because 'utf8' is currently an alias for 'utf8mb3' and they want to

Re: [Archivesspace_Users_Group] AWS/Linux/Solr

2022-11-04 Thread Peter Heiner
Kyle Breneman wrote on 2022-11-04 12:39:13: > Thanks for your assistance, Don. Yes, I did install Solr on the box. I > created directories and put the ArchivesSpace configset in place, as per > instructions. > > What is giving

Re: [Archivesspace_Users_Group] Diagnosing issues with ArchivesSpace

2023-05-24 Thread Peter Heiner
Michael Smith wrote on 2023-05-23 23:52:45: > Our team has been facing recurring issues with our ArchivesSpace setup since > October last year, which we've been unable to fully resolve despite > concerted efforts. Could pretty much be a description of our team up until very recently, when a team