• 0 Posts
  • 2 Comments
Joined 1 year ago
cake
Cake day: July 11th, 2023

help-circle

  • I’m attempting this migration on an instance that has been running for about a month, is federated with the top 10+ instances and has synced a lot of data.

    The steps I’m using are as follows:

    stop docker: sudo docker stop domainname_pictrs_1

    run docker-compose to open a session in the stopped container: sudo docker-compose run pictrs sh

    run the cmdlet to migrate pictrs via https://git.asonix.dog/asonix/pict-rs/#filesystem-to-object-storage-migration

    When this runs, it appers to be trying to sync like… all of the lemmy fediverse… to my object storage:

    2023-08-13T17:55:44.426301Z WARN pict_rs: Running checks

    2023-08-13T17:55:45.188984Z WARN pict_rs: Checks complete, migrating store

    2023-08-13T17:55:45.275403Z WARN pict_rs: 56963 hashes will be migrated

    Most of these fail, and I’m trying to run it again with --skip-missing-files , but based on what I’m seeing I don’t know if this is really something that can be done once an instance has federated with a lot of other instances.

    Am I missing something?

    Edit: with --skip-missing-files its telling me that it’s going to take 23403 seconds (6.5 hours) to complete this migration.

    When I look into the bucket, I see all kinds of random images being migrated over, so it’s definitely storing pretty much every image that my instance has ever synced. Is there a way to just migrate content that originated on my instance?