Hi Brian, Are you using the backup script to backup your database only, or were you attempting to backup the Solr index as well? I believe that backing up the Solr index this way has been broken for some time, and is not actually necessary. The next version of ArchivesSpace (3.4.0) will have the backup script only get the database. The Solr ‘/replication’ endpoint is intended for use by other nodes in a Solr cluster, and it isn’t really feasible to backup Solr data from the ArchivesSpace application without a lot of complicated configuration. There is more info here:
https://github.com/archivesspace/archivesspace/pull/2918 Brian H. From: archivesspace_users_group-boun...@lyralists.lyrasis.org <archivesspace_users_group-boun...@lyralists.lyrasis.org> on behalf of Brian LeBlanc <bl...@georgetown.edu> Date: Friday, February 17, 2023 at 2:55 PM To: Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org> Subject: Re: [Archivesspace_Users_Group] ArchivesSpace backups on 3.2 failing Hi Scott & Phil, We're running into this same error attempting to run a backup (version 3.2.0) at Georgetown. Were either of you able to resolve this? Thanks, Brian Brian LeBlanc | Web Application Specialist GEORGETOWN LAW | bl...@georgetown.edu<mailto:bl...@georgetown.edu> 600 New Jersey Avenue, N.W. | Washington, D.C. 20001 Website<http://www.law.georgetown.edu/> | Twitter<https://twitter.com/georgetownlaw> | Facebook<https://www.facebook.com/georgetownlaw> | Instagram<https://www.instagram.com/georgetownlawofficial/> | LinkedIn<https://www.linkedin.com/school/georgetownlaw> | YouTube<https://www.youtube.com/user/GeorgetownLawChannel> [https://lh5.googleusercontent.com/aslyMEY36srssKr5wJhU4fTnssyJ4irhKZYfcpZR8DoOB8ri54ppgP3AXgHG6fNqCZkm8alQchY18xtS9PQwCw82SRk2tpmQ42S6t2T8PpnOjXv6AOA1fclYeL6FcNGsh61Nyva6vdaG1TYw-pCUyXk-9W-JuXIElLo-IY4dywv0v3FUii1TXkmOqA] On Thu, Jan 12, 2023 at 11:23 AM Philip Webster <philip.webs...@sheffield.ac.uk<mailto:philip.webs...@sheffield.ac.uk>> wrote: Hi Scott, what was the solution for this in the end? We’ve just upgraded to 3.2.0 at Sheffield and we’re seeing the same thing. Regards, Phil From: archivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org> <archivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>> On Behalf Of RENTON Scott Sent: 24 May 2022 17:31 To: archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org> Subject: Re: [Archivesspace_Users_Group] ArchivesSpace backups on 3.2 failing Thanks Andrew. Yeah, here it is (it's just the default solrconfig.xml from archivesspace) <requestHandler name="/replication" class="solr.ReplicationHandler" startup="lazy" /> Cheers Scott ========== Scott Renton Digital Library Development & Systems Floor F East Argyle House 515219 ________________________________ From: archivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org> <archivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>> on behalf of Andrew Morrison <andrew.morri...@bodleian.ox.ac.uk<mailto:andrew.morri...@bodleian.ox.ac.uk>> Sent: 24 May 2022 16:56 To: archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org> <archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>> Subject: Re: [Archivesspace_Users_Group] ArchivesSpace backups on 3.2 failing This email was sent to you by someone outside the University. You should only click on links or attachments if you are certain that the email is genuine and the content is safe. Does your external Solr's "archivesspace" core define a requestHandler whose class is "solr.ReplicationHandler" in its solrconfig.xml? Is the name "/replication"? Andrew. On 24/05/2022 16:42, RENTON Scott wrote: Hi folks I upgraded an instance to v.3.2.0 on Friday, but notice that backups are failing (to do with the new external SOLR?). This is using /apps/archivesspace/scripts/backup.sh --mysqldump --output ${BACKUP_DIR}/archivesspace_backup_$DATE.zip as normal. Has the script changed substantially? We were on 2.8.1 previously. Error looks like this: Loading ArchivesSpace configuration file from path: /apps/archivesspace/config/config.rb WARNING: The parameter 'pui_email_delivery_method' was already set WARNING: The parameter 'pui_email_perform_deliveries' was already set WARNING: The parameter 'pui_email_raise_delivery_errors' was already set Loading ArchivesSpace configuration file from path: /apps/archivesspace/config/config.rb WARNING: The parameter 'pui_email_delivery_method' was already set WARNING: The parameter 'pui_email_perform_deliveries' was already set WARNING: The parameter 'pui_email_raise_delivery_errors' was already set 2022-05-24 14:32:48 +0100: Writing backup to /apps/backups/archivesspace_backup_220524_143245.zip ERROR: Solr snapshot failed (Solr snapshot failed: Problem when getting snapshot details: <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <title>Error 404 Not Found</title> </head> <body><h2>HTTP ERROR 404 Not Found</h2> <table> <tr><th>URI:</th><td>/replication</td></tr> <tr><th>STATUS:</th><td>404</td></tr> <tr><th>MESSAGE:</th><td>Not Found</td></tr> <tr><th>SERVLET:</th><td>-</td></tr> </table> Otherwise the SOLR seems to be working fine, so I'm assuming my config is ok: AppConfig[:solr_url] = "http://localhost:8983/solr/archivesspace" AppConfig[:solr_verify_checksums] = false AppConfig[:data_directory] = File.join("/apps/solr/server/solr/archivesspace/data") I did wonder if it was the location of the data_directory that was the issue- it had been away from the solr core, but even after repointing that (above), I get the above error. Cheers Scott ========== Scott Renton Digital Library Development & Systems Floor F East Argyle House 515219 The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. Is e buidheann carthannais a th’ ann an Oilthigh Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336. _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group@lyralists.lyrasis.org<mailto:Archivesspace_Users_Group@lyralists.lyrasis.org> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group@lyralists.lyrasis.org<mailto:Archivesspace_Users_Group@lyralists.lyrasis.org> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
_______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group@lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group