vwbusguy,
@vwbusguy@mastodon.online avatar

Just migrated the LFS backend from block storage to RGW/S3. The migrate-storage command worked perfectly! 💪

https://forgejo.org/docs/latest/admin/command-line/#migrate-storage

https://forgejo.org/docs/latest/admin/storage/

vwbusguy,
@vwbusguy@mastodon.online avatar

FYI, even though the and docs brand "MINIO", it will still work for other S3 compatible vendors. If you just mentally s/MINIO/S3, the rest makes sense.

vwbusguy,
@vwbusguy@mastodon.online avatar

Also, if you plan to use RGW and get stuck on the Bucket policy, here's a basic example one that grants the "forgejo" RGW user full access to the "git-lfs" bucket:

{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Principal": {"AWS": ["arn:aws:iam:::user/forgejo"]},
"Action": "",
"Resource": [
"arn:aws:s3:::git-lfs/
",
"arn:aws:s3:::git-lfs"
]
}]
}

The user and bucket can be created with radosgw-admin but the bucket policy via s3cmd, etc.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines