@ -32,7 +32,7 @@ The consequence of this change is that *all* data stored in the - now unsupporte
> **It's important to note that this is a *copy* operation - so disk usage will (temporarily) double while you migrate**
> We provide a "migration container" for your convenience that can access both the new and old volumes, allowing you to copy the data into the setup.
#### Step 0. Backup, rollout, and rollback plan
#### Step 0) Backup, rollout, and rollback plan
1. Make sure to backup your server (ideally *after* step 1 below has completed, but *before* is better than not at all!)
1. Capture the current Git version / Pixelfed release you are on (e.g. `git --no-pager log -1` outputs the commit reference as the 2nd word in first line)
@ -40,7 +40,7 @@ The consequence of this change is that *all* data stored in the - now unsupporte
1. Backup your `docker-compose.yml` file (`cp docker-compose.yml docker-compose.yml.old`)
1. Read through the *entire* document before starting
#### Step 1. Migrate your ".env" file
#### Step 1) Migrate your ".env" file
The new `.env` file for Docker is a bit different from the old one (many new settings!) so the easiest is to grab the new `.env.docker` file and modify it from scratch again.
@ -71,7 +71,7 @@ This is a great time to review your settings and familiarize you with all the ne
> * [How do I use my own Proxy server?](faq.md#how-do-i-use-my-own-proxy-server)
> * [How do I use my own SSL certificate?](faq.md#how-do-i-use-my-own-ssl-certificate)
Update your project to the latest release of Pixelfed by running
@ -93,7 +93,7 @@ $ git pull origin $release
> [!NOTE]
> The `$release` can be any valid git reference like `dev`, `staging` or a [tagged release](https://github.com/pixelfed/pixelfed/releases) such as `v0.12.0`.
#### Step 4. Run the migration container
#### Step 4) Run the migration container
You can access the Docker container with both old and new volumes by running the following command
@ -115,7 +115,7 @@ This will put you in the `/migrate` directory within the container, containing 8
`-- old
```
#### Step 5. Check the folders
#### Step 5) Check the folders
##### Old folders
@ -139,7 +139,7 @@ $ ls db-data/new
$ ls redis-data/new
```
#### Step 6. Copy the data
#### Step 6) Copy the data
> [!WARNING]
> This is where we potentially will double your disk usage (temporarily)
If you changed anything in the `.env` file while debugging, some containers might restart now, thats perfectly fine.
#### Step 9. Verify
#### Step 9) Verify
With all services online, it's time to go to your browser and check everything is working
@ -281,7 +281,7 @@ With all services online, it's time to go to your browser and check everything i
If everything looks fine, yay, you made it to the end! Lets do some cleanup
#### Step 10. Final steps + cleanup
#### Step 10) Final steps + cleanup
With everything working, please take a new snapshot/backup of your server *before* we do any cleanup. A post-migration snapshot is incredibly useful, since it contains both the old and new configuration + data, making any recovery much easier in a rollback scenario later.