Skip to content

Commit

Permalink
Update archipelago-deployment-live-moveToLive.md
Browse files Browse the repository at this point in the history
Updated cp commands to accurately copy over folders to correct nested directory on live, as prior commands caused double nesting and resulted in failure to launch containers.

updated syntax for '$HOME' to ensure command executes
  • Loading branch information
wpwentzell authored Oct 17, 2024
1 parent 127b1dc commit 42c191a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/archipelago-deployment-live-moveToLive.md
Original file line number Diff line number Diff line change
Expand Up @@ -360,10 +360,10 @@ docker ps
We will copy DB, min.io (File and ADO storage as files) and Drupal's private (temporary files, caches) folders to its new place:

```shell
sudo cp -rpv persistent/db ../archipelago-deployment-live/data_storage/db
sudo cp -rpv persistent/solrcore ../archipelago-deployment-live/data_storage/solrcore
sudo cp -rpv persistent/miniodata ../archipelago-deployment-live/data_storage/minio-data
sudo cp -rpv private ../archipelago-deployment-live/drupal/private
sudo cp -rpv persistent/db ../archipelago-deployment-live/data_storage/
sudo cp -rpv persistent/solrcore ../archipelago-deployment-live/data_storage/
sudo cp -rpv persistent/miniodata/ ../archipelago-deployment-live/data_storage/minio-data
sudo cp -rpv private ../archipelago-deployment-live/drupal/
```

Running `-rpv` will copy verbosely and recursively while preserving original permissions.
Expand Down Expand Up @@ -433,9 +433,9 @@ No need to stop Docker again. We can do this while your Archipelago is still run
We will copy all important folders over. From your `archipelago-deployment` folder run:

```shell
sudo cp -rpv vendor ../archipelago-deployment-live/drupal/vendor
sudo cp -rpv web ../archipelago-deployment-live/drupal/web
sudo cp -rpv config ../archipelago-deployment-live/drupal/config
sudo cp -rpv vendor ../archipelago-deployment-live/drupal/
sudo cp -rpv web ../archipelago-deployment-live/drupal/
sudo cp -rpv config ../archipelago-deployment-live/drupal/
```

And also, selectively, a few files we know you are very fond of!
Expand Down Expand Up @@ -529,8 +529,8 @@ Finally, let's adapt the `docker-compose` file we need to our previous (but stil
For x86/AMD, run (for ARM64/Apple M1 please check the [parent Documentation](archipelago-deployment-live-readme.md#deployment-on-arm64v8graviton-apple-m1-system)):

```shell
cp $home/archipelago-deployment-live/deploy/ec2-docker/docker-compose-aws-s3.yml $home/archipelago-deployment-live/deploy/ec2-docker/docker-compose.yml
nano $home/archipelago-deployment-live/deploy/ec2-docker/docker-compose.yml
cp $HOME/archipelago-deployment-live/deploy/ec2-docker/docker-compose-aws-s3.yml $HOME/archipelago-deployment-live/deploy/ec2-docker/docker-compose.yml
nano $HOME/archipelago-deployment-live/deploy/ec2-docker/docker-compose.yml
```

And replace the content with this slightly modified version. Note: we really only changed the lines after this comment: `# THIS DIFFERS FROM THE NORMAL ONE...`.
Expand Down

0 comments on commit 42c191a

Please sign in to comment.