Matrix Docker Ansible eploy
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 

183 рядки
7.7 KiB

  1. # SOME DESCRIPTIVE TITLE.
  2. # Copyright (C) 2018-2024, Slavi Pantaleev, Aine Etke, MDAD community
  3. # members
  4. # This file is distributed under the same license as the
  5. # matrix-docker-ansible-deploy package.
  6. # FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
  7. #
  8. #, fuzzy
  9. msgid ""
  10. msgstr ""
  11. "Project-Id-Version: matrix-docker-ansible-deploy \n"
  12. "Report-Msgid-Bugs-To: \n"
  13. "POT-Creation-Date: 2024-12-16 12:05+0900\n"
  14. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  15. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  16. "Language: jp\n"
  17. "Language-Team: jp <LL@li.org>\n"
  18. "MIME-Version: 1.0\n"
  19. "Content-Type: text/plain; charset=utf-8\n"
  20. "Content-Transfer-Encoding: 8bit\n"
  21. "Generated-By: Babel 2.16.0\n"
  22. #: ../../../docs/configuring-playbook-s3-goofys.md:1
  23. msgid "Storing Matrix media files on Amazon S3 with Goofys (optional)"
  24. msgstr ""
  25. #: ../../../docs/configuring-playbook-s3-goofys.md:3
  26. 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."
  27. msgstr ""
  28. #: ../../../docs/configuring-playbook-s3-goofys.md:5
  29. msgid "Another (and better performing) way to use S3 storage with Synapse is [synapse-s3-storage-provider](configuring-playbook-synapse-s3-storage-provider.md)."
  30. msgstr ""
  31. #: ../../../docs/configuring-playbook-s3-goofys.md:7
  32. 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."
  33. msgstr ""
  34. #: ../../../docs/configuring-playbook-s3-goofys.md:9
  35. 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."
  36. msgstr ""
  37. #: ../../../docs/configuring-playbook-s3-goofys.md:11
  38. msgid "Adjusting the playbook configuration"
  39. msgstr ""
  40. #: ../../../docs/configuring-playbook-s3-goofys.md:13
  41. 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):"
  42. msgstr ""
  43. #: ../../../docs/configuring-playbook-s3-goofys.md:23
  44. msgid "You can use any S3-compatible object store by **additionally** configuring these variables:"
  45. msgstr ""
  46. #: ../../../docs/configuring-playbook-s3-goofys.md:30
  47. 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."
  48. msgstr ""
  49. #: ../../../docs/configuring-playbook-s3-goofys.md:32
  50. msgid "Migrating from local filesystem storage to S3"
  51. msgstr ""
  52. #: ../../../docs/configuring-playbook-s3-goofys.md:34
  53. 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."
  54. msgstr ""
  55. #: ../../../docs/configuring-playbook-s3-goofys.md:36
  56. 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:"
  57. msgstr ""
  58. #: ../../../docs/configuring-playbook-s3-goofys.md:38
  59. msgid "[Migrating to any S3-compatible storage (universal, but likely slow)](#migrating-to-any-s3-compatible-storage-universal-but-likely-slow)"
  60. msgstr ""
  61. #: ../../../docs/configuring-playbook-s3-goofys.md:39
  62. msgid "[Migrating to Backblaze B2](#migrating-to-backblaze-b2)"
  63. msgstr ""
  64. #: ../../../docs/configuring-playbook-s3-goofys.md:41
  65. msgid "Migrating to any S3-compatible storage (universal, but likely slow)"
  66. msgstr ""
  67. #: ../../../docs/configuring-playbook-s3-goofys.md:43
  68. msgid "Proceed with the steps below without stopping Matrix services"
  69. msgstr ""
  70. #: ../../../docs/configuring-playbook-s3-goofys.md:45
  71. 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)"
  72. msgstr ""
  73. #: ../../../docs/configuring-playbook-s3-goofys.md:47
  74. msgid "In addition to the base configuration you see above, add this to your `vars.yml` file:"
  75. msgstr ""
  76. #: ../../../docs/configuring-playbook-s3-goofys.md:53
  77. 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."
  78. msgstr ""
  79. #: ../../../docs/configuring-playbook-s3-goofys.md:55
  80. msgid "Run the playbook to apply the changes: `ansible-playbook -i inventory/hosts setup.yml --tags=setup-all,start`"
  81. msgstr ""
  82. #: ../../../docs/configuring-playbook-s3-goofys.md:57
  83. msgid "Do an **initial sync of your files** by running this **on the server** (it may take a very long time):"
  84. msgstr ""
  85. #: ../../../docs/configuring-playbook-s3-goofys.md:63
  86. msgid "You may need to install `rsync` manually."
  87. msgstr ""
  88. #: ../../../docs/configuring-playbook-s3-goofys.md:65
  89. #: ../../../docs/configuring-playbook-s3-goofys.md:106
  90. msgid "Stop all Matrix services (`ansible-playbook -i inventory/hosts setup.yml --tags=stop`)"
  91. msgstr ""
  92. #: ../../../docs/configuring-playbook-s3-goofys.md:67
  93. msgid "Start the S3 service by running this **on the server**: `systemctl start matrix-goofys`"
  94. msgstr ""
  95. #: ../../../docs/configuring-playbook-s3-goofys.md:69
  96. msgid "Sync the files again by re-running the `rsync` command you see in step #5"
  97. msgstr ""
  98. #: ../../../docs/configuring-playbook-s3-goofys.md:71
  99. msgid "Stop the S3 service by running this **on the server**: `systemctl stop matrix-goofys`"
  100. msgstr ""
  101. #: ../../../docs/configuring-playbook-s3-goofys.md:73
  102. #: ../../../docs/configuring-playbook-s3-goofys.md:114
  103. msgid "Get the old media store out of the way by running this command on the server:"
  104. msgstr ""
  105. #: ../../../docs/configuring-playbook-s3-goofys.md:79
  106. msgid "Remove the `matrix_s3_media_store_path` configuration from your `vars.yml` file (undoing step #3 above)"
  107. msgstr ""
  108. #: ../../../docs/configuring-playbook-s3-goofys.md:81
  109. #: ../../../docs/configuring-playbook-s3-goofys.md:122
  110. msgid "Run the playbook: `ansible-playbook -i inventory/hosts setup.yml --tags=setup-all,start`"
  111. msgstr ""
  112. #: ../../../docs/configuring-playbook-s3-goofys.md:83
  113. #: ../../../docs/configuring-playbook-s3-goofys.md:124
  114. msgid "You're done! Verify that loading existing (old) media files works and that you can upload new ones."
  115. msgstr ""
  116. #: ../../../docs/configuring-playbook-s3-goofys.md:85
  117. #: ../../../docs/configuring-playbook-s3-goofys.md:126
  118. msgid "When confident that it all works, get rid of the local media store directory: `rm -rf /matrix/synapse/storage/media-store-local-backup`"
  119. msgstr ""
  120. #: ../../../docs/configuring-playbook-s3-goofys.md:87
  121. msgid "Migrating to Backblaze B2"
  122. msgstr ""
  123. #: ../../../docs/configuring-playbook-s3-goofys.md:89
  124. msgid "While all Matrix services are running, run the following command on the server:"
  125. msgstr ""
  126. #: ../../../docs/configuring-playbook-s3-goofys.md:91
  127. msgid "(you need to adjust the 3 `--env` line below with your own data)"
  128. msgstr ""
  129. #: ../../../docs/configuring-playbook-s3-goofys.md:104
  130. msgid "This is some initial file sync, which may take a very long time."
  131. msgstr ""
  132. #: ../../../docs/configuring-playbook-s3-goofys.md:108
  133. msgid "Run the command from step #1 again."
  134. msgstr ""
  135. #: ../../../docs/configuring-playbook-s3-goofys.md:110
  136. msgid "Doing this will sync any new files that may have been created locally in the meantime."
  137. msgstr ""
  138. #: ../../../docs/configuring-playbook-s3-goofys.md:112
  139. msgid "Now that Matrix services aren't running, we're sure to get Backblaze B2 and your local media store fully in sync."
  140. msgstr ""
  141. #: ../../../docs/configuring-playbook-s3-goofys.md:120
  142. msgid "Put the [Backblaze B2 settings](configuring-playbook-s3.md#backblaze-b2) in your `vars.yml` file"
  143. msgstr ""