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.
 
 

894 rivejä
41 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: 2025-01-27 09:54+0200\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/faq.md:1
  23. msgid "Frequently Asked Questions"
  24. msgstr ""
  25. #: ../../../docs/faq.md:3
  26. msgid "This documentation page tries to answer various Frequently Asked Questions about all things [Matrix](https://matrix.org/), with a focus on this [Ansible](https://www.ansible.com/) playbook ([What is Ansible? How does it work?](#what-is-ansible-how-does-it-work))."
  27. msgstr ""
  28. #: ../../../docs/faq.md:5
  29. msgid "This FAQ page does not intend to replace the [matrix.org FAQ](https://matrix.org/faq/) (please see that one too)."
  30. msgstr ""
  31. #: ../../../docs/faq.md:7
  32. msgid "We've only started this FAQ recently, so it's still somewhat empty."
  33. msgstr ""
  34. #: ../../../docs/faq.md:9
  35. msgid "Also, we encourage you to not dig yourself into a hole by reading way too much. When you've heard enough, proceed to installation. To get started, see [below](#how-do-i-run-the-installation) about our installation guides."
  36. msgstr ""
  37. #: ../../../docs/faq.md:11
  38. msgid "Introductory"
  39. msgstr ""
  40. #: ../../../docs/faq.md:13
  41. msgid "Where do I find more questions and answers about Matrix?"
  42. msgstr ""
  43. #: ../../../docs/faq.md:15
  44. msgid "This is a Frequently Asked Questions page focused on this [Ansible](https://www.ansible.com/) playbook ([What is Ansible? How does it work?](#what-is-ansible-how-does-it-work)) for deploying a [Matrix](https://matrix.org/) server."
  45. msgstr ""
  46. #: ../../../docs/faq.md:17
  47. msgid "For a lot more generic questions and answers, see the [matrix.org FAQ](https://matrix.org/faq/)."
  48. msgstr ""
  49. #: ../../../docs/faq.md:19
  50. msgid "What is Matrix? What is Element? What is Synapse? Why are you confusing me with so many terms?"
  51. msgstr ""
  52. #: ../../../docs/faq.md:21
  53. msgid "[Matrix](https://matrix.org/) is a new type of realtime communication (chat) network, the closest analogy to which is probably \"email\"."
  54. msgstr ""
  55. #: ../../../docs/faq.md:23
  56. msgid "You don't just use the \"email\" protocols (SMTP, POP3, IMAP) directly though. There's a *server* somewhere which stores your data (`@gmail.com`, `@yahoo.com`, `@hotmail.com`, `@your-company.com`) and you access it by using these \"email\" protocols via some *client* program (Outlook, Thunderbird, some website, etc)."
  57. msgstr ""
  58. #: ../../../docs/faq.md:25
  59. msgid "In the world of the Matrix chat protocol, there are various client programs. The first and currently most full-featured one is called [Element](https://element.io/) (used to be called Riot.im and Vector.im in the past). There are [many other clients](https://matrix.org/clients/). You can switch clients as much as you want until you find the one that is right for you on a given platform (you may use Element Desktop on your desktop, but Fluffychat on your phone, etc)."
  60. msgstr ""
  61. #: ../../../docs/faq.md:27
  62. msgid "Matrix is also like email due to the fact that there are many servers around the world which can all talk to each other (you can send email from `@gmail.com` addresses to `@yahoo.com` and `@hotmail.com` addresses). It's the same with Matrix (`@bob:example.com` can talk to `@alice:example.org`)."
  63. msgstr ""
  64. #: ../../../docs/faq.md:29
  65. msgid "If someone else is hosting your Matrix server (you being `@alice:matrix.org` or some other public server like this), all you need is a Matrix client program, like Element Web or Element X Android."
  66. msgstr ""
  67. #: ../../../docs/faq.md:31
  68. msgid "If you'd like to host your own server (you being `@alice:example.com`), you'd need to set up a Matrix server program, like Synapse."
  69. msgstr ""
  70. #: ../../../docs/faq.md:33
  71. msgid "In short:"
  72. msgstr ""
  73. #: ../../../docs/faq.md:35
  74. msgid "Matrix is the protocol — a set of rules about how the chat network operates"
  75. msgstr ""
  76. #: ../../../docs/faq.md:36
  77. msgid "Element is a client program you can use to participate on the Matrix chat network via some server (yours or someone else's). There are also [many other client programs](https://matrix.org/clients/)."
  78. msgstr ""
  79. #: ../../../docs/faq.md:37
  80. msgid "Synapse is a server program you can use to host your very own Matrix server."
  81. msgstr ""
  82. #: ../../../docs/faq.md:39
  83. msgid "This FAQ here mostly focuses on installing various Matrix services using the Ansible automation tool. You can learn much more about Matrix in the [matrix.org FAQ](https://matrix.org/faq/)."
  84. msgstr ""
  85. #: ../../../docs/faq.md:41
  86. msgid "People I wish to talk to are not on Matrix. Can I talk to them?"
  87. msgstr ""
  88. #: ../../../docs/faq.md:43
  89. msgid "You most likely can. Besides Matrix-native chats, Matrix also supports the concept of \"bridging\", which allows you to plug other networks into it."
  90. msgstr ""
  91. #: ../../../docs/faq.md:45
  92. msgid "This Ansible playbook can help you install [tens of bridges for various networks](configuring-playbook.md#bridging-other-networks)."
  93. msgstr ""
  94. #: ../../../docs/faq.md:47
  95. msgid "Besides setting up your own bridges (preferable), you can also use some [public bridges hosted by others](https://publiclist.anchel.nl/#bridges)."
  96. msgstr ""
  97. #: ../../../docs/faq.md:49
  98. msgid "How do I get started with Matrix?"
  99. msgstr ""
  100. #: ../../../docs/faq.md:51
  101. msgid "One of [Matrix](https://matrix.org/)'s distinguishing strengths (compared to other chat networks) is its decentralized nature. There's not just one entity (company, organization) controlling the servers. Rather there's thousands of servers operated by different people — one server being insecure, slow or disrespective toward its users does not affect the rest of the network. To participate in that decentralization in its fullest, consider hosting your own server or using some public server other than the largest/default one (`matrix.org`)."
  102. msgstr ""
  103. #: ../../../docs/faq.md:53
  104. msgid "There are 3 ways to get into Matrix, depending on your technical ability and needs:"
  105. msgstr ""
  106. #: ../../../docs/faq.md:55
  107. msgid "**using the existing default server** — the easiest way is to use an existing server. The largest public Matrix server is `matrix.org` and it's configured as a default server in clients such as [Element Web](https://app.element.io) and many others. Just use Element Web on the browser via that link (or [download client apps for your Desktop or smartphone](https://element.io/app-for-productivity)), create an account and start chatting."
  108. msgstr ""
  109. #: ../../../docs/faq.md:57
  110. msgid "**using some other server** — instead of using the largest public server (`matrix.org`), you can use another public one. Here's a [list of public Matrix servers](https://joinmatrix.org/servers/) to choose from. Go to [Element Web](https://app.element.io) or download [some other client](https://matrix.org/clients/) of your choosing and adjust the homeserver URL during login."
  111. msgstr ""
  112. #: ../../../docs/faq.md:59
  113. msgid "**using your own server** — running your own server puts you in ultimate control of your data. It also lets you have your own user IDs (e.g. `@bob:example.com`). See [How do I set up my own Matrix server](#how-do-i-set-up-my-own-matrix-server)."
  114. msgstr ""
  115. #: ../../../docs/faq.md:61
  116. msgid "How do I set up my own Matrix server?"
  117. msgstr ""
  118. #: ../../../docs/faq.md:63
  119. msgid "Normally, you'd first choose the [Matrix](https://matrix.org/) server software you'd like to run. At the time of this writing (January/2021), there's only one fully-featured server program, so there's only one reasonable choice. That's [Synapse](https://github.com/element-hq/synapse)."
  120. msgstr ""
  121. #: ../../../docs/faq.md:65
  122. msgid "There are [many guides about installing Synapse](https://matrix.org/docs/guides/#installing-synapse). Using this Ansible playbook is just one way of doing it."
  123. msgstr ""
  124. #: ../../../docs/faq.md:67
  125. msgid "Naturally, we're biased, so our usual recommendation is to go with this [Ansible](https://www.ansible.com/) playbook, instead of installing Synapse (and many many other things around it) manually."
  126. msgstr ""
  127. #: ../../../docs/faq.md:69
  128. msgid "To get started with the playbook, check out the [Quick start](quick-start.md) or full installation guide (starting at the [Prerequisites](prerequisites.md) page)."
  129. msgstr ""
  130. #: ../../../docs/faq.md:71
  131. msgid "What is Ansible? How does it work?"
  132. msgstr ""
  133. #: ../../../docs/faq.md:73
  134. msgid "[Ansible](https://www.ansible.com/) is an automation program. This \"playbook\" is a collection of tasks/scripts that will set up a [Matrix](https://matrix.org/) server for you, so you don't have to perform these tasks manually."
  135. msgstr ""
  136. #: ../../../docs/faq.md:75
  137. msgid "We have written these automated tasks for you and all you need to do is execute them using the Ansible program."
  138. msgstr ""
  139. #: ../../../docs/faq.md:77
  140. msgid "You can install Ansible and this playbook code repository on your own computer and tell it to install Matrix services at the server living at `matrix.example.com`. We recommend installing Ansible on your own computer."
  141. msgstr ""
  142. #: ../../../docs/faq.md:79
  143. msgid "Alternatively, you can download Ansible and the playbook itself directly on the `matrix.example.com` server."
  144. msgstr ""
  145. #: ../../../docs/faq.md:81
  146. msgid "To learn more, see our [dedicated Ansible documentation page](ansible.md)."
  147. msgstr ""
  148. #: ../../../docs/faq.md:83
  149. msgid "What is `just`?"
  150. msgstr ""
  151. #: ../../../docs/faq.md:85
  152. msgid "[`just`](https://github.com/casey/just) is a modern command-runner alternative to [make](https://www.gnu.org/software/make/). It can be used to invoke commands with less typing."
  153. msgstr ""
  154. #: ../../../docs/faq.md:87
  155. msgid "The `just` utility executes shortcut commands (called \"recipes\"), which invoke `ansible-playbook`, `ansible-galaxy` or [`agru`](https://github.com/etkecc/agru) (depending on what is available in your system). The targets of the recipes are defined in [`justfile`](../justfile)."
  156. msgstr ""
  157. #: ../../../docs/faq.md:89
  158. msgid "For details about `just` commands, take a look at: [Running `just` commands](just.md)."
  159. msgstr ""
  160. #: ../../../docs/faq.md:91
  161. msgid "The playbook also contains a `Makefile` for the `make` tool, but most of the just recipes are not available as targets in the `Makefile`."
  162. msgstr ""
  163. #: ../../../docs/faq.md:93
  164. msgid "Why use this playbook and not install Synapse and other things manually?"
  165. msgstr ""
  166. #: ../../../docs/faq.md:95
  167. msgid "There are various guides telling you how easy it is to install [Synapse](https://github.com/element-hq/synapse)."
  168. msgstr ""
  169. #: ../../../docs/faq.md:97
  170. msgid "Reading the documentation of this Ansible playbook, you may also be thinking:"
  171. msgstr ""
  172. #: ../../../docs/faq.md:99
  173. msgid "I don't know what [Ansible](https://www.ansible.com/) is. I don't know what [Docker](https://www.docker.com/) is. This looks more complicated."
  174. msgstr ""
  175. #: ../../../docs/faq.md:101
  176. msgid "… so you may be leaning toward [installing Synapse manually](https://github.com/element-hq/synapse/blob/master/INSTALL.md)."
  177. msgstr ""
  178. #: ../../../docs/faq.md:103
  179. msgid "The problem with a manual installation is:"
  180. msgstr ""
  181. #: ../../../docs/faq.md:105
  182. msgid "Synapse is written in Python. If not packaged for your distribution, you'd need to install various Python modules, etc., and keep them updated."
  183. msgstr ""
  184. #: ../../../docs/faq.md:106
  185. msgid "Synapse requires a [Postgres](https://www.postgresql.org/) database (it can run on SQLite, but that's very much discouraged). So you'd need to install Postgres as well."
  186. msgstr ""
  187. #: ../../../docs/faq.md:107
  188. msgid "you may also need a reverse-proxy server in front of it (nginx, Apache), so you'd need to be familiar with that"
  189. msgstr ""
  190. #: ../../../docs/faq.md:108
  191. msgid "SSL is required, so you'd need to obtain Let's Encrypt (or other free or non-free) certificates for one or more domain names. You'd need to be familiar with [certbot](https://certbot.eff.org/) (when using Let's Encrypt) or similar software."
  192. msgstr ""
  193. #: ../../../docs/faq.md:109
  194. msgid "for each additional component you'd like to add (client like [Element](https://element.io), bridge to some other chat network, integration manager (stickers, other services, Identity Manager, etc.), you'll need to spend extra time installing and wiring it with the rest of the system in a way that works."
  195. msgstr ""
  196. #: ../../../docs/faq.md:110
  197. msgid "you'll likely get slower updates for all of these components, depending on your distro packaging or your own time and ability"
  198. msgstr ""
  199. #: ../../../docs/faq.md:112
  200. msgid "The playbook, on the other hand, installs a bunch of components for you by default, obtains SSL certificates for you, etc. If you'd like, you can enable various bridges and other services with very little effort. All the components are wired to work together."
  201. msgstr ""
  202. #: ../../../docs/faq.md:114
  203. msgid "All services run in Docker containers (most being officially provided by each component's developers), so we're not at the mercy of distro packaging."
  204. msgstr ""
  205. #: ../../../docs/faq.md:116
  206. msgid "Why use this playbook and not just use the Docker image directly?"
  207. msgstr ""
  208. #: ../../../docs/faq.md:118
  209. msgid "Reasons are similar to the reasons for not installing manually."
  210. msgstr ""
  211. #: ../../../docs/faq.md:120
  212. msgid "Besides Synapse, you'd need other things — a Postgres database, likely the [Element](https://element.io) client, etc., etc."
  213. msgstr ""
  214. #: ../../../docs/faq.md:122
  215. msgid "Using the playbook, you get all these components in a way that works well together out of the box."
  216. msgstr ""
  217. #: ../../../docs/faq.md:124
  218. msgid "Occasionally I see some people are talking about \"MDAD\". What is it?"
  219. msgstr ""
  220. #: ../../../docs/faq.md:126
  221. msgid "It is the acronym of us: **m**atrix-**d**ocker-**a**nsible-**d**eploy."
  222. msgstr ""
  223. #: ../../../docs/faq.md:128
  224. msgid "What's different about this Ansible playbook compared to [EMnify/matrix-synapse-auto-deploy](https://github.com/EMnify/matrix-synapse-auto-deploy)?"
  225. msgstr ""
  226. #: ../../../docs/faq.md:130
  227. msgid "This is similar to the [EMnify/matrix-synapse-auto-deploy](https://github.com/EMnify/matrix-synapse-auto-deploy) Ansible deployment, but:"
  228. msgstr ""
  229. #: ../../../docs/faq.md:132
  230. msgid "this one is a complete Ansible playbook (instead of just a role), so it's **easier to run** — especially for folks not familiar with Ansible"
  231. msgstr ""
  232. #: ../../../docs/faq.md:134
  233. msgid "this one installs and hooks together **a lot more Matrix-related services** for you (see above)"
  234. msgstr ""
  235. #: ../../../docs/faq.md:136
  236. msgid "this one **can be executed more than once** without causing trouble"
  237. msgstr ""
  238. #: ../../../docs/faq.md:138
  239. msgid "works on various distros: **CentOS** (7.0+), Debian-based distributions (**Debian** 10/Buster+, **Ubuntu** 18.04+), **Archlinux**"
  240. msgstr ""
  241. #: ../../../docs/faq.md:140
  242. msgid "this one installs everything in a single directory (`/matrix` by default) and **doesn't \"contaminate\" your server** with files all over the place"
  243. msgstr ""
  244. #: ../../../docs/faq.md:142
  245. msgid "this one **doesn't necessarily take over** ports 80 and 443. By default, it sets up [Traefik](https://doc.traefik.io/traefik/) for you there, but you can also [use your own webserver](configuring-playbook-own-webserver.md)"
  246. msgstr ""
  247. #: ../../../docs/faq.md:144
  248. msgid "this one **runs everything in Docker containers**, so it's likely more predictable and less fragile (see [Docker images used by this playbook](container-images.md))"
  249. msgstr ""
  250. #: ../../../docs/faq.md:146
  251. msgid "this one retrieves and automatically renews free [Let's Encrypt](https://letsencrypt.org/) **SSL certificates** for you"
  252. msgstr ""
  253. #: ../../../docs/faq.md:148
  254. msgid "this one optionally can store the `media_store` content repository files on [Amazon S3](https://aws.amazon.com/s3/) (but defaults to storing files on the server's filesystem)"
  255. msgstr ""
  256. #: ../../../docs/faq.md:150
  257. msgid "this one optionally **allows you to use an external PostgreSQL server** for Synapse's database (but defaults to running one in a container)"
  258. msgstr ""
  259. #: ../../../docs/faq.md:152
  260. msgid "helps you **import data from a previous installation** (so you can migrate your manual virtualenv/Docker setup to a more managed one)"
  261. msgstr ""
  262. #: ../../../docs/faq.md:154
  263. msgid "this one is actually **maintained**"
  264. msgstr ""
  265. #: ../../../docs/faq.md:156
  266. msgid "Server-related"
  267. msgstr ""
  268. #: ../../../docs/faq.md:158
  269. msgid "What kind of server do I need to install Matrix using this Ansible playbook?"
  270. msgstr ""
  271. #: ../../../docs/faq.md:160
  272. msgid "We list our server requirements in [Prerequisites](prerequisites.md)."
  273. msgstr ""
  274. #: ../../../docs/faq.md:162
  275. msgid "Why not run Matrix on Kubernetes?"
  276. msgstr ""
  277. #: ../../../docs/faq.md:164
  278. msgid "There's no reason not to run Matrix on [Kubernetes](https://kubernetes.io/)."
  279. msgstr ""
  280. #: ../../../docs/faq.md:166
  281. msgid "However, that's overly complicated for thousands of us who just want to run a single small (and sometimes not so small) Matrix server, either using \"cloud\" servers or even a [Raspberry Pi](https://www.raspberrypi.org/) at home."
  282. msgstr ""
  283. #: ../../../docs/faq.md:168
  284. msgid "For us, a Kubernetes-based setup which requires a cluster of multiple computers and is more technically-involved is a no-go."
  285. msgstr ""
  286. #: ../../../docs/faq.md:170
  287. msgid "There are others working on automating a Matrix-on-Kubernetes setup, such as this [Helm](https://helm.sh/) chart: https://github.com/dacruz21/matrix-chart."
  288. msgstr ""
  289. #: ../../../docs/faq.md:172
  290. msgid "Why don't you use Podman instead of Docker?"
  291. msgstr ""
  292. #: ../../../docs/faq.md:174
  293. msgid "We like the philosophy of a daemonless container runtime, but [Podman](https://podman.io) is just not ready for our use case yet."
  294. msgstr ""
  295. #: ../../../docs/faq.md:176
  296. msgid "Learn more about our past experiences/attempts to give Podman a chance, by reading [this issue](https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/520)."
  297. msgstr ""
  298. #: ../../../docs/faq.md:178
  299. msgid "In short, `alias podman=docker` is a lie (for us)."
  300. msgstr ""
  301. #: ../../../docs/faq.md:180
  302. msgid "Why use Docker?"
  303. msgstr ""
  304. #: ../../../docs/faq.md:182
  305. msgid "[Docker](https://www.docker.com/) is one of our 2 hard dependencies (the other one being [systemd](https://systemd.io/))."
  306. msgstr ""
  307. #: ../../../docs/faq.md:184
  308. msgid "It lets us run services in an isolated manner and independently of the (usually old) packages available for distributions."
  309. msgstr ""
  310. #: ../../../docs/faq.md:186
  311. msgid "It also lets us have a unified setup which runs the same across various supported distros (see them on [Prerequisites](prerequisites.md))."
  312. msgstr ""
  313. #: ../../../docs/faq.md:188
  314. msgid "Is Docker a hard requirement?"
  315. msgstr ""
  316. #: ../../../docs/faq.md:190
  317. msgid "Yes. See [Why don't you use Podman instead of Docker?](#why-dont-you-use-podman-instead-of-docker) for why we're not using another container runtime."
  318. msgstr ""
  319. #: ../../../docs/faq.md:192
  320. msgid "All of our services run in containers. It's how we achieve predictability and also how we support tens of different services across lots of distros."
  321. msgstr ""
  322. #: ../../../docs/faq.md:194
  323. msgid "The only thing we need on the distro is systemd and Python (we install Docker ourselves, unless you ask us not to)."
  324. msgstr ""
  325. #: ../../../docs/faq.md:196
  326. msgid "Why don't you use docker-compose?"
  327. msgstr ""
  328. #: ../../../docs/faq.md:198
  329. msgid "Instead of using [docker-compose](https://docs.docker.com/compose/), we prefer installing systemd services and scheduling those independently."
  330. msgstr ""
  331. #: ../../../docs/faq.md:200
  332. msgid "There are people who have worked on turning this setup into a docker-compose-based one. See these experiments [here](https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/64#issuecomment-603164625). There is also a demo project ([element-docker-demo](https://github.com/element-hq/element-docker-demo)) by Element."
  333. msgstr ""
  334. #: ../../../docs/faq.md:202
  335. msgid "Can I run this on a distro without systemd?"
  336. msgstr ""
  337. #: ../../../docs/faq.md:204
  338. msgid "No. [systemd](https://systemd.io/) is one of our 2 hard dependencies (the other one being [Docker](https://www.docker.com/))."
  339. msgstr ""
  340. #: ../../../docs/faq.md:206
  341. msgid "Can I install this on a Raspberry Pi?"
  342. msgstr ""
  343. #: ../../../docs/faq.md:208
  344. msgid "Yes, you can. See our [Alternative Architectures](alternative-architectures.md) documentation page."
  345. msgstr ""
  346. #: ../../../docs/faq.md:210
  347. msgid "Whether a Raspberry Pi has enough power to give you a good experience is another question. It depends on your use case."
  348. msgstr ""
  349. #: ../../../docs/faq.md:212
  350. msgid "Also see: [What kind of server specs do I need?](#what-kind-of-server-specs-do-i-need)."
  351. msgstr ""
  352. #: ../../../docs/faq.md:214
  353. msgid "What kind of server specs do I need?"
  354. msgstr ""
  355. #: ../../../docs/faq.md:216
  356. msgid "This largely depends on your use case. It's not so much the number of users that you plan to host, but rather the number of large rooms they will join."
  357. msgstr ""
  358. #: ../../../docs/faq.md:218
  359. msgid "Federated rooms with lots of history and containing hundreds of other servers are very heavy CPU-wise and memory-wise."
  360. msgstr ""
  361. #: ../../../docs/faq.md:220
  362. msgid "You can probably use a 1 CPU + 1GB memory server to host hundreds of local users just fine, but as soon as one of them joins a federated room like `#matrix:matrix.org` (Matrix HQ) or some IRC-bridged room (say `##linux`), your server will get the need for a lot more power (at least 2GB RAM, etc)."
  363. msgstr ""
  364. #: ../../../docs/faq.md:222
  365. msgid "Running Matrix on a server with 1GB of memory is possible (especially if you disable some not-so-important services). See [How do I optimize this setup for a low-power server?](#how-do-i-optimize-this-setup-for-a-low-power-server)."
  366. msgstr ""
  367. #: ../../../docs/faq.md:224
  368. msgid "**We recommend starting with a server having at least 2GB of memory** and even then using it sparingly. If you know for sure you'll be joining various large rooms, etc., then going for 4GB of memory or more is a good idea."
  369. msgstr ""
  370. #: ../../../docs/faq.md:226
  371. msgid "Besides the regular Matrix stuff, we also support things like video-conferencing using [Jitsi](configuring-playbook-jitsi.md) and other additional services which (when installed) may use up a lot of memory. Things do add up. Besides the Synapse Matrix server, Jitsi is especially notorious for consuming a lot of resources. If you plan on running Jitsi, we recommend a server with at least 2GB of memory (preferrably more). See our [Jitsi documentation page](configuring-playbook-jitsi.md) to learn how to optimize its memory/CPU usage."
  372. msgstr ""
  373. #: ../../../docs/faq.md:228
  374. msgid "Can I run this in an LXC container?"
  375. msgstr ""
  376. #: ../../../docs/faq.md:230
  377. msgid "If your distro runs within an [LXC container](https://linuxcontainers.org/), you may hit [this issue](https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/703). It can be worked around, if absolutely necessary, but we suggest that you avoid running from within an LXC container."
  378. msgstr ""
  379. #: ../../../docs/faq.md:232
  380. msgid "Configuration"
  381. msgstr ""
  382. #: ../../../docs/faq.md:234
  383. msgid "Why install my server at matrix.example.com and not at the base domain?"
  384. msgstr ""
  385. #: ../../../docs/faq.md:236
  386. msgid "It's the same with email servers. Your email address is likely `name@company.com`, not `name@mail.company.com`, even though it's `mail.company.com` that is really handling your data for `@company.com` email to work."
  387. msgstr ""
  388. #: ../../../docs/faq.md:238
  389. msgid "Using a separate domain name is easier to manage (although it's a little hard to get right at first) and keeps your Matrix server isolated from your website (if you have one), from your email server (if you have one), etc. Therefore, this playbook sets up services on your Matrix server (`matrix.example.com`) by default."
  390. msgstr ""
  391. #: ../../../docs/faq.md:240
  392. msgid "I don't control anything on the base domain and can't set up delegation to matrix.example.com. What do I do?"
  393. msgstr ""
  394. #: ../../../docs/faq.md:242
  395. msgid "If you're not in control of your base domain (or the server handling it) at all, you can take a look at [How do I install on matrix.example.com without involving the base domain?](#how-do-i-install-on-matrixexamplecom-without-involving-the-base-domain)"
  396. msgstr ""
  397. #: ../../../docs/faq.md:244
  398. msgid "I can't set up HTTPS on the base domain. How will I get Matrix federating?"
  399. msgstr ""
  400. #: ../../../docs/faq.md:246
  401. msgid "If you really can't obtain an HTTPS certificate for your base domain, you can take a look at [How do I install on matrix.example.com without involving the base domain?](#how-do-i-install-on-matrixexamplecom-without-involving-the-base-domain)"
  402. msgstr ""
  403. #: ../../../docs/faq.md:248
  404. msgid "How do I install on matrix.example.com without involving the base domain?"
  405. msgstr ""
  406. #: ../../../docs/faq.md:250
  407. msgid "Add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file:"
  408. msgstr ""
  409. #: ../../../docs/faq.md:271
  410. msgid "After configuring the playbook, run it with [playbook tags](playbook-tags.md) as below:"
  411. msgstr ""
  412. #: ../../../docs/faq.md:278
  413. msgid "**Notes**:"
  414. msgstr ""
  415. #: ../../../docs/faq.md:280
  416. msgid "The shortcut commands with the [`just` program](just.md) are also available: `just install-all` or `just setup-all`"
  417. msgstr ""
  418. #: ../../../docs/faq.md:282
  419. msgid "`just install-all` is useful for maintaining your setup quickly ([2x-5x faster](../CHANGELOG.md#2x-5x-performance-improvements-in-playbook-runtime) than `just setup-all`) when its components remain unchanged. If you adjust your `vars.yml` to remove other components, you'd need to run `just setup-all`, or these components will still remain installed. Note these shortcuts run the `ensure-matrix-users-created` tag too."
  420. msgstr ""
  421. #: ../../../docs/faq.md:284
  422. msgid "Without setting up [server delegation](howto-server-delegation.md) to `matrix.example.com`, your user IDs will be like `@alice:matrix.example.com`. This is equivalent to having an email address like `bob@mail.company.com`, instead of just `bob@company.com`."
  423. msgstr ""
  424. #: ../../../docs/faq.md:286
  425. msgid "I don't use the base domain for anything. How am I supposed to set up Server Delegation for Matrix services?"
  426. msgstr ""
  427. #: ../../../docs/faq.md:288
  428. msgid "If you don't use your base domain for anything, then it's hard for you to \"serve files over HTTPS\" on it — something we ask you to do for the [.well-known](configuring-well-known.md) setup (needed for [Server Delegation](howto-server-delegation.md))."
  429. msgstr ""
  430. #: ../../../docs/faq.md:290
  431. msgid "Luckily, the playbook can set up your Matrix server (at `matrix.example.com`) to also handle traffic for the base domain (`example.com`)."
  432. msgstr ""
  433. #: ../../../docs/faq.md:292
  434. msgid "See [Serving the base domain](configuring-playbook-base-domain-serving.md)."
  435. msgstr ""
  436. #: ../../../docs/faq.md:294
  437. msgid "How do I optimize this setup for a low-power server?"
  438. msgstr ""
  439. #: ../../../docs/faq.md:296
  440. msgid "You can disable some not-so-important services to save on memory."
  441. msgstr ""
  442. #: ../../../docs/faq.md:318
  443. msgid "You can also consider implementing a restriction on room complexity, in order to prevent users from joining very heavy rooms:"
  444. msgstr ""
  445. #: ../../../docs/faq.md:328
  446. msgid "If you've installed [Jitsi](configuring-playbook-jitsi.md) (not installed by default), there are additional optimizations listed on its documentation page that you can perform."
  447. msgstr ""
  448. #: ../../../docs/faq.md:330
  449. msgid "I already have Docker on my server. Can you stop installing Docker via the playbook?"
  450. msgstr ""
  451. #: ../../../docs/faq.md:332
  452. msgid "Yes, we can stop installing Docker ourselves. Just use this in your `vars.yml` file:"
  453. msgstr ""
  454. #: ../../../docs/faq.md:338
  455. msgid "I run another webserver on the same server where I wish to install Matrix. What now?"
  456. msgstr ""
  457. #: ../../../docs/faq.md:340
  458. msgid "By default, we install a webserver for you ([Traefik](https://doc.traefik.io/traefik/)), but you can also use [your own webserver](configuring-playbook-own-webserver.md)."
  459. msgstr ""
  460. #: ../../../docs/faq.md:342
  461. msgid "How is the effective configuration determined?"
  462. msgstr ""
  463. #: ../../../docs/faq.md:344
  464. msgid "Configuration variables are defined in multiple places in this playbook and are considered in this order:"
  465. msgstr ""
  466. #: ../../../docs/faq.md:346
  467. msgid "there are defaults coming from each role's defaults file (`role/matrix*/defaults/main.yml`). These variable values aim to be good defaults for when the role is used standalone (outside of this collection of roles, also called playbook)."
  468. msgstr ""
  469. #: ../../../docs/faq.md:348
  470. msgid "then, there are overrides in `group_vars/matrix_servers`, which aim to adjust these \"standalone role defaults\" to something which better fits the playbook in its entirety."
  471. msgstr ""
  472. #: ../../../docs/faq.md:350
  473. msgid "finally, there's your `inventory/host_vars/matrix.example.com/vars.yml` file, which is the ultimate override"
  474. msgstr ""
  475. #: ../../../docs/faq.md:352
  476. msgid "What configuration variables are available?"
  477. msgstr ""
  478. #: ../../../docs/faq.md:354
  479. msgid "You can discover the variables you can override in each role (`roles/*/*/defaults/main.yml`)."
  480. msgstr ""
  481. #: ../../../docs/faq.md:356
  482. msgid "As described in [How is the effective configuration determined?](#how-is-the-effective-configuration-determined), these role-defaults may be overriden by values defined in `group_vars/matrix_servers`."
  483. msgstr ""
  484. #: ../../../docs/faq.md:358
  485. msgid "Refer to both of these for inspiration. Still, as mentioned in [Configuring the playbook](configuring-playbook.md), you're only ever supposed to edit your own `inventory/host_vars/matrix.example.com/vars.yml` file and nothing else inside the playbook (unless you're meaning to contribute new features)."
  486. msgstr ""
  487. #: ../../../docs/faq.md:360 ../../../docs/faq.md:372
  488. msgid "**Note**: some of the roles (`roles/galaxy/*`) live in separate repositories and are only installed after your run `just roles` (or `make roles`) or `just update` (which automatically does `git pull` and `just roles`)."
  489. msgstr ""
  490. #: ../../../docs/faq.md:362
  491. msgid "I'd like to adjust some configuration which doesn't have a corresponding variable. How do I do it?"
  492. msgstr ""
  493. #: ../../../docs/faq.md:364
  494. msgid "The playbook doesn't aim to expose all configuration settings for all services using variables. Doing so would amount to hundreds of variables that we have to create and maintain."
  495. msgstr ""
  496. #: ../../../docs/faq.md:366
  497. msgid "Instead, we only try to make some important basics configurable using dedicated variables you can see in each role. See [What configuration variables are available?](#what-configuration-variables-are-available)."
  498. msgstr ""
  499. #: ../../../docs/faq.md:368
  500. msgid "Besides that, each role (component) aims to provide a `matrix_SOME_COMPONENT_configuration_extension_yaml` (or `matrix_SOME_COMPONENT_configuration_extension_json`) variable, which can be used to override the configuration."
  501. msgstr ""
  502. #: ../../../docs/faq.md:370
  503. msgid "Check each role's `roles/*/*/defaults/main.yml` for the corresponding variable and an example for how use it."
  504. msgstr ""
  505. #: ../../../docs/faq.md:374
  506. msgid "Installation"
  507. msgstr ""
  508. #: ../../../docs/faq.md:376
  509. msgid "How do I run the installation?"
  510. msgstr ""
  511. #: ../../../docs/faq.md:378
  512. msgid "See [Installing](installing.md) to learn how to use Ansible to install Matrix services."
  513. msgstr ""
  514. #: ../../../docs/faq.md:380
  515. msgid "However, we recommend you to follow our installation guide, instead of jumping straight to installing."
  516. msgstr ""
  517. #: ../../../docs/faq.md:382
  518. msgid "There are two guides available:"
  519. msgstr ""
  520. #: ../../../docs/faq.md:384
  521. msgid "⚡ **[Quick start](quick-start.md)** (for beginners): this is recommended for those who do not have an existing Matrix server and want to start quickly with \"opinionated defaults\"."
  522. msgstr ""
  523. #: ../../../docs/faq.md:386
  524. msgid "**Full installation guide (for advanced users)**: if you need to import an existing Matrix server's data into the new server or want to learn more while setting up the server, follow this guide by starting with the **[Prerequisites](prerequisites.md)** documentation page."
  525. msgstr ""
  526. #: ../../../docs/faq.md:388
  527. msgid "I installed Synapse some other way. Can I migrate such a setup to the playbook?"
  528. msgstr ""
  529. #: ../../../docs/faq.md:390
  530. msgid "Yes, you can."
  531. msgstr ""
  532. #: ../../../docs/faq.md:392
  533. msgid "You generally need to do a playbook installation. It's recommended to follow the full installation guide (starting at the [Prerequisites](prerequisites.md) page), not the [Quick start](quick-start.md) guide. The full installation guide will tell you when it's time to import your existing data into the newly-prepared server."
  534. msgstr ""
  535. #: ../../../docs/faq.md:394
  536. msgid "This Ansible playbook guides you into installing a server for `example.com` (user IDs are like this: `@alice:example.com`), while the server is at `matrix.example.com`. If your existing setup has a server name (`server_name` configuration setting in Synapse's `homeserver.yaml` file) other than the base `example.com`, you may need to tweak some additional variables. This FAQ entry may be of use if you're dealing with a more complicated setup — [How do I install on matrix.example.com without involving the base domain?](#how-do-i-install-on-matrixexamplecom-without-involving-the-base-domain)"
  537. msgstr ""
  538. #: ../../../docs/faq.md:396
  539. msgid "After configuring the playbook and installing and **before starting** services (done with `ansible-playbook … --tags=start`) you'd import [your SQLite](importing-synapse-sqlite.md) (or [Postgres](importing-postgres.md)) database and also [import your media store](importing-synapse-media-store.md)."
  540. msgstr ""
  541. #: ../../../docs/faq.md:398
  542. msgid "I've downloaded Ansible and the playbook on the server. It can't connect using SSH."
  543. msgstr ""
  544. #: ../../../docs/faq.md:400
  545. msgid "If you're using the playbook directly on the server, then Ansible doesn't need to connect using SSH."
  546. msgstr ""
  547. #: ../../../docs/faq.md:402
  548. msgid "It can perform a local connection instead. Just set `ansible_connection=local` at the end of the server line in `inventory/hosts` and re-run the playbook."
  549. msgstr ""
  550. #: ../../../docs/faq.md:404
  551. msgid "If you're running Ansible from within a container (one of the possibilities we list on our [dedicated Ansible documentation page](ansible.md)), then using `ansible_connection=local` is not possible."
  552. msgstr ""
  553. #: ../../../docs/faq.md:406
  554. msgid "Troubleshooting"
  555. msgstr ""
  556. #: ../../../docs/faq.md:408
  557. msgid "I get \"Error response from daemon: configured logging driver does not support reading\" when I do `docker logs matrix-synapse`."
  558. msgstr ""
  559. #: ../../../docs/faq.md:410
  560. msgid "See [How can I see the logs?](#how-can-i-see-the-logs)."
  561. msgstr ""
  562. #: ../../../docs/faq.md:412
  563. msgid "How can I see the logs?"
  564. msgstr ""
  565. #: ../../../docs/faq.md:414
  566. msgid "We utilize [systemd/journald](https://www.freedesktop.org/software/systemd/man/systemd-journald.service.html#Description) for logging."
  567. msgstr ""
  568. #: ../../../docs/faq.md:416
  569. msgid "To see logs for Synapse, run `journalctl -fu matrix-synapse.service`. You may wish to see the [manual page for journalctl](https://www.commandlinux.com/man-page/man1/journalctl.1.html)."
  570. msgstr ""
  571. #: ../../../docs/faq.md:418
  572. msgid "Available service names can be seen by doing `ls /etc/systemd/system/matrix*.service` on the server."
  573. msgstr ""
  574. #: ../../../docs/faq.md:420
  575. msgid "Some services also log to files in `/matrix/*/data/..`, but we're slowly moving away from that."
  576. msgstr ""
  577. #: ../../../docs/faq.md:422
  578. msgid "We also disable Docker logging, so you can't use `docker logs matrix-*` either. We do this to prevent useless double (or even triple) logging and to avoid having to rotate log files."
  579. msgstr ""
  580. #: ../../../docs/faq.md:424
  581. msgid "We just simply delegate logging to journald and it takes care of persistence and expiring old data."
  582. msgstr ""
  583. #: ../../../docs/faq.md:426
  584. msgid "Also see: [How long do systemd/journald logs persist for?](#how-long-do-systemdjournald-logs-persist-for)"
  585. msgstr ""
  586. #: ../../../docs/faq.md:428
  587. msgid "How long do systemd/journald logs persist for?"
  588. msgstr ""
  589. #: ../../../docs/faq.md:430
  590. msgid "On some distros, the journald logs are just in-memory and not persisted to disk."
  591. msgstr ""
  592. #: ../../../docs/faq.md:432
  593. msgid "Consult (and feel free to adjust) your distro's journald logging configuration in `/etc/systemd/journald.conf`."
  594. msgstr ""
  595. #: ../../../docs/faq.md:434
  596. msgid "To enable persistence and put some limits on how large the journal log files can become, adjust your configuration like this:"
  597. msgstr ""
  598. #: ../../../docs/faq.md:445
  599. msgid "Maintenance"
  600. msgstr ""
  601. #: ../../../docs/faq.md:447
  602. msgid "Do I need to do anything to keep my Matrix server updated?"
  603. msgstr ""
  604. #: ../../../docs/faq.md:449
  605. msgid "Yes. We don't update anything for you automatically."
  606. msgstr ""
  607. #: ../../../docs/faq.md:451
  608. msgid "See our [documentation page about upgrading services](maintenance-upgrading-services.md)."
  609. msgstr ""
  610. #: ../../../docs/faq.md:453
  611. msgid "How do I move my existing installation to another (VM) server?"
  612. msgstr ""
  613. #: ../../../docs/faq.md:455
  614. msgid "If you have an existing installation done using this Ansible playbook, you can easily migrate that to another server using [our dedicated server migration guide](maintenance-migrating.md)."
  615. msgstr ""
  616. #: ../../../docs/faq.md:457
  617. msgid "If your previous installation is done in some other way (not using this Ansible playbook), see [I installed Synapse some other way. Can I migrate such a setup to the playbook?](#i-installed-synapse-some-other-way-can-i-migrate-such-a-setup-to-the-playbook)."
  618. msgstr ""
  619. #: ../../../docs/faq.md:459
  620. msgid "How do I back up the data on my server?"
  621. msgstr ""
  622. #: ../../../docs/faq.md:461
  623. msgid "We haven't documented this properly yet, but the general advice is to:"
  624. msgstr ""
  625. #: ../../../docs/faq.md:463
  626. msgid "back up Postgres by making a database dump. See [Backing up PostgreSQL](maintenance-postgres.md#backing-up-postgresql)"
  627. msgstr ""
  628. #: ../../../docs/faq.md:465
  629. msgid "back up all `/matrix` files, except for `/matrix/postgres/data` (you already have a dump) and `/matrix/postgres/data-auto-upgrade-backup` (this directory may exist and contain your old data if you've [performed a major Postgres upgrade](maintenance-postgres.md#upgrading-postgresql))."
  630. msgstr ""
  631. #: ../../../docs/faq.md:467
  632. msgid "You can later restore these by:"
  633. msgstr ""
  634. #: ../../../docs/faq.md:469
  635. msgid "Restoring the `/matrix` directory and files on the new server manually"
  636. msgstr ""
  637. #: ../../../docs/faq.md:470
  638. msgid "Following the instruction described on [Installing a server into which you'll import old data](installing.md#installing-a-server-into-which-youll-import-old-data)"
  639. msgstr ""
  640. #: ../../../docs/faq.md:472
  641. msgid "If your server's IP address has changed, you may need to [set up DNS](configuring-dns.md) again."
  642. msgstr ""
  643. #: ../../../docs/faq.md:474
  644. msgid "What is this `/matrix/postgres/data-auto-upgrade-backup` directory that is taking up so much space?"
  645. msgstr ""
  646. #: ../../../docs/faq.md:476
  647. msgid "When you [perform a major Postgres upgrade](maintenance-postgres.md#upgrading-postgresql), we save the the old data files in `/matrix/postgres/data-auto-upgrade-backup`, just so you could easily restore them should something have gone wrong."
  648. msgstr ""
  649. #: ../../../docs/faq.md:478
  650. msgid "After verifying that everything still works after the Postgres upgrade, you can safely delete `/matrix/postgres/data-auto-upgrade-backup`"
  651. msgstr ""
  652. #: ../../../docs/faq.md:480
  653. msgid "How do I debug or force SSL certificate renewal?"
  654. msgstr ""
  655. #: ../../../docs/faq.md:482
  656. msgid "SSL certificates are managed automatically by the [Traefik](https://doc.traefik.io/traefik/) reverse-proxy server."
  657. msgstr ""
  658. #: ../../../docs/faq.md:484
  659. msgid "If you're having trouble with SSL certificate renewal, check the Traefik logs (`journalctl -fu matrix-traefik`)."
  660. msgstr ""
  661. #: ../../../docs/faq.md:486
  662. msgid "If you're [using your own webserver](configuring-playbook-own-webserver.md) instead of the integrated one (Traefik), you should investigate in another way."
  663. msgstr ""
  664. #: ../../../docs/faq.md:488
  665. msgid "Miscellaneous"
  666. msgstr ""
  667. #: ../../../docs/faq.md:490
  668. msgid "I would like to see this favorite service of mine integrated and become available on my Matrix server. How can I request it?"
  669. msgstr ""
  670. #: ../../../docs/faq.md:492
  671. msgid "You can freely create an issue for feature request on the repository at GitHub [here](https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/new). Note this is a community project with no financial backing, and there is not assurance that your request would be eventually picked up by others and the requested feature would become available. The easiest way to get a feature into this project is to just develop it yourself."
  672. msgstr ""
  673. #: ../../../docs/faq.md:494
  674. msgid "Also, please note that this playbook intends to focus solely on Matrix and Matrix-related services. If your request is not specific to Matrix, you may as well to consider to submit it to the [mash-playbook](https://github.com/mother-of-all-self-hosting/mash-playbook), maintained by the members behind this matrix-docker-ansible-deploy project. [This document on the interoperability](https://github.com/mother-of-all-self-hosting/mash-playbook/blob/main/docs/interoperability.md) describes how to deploy services along with the Matrix services easily."
  675. msgstr ""