NethServer / dev

NethServer issue tracker
https://github.com/NethServer/dev/issues
63 stars 20 forks source link

Webtop event registration error due to ejabberd-settings-changed #6878

Closed stephdl closed 4 months ago

stephdl commented 4 months ago

Steps to reproduce

Install two nodes Install & configure mail, account provider on node 1 Install & configure ejabberd on node 1 Install & configure webtop on node 1 Migrate ejabberd to the node 2

Expected behavior

I expect no error

Actual behavior

We have an error due to the event ejabberd-settings-changed that webtop has registered

Mar 04 12:27:25 R1-pve.rocky9-pve.org agent@webtop1[19879]:   File "/home/webtop1/.config/actions/configure-module/20config", line 275, in <module>
Mar 04 12:27:25 R1-pve.rocky9-pve.org agent@webtop1[19879]:     if user_domain["port"] != os.environ["USER_DOMAIN_PORT"]:
Mar 04 12:27:25 R1-pve.rocky9-pve.org agent@webtop1[19879]:        ~~~~~~~~~~~^^^^^^^^
Mar 04 12:27:25 R1-pve.rocky9-pve.org agent@webtop1[19879]: KeyError: 'port'

Components

webtop 1.0.13

stephdl commented 4 months ago

not a bug