30-something grey wolf therian and furry. Admin of yiffit.net lemmy instance and packmates.org mastodon instance.

  • 1 Post
  • 3 Comments
Joined 2 years ago
cake
Cake day: June 7th, 2023

help-circle
rss


  • Hello again! I just completed object storage migration. Here’s what I learned if you want to do it with an instance that’s already setup:

    1. Download the binary file for pict-rs from the project’s git repository.
    2. Stop the pict-rs container.
    3. Perform the migration as indicated in the pict-rs documentation. If it hangs at some point due to a missing file, re-run with --skip-missing-files.
    4. Verify that files have been migrated to object storage.
    5. Change docker-compose settings.
    6. And here the most important part… changes won’t be applied unless you run docker-compose up -d. Simply running docker-compose restart will NOT apply the new config. This might be obvious for docker users but I didn’t know about it and had to rollback the first time because it wouldn’t fetch images from object storage while they had already been migrated there.