Friday, March 19, 2021
grimoire@muc.metronome.im
March
Mon Tue Wed Thu Fri Sat Sun
1
2 3 4 5 6
7
8 9
10 11 12 13 14
15 16 17 18 19
20
21
22 23
24
25
26
27
28
29
30 31        
             
Metronome IM "cook" book room | Support and Dev talk about the Metronome XMPP server.

Latest stable version build is: 4.0.3

For more information you can visit: https://metronome.im

Room logs can be found here: https://muc.metronome.im/logs/grimoire/

* Links *
<==========================================================>
- Building & Installation:
https://metronome.im/building
- Documentation:
https://metronome.im/documentation
- Issues Tracker:
https://github.com/maranda/metronome/issues
<==========================================================>

[07:22:53] <thndrbvr_> Hello, I got this error message: datamanager error Unable to write to incidents_store storage ('/var/lib/metronome/thefreaks%2eclub/incidents_store/incidents.dat~: Permission denied') for user: incidents@thefreaks.club
The incidents_store directory is empty. What should the permissions be?
[09:08:35] <thndrbvr_> Just chowned incidents_store/ to metronome:metronome and it's giving me the same error.
[12:57:34] <Maranda> @version aria-net.org
[12:57:35] <Echo1> Maranda: aria-net.org is running matrix-bifrost version Unknown on an unknown platform
[12:57:39] <Maranda> @resync
[12:58:44] <Maranda> thndrbvr_, is Metronome running under that user account?
[20:29:20] <thndrbvr_> maranda, I was doing "sudo metronomectl start". So, no, I don't think so? Just switched to it and tried starting. Same errors.
[20:33:21] <thndrbvr_> as user "metronome". There are no system users "incidents@thefreaks.club" or "nil@muck.thefreaks.club". Those sound like they should be IM accounts.
[21:13:03] <Maranda> @resync
[21:13:34] <Maranda> Bah what I said didn't pass through
[21:14:10] <Maranda (Aria Network)> thndrbvr_: incidents@thefreaks.club refers to the module datastore not a user even if the log says otherwise.
[21:14:41] <Maranda (Aria Network)> thndrbvr_: also are you using Metronome standalone or via **YuNoHost**?
[21:14:49] <Maranda (Aria Network)> also try running...
[21:14:56] <Maranda (Aria Network)> sudo chown metronome.metronome /var/lib/metronome -R

[21:15:10] <thndrbvr_> standalone. v3.14.2 on Ubuntu 20.04 server
[21:16:21] <Maranda (Aria Network)> you get other access denied errors in the datastore or only with the incidents handling module?
[21:20:50] <thndrbvr_> commented out the incidents_handling and this is the only error in the logs: mod_posix error Couldn't write pidfile at /var/run/metronome/metronome.pid; /var/run/metronome/metronome.pid: Permission denied
[21:22:06] <thndrbvr_> I had other errors before from things I tried to enable. I found those and stopped trying to enable them. lol.
[21:47:38] <thndrbvr_> Another chown -R to /var/run/metronome and it started!
[21:48:52] <thndrbvr_> Okay. Now checking the .log. It's saying "Mar 19 21:47:07 thefreaks.club:register_api warn Both reg_api_mailfrom and reg_api_mailreto need to be set to enable verification
Mar 19 21:47:08 muck.thefreaks.club:register_api warn Both reg_api_mailfrom and reg_api_mailreto need to be set to enable verification
Mar 19 21:47:08 localhost:register_api warn Both reg_api_mailfrom and reg_api_mailreto need to be set to enable verification"
[22:28:41] <thndrbvr_> Well, I messed something up because I can't register. lol
[22:30:50] <Github [@maranda:aria-net.org]> [maranda/metronome] maranda pushed to master: {...}: Fix TB in Incidents Handling module. - https://github.com/maranda/metronome/commit/2b339d268f5c7d7c5f4138d0b313b8545f53dd20
[23:00:24] <Github [@maranda:aria-net.org]> [maranda/metronome] maranda pushed to master: incidents_handling.lib: fetch text data not tags.

Fixes TB when rendering incidents - https://github.com/maranda/metronome/commit/e8d0b40826a537432be5550ade52fc46f1a35c67
[23:04:34] <Github [@maranda:aria-net.org]> [maranda/metronome] maranda pushed to master: incidents_handling.lib: correct variable name. - https://github.com/maranda/metronome/commit/23df091b079097de8800a3eb9a5ca5347038ddc3
[23:09:46] <Maranda (Aria Network)> thndrbvr_: if you add **register_require_verification = true** to your config that'll make mod_register depends on mod_register_api which therefore needs to be configured accordingly.
[23:10:19] <Maranda (Aria Network)> in the mean time I'm making some fixes to mod_incidents_handling
[23:10:55] <Maranda (Aria Network)> but considering xep-0268 is only implemented in Metronome I'm not sure about the actual use of it.