Wednesday, January 16, 2019
grimoire@muc.metronome.im
January
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
<==========================================================>

[00:17:30] <massimiliano> do you think i have some wring configuration?
[06:51:45] <Maranda> massimiliano: I told you already
[06:53:26] <Maranda> massimiliano: i think you been messing by running Prosody's module on Metronome and that you're using the wrong php script on the web server
[06:57:39] <massimiliano> The share.php script is on root of https://upload.insurge.org
[06:58:34] <massimiliano> Not in this moment as i reverted to http_upload
[06:59:17] <massimiliano> And i got rid of that old module
[06:59:43] <massimiliano> Do i need to reinstall metrome or something?
[07:01:34] <Maranda> massimiliano: you need to use the share.php script shipped with Metronome I told you yesterday
[07:01:52] <Maranda> You're probably still using Prosody's
[07:02:10] <massimiliano> No really.
[07:03:17] <massimiliano> I added random text on script to see if it was right and it appeared when visiting the url
[07:03:43] <massimiliano> Just for testing purpose of course
[07:04:09] <Maranda> massimiliano: and the external module loads for me even with that mistake in the code, so.
[07:04:50] <massimiliano> Damn.
[07:05:19] <Maranda> massimiliano: you're not answering me still are you using the share.php script shipped in Metronome's sources or not?
[07:05:30] <massimiliano> Yes
[07:06:12] <massimiliano> I copyed to webroot
[07:06:26] <massimiliano> And edited 3configurations
[07:06:41] <Maranda> You modified the configuration in it accordingly?
[07:07:12] <massimiliano> The same i edited on metronome conf
[07:07:37] <massimiliano> Edit share + edit conf
[07:08:53] <Maranda> then it should work
[07:09:22] <massimiliano> I will try again this evening
[07:09:22] <Maranda> the only thing I can tell you is replace mod_http_upload_external.lua with the file at: https://raw.githubusercontent.com/maranda/metronome/d7630c607b79c321747ff9ead02a0923e9d2b8d6/plugins/http_upload_external/mod_http_upload_external.lua
[07:09:30] <Maranda> to get rid of the traceback
[07:09:38] <Maranda> more I can't help right now.
[07:10:20] <Maranda> until moul / Aleks_ don't rebuild 3.11.5 on yunohost
[07:11:58] <massimiliano> Now i have that filie in http_upload external folder does it need to be copyed on the modules folder?
[07:12:55] <massimiliano> So now its modules/http_upload_external/mod_http_upload external
[07:13:10] <massimiliano> .cfg.lua
[07:28:26] <Maranda> massimiliano, don't take it as rude, but all the issues you're experiencing are because you're messing with the Metronome codebase without clearly knowing what you're doing. At most purge Metronome saving only your config, reinstall it to clear it and reapply your config
[07:29:20] <massimiliano> Maranda: you're right. Sorry about that
[07:30:04] <massimiliano> So purging and reinstall and restore metronome.cfg will not harm?
[07:30:47] <Maranda> *Should not*
[07:31:28] <massimiliano> Ok will macke backup to be extra safe
[07:32:12] <Maranda> At most replace the /usr/lib/metronome/modules/http_upload_external/mod_http_upload_external.lua with the one you download from here: https://raw.githubusercontent.com/maranda/metronome/d7630c607b79c321747ff9ead02a0923e9d2b8d6/plugins/http_upload_external/mod_http_upload_external.lua
[07:32:46] <Maranda> and download it using wget don't copy and paste it in the terminal
[07:32:55] <massimiliano> Ok
[17:00:03] <massimiliano> Maranda i replaced the modules folder with wget i also forced metronome reconfiguration and i had to remove upload.insurge.org as virtualhost to get metronome started then i added the configuration for http_upload_external and when i try to upload something i get *HTTP Error 405: Not Allowed*
[17:01:11] <massimiliano> and i added https_ssl = {.... for that domain
[17:09:17] <massimiliano> is it possible that it has to do with nginx?
[17:12:05] <Maranda> if you're using http_upload_external, Metronome's script never outputs 405 as error code
[17:12:13] <Maranda> so yes
[17:37:32] <massimiliano> Nginx is difficult :-s
[17:37:51] <massimiliano> Maranda: sorry for bothering you the whole time
[17:38:04] <massimiliano> And thank you again
[17:54:50] <Maranda> Np
[19:37:01] <massimiliano> Maranda i kind of can confirm that it's Nginx related
[19:37:49] <massimiliano> i setted a virtual machine with apache and the share.php script on it
[19:38:22] <massimiliano> but i can't get a signed cert and got cert error on gajim