Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

179 lines
7.7 KiB

  1. # SOME DESCRIPTIVE TITLE.
  2. # Copyright (C) 2018-2025, Slavi Pantaleev, Aine Etke, MDAD community members
  3. # This file is distributed under the same license as the matrix-docker-ansible-deploy package.
  4. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5. #
  6. #, fuzzy
  7. msgid ""
  8. msgstr ""
  9. "Project-Id-Version: matrix-docker-ansible-deploy \n"
  10. "Report-Msgid-Bugs-To: \n"
  11. "POT-Creation-Date: 2025-01-27 09:54+0200\n"
  12. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  13. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  14. "Language-Team: LANGUAGE <LL@li.org>\n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. #: ../../../docs/configuring-playbook-s3-goofys.md:1
  19. msgid "Storing Matrix media files on Amazon S3 with Goofys (optional)"
  20. msgstr ""
  21. #: ../../../docs/configuring-playbook-s3-goofys.md:3
  22. msgid "If you'd like to store Synapse's content repository (`media_store`) files on Amazon S3 (or other S3-compatible service), you can let this playbook configure [Goofys](https://github.com/kahing/goofys) for you."
  23. msgstr ""
  24. #: ../../../docs/configuring-playbook-s3-goofys.md:5
  25. msgid "Another (and better performing) way to use S3 storage with Synapse is [synapse-s3-storage-provider](configuring-playbook-synapse-s3-storage-provider.md)."
  26. msgstr ""
  27. #: ../../../docs/configuring-playbook-s3-goofys.md:7
  28. msgid "Using a Goofys-backed media store works, but performance may not be ideal. If possible, try to use a region which is close to your Matrix server."
  29. msgstr ""
  30. #: ../../../docs/configuring-playbook-s3-goofys.md:9
  31. msgid "If you'd like to move your locally-stored media store data to Amazon S3 (or another S3-compatible object store), we also provide some migration instructions below."
  32. msgstr ""
  33. #: ../../../docs/configuring-playbook-s3-goofys.md:11
  34. msgid "Adjusting the playbook configuration"
  35. msgstr ""
  36. #: ../../../docs/configuring-playbook-s3-goofys.md:13
  37. msgid "After [creating the S3 bucket and configuring it](configuring-playbook-s3.md#bucket-creation-and-security-configuration), add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file (adapt to your needs):"
  38. msgstr ""
  39. #: ../../../docs/configuring-playbook-s3-goofys.md:23
  40. msgid "You can use any S3-compatible object store by **additionally** configuring these variables:"
  41. msgstr ""
  42. #: ../../../docs/configuring-playbook-s3-goofys.md:30
  43. msgid "If you have local media store files and wish to migrate to Backblaze B2 subsequently, follow our [migration guide to Backblaze B2](#migrating-to-backblaze-b2) below instead of applying this configuration as-is."
  44. msgstr ""
  45. #: ../../../docs/configuring-playbook-s3-goofys.md:32
  46. msgid "Migrating from local filesystem storage to S3"
  47. msgstr ""
  48. #: ../../../docs/configuring-playbook-s3-goofys.md:34
  49. msgid "It's a good idea to [make a complete server backup](faq.md#how-do-i-back-up-the-data-on-my-server) before migrating your local media store to an S3-backed one."
  50. msgstr ""
  51. #: ../../../docs/configuring-playbook-s3-goofys.md:36
  52. msgid "After making the backup, follow one of the guides below for a migration path from a locally-stored media store to one stored on S3-compatible storage:"
  53. msgstr ""
  54. #: ../../../docs/configuring-playbook-s3-goofys.md:38
  55. msgid "[Migrating to any S3-compatible storage (universal, but likely slow)](#migrating-to-any-s3-compatible-storage-universal-but-likely-slow)"
  56. msgstr ""
  57. #: ../../../docs/configuring-playbook-s3-goofys.md:39
  58. msgid "[Migrating to Backblaze B2](#migrating-to-backblaze-b2)"
  59. msgstr ""
  60. #: ../../../docs/configuring-playbook-s3-goofys.md:41
  61. msgid "Migrating to any S3-compatible storage (universal, but likely slow)"
  62. msgstr ""
  63. #: ../../../docs/configuring-playbook-s3-goofys.md:43
  64. msgid "Proceed with the steps below without stopping Matrix services"
  65. msgstr ""
  66. #: ../../../docs/configuring-playbook-s3-goofys.md:45
  67. msgid "Start by adding the base S3 configuration in your `vars.yml` file (seen above, may be different depending on the S3 provider of your choice)"
  68. msgstr ""
  69. #: ../../../docs/configuring-playbook-s3-goofys.md:47
  70. msgid "In addition to the base configuration you see above, add this to your `vars.yml` file:"
  71. msgstr ""
  72. #: ../../../docs/configuring-playbook-s3-goofys.md:53
  73. msgid "This enables S3 support, but mounts the S3 storage bucket to `/matrix/s3-media-store` without hooking it to your homeserver yet. Your homeserver will still continue using your local filesystem for its media store."
  74. msgstr ""
  75. #: ../../../docs/configuring-playbook-s3-goofys.md:55
  76. msgid "Run the playbook to apply the changes: `ansible-playbook -i inventory/hosts setup.yml --tags=setup-all,start`"
  77. msgstr ""
  78. #: ../../../docs/configuring-playbook-s3-goofys.md:57
  79. msgid "Do an **initial sync of your files** by running this **on the server** (it may take a very long time):"
  80. msgstr ""
  81. #: ../../../docs/configuring-playbook-s3-goofys.md:63
  82. msgid "You may need to install `rsync` manually."
  83. msgstr ""
  84. #: ../../../docs/configuring-playbook-s3-goofys.md:65
  85. #: ../../../docs/configuring-playbook-s3-goofys.md:106
  86. msgid "Stop all Matrix services (`ansible-playbook -i inventory/hosts setup.yml --tags=stop`)"
  87. msgstr ""
  88. #: ../../../docs/configuring-playbook-s3-goofys.md:67
  89. msgid "Start the S3 service by running this **on the server**: `systemctl start matrix-goofys`"
  90. msgstr ""
  91. #: ../../../docs/configuring-playbook-s3-goofys.md:69
  92. msgid "Sync the files again by re-running the `rsync` command you see in step #5"
  93. msgstr ""
  94. #: ../../../docs/configuring-playbook-s3-goofys.md:71
  95. msgid "Stop the S3 service by running this **on the server**: `systemctl stop matrix-goofys`"
  96. msgstr ""
  97. #: ../../../docs/configuring-playbook-s3-goofys.md:73
  98. #: ../../../docs/configuring-playbook-s3-goofys.md:114
  99. msgid "Get the old media store out of the way by running this command on the server:"
  100. msgstr ""
  101. #: ../../../docs/configuring-playbook-s3-goofys.md:79
  102. msgid "Remove the `matrix_s3_media_store_path` configuration from your `vars.yml` file (undoing step #3 above)"
  103. msgstr ""
  104. #: ../../../docs/configuring-playbook-s3-goofys.md:81
  105. #: ../../../docs/configuring-playbook-s3-goofys.md:122
  106. msgid "Run the playbook: `ansible-playbook -i inventory/hosts setup.yml --tags=setup-all,start`"
  107. msgstr ""
  108. #: ../../../docs/configuring-playbook-s3-goofys.md:83
  109. #: ../../../docs/configuring-playbook-s3-goofys.md:124
  110. msgid "You're done! Verify that loading existing (old) media files works and that you can upload new ones."
  111. msgstr ""
  112. #: ../../../docs/configuring-playbook-s3-goofys.md:85
  113. #: ../../../docs/configuring-playbook-s3-goofys.md:126
  114. msgid "When confident that it all works, get rid of the local media store directory: `rm -rf /matrix/synapse/storage/media-store-local-backup`"
  115. msgstr ""
  116. #: ../../../docs/configuring-playbook-s3-goofys.md:87
  117. msgid "Migrating to Backblaze B2"
  118. msgstr ""
  119. #: ../../../docs/configuring-playbook-s3-goofys.md:89
  120. msgid "While all Matrix services are running, run the following command on the server:"
  121. msgstr ""
  122. #: ../../../docs/configuring-playbook-s3-goofys.md:91
  123. msgid "(you need to adjust the 3 `--env` line below with your own data)"
  124. msgstr ""
  125. #: ../../../docs/configuring-playbook-s3-goofys.md:104
  126. msgid "This is some initial file sync, which may take a very long time."
  127. msgstr ""
  128. #: ../../../docs/configuring-playbook-s3-goofys.md:108
  129. msgid "Run the command from step #1 again."
  130. msgstr ""
  131. #: ../../../docs/configuring-playbook-s3-goofys.md:110
  132. msgid "Doing this will sync any new files that may have been created locally in the meantime."
  133. msgstr ""
  134. #: ../../../docs/configuring-playbook-s3-goofys.md:112
  135. msgid "Now that Matrix services aren't running, we're sure to get Backblaze B2 and your local media store fully in sync."
  136. msgstr ""
  137. #: ../../../docs/configuring-playbook-s3-goofys.md:120
  138. msgid "Put the [Backblaze B2 settings](configuring-playbook-s3.md#backblaze-b2) in your `vars.yml` file"
  139. msgstr ""