If we decide to do this in-house, the process is as follows:
Create a new production
3.0.1
server using AnsibleStop the old production server
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
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 regularlyPoint the elastic IP at the new server
Stop (and later terminate) the old production instance