Request for Assistance: Downgrading Kumomta Version

I need to downgrade my Kumomta version. I’m currently using Kumomta version 2024.06.10-84e84b89, and I attempted to upgrade to version 2024.09.02-c5476b89. However, after the upgrade, Kumomta is not functioning properly. Could you please guide me through the process of reverting to the previous version?

Describe how it is not functioning properly.

message.txt (6.91 KB)

existing configuration is working with old versions

And how’s it not working now?

the kumomta version changed

/opt/kumomta/share/policy-extras/queue.lua:193 TenantConfig: unknown field 'enable_tls'

the problem is that your queue configuration file(s) are invalid. Earlier versions did not strictly enforce validity.

You can use kumod --validate --user kumod to validate your configuration before trying to apply it

not configuring “enable_tls” in /opt/kumomta/share/policy-extras/queue.lua file

this issue raised in production mode . please give me help to downgrade version

Error: Initialization raised an error: call validate_config callback: runtime error: /opt/kumomta/share/policy-extras/queue.lua:143: bad argument #1 to ‘for iterator’ (table expected, got string)
stack traceback:
[C]: in function ‘next’
/opt/kumomta/share/policy-extras/queue.lua:143: in upvalue ‘parse_tenant_with_campaign’
/opt/kumomta/share/policy-extras/queue.lua:175: in upvalue ‘parse_domain’
/opt/kumomta/share/policy-extras/queue.lua:199: in upvalue ‘parse_config’
/opt/kumomta/share/policy-extras/queue.lua:215: in function </opt/kumomta/share/policy-extras/queue.lua:212>
(…tail calls…)
/opt/kumomta/share/policy-extras/queue.lua:508: in function </opt/kumomta/share/policy-extras/queue.lua:503>

Your partial shares don’t help speed diagnosis of this.

The problem won’t go away if you downgrade, it will just be hidden because we did not expose your configuration error before. You are better off keeping the newer version and fixing your configuration error.