Upgrading from 2.7.1. to 3.0.1
Eddie upgraded our ArchivesSpace in November 2021, following the steps below:
Create a new production
3.0.1
server using AnsibleStop the old production archivesspace daemon
Move the following files and directories over from the existing production server. Do not copy the database connector
.jar
file; use the one that comes with3.0.1
config
plugins
except for
lcnaf
– use the latest version that comes with3.0.1
data
except for
data/indexer_state
,data/indexer_pui_state
, anddata/solr_index
Copy the database over. Use a fresh backup from production:
mysql archivesspace --password='PASSWORD_REDACTED' --user=aspace \. /home/ubuntu/aspace-backup.sql
Update the database to 3.0.1:
scripts/setup-database.sh
Start archivesspace:
/opt/archivesspace/archivesspace.sh start
Copy over the Apache and EAD and HTML export scripts at
/home/ubuntu/archivesspace_scripts
and/etc/apache2
Run the DB backup and export scripts and check for errors.
Restart Apache
Add
ubuntu
to thewww-users
groupSet up
crontab
so the exports run regularlyStop the old production server
Point the elastic IP at the new server