4 Jun 2019 |
Maximus | mextor: if you post configuration or logs, you need to use blockcode markup (tripe backtick) to keep indentation and non-printable characters. just putting it without markup is useless | 08:42:04 |
Maximus | like so:
config goes here
| 08:42:23 |
mextor | Maximus: thx :) I will remember Bellow the code : | 09:27:52 |
mextor | Maximus:
threepid:
medium:
email:
generators:
template:
invite: '/etc/mxisd/invite-template.eml'
session:
validation: '/etc/mxisd/validate-template.eml'
unbind:
fraudulent: '/etc/mxisd/unbind-fraudulent.eml'
generic:
matrixId: '/etc/mxisd/mxid-template.eml'
placeholder:
REGISTER_URL: 'https://xxx.com'
| 11:18:17 |
Maximus | thanks, so what is the issue again? | 11:19:02 |
mextor | when adding an email : Bad Gateway (Status 502) | 11:19:59 |
Maximus | ok, so my guess is that you have another threepid before/after that block | 11:21:29 |
mextor | ok I check | 11:22:40 |
Maximus | If that's the case one would overwrite the other and you need to merge both config block, so it's valid YAML again. YAML basics are re-iterated in the Configure section of the doc just to be sure people get it right | 11:22:49 |
Maximus | wait it's not actually 😱 only in the v1.3 migration wiki page | 11:23:35 |
mextor | :) | 11:24:15 |
| * Maximus is to blame | 11:24:30 |
mextor | ok, so I should remove the 3 first lines as just above I have the smtp block | 11:25:12 |
Maximus | you need to merge both blocks | 11:25:33 |
Maximus | I believe connectos is at the same indentation as generators | 11:25:50 |
Maximus | so you would have smth like ths:
threepid:
medium:
email:
connectors:
....
generators:
...
| 11:26:25 |
mextor | Redacted or Malformed Event | 11:30:58 |
mextor | Redacted or Malformed Event | 11:32:19 |
mextor | crap didn't take the correct block :| | 11:33:17 |
mextor | I don't understand if i post a quoted block it copies many other things with it ... | 11:38:05 |
Maximus | mextor: send me your config in private, I'll check it out directly | 11:38:47 |
Maximus | the whole file | 11:38:51 |
| Julio Galvan joined the room. | 11:42:24 |
Maximus | mextor: so, config seems fine as I can use it locally. Can you please show the relevant mxisd log lines for the failed attempt? | 11:51:02 |
Maximus | not just the last one, all the ones produced during the attempt | 11:51:16 |
mextor | ok | 11:52:08 |
mextor | Maximus: tail -f /var/log/syslog | grep mxisd gives me nothing | 11:54:28 |
mextor | not a line | 11:54:33 |
Maximus | grep mxisd /var/log/syslog is what you want | 11:54:52 |
Maximus | if nothing is shown recently, then is mxisd even running? | 11:55:20 |