talk@lists.collectionspace.org

WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org

View all threads

Migrating to new server: which directories and files ?

WW
William Wolf
Tue, Jul 9, 2019 8:07 PM

Hi,

My migration to the new 5.1 target server is proceeding, my tenant is called 'ahn'

I've got the postgresql database migration in hand and can run the upgrade sql.  One question I have about this is the source postgresql database was called 'cspace' but the 5.1 installer built the database with name 'cspace_default' .  Should I be restoring 'cspace' data into 'cspace_default'?

And, can you please point me to any documentation on which Catalina directories / files to migrate for my ahn tenant ?  I'm not sure which should be copied and which should not.

Thanks again,
William

Hi, My migration to the new 5.1 target server is proceeding, my tenant is called 'ahn' I've got the postgresql database migration in hand and can run the upgrade sql. One question I have about this is the source postgresql database was called 'cspace' but the 5.1 installer built the database with name 'cspace_default' . Should I be restoring 'cspace' data into 'cspace_default'? And, can you please point me to any documentation on which Catalina directories / files to migrate for my ahn tenant ? I'm not sure which should be copied and which should not. Thanks again, William
RL
Ray Lee
Tue, Jul 9, 2019 10:17 PM

Hi William,
Yes, you'll want to restore cspace into cspace_default, and run the upgrade script (https://github.com/cspace-deployment/Tools/blob/master/scripts/db/upgrade_4.1_to_5.0.sql) on cspace_default. Then go into the cspace_source/services directory that was created by the installer, and run 'ant import'. This will seed any new permissions that didn't exist in 4.1. Then verify that CollectionSpace still starts up, and you can still log into the core tenant.

When you did the configuration for the ahn tenant in 4.1, did you create/edit files directly in tomcat, or did you do it in the services, application, and ui source trees, and use mvn and ant commands to build and deploy into tomcat?

Ray


From: Talk talk-bounces@lists.collectionspace.org on behalf of William Wolf ww@williwolf.net
Sent: Tuesday, July 9, 2019 1:07:38 PM
To: talk@lists.collectionspace.org
Subject: [Talk] Migrating to new server: which directories and files ?

Hi,

My migration to the new 5.1 target server is proceeding, my tenant is called ‘ahn’

I’ve got the postgresql database migration in hand and can run the upgrade sql.  One question I have about this is the source postgresql database was called ‘cspace’ but the 5.1 installer built the database with name ‘cspace_default’ .  Should I be restoring ‘cspace’ data into ‘cspace_default’?

And, can you please point me to any documentation on which Catalina directories / files to migrate for my ahn tenant ?  I’m not sure which should be copied and which should not.

Thanks again,
William

Hi William, Yes, you'll want to restore cspace into cspace_default, and run the upgrade script (https://github.com/cspace-deployment/Tools/blob/master/scripts/db/upgrade_4.1_to_5.0.sql) on cspace_default. Then go into the cspace_source/services directory that was created by the installer, and run 'ant import'. This will seed any new permissions that didn't exist in 4.1. Then verify that CollectionSpace still starts up, and you can still log into the core tenant. When you did the configuration for the ahn tenant in 4.1, did you create/edit files directly in tomcat, or did you do it in the services, application, and ui source trees, and use mvn and ant commands to build and deploy into tomcat? Ray ________________________________________ From: Talk <talk-bounces@lists.collectionspace.org> on behalf of William Wolf <ww@williwolf.net> Sent: Tuesday, July 9, 2019 1:07:38 PM To: talk@lists.collectionspace.org Subject: [Talk] Migrating to new server: which directories and files ? Hi, My migration to the new 5.1 target server is proceeding, my tenant is called ‘ahn’ I’ve got the postgresql database migration in hand and can run the upgrade sql. One question I have about this is the source postgresql database was called ‘cspace’ but the 5.1 installer built the database with name ‘cspace_default’ . Should I be restoring ‘cspace’ data into ‘cspace_default’? And, can you please point me to any documentation on which Catalina directories / files to migrate for my ahn tenant ? I’m not sure which should be copied and which should not. Thanks again, William