Metronome: Increase upload file size

My YunoHost server

Hardware: Odroid XU4Q
YunoHost version: 11.1.15
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen (all)
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes
If yes, please explain:
I have messed a bit with /etc/metronome/conf.d/domain.tld.cfg.lua to no avail
If your request is related to an app, specify its name and version: cat /usr/lib/metronome/metronome.version = 3.14.5 (the most up to date version according to apt install metronome)

Description of my issue

I’m trying to allow a larger upload filesize to my metronome xmpp server.

Above a certain size (~20 MB? not sure exactly), Gajim gives a “File too big, will use direct transfer” error, and Monocles just gives a “delivery failed, resending…” and eventually times out.

I’ve increased the file size-relevant lines in /etc/metronome/conf.d/domain.tld.cfg.lua to the following:

---Set up a HTTP Upload service
Component "xmpp-upload.domain.tld" "http_upload"
  name = "domain.tld Sharing Service"

  http_file_path = "/var/xmpp-upload/domain.tld upload"
  http_external_url = "https://xmpp-upload.domain.tld:443"
  http_file_base_path = "/upload"
  http_file_size_limit = 1000*1024*1024*1024
  http_file_quota = 1000*1024*1024*1024
  http_upload_file_size_limit = 1000 * 1024 * 1024 * 1024 -- bytes
  http_upload_quota = 1000 * 1024 * 1024 * 1024 -- bytes

Yeah, it’s excessive. I had it set to 1 GB before but tried really cranking it just to check. Still doesn’t seem to make a difference.

I’m not sure what the difference is between http_file_* and http_upload_* are, really.

I’ve also searched and found references to making changes in /etc/metronome/metronome.cfg.lua, but they were somewhat dated and YunoHost generated domain-specific configs for me in ./conf.d/ which already had the above lines, so I figure it’s not necessary to make changes in the root folder config anymore?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.