Sender | Message | Time |
---|---|---|
5 Feb 2025 | ||
jolos-jolos |
| 13:25:35 |
cos | I didn't figure out how to get mails working. I just installed an unauthenticated unencrypted exim in container next to mobilizon and send mails via that. | 13:26:25 |
jolos-jolos | aha | 13:27:42 |
cos | Only error I got from mobilizon's smtp library was "ArgumentError" which is useless for debugging. | 13:28:21 |
jolos-jolos | my error is ```Feb 05 13:26:58 mobilizon mobilizon[1822]: ** (CaseClauseError) no case clause matching: <<0>> Feb 05 13:26:58 mobilizon mobilizon[1822]: (gen_smtp 1.2.0) /builds/framasoft/mobilizon/deps/gen_smtp/src/gen_smtp_client.erl:841: :gen_smtp_client.read_possible_multiline_reply/1 Feb 05 13:26:58 mobilizon mobilizon[1822]: (gen_smtp 1.2.0) /builds/framasoft/mobilizon/deps/gen_smtp/src/gen_smtp_client.erl:631: :gen_smtp_client.do_AUTH_each/5 Feb 05 13:26:58 mobilizon mobilizon[1822]: (gen_smtp 1.2.0) /builds/framasoft/mobilizon/deps/gen_smtp/src/gen_smtp_client.erl:556: :gen_smtp_client.try_AUTH/3 Feb 05 13:26:58 mobilizon mobilizon[1822]: (gen_smtp 1.2.0) /builds/framasoft/mobilizon/deps/gen_smtp/src/gen_smtp_client.erl:384: :gen_smtp_client.open_smtp_session/2 Feb 05 13:26:58 mobilizon mobilizon[1822]: (gen_smtp 1.2.0) /builds/framasoft/mobilizon/deps/gen_smtp/src/gen_smtp_client.erl:316: :gen_smtp_client.try_smtp_sessions/3 Feb 05 13:26:58 mobilizon mobilizon[1822]: (gen_smtp 1.2.0) /builds/framasoft/mobilizon/deps/gen_smtp/src/gen_smtp_client.erl:289: :gen_smtp_client.send_it/2 Feb 05 13:26:58 mobilizon mobilizon[1822]: (swoosh 1.15.3) lib/swoosh/adapters/smtp.ex:57: Swoosh.Adapters.SMTP.deliver/2 Feb 05 13:26:58 mobilizon mobilizon[1822]: (mobilizon 5.1.0) lib/web/email/mailer.ex:5: anonymous fn/2 in Mobilizon.Web.Email.Mailer.instrument/3 Feb 05 13:26:58 mobilizon mobilizon[1822]: Last message: {:continue, :handle_connection} | 13:28:37 |
jolos-jolos | equally obscure, i suppose | 13:28:52 |
cos | yep, but different error | 13:29:04 |
jolos-jolos | how does exim help? I would need to use an external smtp server (or at least some service) since the vps doesn't allow direct smtp | 13:30:05 |
jolos-jolos | just asking since i'm not sure what it is | 13:30:21 |
jolos-jolos | exim = postfix, more or less? | 13:31:48 |
jolos-jolos | what are my options (if any) if i want to run a mobilizon instance with another smtp? | 13:33:17 |
cos | yeah, exim and postfix are mta's | 13:35:51 |
jolos-jolos | and if I cant send emails from the same server then there is no other way, basically? | 13:36:31 |
cos | i used this docker image https://github.com/devture/exim-relay | 13:36:35 |
jolos-jolos | aha so you relay to another smtp or do you send the emails from that same server? | 13:37:05 |
cos | mobilizon -> exim (local in docker) -> outside smtp | 13:38:38 |
cos | it's much easier to debug as exim actually prints out messages when things happen | 13:39:59 |
jolos-jolos | ah perfect, okay thanks! | 13:40:34 |
sebseb01 | I'm not using a docker image, but i use an external smtp server without issues. | 13:41:48 |
jolos-jolos | oh yeah? would you mind sharing your (anynomized maybe) mobilizon config? | 13:43:56 |
jolos-jolos | this worked beautifully! thanks again | 14:09:47 |
sebseb01 | yes i can, but in 4 hour ... i need an access to my computer for this | 14:13:07 |
jolos-jolos | i'm happy with the exim-relay route cas showed, all good, thanks anyway | 14:14:32 |
jolos-jolos | *cos | 14:14:44 |
mydemoaccount | What is the reason Mobilizon uses postgis? I have never heard of that before, but that may be my fault. Now it is stopping me from running mobilizon on a raspberry pi since there is no docker image for postgis that runs on the arm achitecture :( Any advice on how to do this? | 14:34:10 |
cos | Btw has anyone figured out how to set event image with API? Last time I tried it was undocumented and I failed | 14:57:44 |
mydemoaccount | I found this docker image that works for postgis on arm: ghcr.io/baosystems/postgis:15-3.5 | 15:10:59 |
douweb82 | In reply to @mydemoaccount:matrix.orgPostgis is used for the location features , ie for ‘events near you’. | 15:14:11 |
cos | Ok how do I set locales? The reference doesn't tell. I tried this, but no effect:
| 17:21:51 |
cos | Ok got forward but:
| 17:27:28 |