[18:35:22]
<massimiliano> hey maranda. my http_upload_external after last update :-(
[18:36:23]
<Maranda> Your what?
[18:37:09]
<massimiliano> the http upload external module
[18:37:18]
<massimiliano> got this error modulemanager error Error initializing module 'http_upload_external' on 'upload.insurge.org': ...es/http_upload_external/mod_http_upload_external.lua:32: http_file_external_url is a required option
stack traceback:
/usr/lib/metronome/core/modulemanager.lua:30: in function </usr/lib/metronome/core/modulemanager.lua:30>
[C]: in function 'assert'
...es/http_upload_external/mod_http_upload_external.lua:32: in main chunk
(tail call): ?
[C]: in function 'xpcall'
/usr/lib/metronome/core/modulemanager.lua:30: in function 'pcall'
/usr/lib/metronome/core/modulemanager.lua:163: in function 'do_load_module'
/usr/lib/metronome/core/modulemanager.lua:240: in function 'load'
/usr/lib/metronome/core/modulemanager.lua:58: in function '?'
/usr/lib/metronome/util/events.lua:67: in function 'fire_event'
/usr/lib/metronome/core/hostmanager.lua:119: in function 'activate'
/usr/lib/metronome/core/hostmanager.lua:51: in function '?'
/usr/lib/metronome/util/events.lua:67: in function 'fire_event'
/usr/lib/metronome/../../bin/metronome:288: in function 'prepare_to_start'
/usr/lib/metronome/../../bin/metronome:384: in main chunk
[C]: ?
[18:38:20]
<massimiliano> the option i have is
http_upload_external_base_url
[18:38:28]
<massimiliano> wich always worked
[18:38:40]
<Maranda> change it to http_upload_external_url?
[18:38:54]
<Maranda> very easy (tm)
[18:41:52]
<massimiliano> i also tryed to change it but with no success
[18:41:58]
<massimiliano> ,p errors tagh
[18:42:38]
<massimiliano> no errors taugh
[18:43:33]
<massimiliano> now i have it like this
Component "upload.insurge.org" "http_upload_external"
http_file_external_url = "https://upload.insurge.org/upload/"
http_file_secret = "secretThing"
http_upload_external_file_size_limit = 50000000 -- 50 MB
[18:46:45]
<Maranda> that's correct
[18:47:01]
<massimiliano> But it doesn't work
[18:48:16]
<Maranda> @ping upload.insurge.org
[18:48:18]
<Echo1> Maranda: Ping to upload.insurge.org failed in 1.376 seconds (service-unavailable)
[18:48:53]
<massimiliano> oh
[18:49:02]
<Maranda> deactivate and reactivate the host or restart metronome
[18:49:18]
<Maranda> that host doesn't look to have the module loaded
[18:50:19]
<Maranda> and http_upload_external_file_size_limit is http_file_size_limit
[18:58:29]
<massimiliano> did it all. I am rebooting whole server now
[19:39:04]
<massimiliano> i found the following error on prosody filer
Error: No HMAC attached to URL.
[19:39:11]
<massimiliano> Maranda
[19:50:08]
<Maranda> massimiliano: you need to use the script from Metronome's not prosody
[19:50:27]
<massimiliano> what is that?
[19:50:48]
<Maranda> Look into http_upload_external/resource directory for the php script
[19:51:46]
<Maranda> Into /usr/lib/metronome/modules
[20:01:30]
<massimiliano> found it
[20:01:46]
<massimiliano> i now edited the nginx config file to domain
[20:11:53]
<massimiliano> Maranda, how do i configure my conf file of nginx?
[21:39:06]
<massimiliano> i copyed share.php where it is reachable for upload.insurge.org
[21:39:31]
<massimiliano> i made it writable for www:data
[21:39:37]
<massimiliano> www-data
[21:39:52]
<massimiliano> but still nothing :-(
[21:41:09]
<massimiliano> this error on gajim
[21:41:13]
<massimiliano> https://disroot.org/upload8d2175ed-fa53-4ea4-b36a-87a58cb88421/Schermata%20del%202019-01-15%2022-40-35.png
[21:42:34]
<massimiliano> and this
[21:42:36]
<massimiliano> general warn Attempt to read a non-existent global 'command_xmlns'
stack traceback:
...es/http_upload_external/mod_http_upload_external.lua:258: in main chunk
(tail call): ?
[C]: in function 'xpcall'
/usr/lib/metronome/core/modulemanager.lua:30: in function 'pcall'
/usr/lib/metronome/core/modulemanager.lua:163: in function 'do_load_module'
/usr/lib/metronome/core/modulemanager.lua:240: in function 'load'
/usr/lib/metronome/core/modulemanager.lua:58: in function '?'
/usr/lib/metronome/util/events.lua:67: in function 'fire_event'
/usr/lib/metronome/core/hostmanager.lua:119: in function 'activate'
/usr/lib/metronome/core/hostmanager.lua:51: in function '?'
/usr/lib/metronome/util/events.lua:67: in function 'fire_event'
/usr/bin/metronome:288: in function 'prepare_to_start'
/usr/bin/metronome:384: in main chunk
[C]: ?
[22:00:44]
<massimiliano> Maranda is this line also exact?
Component "upload.insurge.org" "http_upload_external"
http_file_external_url = .........
[22:07:02]
<Maranda> .
[22:07:15]
<Maranda> That warning isn't supposed to stop loading.
[22:09:17]
<Echo1> maranda committed --
mod_http_upload_external: fix traceback.
-> https://github.com/maranda/metronome/commit/d7630c607b79c321747ff9ead02a0923e9d2b8d6
[22:10:04]
<Maranda> massimiliano can you please check that you don't have Prosody's module still laying around?
[22:10:48]
<massimiliano> i have disabled prosody-filer
[22:10:57]
<massimiliano> never had prosody server
[22:14:28]
<Maranda> massimiliano, you previously used Prosody mod_http_upload_external
[22:14:36]
<Maranda> check that it's not there anymore
[22:14:57]
<Maranda> it'll be into /usr/lib/metronome/modules
[22:15:20]
<massimiliano> i copied the one from your git a few hours ago
[22:16:15]
<Maranda> instead of /usr/lib/metronome/modules/http_upload_external
[22:16:35]
<massimiliano> yes
[22:16:55]
<Maranda> delete /usr/lib/metronome/modules/mod_http_upload_external.lua
[22:17:43]
<massimiliano> this /usr/lib/metronome/modules/http_upload_external/mod_http_upload_external.lua
[22:21:03]
<massimiliano> is this right? https://www.jabber.org/protocol/commands
[22:21:14]
<massimiliano> i get 404
[22:23:14]
<massimiliano> deleted the file restarting now
[22:28:07]
<massimiliano> still nothing
[22:28:23]
<massimiliano> old mod removed
[22:29:01]
<Maranda> I asked for a rebuild
[22:29:23]
<Maranda> but I'm not sure, that'll fix your issues
[22:32:13]
<massimiliano> Do i have to rebuild to?
[22:54:54]
<Maranda> after they rebuild yes
[22:56:07]
<massimiliano> how do i do that?
[22:57:30]
<Maranda> you don't
[22:58:04]
<Maranda> you need to wait 'em to rebuild
[22:58:15]
<massimiliano> who is them?
[22:59:11]
<massimiliano> i enabled mof http upload for now. are the settings the same as prosody?
[23:00:25]
<Maranda> massimiliano, no
[23:01:11]
<massimiliano> I mean for the limits. Cant find them on metronome.im
[23:02:48]
<Maranda> https://metronome.im/documentation/configuration
[23:03:11]
<Maranda> right there
[23:05:38]
<massimiliano> grazie