From 33dffa84704a7f2f9f1212e6cdd21296a4f4e740 Mon Sep 17 00:00:00 2001 From: Grant Fitzsimmons <37256050+grantfitzsimmons@users.noreply.github.com> Date: Mon, 19 Aug 2024 11:40:00 -0500 Subject: [PATCH] Add instructions for the new management utility --- sphinx/misc/add_new_instance_to_specify_cloud.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/sphinx/misc/add_new_instance_to_specify_cloud.md b/sphinx/misc/add_new_instance_to_specify_cloud.md index 11e8553..96c5bc7 100644 --- a/sphinx/misc/add_new_instance_to_specify_cloud.md +++ b/sphinx/misc/add_new_instance_to_specify_cloud.md @@ -45,12 +45,15 @@ 2. `crontab -e;` and then add the line `0 3 * * 0,2,4,6 docker exec specifycloud_nginx_1 nginx -s reload` 3. `crontab -l` to list cronjobs 5. Add Specify Admin user credentials to the Bitwarden Vault -7. Asset Server - 1. SSH into the appropriate Asset Server for the region - 2. Add `` directory in attachments directory `su specify -c "mkdir attachments/` - 3. Add `` to `/home/specify/new-asset-server/settings.py` - 4. Run `systemctl restart web-asset-server.service` -8. Updown +6. Setup attachments for the database + 1. SSH into the appropriate Web Asset Server + 2. Navigate to the `web-asset-server` directory + 2. Use the `manage_collection_dirs.py` utility to add the new database(s) to the server: + ``` + python3 manage_collection_dirs.py add + ``` + This creates a new attachemnt directory and updates the `settings.py` file to add the collection directory. +7. Updown 1. Add url: `.specifycloud.org/context/system_info.json` 2. Add alias: ``